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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7f8ca1f3bf0021a5b326f69c09fa891813c63da56824acafb67f5edf22b8cc6
4
- data.tar.gz: 13c3c4b1e542b688241eaf73be98e35d35c0d712ce552d77243cf958fdce3d34
3
+ metadata.gz: 3843cfd61c5ec39658230e3aee84aac39ff18a26799a881c1d872a3b47872198
4
+ data.tar.gz: 8e4296ea01ed83998c2fd306d720c180bc78af3e3c379668244a833033cc34be
5
5
  SHA512:
6
- metadata.gz: 941b661ae943c9e6b5344be482740356f78ee75393ed334ddf97516ba5f08bc821252ae34fa3d33d2142366b779095aebe7f8e8600280ffa9ce22acb3eded9a1
7
- data.tar.gz: 66f37012eb785a178d5dd2c14979f3296f3818c8b86f940c33b1d6269fa8b5350a1dab1de9993e61c366f98251542870afe66f5ed42bcd56569951ecd3c3395c
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.4)
5
- activerecord (>= 4.2)
6
- activesupport (>= 4.2)
7
- fast_jsonapi (~> 1.5)
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.0.2.1)
13
- actionpack (= 6.0.2.1)
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.0.2.1)
17
- actionpack (= 6.0.2.1)
18
- activejob (= 6.0.2.1)
19
- activerecord (= 6.0.2.1)
20
- activestorage (= 6.0.2.1)
21
- activesupport (= 6.0.2.1)
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.0.2.1)
24
- actionpack (= 6.0.2.1)
25
- actionview (= 6.0.2.1)
26
- activejob (= 6.0.2.1)
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.0.2.1)
30
- actionview (= 6.0.2.1)
31
- activesupport (= 6.0.2.1)
32
- rack (~> 2.0, >= 2.0.8)
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.0.2.1)
37
- actionpack (= 6.0.2.1)
38
- activerecord (= 6.0.2.1)
39
- activestorage (= 6.0.2.1)
40
- activesupport (= 6.0.2.1)
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.0.2.1)
43
- activesupport (= 6.0.2.1)
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.0.2.1)
49
- activesupport (= 6.0.2.1)
50
+ activejob (6.1.3.1)
51
+ activesupport (= 6.1.3.1)
50
52
  globalid (>= 0.3.6)
51
- activemodel (6.0.2.1)
52
- activesupport (= 6.0.2.1)
53
- activerecord (6.0.2.1)
54
- activemodel (= 6.0.2.1)
55
- activesupport (= 6.0.2.1)
56
- activestorage (6.0.2.1)
57
- actionpack (= 6.0.2.1)
58
- activejob (= 6.0.2.1)
59
- activerecord (= 6.0.2.1)
60
- marcel (~> 0.3.1)
61
- activesupport (6.0.2.1)
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 (>= 0.7, < 2)
64
- minitest (~> 5.1)
65
- tzinfo (~> 1.1)
66
- zeitwerk (~> 2.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.6)
74
+ concurrent-ruby (1.1.8)
71
75
  crass (1.0.6)
72
76
  diff-lcs (1.3)
73
- erubi (1.9.0)
74
- factory_bot (5.1.1)
75
- activesupport (>= 4.2.0)
76
- factory_bot_rails (5.1.1)
77
- factory_bot (~> 5.1.0)
78
- railties (>= 4.2.0)
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.3)
87
+ i18n (1.8.10)
86
88
  concurrent-ruby (~> 1.0)
87
- loofah (2.6.0)
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.3.3)
93
- mimemagic (~> 0.3.2)
96
+ marcel (1.0.1)
94
97
  method_source (0.9.2)
95
- mimemagic (0.3.5)
96
- mini_mime (1.0.2)
97
- mini_portile2 (2.4.0)
98
- minitest (5.14.1)
99
- nio4r (2.5.2)
100
- nokogiri (1.10.9)
101
- mini_portile2 (~> 2.4.0)
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.0.2.1)
112
- actioncable (= 6.0.2.1)
113
- actionmailbox (= 6.0.2.1)
114
- actionmailer (= 6.0.2.1)
115
- actionpack (= 6.0.2.1)
116
- actiontext (= 6.0.2.1)
117
- actionview (= 6.0.2.1)
118
- activejob (= 6.0.2.1)
119
- activemodel (= 6.0.2.1)
120
- activerecord (= 6.0.2.1)
121
- activestorage (= 6.0.2.1)
122
- activesupport (= 6.0.2.1)
123
- bundler (>= 1.3.0)
124
- railties (= 6.0.2.1)
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.0.2.1)
136
- actionpack (= 6.0.2.1)
137
- activesupport (= 6.0.2.1)
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 (>= 0.20.3, < 2.0)
141
- rake (13.0.1)
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.0)
163
+ sprockets (4.0.2)
160
164
  concurrent-ruby (~> 1.0)
161
165
  rack (> 1, < 3)
162
- sprockets-rails (3.2.1)
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.1)
168
- thread_safe (0.3.6)
169
- tzinfo (1.2.7)
170
- thread_safe (~> 0.1)
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.3.0)
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.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', '>= 4.2'
28
- spec.add_dependency 'activesupport', '>= 4.2'
29
- spec.add_dependency 'fast_jsonapi', '~> 1.5'
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'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JsonApiable
4
- VERSION = "0.4.1"
4
+ VERSION = "0.5"
5
5
  end
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.1
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: 2020-08-17 00:00:00.000000000 Z
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: '4.2'
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: '4.2'
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: '4.2'
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: '4.2'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: fast_jsonapi
42
+ name: jsonapi-serializer
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.5'
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: '1.5'
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.0.6
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.