Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Rails 5.1 #2

Merged
merged 1 commit into from
May 17, 2017
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
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