Skip to content

Commit

Permalink
Added jRuby support
Browse files Browse the repository at this point in the history
To be used this gem in jRuby we will be using
activerecord-jdbcpostgresql-adapter or maybe another adapter like
activerecord-postgis-adapter. They all both support hstore because they
run over postgres anyway.
  • Loading branch information
Ivan Hinojal committed Dec 15, 2015
1 parent 61a074e commit 3b26977
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ language: ruby
rvm:
- 1.9.3
- ruby-head
- jruby-1.7
- jruby-9.0.4.0
4 changes: 3 additions & 1 deletion multilang-hstore.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Gem::Specification.new do |s|
"spec/schema.rb",
"spec/spec_helper.rb"
]
s.add_dependency 'pg', '~> 0.0'
s.add_dependency 'activerecord', '~> 4.0'
s.add_dependency 'activerecord-jdbcpostgresql-adapter', :platform => :jruby
s.add_dependency 'pg', '~> 0.0', :platform => :ruby
end
end

0 comments on commit 3b26977

Please sign in to comment.