Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ test/dummy/tmp/
*.gem
.rbenv-gemsets
*.swp
gemfiles/*.lock
Gemfile.lock
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ rvm:
- 2.1
- 2.2
- 2.3.0
gemfile:
- gemfiles/4.0.gemfile
- gemfiles/4.1.gemfile
- gemfiles/4.2.gemfile
- gemfiles/5.0.gemfile
matrix:
exclude:
- rvm: 1.9
gemfile: gemfiles/5.0.gemfile
- rvm: 2.0
gemfile: gemfiles/5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/5.0.gemfile
before_install:
- gem install bundler --conservative --version '~> 1.10'
before_script:
Expand Down
19 changes: 19 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
appraise "4.0" do
gem "rails", "~> 4.0.0"
gemspec
end

appraise "4.1" do
gem "rails", "~> 4.1.0"
gemspec
end

appraise "4.2" do
gem "rails", "~> 4.2"
gemspec
end

appraise "5.0" do
gem "rails", "~> 5.0"
gemspec
end
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Bugfixes:
- Your contribution here!

Features:
- The project is now tested against and compatible with the following Rails versions 4.0, 4.1, 4.2 and 5.0 (#278).
- Your contribution here!

## [2.5.2][] (2016-10-08)
Expand Down
92 changes: 0 additions & 92 deletions Gemfile.lock

This file was deleted.

21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,24 +586,31 @@ We love pull requests! Here's a quick guide for contributing:

1. Fork the repo.

2. Run the existing test suite:
2. Install the required dependencies.

```
bundle install
bundle exec appraisal install
```

3. Run the existing test suite:

```
$ bundle exec rake -f test/dummy/Rakefile db:create db:migrate RAILS_ENV=test
$ bundle exec rake
$ bundle exec appraisal rake test
```

3. Add tests for your change.
4. Add tests for your change.

4. Add your changes and make your test(s) pass. Following the conventions you
5. Add your changes and make your test(s) pass. Following the conventions you
see used in the source will increase the chance that your pull request is
accepted right away.

5. Update the README if necessary.
6. Update the README if necessary.

6. Add a line to the CHANGELOG for your bug fix or feature.
7. Add a line to the CHANGELOG for your bug fix or feature.

7. Push to your fork and submit a pull request.
8. Push to your fork and submit a pull request.

## Contributors

Expand Down
6 changes: 5 additions & 1 deletion bootstrap_form.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ Gem::Specification.new do |s|
s.test_files = Dir["test/**/*"]

s.add_development_dependency "mime-types", "~> 2.6.2"
s.add_development_dependency "rails", "~> 4.0"
s.add_development_dependency "rails", ">= 4.0"
s.add_development_dependency "sqlite3"
s.add_development_dependency "timecop", "~> 0.7.1"
s.add_development_dependency "mocha"
s.add_development_dependency "appraisal"
s.add_development_dependency "equivalent-xml"
s.add_development_dependency "nokogiri"
s.add_development_dependency "diffy"
end
8 changes: 8 additions & 0 deletions gemfiles/4.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "jquery-rails"
gem "rails", "~> 4.0.0"

gemspec :path => "../"
8 changes: 8 additions & 0 deletions gemfiles/4.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "jquery-rails"
gem "rails", "~> 4.1.0"

gemspec :path => "../"
8 changes: 8 additions & 0 deletions gemfiles/4.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "jquery-rails"
gem "rails", "~> 4.2"

gemspec :path => "../"
8 changes: 8 additions & 0 deletions gemfiles/5.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "jquery-rails"
gem "rails", "~> 5.0"

gemspec :path => "../"
Loading