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 +4 -4
- data/.travis.yml +2 -5
- data/Appraisals +4 -14
- data/Gemfile +3 -0
- data/README.md +5 -0
- data/gemfiles/activerecord_4.2.4.gemfile +1 -0
- data/gemfiles/activerecord_4.2.4.gemfile.lock +3 -2
- data/gemfiles/{activerecord_4.2.1.gemfile → activerecord_5.0.0.gemfile} +2 -1
- data/gemfiles/{activerecord_4.2.3.gemfile.lock → activerecord_5.0.0.gemfile.lock} +52 -55
- data/jsonb_accessor.gemspec +1 -1
- data/lib/jsonb_accessor/class_builder.rb +2 -1
- data/lib/jsonb_accessor/macro.rb +13 -7
- data/lib/jsonb_accessor/type_helper.rb +3 -2
- data/lib/jsonb_accessor/version.rb +1 -1
- metadata +10 -15
- data/gemfiles/activerecord_4.2.1.gemfile.lock +0 -145
- data/gemfiles/activerecord_4.2.2.gemfile +0 -7
- data/gemfiles/activerecord_4.2.2.gemfile.lock +0 -146
- data/gemfiles/activerecord_4.2.3.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eb9689dbf752a8e5759e0224838eab520fe7ced
|
4
|
+
data.tar.gz: 07132e8465d69d01909de02f544c5db202ff6e81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
+
gem "activerecord", "4.2.4"
|
14
4
|
end
|
15
5
|
|
16
|
-
appraise "activerecord-
|
6
|
+
appraise "activerecord-5.0.0" do
|
17
7
|
gemspec
|
18
|
-
gem "activerecord", "
|
8
|
+
gem "activerecord", "5.0.0"
|
19
9
|
end
|
data/Gemfile
CHANGED
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:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
jsonb_accessor (0.
|
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
|
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
|
@@ -1,93 +1,89 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../
|
3
3
|
specs:
|
4
|
-
jsonb_accessor (0.
|
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 (
|
12
|
-
actionview (=
|
13
|
-
activesupport (=
|
14
|
-
rack (~>
|
15
|
-
rack-test (~> 0.6.
|
16
|
-
rails-dom-testing (~>
|
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 (
|
19
|
-
activesupport (=
|
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 (~>
|
22
|
+
rails-dom-testing (~> 2.0)
|
23
23
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
24
|
-
activemodel (
|
25
|
-
activesupport (=
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
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 (
|
42
|
-
ast (2.
|
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.
|
43
|
+
awesome_print (1.7.0)
|
46
44
|
builder (3.2.2)
|
47
|
-
coderay (1.1.
|
48
|
-
|
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
|
-
|
57
|
-
minitest (5.
|
58
|
-
nokogiri (1.6.
|
59
|
-
|
60
|
-
parser (2.
|
61
|
-
ast (
|
62
|
-
pg (0.
|
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.
|
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.
|
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 (
|
71
|
+
rack (2.0.1)
|
74
72
|
rack-test (0.6.3)
|
75
73
|
rack (>= 1.0)
|
76
|
-
rails-
|
77
|
-
activesupport (>= 4.2.0.
|
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
|
-
|
82
|
-
rails-html-sanitizer (1.0.2)
|
77
|
+
rails-html-sanitizer (1.0.3)
|
83
78
|
loofah (~> 2.0)
|
84
|
-
railties (
|
85
|
-
actionpack (=
|
86
|
-
activesupport (=
|
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.
|
90
|
-
rake (10.
|
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.
|
111
|
-
shoulda-matchers (3.
|
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 (
|
115
|
-
activerecord (
|
116
|
-
railties (
|
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.
|
118
|
+
yard (0.9.5)
|
123
119
|
|
124
120
|
PLATFORMS
|
125
121
|
ruby
|
126
122
|
|
127
123
|
DEPENDENCIES
|
128
|
-
actionpack
|
129
|
-
activerecord (=
|
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
|
data/jsonb_accessor.gemspec
CHANGED
@@ -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"
|
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].
|
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
|
data/lib/jsonb_accessor/macro.rb
CHANGED
@@ -26,14 +26,20 @@ module JsonbAccessor
|
|
26
26
|
private
|
27
27
|
|
28
28
|
def _register_jsonb_classes_for_cleanup
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
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
|
-
|
23
|
-
jsonb.
|
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
|
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.
|
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-
|
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:
|
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:
|
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:
|
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,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
|