schema_monkey 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd2b4e25c9e2bcc5fda7640439069570006e8551
4
- data.tar.gz: 2270a11166bdffb014753139c575abfd2679d877
3
+ metadata.gz: 56b443f53b18f1a6664d45246336164ee69f6727
4
+ data.tar.gz: da045381e4b36a03af0852a606a3be218aa92a02
5
5
  SHA512:
6
- metadata.gz: 3e7ba30f9468eca1f5f65590df3fbf99f67cfee9eaa75beb1c687215f85da7ace697de4fd543753bb4a129249d57777f84bbd147e10c89fca65c94d8c2975e2f
7
- data.tar.gz: df9a386fd3ee4d6e97596bca33137826a362d2adebcd9239311588026a0627cf1c80321aa33aeeb4f991bbcb077262b18c7aa372ebf15ad9e0266fc7729f861c
6
+ metadata.gz: 090634decedc9626bf389ef26bf5f4faa843aa0084310c9f2ab404820f725e9b944abb235a7289f61bd79811987489f55872ec2264746ba9b30a691411da7aa4
7
+ data.tar.gz: 4a54fc56c121a0b72eca7f171e6c914d50be95750c88860e745e0ab23a1f6773092dad7edc7de1561eddabbbcb74aeb6ca9be0ffd14f3fd4a2b17a71369d99d2
data/.travis.yml CHANGED
@@ -6,13 +6,28 @@
6
6
  sudo: false
7
7
  rvm:
8
8
  - 2.1.5
9
+ - 2.3.0
9
10
  gemfile:
10
11
  - gemfiles/activerecord-4.2/Gemfile.mysql2
11
12
  - gemfiles/activerecord-4.2/Gemfile.postgresql
12
13
  - gemfiles/activerecord-4.2/Gemfile.sqlite3
14
+ - gemfiles/activerecord-5.0/Gemfile.mysql2
15
+ - gemfiles/activerecord-5.0/Gemfile.postgresql
16
+ - gemfiles/activerecord-5.0/Gemfile.sqlite3
13
17
  env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
14
18
  addons:
15
19
  postgresql: '9.4'
16
20
  before_script: bundle exec rake create_databases
17
21
  after_script: bundle exec rake drop_databases
18
22
  script: bundle exec rake travis
23
+ matrix:
24
+ exclude:
25
+ - rvm: 2.1.5
26
+ gemfile: gemfiles/activerecord-5.0/Gemfile.mysql2
27
+ env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
28
+ - rvm: 2.1.5
29
+ gemfile: gemfiles/activerecord-5.0/Gemfile.postgresql
30
+ env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
31
+ - rvm: 2.1.5
32
+ gemfile: gemfiles/activerecord-5.0/Gemfile.sqlite3
33
+ env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
data/README.md CHANGED
@@ -228,10 +228,13 @@ SchemaMonkey is tested on:
228
228
  <!-- SCHEMA_DEV: MATRIX - begin -->
229
229
  <!-- These lines are auto-generated by schema_dev based on schema_dev.yml -->
230
230
  * ruby **2.1.5** with activerecord **4.2**, using **mysql2**, **sqlite3** or **postgresql**
231
+ * ruby **2.3.0** with activerecord **4.2**, using **mysql2**, **sqlite3** or **postgresql**
232
+ * ruby **2.3.0** with activerecord **5.0**, using **mysql2**, **sqlite3** or **postgresql**
231
233
 
232
234
  <!-- SCHEMA_DEV: MATRIX - end -->
233
235
 
234
236
  ## Release Notes
237
+ * 2.1.4 -- Loosen dependency to allow AR 5.0, and include it in the test matrix
235
238
  * 2.1.3 -- Guard against multiple insertion of modules.
236
239
  * 2.1.2 -- Insert self earlier; don't wait for connection adapter to be instantiated. Fixes #6 re `db:schema:load`
237
240
  * 2.1.1 -- Bug fix: don't choke if a module contains a BasicObject const
@@ -1,3 +1,3 @@
1
1
  eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
2
 
3
- gem "activerecord", "~> 4.2.0"
3
+ gem "activerecord", "~> 4.2.6"
@@ -2,9 +2,9 @@ require "pathname"
2
2
  eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
3
 
4
4
  platform :ruby do
5
- gem "mysql2"
5
+ gem "mysql2", '>= 0.3.18', '< 0.5'
6
6
  end
7
7
 
8
8
  platform :jruby do
9
9
  gem 'activerecord-jdbcmysql-adapter'
10
- end
10
+ end
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", ">= 5.0.0.beta1", "< 5.1"
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "mysql2"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcmysql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
@@ -1,3 +1,3 @@
1
1
  module SchemaMonkey
2
- VERSION = "2.1.3"
2
+ VERSION = "2.1.4"
3
3
  end
data/schema_dev.yml CHANGED
@@ -1,8 +1,14 @@
1
1
  ruby:
2
2
  - 2.1.5
3
+ - 2.3.0
3
4
  activerecord:
4
5
  - 4.2
6
+ - 5.0
5
7
  db:
6
8
  - mysql2
7
9
  - sqlite3
8
10
  - postgresql
11
+ exclude:
12
+ -
13
+ ruby: 2.1.5
14
+ activerecord: 5.0
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.required_ruby_version = ">= 2.1.0"
22
- spec.add_dependency "activerecord", "~> 4.2"
22
+ spec.add_dependency "activerecord", ">= 4.2"
23
23
  spec.add_dependency "its-it"
24
24
  spec.add_dependency "modware", "~> 0.1"
25
25
 
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency "rake", "~> 10.0"
28
28
  spec.add_development_dependency "rspec", "~> 3.0"
29
29
  spec.add_development_dependency "rspec-given", "~> 3.6"
30
- spec.add_development_dependency "schema_dev", "~> 3.0"
30
+ spec.add_development_dependency "schema_dev", "~> 3.7"
31
31
  spec.add_development_dependency "simplecov"
32
32
  spec.add_development_dependency "simplecov-gem-profile"
33
33
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_monkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-11 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.0'
117
+ version: '3.7'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '3.0'
124
+ version: '3.7'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -169,6 +169,10 @@ files:
169
169
  - gemfiles/activerecord-4.2/Gemfile.mysql2
170
170
  - gemfiles/activerecord-4.2/Gemfile.postgresql
171
171
  - gemfiles/activerecord-4.2/Gemfile.sqlite3
172
+ - gemfiles/activerecord-5.0/Gemfile.base
173
+ - gemfiles/activerecord-5.0/Gemfile.mysql2
174
+ - gemfiles/activerecord-5.0/Gemfile.postgresql
175
+ - gemfiles/activerecord-5.0/Gemfile.sqlite3
172
176
  - lib/schema_monkey.rb
173
177
  - lib/schema_monkey/active_record.rb
174
178
  - lib/schema_monkey/client.rb