jsonb_accessor 0.3.3 → 0.4.0.beta

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: 4482a9227381219289a5fa3c3ee142c65c209264
4
- data.tar.gz: 40151f160357b3f8b903e13e7d6665649590c229
3
+ metadata.gz: 6eb9689dbf752a8e5759e0224838eab520fe7ced
4
+ data.tar.gz: 07132e8465d69d01909de02f544c5db202ff6e81
5
5
  SHA512:
6
- metadata.gz: f46c2d4bd1f4e8eeed04dcfdd5e15d494dba305eaac17f5ec13ffe1034b9cb812ebccbb48129427dbf2ba5816a388bb53e28d713b40cca4eeda0d0545b8f0b52
7
- data.tar.gz: 92b6b372df5c862d8e3e322e2f05a3875eb2cf59f4a0fba18f9c9e6779257b604d5ba06fd16eea7fd1e6f466b5aa8ec5f8efdb1c00b25734907268e6d79dfd5a
6
+ metadata.gz: 8e5131ee5b8d0c15ad6bb563261867678485a576622a2e6ddff8e710acbcee8ea15ca9a2a3eedf73495ad17600b9fe0e02347ef55c1efb671141cb57ec4fedb2
7
+ data.tar.gz: c7d9d78356a2d4f081c078bc843282da3918d6502153c6030cf1e85bc373f45e63cc6c6eb089520bcd331de9aba71af8038afe393d3a82b8b85767faba0cf5f0
data/.travis.yml CHANGED
@@ -1,7 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.5
4
- - 2.2.0
3
+ - 2.2.4
5
4
  - 2.3.0
6
5
  addons:
7
6
  postgresql: '9.4'
@@ -14,7 +13,5 @@ before_script:
14
13
  - bundle exec rake db:migrate
15
14
  cache: bundler
16
15
  gemfile:
17
- - gemfiles/activerecord_4.2.1.gemfile
18
- - gemfiles/activerecord_4.2.2.gemfile
19
- - gemfiles/activerecord_4.2.3.gemfile
20
16
  - gemfiles/activerecord_4.2.4.gemfile
17
+ - gemfiles/activerecord_5.0.0.gemfile
data/Appraisals CHANGED
@@ -1,19 +1,9 @@
1
- appraise "activerecord-4.2.1" do
2
- gemspec
3
- gem "activerecord", "4.2.1"
4
- end
5
-
6
- appraise "activerecord-4.2.2" do
7
- gemspec
8
- gem "activerecord", "4.2.2"
9
- end
10
-
11
- appraise "activerecord-4.2.3" do
1
+ appraise "activerecord-4.2.4" do
12
2
  gemspec
13
- gem "activerecord", "4.2.3"
3
+ gem "activerecord", "4.2.4"
14
4
  end
15
5
 
16
- appraise "activerecord-4.2.4" do
6
+ appraise "activerecord-5.0.0" do
17
7
  gemspec
18
- gem "activerecord", "4.2.4"
8
+ gem "activerecord", "5.0.0"
19
9
  end
data/Gemfile CHANGED
@@ -2,3 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in jsonb_accessor.gemspec
4
4
  gemspec
5
+
6
+ # Travis CI requires in Gemfile
7
+ gem 'pg'
data/README.md CHANGED
@@ -7,6 +7,7 @@ Adds typed `jsonb` backed fields as first class citizens to your `ActiveRecord`
7
7
  ## Table of Contents
8
8
 
9
9
  * [Installation](#installation)
10
+ * [Rails 5](#rails-5)
10
11
  * [Usage](#usage)
11
12
  * [ActiveRecord Methods Generated for Fields](#activerecord-methods-generated-for-fields)
12
13
  * [Validations](#validations)
@@ -29,6 +30,10 @@ And then execute:
29
30
 
30
31
  $ bundle install
31
32
 
33
+ ## Rails 5
34
+
35
+ Version 0.4.X will run on Rails 5, but behavior around type coercion for array and other collection field types behaves differently. When you upgrade to 0.4.X make sure you do not depend on subtle type coercion rules.
36
+
32
37
  ## Usage
33
38
 
34
39
  First we must create a model which has a `jsonb` column available to store data into it:
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "pg"
5
6
  gem "activerecord", "4.2.4"
6
7
 
7
8
  gemspec :path => "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- jsonb_accessor (0.3.2)
4
+ jsonb_accessor (0.4.0.beta)
5
5
  activerecord (>= 4.2.1)
6
6
  pg (>= 0.18.1)
7
7
 
@@ -125,13 +125,14 @@ PLATFORMS
125
125
  ruby
126
126
 
127
127
  DEPENDENCIES
128
- actionpack (~> 4.2.1)
128
+ actionpack
129
129
  activerecord (= 4.2.4)
130
130
  appraisal
131
131
  awesome_print
132
132
  bundler (~> 1.9)
133
133
  database_cleaner
134
134
  jsonb_accessor!
135
+ pg
135
136
  pry
136
137
  pry-doc
137
138
  pry-nav
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "4.2.1"
5
+ gem "pg"
6
+ gem "activerecord", "5.0.0"
6
7
 
7
8
  gemspec :path => "../"
@@ -1,93 +1,89 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- jsonb_accessor (0.3.2)
4
+ jsonb_accessor (0.4.0.beta)
5
5
  activerecord (>= 4.2.1)
6
6
  pg (>= 0.18.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionpack (4.2.3)
12
- actionview (= 4.2.3)
13
- activesupport (= 4.2.3)
14
- rack (~> 1.6)
15
- rack-test (~> 0.6.2)
16
- rails-dom-testing (~> 1.0, >= 1.0.5)
11
+ actionpack (5.0.0)
12
+ actionview (= 5.0.0)
13
+ activesupport (= 5.0.0)
14
+ rack (~> 2.0)
15
+ rack-test (~> 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
17
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
18
- actionview (4.2.3)
19
- activesupport (= 4.2.3)
18
+ actionview (5.0.0)
19
+ activesupport (= 5.0.0)
20
20
  builder (~> 3.1)
21
21
  erubis (~> 2.7.0)
22
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-dom-testing (~> 2.0)
23
23
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
24
- activemodel (4.2.3)
25
- activesupport (= 4.2.3)
26
- builder (~> 3.1)
27
- activerecord (4.2.3)
28
- activemodel (= 4.2.3)
29
- activesupport (= 4.2.3)
30
- arel (~> 6.0)
31
- activesupport (4.2.3)
24
+ activemodel (5.0.0)
25
+ activesupport (= 5.0.0)
26
+ activerecord (5.0.0)
27
+ activemodel (= 5.0.0)
28
+ activesupport (= 5.0.0)
29
+ arel (~> 7.0)
30
+ activesupport (5.0.0)
31
+ concurrent-ruby (~> 1.0, >= 1.0.2)
32
32
  i18n (~> 0.7)
33
- json (~> 1.7, >= 1.7.7)
34
33
  minitest (~> 5.1)
35
- thread_safe (~> 0.3, >= 0.3.4)
36
34
  tzinfo (~> 1.1)
37
35
  appraisal (2.1.0)
38
36
  bundler
39
37
  rake
40
38
  thor (>= 0.14.0)
41
- arel (6.0.3)
42
- ast (2.1.0)
39
+ arel (7.1.4)
40
+ ast (2.3.0)
43
41
  astrolabe (1.3.1)
44
42
  parser (~> 2.2)
45
- awesome_print (1.6.1)
43
+ awesome_print (1.7.0)
46
44
  builder (3.2.2)
47
- coderay (1.1.0)
48
- database_cleaner (1.5.1)
45
+ coderay (1.1.1)
46
+ concurrent-ruby (1.0.2)
47
+ database_cleaner (1.5.3)
49
48
  diff-lcs (1.2.5)
50
49
  erubis (2.7.0)
51
50
  i18n (0.7.0)
52
- json (1.8.3)
53
51
  loofah (2.0.3)
54
52
  nokogiri (>= 1.5.9)
55
53
  method_source (0.8.2)
56
- mini_portile (0.6.2)
57
- minitest (5.8.1)
58
- nokogiri (1.6.6.2)
59
- mini_portile (~> 0.6.0)
60
- parser (2.2.3.0)
61
- ast (>= 1.1, < 3.0)
62
- pg (0.18.4)
54
+ mini_portile2 (2.1.0)
55
+ minitest (5.9.1)
56
+ nokogiri (1.6.8.1)
57
+ mini_portile2 (~> 2.1.0)
58
+ parser (2.3.1.4)
59
+ ast (~> 2.2)
60
+ pg (0.19.0)
63
61
  powerpack (0.1.1)
64
- pry (0.10.3)
62
+ pry (0.10.4)
65
63
  coderay (~> 1.1.0)
66
64
  method_source (~> 0.8.1)
67
65
  slop (~> 3.4)
68
- pry-doc (0.8.0)
66
+ pry-doc (0.9.0)
69
67
  pry (~> 0.9)
70
68
  yard (~> 0.8)
71
69
  pry-nav (0.2.4)
72
70
  pry (>= 0.9.10, < 0.11.0)
73
- rack (1.6.4)
71
+ rack (2.0.1)
74
72
  rack-test (0.6.3)
75
73
  rack (>= 1.0)
76
- rails-deprecated_sanitizer (1.0.3)
77
- activesupport (>= 4.2.0.alpha)
78
- rails-dom-testing (1.0.7)
79
- activesupport (>= 4.2.0.beta, < 5.0)
74
+ rails-dom-testing (2.0.1)
75
+ activesupport (>= 4.2.0, < 6.0)
80
76
  nokogiri (~> 1.6.0)
81
- rails-deprecated_sanitizer (>= 1.0.1)
82
- rails-html-sanitizer (1.0.2)
77
+ rails-html-sanitizer (1.0.3)
83
78
  loofah (~> 2.0)
84
- railties (4.2.3)
85
- actionpack (= 4.2.3)
86
- activesupport (= 4.2.3)
79
+ railties (5.0.0)
80
+ actionpack (= 5.0.0)
81
+ activesupport (= 5.0.0)
82
+ method_source
87
83
  rake (>= 0.8.7)
88
84
  thor (>= 0.18.1, < 2.0)
89
- rainbow (2.0.0)
90
- rake (10.4.2)
85
+ rainbow (2.1.0)
86
+ rake (10.5.0)
91
87
  rspec (3.2.0)
92
88
  rspec-core (~> 3.2.0)
93
89
  rspec-expectations (~> 3.2.0)
@@ -107,31 +103,32 @@ GEM
107
103
  powerpack (~> 0.1)
108
104
  rainbow (>= 1.99.1, < 3.0)
109
105
  ruby-progressbar (~> 1.4)
110
- ruby-progressbar (1.7.5)
111
- shoulda-matchers (3.0.0)
106
+ ruby-progressbar (1.8.1)
107
+ shoulda-matchers (3.1.1)
112
108
  activesupport (>= 4.0.0)
113
109
  slop (3.6.0)
114
- standalone_migrations (4.0.2)
115
- activerecord (~> 4.2.0)
116
- railties (~> 4.2.0)
110
+ standalone_migrations (5.0.0)
111
+ activerecord (>= 4.2.7, < 5.1.0)
112
+ railties (>= 4.2.7, < 5.1.0)
117
113
  rake (~> 10.0)
118
114
  thor (0.19.1)
119
115
  thread_safe (0.3.5)
120
116
  tzinfo (1.2.2)
121
117
  thread_safe (~> 0.1)
122
- yard (0.8.7.6)
118
+ yard (0.9.5)
123
119
 
124
120
  PLATFORMS
125
121
  ruby
126
122
 
127
123
  DEPENDENCIES
128
- actionpack (~> 4.2.1)
129
- activerecord (= 4.2.3)
124
+ actionpack
125
+ activerecord (= 5.0.0)
130
126
  appraisal
131
127
  awesome_print
132
128
  bundler (~> 1.9)
133
129
  database_cleaner
134
130
  jsonb_accessor!
131
+ pg
135
132
  pry
136
133
  pry-doc
137
134
  pry-nav
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency "activerecord", ">= 4.2.1"
24
24
  spec.add_dependency "pg", ">= 0.18.1"
25
25
 
26
- spec.add_development_dependency "actionpack", "~> 4.2.1"
26
+ spec.add_development_dependency "actionpack"
27
27
  spec.add_development_dependency "appraisal"
28
28
  spec.add_development_dependency "bundler", "~> 1.9"
29
29
  spec.add_development_dependency "database_cleaner"
@@ -64,8 +64,9 @@ module JsonbAccessor
64
64
  fields_map.typed_fields.keys.each do |attribute_name|
65
65
  define_method(attribute_name) { attributes[attribute_name] }
66
66
 
67
+ cast_method_name = ActiveRecord::VERSION::MAJOR == 5 ? :cast : :type_cast_from_user
67
68
  define_method("#{attribute_name}=") do |value|
68
- cast_value = attributes_and_data_types[attribute_name].type_cast_from_user(value)
69
+ cast_value = attributes_and_data_types[attribute_name].public_send(cast_method_name, value)
69
70
  attributes[attribute_name] = cast_value
70
71
  update_parent
71
72
  end
@@ -26,14 +26,20 @@ module JsonbAccessor
26
26
  private
27
27
 
28
28
  def _register_jsonb_classes_for_cleanup
29
- if defined?(ActionDispatch) && ENV["RACK_ENV"] == "development"
30
- class_name = CLASS_PREFIX + name
31
- ActionDispatch::Reloader.to_cleanup do
32
- if JsonbAccessor.constants.any? { |c| c.to_s == class_name }
33
- JsonbAccessor.send(:remove_const, class_name)
34
- end
29
+ return unless ENV["RACK_ENV"] == "development"
30
+
31
+ class_name = CLASS_PREFIX + name
32
+ clean_up_proc = proc do
33
+ if JsonbAccessor.constants.any? { |c| c.to_s == class_name }
34
+ JsonbAccessor.send(:remove_const, class_name)
35
35
  end
36
36
  end
37
+
38
+ if ActiveRecord::VERSION::MAJOR == 5 && defined?(ActiveSupport::Reloader)
39
+ ActiveSupport::Reloader.to_complete(&clean_up_proc)
40
+ elsif defined?(ActionDispatch)
41
+ ActionDispatch::Reloader.to_cleanup(&clean_up_proc)
42
+ end
37
43
  end
38
44
 
39
45
  def _initialize_jsonb_attrs(jsonb_attribute, fields_map, jsonb_attribute_initialization_method_name)
@@ -53,7 +59,7 @@ module JsonbAccessor
53
59
  end
54
60
  end
55
61
 
56
- after_initialize(jsonb_attribute_initialization_method_name)
62
+ after_initialize(jsonb_attribute_initialization_method_name.to_sym)
57
63
  end
58
64
 
59
65
  def _create_jsonb_attribute_scope_name(jsonb_attribute, jsonb_attribute_scope_name)
@@ -19,8 +19,9 @@ module JsonbAccessor
19
19
  end
20
20
 
21
21
  def type_cast_as_jsonb(suspect)
22
- type_cast_hash = jsonb.type_cast_from_user(suspect)
23
- jsonb.type_cast_for_database(type_cast_hash)
22
+ user_cast_method_name, db_case_method_name = ActiveRecord::VERSION::MAJOR == 5 ? [:cast, :serialize] : [:type_cast_from_user, :type_cast_for_database]
23
+ type_cast_hash = jsonb.public_send(user_cast_method_name, suspect)
24
+ jsonb.public_send(db_case_method_name, type_cast_hash)
24
25
  end
25
26
 
26
27
  private
@@ -1,3 +1,3 @@
1
1
  module JsonbAccessor
2
- VERSION = "0.3.3"
2
+ VERSION = "0.4.0.beta"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonb_accessor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Crismali
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2016-04-12 00:00:00.000000000 Z
13
+ date: 2016-10-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
@@ -44,16 +44,16 @@ dependencies:
44
44
  name: actionpack
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 4.2.1
49
+ version: '0'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - "~>"
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: 4.2.1
56
+ version: '0'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: appraisal
59
59
  requirement: !ruby/object:Gem::Requirement
@@ -247,14 +247,10 @@ files:
247
247
  - db/config.yml
248
248
  - db/migrate/20150407031737_set_up_testing_db.rb
249
249
  - db/schema.rb
250
- - gemfiles/activerecord_4.2.1.gemfile
251
- - gemfiles/activerecord_4.2.1.gemfile.lock
252
- - gemfiles/activerecord_4.2.2.gemfile
253
- - gemfiles/activerecord_4.2.2.gemfile.lock
254
- - gemfiles/activerecord_4.2.3.gemfile
255
- - gemfiles/activerecord_4.2.3.gemfile.lock
256
250
  - gemfiles/activerecord_4.2.4.gemfile
257
251
  - gemfiles/activerecord_4.2.4.gemfile.lock
252
+ - gemfiles/activerecord_5.0.0.gemfile
253
+ - gemfiles/activerecord_5.0.0.gemfile.lock
258
254
  - jsonb_accessor.gemspec
259
255
  - lib/jsonb_accessor.rb
260
256
  - lib/jsonb_accessor/class_builder.rb
@@ -279,9 +275,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
279
275
  version: '2.0'
280
276
  required_rubygems_version: !ruby/object:Gem::Requirement
281
277
  requirements:
282
- - - ">="
278
+ - - ">"
283
279
  - !ruby/object:Gem::Version
284
- version: '0'
280
+ version: 1.3.1
285
281
  requirements: []
286
282
  rubyforge_project:
287
283
  rubygems_version: 2.5.1
@@ -289,4 +285,3 @@ signing_key:
289
285
  specification_version: 4
290
286
  summary: Adds typed jsonb backed fields to your ActiveRecord models.
291
287
  test_files: []
292
- has_rdoc:
@@ -1,145 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- jsonb_accessor (0.3.2)
5
- activerecord (>= 4.2.1)
6
- pg (>= 0.18.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionpack (4.2.1)
12
- actionview (= 4.2.1)
13
- activesupport (= 4.2.1)
14
- rack (~> 1.6)
15
- rack-test (~> 0.6.2)
16
- rails-dom-testing (~> 1.0, >= 1.0.5)
17
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
18
- actionview (4.2.1)
19
- activesupport (= 4.2.1)
20
- builder (~> 3.1)
21
- erubis (~> 2.7.0)
22
- rails-dom-testing (~> 1.0, >= 1.0.5)
23
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
24
- activemodel (4.2.1)
25
- activesupport (= 4.2.1)
26
- builder (~> 3.1)
27
- activerecord (4.2.1)
28
- activemodel (= 4.2.1)
29
- activesupport (= 4.2.1)
30
- arel (~> 6.0)
31
- activesupport (4.2.1)
32
- i18n (~> 0.7)
33
- json (~> 1.7, >= 1.7.7)
34
- minitest (~> 5.1)
35
- thread_safe (~> 0.3, >= 0.3.4)
36
- tzinfo (~> 1.1)
37
- appraisal (1.0.3)
38
- bundler
39
- rake
40
- thor (>= 0.14.0)
41
- arel (6.0.0)
42
- ast (2.0.0)
43
- astrolabe (1.3.0)
44
- parser (>= 2.2.0.pre.3, < 3.0)
45
- awesome_print (1.6.1)
46
- builder (3.2.2)
47
- coderay (1.1.0)
48
- database_cleaner (1.4.1)
49
- diff-lcs (1.2.5)
50
- erubis (2.7.0)
51
- i18n (0.7.0)
52
- json (1.8.3)
53
- loofah (2.0.1)
54
- nokogiri (>= 1.5.9)
55
- method_source (0.8.2)
56
- mini_portile (0.6.2)
57
- minitest (5.8.1)
58
- nokogiri (1.6.6.2)
59
- mini_portile (~> 0.6.0)
60
- parser (2.2.2.5)
61
- ast (>= 1.1, < 3.0)
62
- pg (0.18.4)
63
- powerpack (0.1.1)
64
- pry (0.10.1)
65
- coderay (~> 1.1.0)
66
- method_source (~> 0.8.1)
67
- slop (~> 3.4)
68
- pry-doc (0.6.0)
69
- pry (~> 0.9)
70
- yard (~> 0.8)
71
- pry-nav (0.2.4)
72
- pry (>= 0.9.10, < 0.11.0)
73
- rack (1.6.0)
74
- rack-test (0.6.3)
75
- rack (>= 1.0)
76
- rails-deprecated_sanitizer (1.0.3)
77
- activesupport (>= 4.2.0.alpha)
78
- rails-dom-testing (1.0.6)
79
- activesupport (>= 4.2.0.beta, < 5.0)
80
- nokogiri (~> 1.6.0)
81
- rails-deprecated_sanitizer (>= 1.0.1)
82
- rails-html-sanitizer (1.0.2)
83
- loofah (~> 2.0)
84
- railties (4.2.1)
85
- actionpack (= 4.2.1)
86
- activesupport (= 4.2.1)
87
- rake (>= 0.8.7)
88
- thor (>= 0.18.1, < 2.0)
89
- rainbow (2.0.0)
90
- rake (10.4.2)
91
- rspec (3.2.0)
92
- rspec-core (~> 3.2.0)
93
- rspec-expectations (~> 3.2.0)
94
- rspec-mocks (~> 3.2.0)
95
- rspec-core (3.2.3)
96
- rspec-support (~> 3.2.0)
97
- rspec-expectations (3.2.1)
98
- diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.2.0)
100
- rspec-mocks (3.2.1)
101
- diff-lcs (>= 1.2.0, < 2.0)
102
- rspec-support (~> 3.2.0)
103
- rspec-support (3.2.2)
104
- rubocop (0.31.0)
105
- astrolabe (~> 1.3)
106
- parser (>= 2.2.2.1, < 3.0)
107
- powerpack (~> 0.1)
108
- rainbow (>= 1.99.1, < 3.0)
109
- ruby-progressbar (~> 1.4)
110
- ruby-progressbar (1.7.5)
111
- shoulda-matchers (3.0.0)
112
- activesupport (>= 4.0.0)
113
- slop (3.6.0)
114
- standalone_migrations (4.0.1)
115
- activerecord (~> 4.2.0)
116
- railties (~> 4.2.0)
117
- rake (~> 10.0)
118
- thor (0.19.1)
119
- thread_safe (0.3.5)
120
- tzinfo (1.2.2)
121
- thread_safe (~> 0.1)
122
- yard (0.8.7.6)
123
-
124
- PLATFORMS
125
- ruby
126
-
127
- DEPENDENCIES
128
- actionpack (~> 4.2.1)
129
- activerecord (= 4.2.1)
130
- appraisal
131
- awesome_print
132
- bundler (~> 1.9)
133
- database_cleaner
134
- jsonb_accessor!
135
- pry
136
- pry-doc
137
- pry-nav
138
- rake (~> 10.0)
139
- rspec (~> 3.2.0)
140
- rubocop (= 0.31.0)
141
- shoulda-matchers
142
- standalone_migrations
143
-
144
- BUNDLED WITH
145
- 1.11.2
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "4.2.2"
6
-
7
- gemspec :path => "../"
@@ -1,146 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- jsonb_accessor (0.3.2)
5
- activerecord (>= 4.2.1)
6
- pg (>= 0.18.1)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionpack (4.2.2)
12
- actionview (= 4.2.2)
13
- activesupport (= 4.2.2)
14
- rack (~> 1.6)
15
- rack-test (~> 0.6.2)
16
- rails-dom-testing (~> 1.0, >= 1.0.5)
17
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
18
- actionview (4.2.2)
19
- activesupport (= 4.2.2)
20
- builder (~> 3.1)
21
- erubis (~> 2.7.0)
22
- rails-dom-testing (~> 1.0, >= 1.0.5)
23
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
24
- activemodel (4.2.2)
25
- activesupport (= 4.2.2)
26
- builder (~> 3.1)
27
- activerecord (4.2.2)
28
- activemodel (= 4.2.2)
29
- activesupport (= 4.2.2)
30
- arel (~> 6.0)
31
- activesupport (4.2.2)
32
- i18n (~> 0.7)
33
- json (~> 1.7, >= 1.7.7)
34
- minitest (~> 5.1)
35
- thread_safe (~> 0.3, >= 0.3.4)
36
- tzinfo (~> 1.1)
37
- appraisal (2.0.1)
38
- activesupport (>= 3.2.21)
39
- bundler
40
- rake
41
- thor (>= 0.14.0)
42
- arel (6.0.0)
43
- ast (2.0.0)
44
- astrolabe (1.3.0)
45
- parser (>= 2.2.0.pre.3, < 3.0)
46
- awesome_print (1.6.1)
47
- builder (3.2.2)
48
- coderay (1.1.0)
49
- database_cleaner (1.4.1)
50
- diff-lcs (1.2.5)
51
- erubis (2.7.0)
52
- i18n (0.7.0)
53
- json (1.8.3)
54
- loofah (2.0.2)
55
- nokogiri (>= 1.5.9)
56
- method_source (0.8.2)
57
- mini_portile (0.6.2)
58
- minitest (5.8.1)
59
- nokogiri (1.6.6.2)
60
- mini_portile (~> 0.6.0)
61
- parser (2.3.0.pre.2)
62
- ast (>= 1.1, < 3.0)
63
- pg (0.18.4)
64
- powerpack (0.1.1)
65
- pry (0.10.1)
66
- coderay (~> 1.1.0)
67
- method_source (~> 0.8.1)
68
- slop (~> 3.4)
69
- pry-doc (0.8.0)
70
- pry (~> 0.9)
71
- yard (~> 0.8)
72
- pry-nav (0.2.4)
73
- pry (>= 0.9.10, < 0.11.0)
74
- rack (1.6.2)
75
- rack-test (0.6.3)
76
- rack (>= 1.0)
77
- rails-deprecated_sanitizer (1.0.3)
78
- activesupport (>= 4.2.0.alpha)
79
- rails-dom-testing (1.0.6)
80
- activesupport (>= 4.2.0.beta, < 5.0)
81
- nokogiri (~> 1.6.0)
82
- rails-deprecated_sanitizer (>= 1.0.1)
83
- rails-html-sanitizer (1.0.2)
84
- loofah (~> 2.0)
85
- railties (4.2.2)
86
- actionpack (= 4.2.2)
87
- activesupport (= 4.2.2)
88
- rake (>= 0.8.7)
89
- thor (>= 0.18.1, < 2.0)
90
- rainbow (2.0.0)
91
- rake (10.4.2)
92
- rspec (3.2.0)
93
- rspec-core (~> 3.2.0)
94
- rspec-expectations (~> 3.2.0)
95
- rspec-mocks (~> 3.2.0)
96
- rspec-core (3.2.3)
97
- rspec-support (~> 3.2.0)
98
- rspec-expectations (3.2.1)
99
- diff-lcs (>= 1.2.0, < 2.0)
100
- rspec-support (~> 3.2.0)
101
- rspec-mocks (3.2.1)
102
- diff-lcs (>= 1.2.0, < 2.0)
103
- rspec-support (~> 3.2.0)
104
- rspec-support (3.2.2)
105
- rubocop (0.31.0)
106
- astrolabe (~> 1.3)
107
- parser (>= 2.2.2.1, < 3.0)
108
- powerpack (~> 0.1)
109
- rainbow (>= 1.99.1, < 3.0)
110
- ruby-progressbar (~> 1.4)
111
- ruby-progressbar (1.7.5)
112
- shoulda-matchers (3.0.0)
113
- activesupport (>= 4.0.0)
114
- slop (3.6.0)
115
- standalone_migrations (4.0.2)
116
- activerecord (~> 4.2.0)
117
- railties (~> 4.2.0)
118
- rake (~> 10.0)
119
- thor (0.19.1)
120
- thread_safe (0.3.5)
121
- tzinfo (1.2.2)
122
- thread_safe (~> 0.1)
123
- yard (0.8.7.6)
124
-
125
- PLATFORMS
126
- ruby
127
-
128
- DEPENDENCIES
129
- actionpack (~> 4.2.1)
130
- activerecord (= 4.2.2)
131
- appraisal
132
- awesome_print
133
- bundler (~> 1.9)
134
- database_cleaner
135
- jsonb_accessor!
136
- pry
137
- pry-doc
138
- pry-nav
139
- rake (~> 10.0)
140
- rspec (~> 3.2.0)
141
- rubocop (= 0.31.0)
142
- shoulda-matchers
143
- standalone_migrations
144
-
145
- BUNDLED WITH
146
- 1.11.2
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "activerecord", "4.2.3"
6
-
7
- gemspec :path => "../"