flex_columns 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NjQzNTM5OWZhMTAyMjU0NjFlOGFkMDc4NGIxZTE3YTk0OGJlMjY5ZQ==
5
- data.tar.gz: !binary |-
6
- MjUwOWIzNWU2Zjc3NGQxZWU5MDlmNjI2ZjIxNWFlOTViMWIzYmI4OQ==
2
+ SHA1:
3
+ metadata.gz: 886a632b58872f8f617052c5100457918ec2532c
4
+ data.tar.gz: 3ddb705e863b581a1b5c0e3a8521484039e35111
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NjE2MGVlNDIwN2Y5ZWQ0NGM0MzdkODJhMTIzNDQ5MWU0OTBiN2Q5OGEwOTQz
10
- YzFiNDFhOTA1NTUwYzZiNGJkMzc4OWJhNDQ4ODU4OGQ2OGRhMTg4ZjhiOWM3
11
- YmNkYjExMzgwMDk2NWUxM2QyMjBkOWM4OWVlNDFkMjJmYzMxMjY=
12
- data.tar.gz: !binary |-
13
- MWE4MDdlNzlkYWU2M2YzODg0ZDUzN2U5OGM4NDlkYTBlMDgyMjdiYTVlZDM3
14
- YWM0MzhjYjg3YzFiOTRhNmVhYjg2M2UyYjI3MTdkMjMxODJkOGQwNmZlOTIx
15
- OWZmZTQyYjg5NTI0Mjc5ZDk0MWVlN2YzYmYyODhjMmRlNjE4ZmI=
6
+ metadata.gz: 48a0af71f1b0fd1ff68e1f4258e9620047dfef3e10df45ec28f9701620cde22e48b0a4ecd34dda6af312e510f9b91c0dfa4e520625d9523436380eb96301ab11
7
+ data.tar.gz: acdb0c209b19f5c1b1a3ffeec77468eaf52f63b3e8c2a91fc673401997fcbebb9cadc8391cd0c92d2778715a79c4ca505a87871fbd180542f3c68a4b66fe3c6e
data/.travis.yml CHANGED
@@ -1,9 +1,10 @@
1
1
  rvm:
2
2
  - "1.8.7"
3
- - "1.9.3"
4
- - "2.0.0"
5
- - "2.1.2"
6
- - "jruby-1.7.12"
3
+ - "1.9.3-p551"
4
+ - "2.0.0-p598"
5
+ - "2.1.5"
6
+ - "2.2.0"
7
+ - "jruby-1.7.19"
7
8
  env:
8
9
  - FLEX_COLUMNS_AR_TEST_VERSION=3.0.20 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
9
10
  - FLEX_COLUMNS_AR_TEST_VERSION=3.0.20 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
@@ -11,15 +12,18 @@ env:
11
12
  - FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
12
13
  - FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
13
14
  - FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
14
- - FLEX_COLUMNS_AR_TEST_VERSION=3.2.19 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
15
- - FLEX_COLUMNS_AR_TEST_VERSION=3.2.19 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
16
- - FLEX_COLUMNS_AR_TEST_VERSION=3.2.19 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
17
- - FLEX_COLUMNS_AR_TEST_VERSION=4.0.8 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
18
- - FLEX_COLUMNS_AR_TEST_VERSION=4.0.8 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
19
- - FLEX_COLUMNS_AR_TEST_VERSION=4.0.8 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
20
- - FLEX_COLUMNS_AR_TEST_VERSION=4.1.4 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
21
- - FLEX_COLUMNS_AR_TEST_VERSION=4.1.4 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
22
- - FLEX_COLUMNS_AR_TEST_VERSION=4.1.4 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
15
+ - FLEX_COLUMNS_AR_TEST_VERSION=3.2.21 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
16
+ - FLEX_COLUMNS_AR_TEST_VERSION=3.2.21 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
17
+ - FLEX_COLUMNS_AR_TEST_VERSION=3.2.21 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
18
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
19
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
20
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
21
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
22
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
23
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
24
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
25
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
26
+ - FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
23
27
  before_script:
24
28
  - mysql -e 'create database myapp_test;'
25
29
  - psql -c 'create database myapp_test;' -U postgres
@@ -27,22 +31,39 @@ matrix:
27
31
  exclude:
28
32
  # ActiveRecord 4.x doesn't support Ruby 1.8.7
29
33
  - rvm: 1.8.7
30
- env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.8 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
34
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
31
35
  - rvm: 1.8.7
32
- env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.8 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
36
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
33
37
  - rvm: 1.8.7
34
- env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.8 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
38
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.0.13 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
35
39
  - rvm: 1.8.7
36
- env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.4 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
40
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
37
41
  - rvm: 1.8.7
38
- env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.4 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
42
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
39
43
  - rvm: 1.8.7
40
- env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.4 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
44
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.1.9 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
45
+ - rvm: 1.8.7
46
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
47
+ - rvm: 1.8.7
48
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
49
+ - rvm: 1.8.7
50
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
41
51
  # There's a bug in ActiveRecord 3.1.x that makes it incompatible with Ruby 2.0
42
- - rvm: 2.0.0
52
+ - rvm: 2.0.0-p598
43
53
  env: FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
44
- - rvm: 2.0.0
54
+ - rvm: 2.0.0-p598
45
55
  env: FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
46
- - rvm: 2.0.0
56
+ - rvm: 2.0.0-p598
47
57
  env: FLEX_COLUMNS_AR_TEST_VERSION=3.1.12 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
48
-
58
+ allow_failures:
59
+ # Rails 4.2.0 has a bug with PostgreSQL and binary columns
60
+ # (https://github.com/rails/rails/pull/17680)
61
+ - env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
62
+ # As of this writing (2015-02-18), activerecord-jdbc doesn't support ActiveRecord 4.2.x
63
+ # completely.
64
+ - rvm: jruby-1.7.19
65
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=mysql
66
+ - rvm: jruby-1.7.19
67
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=postgres
68
+ - rvm: jruby-1.7.19
69
+ env: FLEX_COLUMNS_AR_TEST_VERSION=4.2.0 FLEX_COLUMNS_TRAVIS_CI_DATABASE_TYPE=sqlite
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # `flex_columns` Changelog
2
2
 
3
+ ## 1.0.9, 2015-02-18
4
+
5
+ * Full support for ActiveRecord 4.2.x.
6
+ * Bumped versions of Rails and Ruby that we test against to much more up-to-date ones.
7
+
3
8
  ## 1.0.8, 2014-07-06
4
9
 
5
10
  * Fixed an issue where you couldn't migrate a flex_column into existence with a migration — because if you
data/flex_columns.gemspec CHANGED
@@ -24,12 +24,6 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency "rake"
25
25
  s.add_development_dependency "rspec", "~> 2.14"
26
26
 
27
- if (RUBY_VERSION =~ /^1\.9\./ || RUBY_VERSION =~ /^2\.0\./) && ((! defined?(RUBY_ENGINE)) || (RUBY_ENGINE != 'jruby'))
28
- s.add_development_dependency "pry"
29
- s.add_development_dependency "pry-debugger"
30
- s.add_development_dependency "pry-stack_explorer"
31
- end
32
-
33
27
  ar_version = ENV['FLEX_COLUMNS_AR_TEST_VERSION']
34
28
  ar_version = ar_version.strip if ar_version
35
29
 
@@ -45,13 +39,21 @@ Gem::Specification.new do |s|
45
39
 
46
40
  s.add_dependency "activesupport", ">= 3.0", "<= 4.99.99"
47
41
 
42
+ # i18n released an 0.7.0 that's incompatible with Ruby 1.8.
43
+ if RUBY_VERSION =~ /^1\.8\./
44
+ s.add_development_dependency 'i18n', '< 0.7.0'
45
+ end
46
+
48
47
  require File.expand_path(File.join(File.dirname(__FILE__), 'spec', 'flex_columns', 'helpers', 'database_helper'))
49
48
  database_gem_name = FlexColumns::Helpers::DatabaseHelper.maybe_database_gem_name
50
49
 
51
50
  # Ugh. Later versions of the 'mysql2' gem are incompatible with AR 3.0.x; so, here, we explicitly trap that case
52
51
  # and use an earlier version of that Gem.
53
52
  if database_gem_name && database_gem_name == 'mysql2' && ar_version && ar_version =~ /^3\.0\./
54
- s.add_development_dependency('mysql2', '~> 0.2.0')
53
+ s.add_development_dependency(database_gem_name, '~> 0.2.0')
54
+ # The 'pg' gem removed Ruby 1.8 compatibility as of 0.18.
55
+ elsif database_gem_name && database_gem_name == 'pg' && RUBY_VERSION =~ /^1\.8\./
56
+ s.add_development_dependency(database_gem_name, '< 0.18.0')
55
57
  else
56
58
  s.add_development_dependency(database_gem_name)
57
59
  end
@@ -284,7 +284,7 @@ module FlexColumns
284
284
  out = model_class.columns.detect { |c| c.name.to_s == column_name.to_s }
285
285
  return create_temporary_fake_column(column_name) if (! out)
286
286
 
287
- unless out.type == :binary || out.text? || out.sql_type == "json" # for PostgreSQL >= 9.2, which has a native JSON data type
287
+ unless is_acceptable_column_type?(out)
288
288
  raise FlexColumns::Errors::InvalidColumnTypeError, %{You're trying to define a flex column #{column_name.inspect}, but
289
289
  that column (on model #{model_class.name}) isn't of a type that accepts text.
290
290
  That column is of type: #{out.type.inspect}.}
@@ -293,6 +293,16 @@ That column is of type: #{out.type.inspect}.}
293
293
  out
294
294
  end
295
295
 
296
+ def is_acceptable_column_type?(column)
297
+ if column.type == :binary || column.type == :text || column.type == :string
298
+ true
299
+ elsif column.sql_type == "json" # for PostgreSQL >= 9.2, which has a native JSON data type
300
+ true
301
+ else
302
+ false
303
+ end
304
+ end
305
+
296
306
  # This creates a "fake" column that we can use if the underlying table doesn't exist yet.
297
307
  def create_temporary_fake_column(column_name)
298
308
  ::FlexColumns::Definition::FakeColumn.new(column_name)
@@ -1,4 +1,4 @@
1
1
  module FlexColumns
2
2
  # The current version of FlexColumns.
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
4
4
  end
@@ -82,6 +82,29 @@ describe "FlexColumns including" do
82
82
  preferences.attribs1.bar.should == 'bar1'
83
83
  end
84
84
 
85
+ it "should automatically save updates to the included flex columns" do
86
+ pending "does not work yet"
87
+
88
+ define_model_class(:User, 'flexcols_spec_users') do
89
+ has_one :preference, :class_name => 'UserPreference', :autosave => true
90
+
91
+ include_flex_columns_from :preference
92
+ end
93
+
94
+ user = ::User.new
95
+ user.name = 'User 1'
96
+ user.foo = 123
97
+ user.save!
98
+
99
+ user_again = ::User.find(user.id)
100
+ user_again.foo.should == 123
101
+ user_again.foo = 234
102
+ user_again.save!
103
+
104
+ user_yet_again = ::User.find(user_again.id)
105
+ user_yet_again.foo.should == 234
106
+ end
107
+
85
108
  it "should allow turning off delegation, but should still include base names, prefixed as needed" do
86
109
  define_model_class(:User, 'flexcols_spec_users') do
87
110
  has_one :preference, :class_name => 'UserPreference'
@@ -163,14 +163,20 @@ describe "FlexColumns performance" do
163
163
  end
164
164
 
165
165
  it "should be smart enough to store an empty JSON string to the database, if necessary, if the column is non-NULL" do
166
- # JRuby with the ActiveRecord-JDB adapter and MySQL seems to have the following issue: if you define a column as
166
+ # JRuby with the ActiveRecord-JDBC adapter and MySQL seems to have the following issue: if you define a column as
167
167
  # non-NULL, and create a new model instance, then ask that model instance for the value of that column, you get
168
168
  # back empty string (""), not nil. Yet when trying to save that instance, you get an exception because it's not
169
169
  # specifying that column at all. Only setting that column to a string with spaces in it (or something else) works,
170
170
  # not even just setting it to the empty string again; as such, we're just going to give up on this example under
171
171
  # those circumstances, rather than trying to work around this (pretty broken) behavior that's also a pretty rare
172
172
  # edge case for us.
173
- unless defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' && @dh.database_type == :mysql
173
+ #
174
+ # There is also an issue with JRuby, the ActiveRecord-JDBC adapter and SQLite3: trying to get data out of a
175
+ # binary field that's set to NULL causes a java.lang.NullPointerException from deep in the bowels of the
176
+ # ActiveRecord-JDBC-SQLite3 adapter.
177
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' && (@dh.database_type == :mysql || @dh.database_type == :sqlite)
178
+ skip "Critical bugs in other libraries prevent us from testing this case"
179
+ else
174
180
  my_user = ::User2.new
175
181
  my_user.name = 'User 1'
176
182
  my_user.save!
@@ -185,34 +191,41 @@ describe "FlexColumns performance" do
185
191
  end
186
192
 
187
193
  it "should store NULL or the empty string in the database, as appropriate, if there's no data left any more" do
188
- my_user = ::User2.new
189
- my_user.name = 'User 1'
190
- my_user.aaa = 'aaa1'
191
- my_user.bbb = 'bbb1'
192
- my_user.ccc = 'ccc1'
193
- my_user.ddd = 'ddd1'
194
- my_user.save!
195
-
196
- user_bd = ::User2Backdoor.find(my_user.id)
197
- user_bd.name.should == 'User 1'
198
- check_text_column_data(user_bd.text_attrs_nonnull, 'aaa', 'aaa1')
199
- check_text_column_data(user_bd.text_attrs_null, 'bbb', 'bbb1')
200
- check_binary_column_data(user_bd.binary_attrs_nonnull, 'ccc', 'ccc1')
201
- check_binary_column_data(user_bd.binary_attrs_null, 'ddd', 'ddd1')
202
-
203
- user_again = ::User2.find(my_user.id)
204
- user_again.aaa = nil
205
- user_again.bbb = nil
206
- user_again.ccc = nil
207
- user_again.ddd = nil
208
- user_again.save!
209
-
210
- user_bd_again = ::User2Backdoor.find(my_user.id)
211
- user_bd_again.name.should == 'User 1'
212
- user_bd_again.text_attrs_nonnull.should == ""
213
- user_bd_again.text_attrs_null.should == nil
214
- user_bd_again.binary_attrs_nonnull.should == ""
215
- user_bd_again.binary_attrs_null.should == nil
194
+ # There is an issue with JRuby, the ActiveRecord-JDBC adapter and SQLite3: trying to get data out of a
195
+ # binary field that's set to NULL causes a java.lang.NullPointerException from deep in the bowels of the
196
+ # ActiveRecord-JDBC-SQLite3 adapter.
197
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' && (@dh.database_type == :mysql || @dh.database_type == :sqlite)
198
+ skip "Critical bugs in other libraries prevent us from testing this case"
199
+ else
200
+ my_user = ::User2.new
201
+ my_user.name = 'User 1'
202
+ my_user.aaa = 'aaa1'
203
+ my_user.bbb = 'bbb1'
204
+ my_user.ccc = 'ccc1'
205
+ my_user.ddd = 'ddd1'
206
+ my_user.save!
207
+
208
+ user_bd = ::User2Backdoor.find(my_user.id)
209
+ user_bd.name.should == 'User 1'
210
+ check_text_column_data(user_bd.text_attrs_nonnull, 'aaa', 'aaa1')
211
+ check_text_column_data(user_bd.text_attrs_null, 'bbb', 'bbb1')
212
+ check_binary_column_data(user_bd.binary_attrs_nonnull, 'ccc', 'ccc1')
213
+ check_binary_column_data(user_bd.binary_attrs_null, 'ddd', 'ddd1')
214
+
215
+ user_again = ::User2.find(my_user.id)
216
+ user_again.aaa = nil
217
+ user_again.bbb = nil
218
+ user_again.ccc = nil
219
+ user_again.ddd = nil
220
+ user_again.save!
221
+
222
+ user_bd_again = ::User2Backdoor.find(my_user.id)
223
+ user_bd_again.name.should == 'User 1'
224
+ user_bd_again.text_attrs_nonnull.should == ""
225
+ user_bd_again.text_attrs_null.should == nil
226
+ user_bd_again.binary_attrs_nonnull.should == ""
227
+ user_bd_again.binary_attrs_null.should == nil
228
+ end
216
229
  end
217
230
  end
218
231
  end
metadata CHANGED
@@ -1,165 +1,123 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flex_columns
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Geweke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-07 00:00:00.000000000 Z
11
+ date: 2015-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
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: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.14'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.14'
69
- - !ruby/object:Gem::Dependency
70
- name: pry
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ! '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: pry-debugger
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ! '>='
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ! '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: pry-stack_explorer
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ! '>='
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
69
  - !ruby/object:Gem::Dependency
112
70
  name: activerecord
113
71
  requirement: !ruby/object:Gem::Requirement
114
72
  requirements:
115
- - - ! '>='
73
+ - - ">="
116
74
  - !ruby/object:Gem::Version
117
75
  version: '3.0'
118
- - - <=
76
+ - - "<="
119
77
  - !ruby/object:Gem::Version
120
78
  version: 4.99.99
121
79
  type: :runtime
122
80
  prerelease: false
123
81
  version_requirements: !ruby/object:Gem::Requirement
124
82
  requirements:
125
- - - ! '>='
83
+ - - ">="
126
84
  - !ruby/object:Gem::Version
127
85
  version: '3.0'
128
- - - <=
86
+ - - "<="
129
87
  - !ruby/object:Gem::Version
130
88
  version: 4.99.99
131
89
  - !ruby/object:Gem::Dependency
132
90
  name: activesupport
133
91
  requirement: !ruby/object:Gem::Requirement
134
92
  requirements:
135
- - - ! '>='
93
+ - - ">="
136
94
  - !ruby/object:Gem::Version
137
95
  version: '3.0'
138
- - - <=
96
+ - - "<="
139
97
  - !ruby/object:Gem::Version
140
98
  version: 4.99.99
141
99
  type: :runtime
142
100
  prerelease: false
143
101
  version_requirements: !ruby/object:Gem::Requirement
144
102
  requirements:
145
- - - ! '>='
103
+ - - ">="
146
104
  - !ruby/object:Gem::Version
147
105
  version: '3.0'
148
- - - <=
106
+ - - "<="
149
107
  - !ruby/object:Gem::Version
150
108
  version: 4.99.99
151
109
  - !ruby/object:Gem::Dependency
152
- name: mysql2
110
+ name: activerecord-jdbcpostgresql-adapter
153
111
  requirement: !ruby/object:Gem::Requirement
154
112
  requirements:
155
- - - ! '>='
113
+ - - ">="
156
114
  - !ruby/object:Gem::Version
157
115
  version: '0'
158
116
  type: :development
159
117
  prerelease: false
160
118
  version_requirements: !ruby/object:Gem::Requirement
161
119
  requirements:
162
- - - ! '>='
120
+ - - ">="
163
121
  - !ruby/object:Gem::Version
164
122
  version: '0'
165
123
  description: Schema-free, structured JSON storage inside a RDBMS.
@@ -169,8 +127,8 @@ executables: []
169
127
  extensions: []
170
128
  extra_rdoc_files: []
171
129
  files:
172
- - .gitignore
173
- - .travis.yml
130
+ - ".gitignore"
131
+ - ".travis.yml"
174
132
  - CHANGES.md
175
133
  - Gemfile
176
134
  - LICENSE.txt
@@ -231,17 +189,17 @@ require_paths:
231
189
  - lib
232
190
  required_ruby_version: !ruby/object:Gem::Requirement
233
191
  requirements:
234
- - - ! '>='
192
+ - - ">="
235
193
  - !ruby/object:Gem::Version
236
194
  version: '0'
237
195
  required_rubygems_version: !ruby/object:Gem::Requirement
238
196
  requirements:
239
- - - ! '>='
197
+ - - ">="
240
198
  - !ruby/object:Gem::Version
241
199
  version: '0'
242
200
  requirements: []
243
201
  rubyforge_project:
244
- rubygems_version: 2.2.2
202
+ rubygems_version: 2.4.5
245
203
  signing_key:
246
204
  specification_version: 4
247
205
  summary: Schema-free, structured JSON storage inside a RDBMS.