Skip to content

Commit

Permalink
Version bumped to 0.1.2
Browse files Browse the repository at this point in the history
Support separated platform
  • Loading branch information
nidev committed May 17, 2015
1 parent 033b0a0 commit d39f846
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbitter/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Rbitter
PRODUCT_NAME = "Rbitter"
VERSION = "0.1.1"
VERSION = "0.1.2"

def major
VERSION.match(/^([0-9]+)\./)[1]
Expand Down
4 changes: 4 additions & 0 deletions rbitter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ Gem::Specification.new do |spec|
spec.add_dependency 'activerecord', '~> 4.0'

if RUBY_PLATFORM == 'java'
spec.platform = 'java'

spec.add_dependency 'activerecord-jdbc-adapter', '~> 1.3'
spec.add_dependency 'jdbc-sqlite3', '~> 3.8'
spec.add_dependency 'jdbc-mysql', '~> 5.1'
spec.add_dependency 'activerecord-jdbcsqlite3-adapter', '~> 1.3'
spec.add_dependency 'activerecord-jdbcmysql-adapter', '~> 1.3'
else
spec.platform = 'ruby'

spec.add_dependency 'sqlite3', '~> 1.3'
spec.add_dependency 'mysql2', '~> 0.3'
spec.add_dependency 'activerecord-mysql2-adapter', '~> 0.0.3'
Expand Down

0 comments on commit d39f846

Please sign in to comment.