Skip to content

Commit

Permalink
Support Rails 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hasghari committed May 17, 2017
1 parent 1896c40 commit 1b84912
Show file tree
Hide file tree
Showing 15 changed files with 131 additions and 371 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
language: ruby
rvm:
- 2.0.0
- 2.1.0
- 2.2.0
- 2.2.5
- 2.3.4
- 2.4.1
env:
- STRATEGY=array
- STRATEGY=ltree
gemfile:
- gemfiles/activerecord_4.0.gemfile
- gemfiles/activerecord_4.1.gemfile
- gemfiles/activerecord_4.2.gemfile
- gemfiles/activerecord_5.1.gemfile
before_install: gem install bundler -v 1.10.6
12 changes: 2 additions & 10 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
appraise 'activerecord-4.0' do
gem 'activerecord', '~> 4.0.0'
end

appraise 'activerecord-4.1' do
gem 'activerecord', '~> 4.1.0'
end

appraise 'activerecord-4.2' do
gem 'activerecord', '~> 4.2.0'
appraise 'activerecord-5.1' do
gem 'activerecord', '~> 5.1.0'
end
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,9 @@ add_column :my_table, :parentry, :ltree
add_column :my_table, :parent_id, :integer
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hasghari/parentry. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
Bug reports and pull requests are welcome on GitHub at https://github.com/hasghari/parentry. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org/) code of conduct.


## License
Expand Down
101 changes: 0 additions & 101 deletions gemfiles/activerecord_4.0.gemfile.lock

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/activerecord_4.1.gemfile

This file was deleted.

103 changes: 0 additions & 103 deletions gemfiles/activerecord_4.1.gemfile.lock

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/activerecord_4.2.gemfile

This file was deleted.

120 changes: 0 additions & 120 deletions gemfiles/activerecord_4.2.gemfile.lock

This file was deleted.

Loading

0 comments on commit 1b84912

Please sign in to comment.