json_apiable 0.4.1 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +95 -92
- data/json_apiable.gemspec +3 -3
- data/lib/json_apiable/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3843cfd61c5ec39658230e3aee84aac39ff18a26799a881c1d872a3b47872198
|
4
|
+
data.tar.gz: 8e4296ea01ed83998c2fd306d720c180bc78af3e3c379668244a833033cc34be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c96a6ab06c100116d3d9317d39702dda617131e11b74abfa53f120911c2aa221612af7d9ced0be283a142da56dbf84966a07de36915267500fe797f07753b57
|
7
|
+
data.tar.gz: 953edf80dfe8550142e09da95ad3f1c8bc6502b2fede6dfb0afd9169aaccc40e75d0c96e9e59bf879fdac6f0de80a0c73ccbc3a133e26d84b98441ba267171c3
|
data/Gemfile.lock
CHANGED
@@ -1,127 +1,131 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
json_apiable (0.
|
5
|
-
activerecord
|
6
|
-
activesupport
|
7
|
-
|
4
|
+
json_apiable (0.5)
|
5
|
+
activerecord
|
6
|
+
activesupport
|
7
|
+
jsonapi-serializer
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (6.
|
13
|
-
actionpack (= 6.
|
12
|
+
actioncable (6.1.3.1)
|
13
|
+
actionpack (= 6.1.3.1)
|
14
|
+
activesupport (= 6.1.3.1)
|
14
15
|
nio4r (~> 2.0)
|
15
16
|
websocket-driver (>= 0.6.1)
|
16
|
-
actionmailbox (6.
|
17
|
-
actionpack (= 6.
|
18
|
-
activejob (= 6.
|
19
|
-
activerecord (= 6.
|
20
|
-
activestorage (= 6.
|
21
|
-
activesupport (= 6.
|
17
|
+
actionmailbox (6.1.3.1)
|
18
|
+
actionpack (= 6.1.3.1)
|
19
|
+
activejob (= 6.1.3.1)
|
20
|
+
activerecord (= 6.1.3.1)
|
21
|
+
activestorage (= 6.1.3.1)
|
22
|
+
activesupport (= 6.1.3.1)
|
22
23
|
mail (>= 2.7.1)
|
23
|
-
actionmailer (6.
|
24
|
-
actionpack (= 6.
|
25
|
-
actionview (= 6.
|
26
|
-
activejob (= 6.
|
24
|
+
actionmailer (6.1.3.1)
|
25
|
+
actionpack (= 6.1.3.1)
|
26
|
+
actionview (= 6.1.3.1)
|
27
|
+
activejob (= 6.1.3.1)
|
28
|
+
activesupport (= 6.1.3.1)
|
27
29
|
mail (~> 2.5, >= 2.5.4)
|
28
30
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (6.
|
30
|
-
actionview (= 6.
|
31
|
-
activesupport (= 6.
|
32
|
-
rack (~> 2.0, >= 2.0.
|
31
|
+
actionpack (6.1.3.1)
|
32
|
+
actionview (= 6.1.3.1)
|
33
|
+
activesupport (= 6.1.3.1)
|
34
|
+
rack (~> 2.0, >= 2.0.9)
|
33
35
|
rack-test (>= 0.6.3)
|
34
36
|
rails-dom-testing (~> 2.0)
|
35
37
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
-
actiontext (6.
|
37
|
-
actionpack (= 6.
|
38
|
-
activerecord (= 6.
|
39
|
-
activestorage (= 6.
|
40
|
-
activesupport (= 6.
|
38
|
+
actiontext (6.1.3.1)
|
39
|
+
actionpack (= 6.1.3.1)
|
40
|
+
activerecord (= 6.1.3.1)
|
41
|
+
activestorage (= 6.1.3.1)
|
42
|
+
activesupport (= 6.1.3.1)
|
41
43
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (6.
|
43
|
-
activesupport (= 6.
|
44
|
+
actionview (6.1.3.1)
|
45
|
+
activesupport (= 6.1.3.1)
|
44
46
|
builder (~> 3.1)
|
45
47
|
erubi (~> 1.4)
|
46
48
|
rails-dom-testing (~> 2.0)
|
47
49
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
-
activejob (6.
|
49
|
-
activesupport (= 6.
|
50
|
+
activejob (6.1.3.1)
|
51
|
+
activesupport (= 6.1.3.1)
|
50
52
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (6.
|
52
|
-
activesupport (= 6.
|
53
|
-
activerecord (6.
|
54
|
-
activemodel (= 6.
|
55
|
-
activesupport (= 6.
|
56
|
-
activestorage (6.
|
57
|
-
actionpack (= 6.
|
58
|
-
activejob (= 6.
|
59
|
-
activerecord (= 6.
|
60
|
-
|
61
|
-
|
53
|
+
activemodel (6.1.3.1)
|
54
|
+
activesupport (= 6.1.3.1)
|
55
|
+
activerecord (6.1.3.1)
|
56
|
+
activemodel (= 6.1.3.1)
|
57
|
+
activesupport (= 6.1.3.1)
|
58
|
+
activestorage (6.1.3.1)
|
59
|
+
actionpack (= 6.1.3.1)
|
60
|
+
activejob (= 6.1.3.1)
|
61
|
+
activerecord (= 6.1.3.1)
|
62
|
+
activesupport (= 6.1.3.1)
|
63
|
+
marcel (~> 1.0.0)
|
64
|
+
mini_mime (~> 1.0.2)
|
65
|
+
activesupport (6.1.3.1)
|
62
66
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
63
|
-
i18n (>=
|
64
|
-
minitest (
|
65
|
-
tzinfo (~>
|
66
|
-
zeitwerk (~> 2.
|
67
|
+
i18n (>= 1.6, < 2)
|
68
|
+
minitest (>= 5.1)
|
69
|
+
tzinfo (~> 2.0)
|
70
|
+
zeitwerk (~> 2.3)
|
67
71
|
builder (3.2.4)
|
68
72
|
byebug (11.1.1)
|
69
73
|
coderay (1.1.2)
|
70
|
-
concurrent-ruby (1.1.
|
74
|
+
concurrent-ruby (1.1.8)
|
71
75
|
crass (1.0.6)
|
72
76
|
diff-lcs (1.3)
|
73
|
-
erubi (1.
|
74
|
-
factory_bot (
|
75
|
-
activesupport (>=
|
76
|
-
factory_bot_rails (
|
77
|
-
factory_bot (~>
|
78
|
-
railties (>=
|
77
|
+
erubi (1.10.0)
|
78
|
+
factory_bot (6.1.0)
|
79
|
+
activesupport (>= 5.0.0)
|
80
|
+
factory_bot_rails (6.1.0)
|
81
|
+
factory_bot (~> 6.1.0)
|
82
|
+
railties (>= 5.0.0)
|
79
83
|
faker (2.10.2)
|
80
84
|
i18n (>= 1.6, < 2)
|
81
|
-
fast_jsonapi (1.5)
|
82
|
-
activesupport (>= 4.2)
|
83
85
|
globalid (0.4.2)
|
84
86
|
activesupport (>= 4.2.0)
|
85
|
-
i18n (1.8.
|
87
|
+
i18n (1.8.10)
|
86
88
|
concurrent-ruby (~> 1.0)
|
87
|
-
|
89
|
+
jsonapi-serializer (2.2.0)
|
90
|
+
activesupport (>= 4.2)
|
91
|
+
loofah (2.9.1)
|
88
92
|
crass (~> 1.0.2)
|
89
93
|
nokogiri (>= 1.5.9)
|
90
94
|
mail (2.7.1)
|
91
95
|
mini_mime (>= 0.1.1)
|
92
|
-
marcel (0.
|
93
|
-
mimemagic (~> 0.3.2)
|
96
|
+
marcel (1.0.1)
|
94
97
|
method_source (0.9.2)
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
98
|
+
mini_mime (1.0.3)
|
99
|
+
mini_portile2 (2.5.1)
|
100
|
+
minitest (5.14.4)
|
101
|
+
nio4r (2.5.7)
|
102
|
+
nokogiri (1.11.3)
|
103
|
+
mini_portile2 (~> 2.5.0)
|
104
|
+
racc (~> 1.4)
|
102
105
|
pry (0.12.2)
|
103
106
|
coderay (~> 1.1.0)
|
104
107
|
method_source (~> 0.9.0)
|
105
108
|
pry-byebug (3.8.0)
|
106
109
|
byebug (~> 11.0)
|
107
110
|
pry (~> 0.10)
|
111
|
+
racc (1.5.2)
|
108
112
|
rack (2.2.3)
|
109
113
|
rack-test (1.1.0)
|
110
114
|
rack (>= 1.0, < 3)
|
111
|
-
rails (6.
|
112
|
-
actioncable (= 6.
|
113
|
-
actionmailbox (= 6.
|
114
|
-
actionmailer (= 6.
|
115
|
-
actionpack (= 6.
|
116
|
-
actiontext (= 6.
|
117
|
-
actionview (= 6.
|
118
|
-
activejob (= 6.
|
119
|
-
activemodel (= 6.
|
120
|
-
activerecord (= 6.
|
121
|
-
activestorage (= 6.
|
122
|
-
activesupport (= 6.
|
123
|
-
bundler (>= 1.
|
124
|
-
railties (= 6.
|
115
|
+
rails (6.1.3.1)
|
116
|
+
actioncable (= 6.1.3.1)
|
117
|
+
actionmailbox (= 6.1.3.1)
|
118
|
+
actionmailer (= 6.1.3.1)
|
119
|
+
actionpack (= 6.1.3.1)
|
120
|
+
actiontext (= 6.1.3.1)
|
121
|
+
actionview (= 6.1.3.1)
|
122
|
+
activejob (= 6.1.3.1)
|
123
|
+
activemodel (= 6.1.3.1)
|
124
|
+
activerecord (= 6.1.3.1)
|
125
|
+
activestorage (= 6.1.3.1)
|
126
|
+
activesupport (= 6.1.3.1)
|
127
|
+
bundler (>= 1.15.0)
|
128
|
+
railties (= 6.1.3.1)
|
125
129
|
sprockets-rails (>= 2.0.0)
|
126
130
|
rails-controller-testing (1.0.4)
|
127
131
|
actionpack (>= 5.0.1.x)
|
@@ -132,13 +136,13 @@ GEM
|
|
132
136
|
nokogiri (>= 1.6)
|
133
137
|
rails-html-sanitizer (1.3.0)
|
134
138
|
loofah (~> 2.3)
|
135
|
-
railties (6.
|
136
|
-
actionpack (= 6.
|
137
|
-
activesupport (= 6.
|
139
|
+
railties (6.1.3.1)
|
140
|
+
actionpack (= 6.1.3.1)
|
141
|
+
activesupport (= 6.1.3.1)
|
138
142
|
method_source
|
139
143
|
rake (>= 0.8.7)
|
140
|
-
thor (
|
141
|
-
rake (13.0.
|
144
|
+
thor (~> 1.0)
|
145
|
+
rake (13.0.3)
|
142
146
|
rspec-core (3.9.1)
|
143
147
|
rspec-support (~> 3.9.1)
|
144
148
|
rspec-expectations (3.9.0)
|
@@ -156,22 +160,21 @@ GEM
|
|
156
160
|
rspec-mocks (~> 3.9.0)
|
157
161
|
rspec-support (~> 3.9.0)
|
158
162
|
rspec-support (3.9.2)
|
159
|
-
sprockets (4.0.
|
163
|
+
sprockets (4.0.2)
|
160
164
|
concurrent-ruby (~> 1.0)
|
161
165
|
rack (> 1, < 3)
|
162
|
-
sprockets-rails (3.2.
|
166
|
+
sprockets-rails (3.2.2)
|
163
167
|
actionpack (>= 4.0)
|
164
168
|
activesupport (>= 4.0)
|
165
169
|
sprockets (>= 3.0.0)
|
166
170
|
sqlite3 (1.4.2)
|
167
|
-
thor (1.0
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
websocket-driver (0.7.1)
|
171
|
+
thor (1.1.0)
|
172
|
+
tzinfo (2.0.4)
|
173
|
+
concurrent-ruby (~> 1.0)
|
174
|
+
websocket-driver (0.7.3)
|
172
175
|
websocket-extensions (>= 0.1.0)
|
173
176
|
websocket-extensions (0.1.5)
|
174
|
-
zeitwerk (2.
|
177
|
+
zeitwerk (2.4.2)
|
175
178
|
|
176
179
|
PLATFORMS
|
177
180
|
ruby
|
@@ -190,4 +193,4 @@ DEPENDENCIES
|
|
190
193
|
sqlite3
|
191
194
|
|
192
195
|
BUNDLED WITH
|
193
|
-
2.1.
|
196
|
+
2.1.4
|
data/json_apiable.gemspec
CHANGED
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ["lib"]
|
26
26
|
|
27
|
-
spec.add_dependency 'activerecord'
|
28
|
-
spec.add_dependency 'activesupport'
|
29
|
-
spec.add_dependency '
|
27
|
+
spec.add_dependency 'activerecord'
|
28
|
+
spec.add_dependency 'activesupport'
|
29
|
+
spec.add_dependency 'jsonapi-serializer'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
32
32
|
spec.add_development_dependency 'factory_bot_rails'
|
data/lib/json_apiable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_apiable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Polischuk
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
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
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: jsonapi-serializer
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,7 +192,7 @@ dependencies:
|
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
|
-
description:
|
195
|
+
description:
|
196
196
|
email:
|
197
197
|
- mike.polis@gmail.com
|
198
198
|
executables: []
|
@@ -228,7 +228,7 @@ licenses:
|
|
228
228
|
- MIT
|
229
229
|
metadata:
|
230
230
|
homepage_uri: http://github.com/mikemarsian/json_apiable
|
231
|
-
post_install_message:
|
231
|
+
post_install_message:
|
232
232
|
rdoc_options: []
|
233
233
|
require_paths:
|
234
234
|
- lib
|
@@ -243,8 +243,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
- !ruby/object:Gem::Version
|
244
244
|
version: '0'
|
245
245
|
requirements: []
|
246
|
-
rubygems_version: 3.
|
247
|
-
signing_key:
|
246
|
+
rubygems_version: 3.1.4
|
247
|
+
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: Include JsonApiable module in your API::BaseController to receive a collection
|
250
250
|
of useful methods, such as arguments and relationships parser, filters, etc.
|