serrano 0.6.0 → 1.4

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Chamberlain
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-18 00:00:00.000000000 Z
11
+ date: 2022-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,230 +16,232 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '2.1'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 2.0.2
22
+ version: 2.1.4
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '2.0'
29
+ version: '2.1'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.2
32
+ version: 2.1.4
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: codecov
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 0.1.10
39
+ version: 0.5.0
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.1.10
46
+ version: 0.5.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: json
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '2.1'
53
+ version: '2.3'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.3.1
54
57
  type: :development
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
61
  - - "~>"
59
62
  - !ruby/object:Gem::Version
60
- version: '2.1'
63
+ version: '2.3'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 2.3.1
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: rake
63
69
  requirement: !ruby/object:Gem::Requirement
64
70
  requirements:
65
71
  - - "~>"
66
72
  - !ruby/object:Gem::Version
67
- version: '12.3'
73
+ version: '13.0'
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
70
- version: 12.3.1
76
+ version: 13.0.1
71
77
  type: :development
72
78
  prerelease: false
73
79
  version_requirements: !ruby/object:Gem::Requirement
74
80
  requirements:
75
81
  - - "~>"
76
82
  - !ruby/object:Gem::Version
77
- version: '12.3'
83
+ version: '13.0'
78
84
  - - ">="
79
85
  - !ruby/object:Gem::Version
80
- version: 12.3.1
86
+ version: 13.0.1
81
87
  - !ruby/object:Gem::Dependency
82
- name: rubocop
88
+ name: standard
83
89
  requirement: !ruby/object:Gem::Requirement
84
90
  requirements:
85
91
  - - "~>"
86
92
  - !ruby/object:Gem::Version
87
- version: 0.80.0
93
+ version: '1.0'
88
94
  type: :development
89
95
  prerelease: false
90
96
  version_requirements: !ruby/object:Gem::Requirement
91
97
  requirements:
92
98
  - - "~>"
93
99
  - !ruby/object:Gem::Version
94
- version: 0.80.0
100
+ version: '1.0'
95
101
  - !ruby/object:Gem::Dependency
96
102
  name: simplecov
97
103
  requirement: !ruby/object:Gem::Requirement
98
104
  requirements:
99
105
  - - "~>"
100
106
  - !ruby/object:Gem::Version
101
- version: 0.17.0
107
+ version: 0.21.2
102
108
  type: :development
103
109
  prerelease: false
104
110
  version_requirements: !ruby/object:Gem::Requirement
105
111
  requirements:
106
112
  - - "~>"
107
113
  - !ruby/object:Gem::Version
108
- version: 0.17.0
114
+ version: 0.21.2
109
115
  - !ruby/object:Gem::Dependency
110
116
  name: test-unit
111
117
  requirement: !ruby/object:Gem::Requirement
112
118
  requirements:
113
119
  - - "~>"
114
120
  - !ruby/object:Gem::Version
115
- version: '3.2'
121
+ version: '3.3'
116
122
  - - ">="
117
123
  - !ruby/object:Gem::Version
118
- version: 3.2.7
124
+ version: 3.3.6
119
125
  type: :development
120
126
  prerelease: false
121
127
  version_requirements: !ruby/object:Gem::Requirement
122
128
  requirements:
123
129
  - - "~>"
124
130
  - !ruby/object:Gem::Version
125
- version: '3.2'
131
+ version: '3.3'
126
132
  - - ">="
127
133
  - !ruby/object:Gem::Version
128
- version: 3.2.7
134
+ version: 3.3.6
129
135
  - !ruby/object:Gem::Dependency
130
136
  name: vcr
131
137
  requirement: !ruby/object:Gem::Requirement
132
138
  requirements:
133
139
  - - "~>"
134
140
  - !ruby/object:Gem::Version
135
- version: '5.0'
141
+ version: '6.1'
136
142
  type: :development
137
143
  prerelease: false
138
144
  version_requirements: !ruby/object:Gem::Requirement
139
145
  requirements:
140
146
  - - "~>"
141
147
  - !ruby/object:Gem::Version
142
- version: '5.0'
148
+ version: '6.1'
143
149
  - !ruby/object:Gem::Dependency
144
150
  name: webmock
145
151
  requirement: !ruby/object:Gem::Requirement
146
152
  requirements:
147
153
  - - "~>"
148
154
  - !ruby/object:Gem::Version
149
- version: '3.4'
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: 3.4.1
155
+ version: '3.14'
153
156
  type: :development
154
157
  prerelease: false
155
158
  version_requirements: !ruby/object:Gem::Requirement
156
159
  requirements:
157
160
  - - "~>"
158
161
  - !ruby/object:Gem::Version
159
- version: '3.4'
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: 3.4.1
162
+ version: '3.14'
163
163
  - !ruby/object:Gem::Dependency
164
164
  name: faraday
165
165
  requirement: !ruby/object:Gem::Requirement
166
166
  requirements:
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- version: '0.15'
170
- - - "<"
167
+ - - "~>"
171
168
  - !ruby/object:Gem::Version
172
- version: '1.0'
169
+ version: '2.2'
173
170
  type: :runtime
174
171
  prerelease: false
175
172
  version_requirements: !ruby/object:Gem::Requirement
176
173
  requirements:
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- version: '0.15'
180
- - - "<"
174
+ - - "~>"
181
175
  - !ruby/object:Gem::Version
182
- version: '1.0'
176
+ version: '2.2'
183
177
  - !ruby/object:Gem::Dependency
184
- name: faraday_middleware
178
+ name: faraday-follow_redirects
185
179
  requirement: !ruby/object:Gem::Requirement
186
180
  requirements:
187
- - - ">="
188
- - !ruby/object:Gem::Version
189
- version: 0.12.2
190
- - - "<"
181
+ - - "~>"
191
182
  - !ruby/object:Gem::Version
192
- version: 0.15.0
183
+ version: 0.1.0
193
184
  type: :runtime
194
185
  prerelease: false
195
186
  version_requirements: !ruby/object:Gem::Requirement
196
187
  requirements:
197
- - - ">="
198
- - !ruby/object:Gem::Version
199
- version: 0.12.2
200
- - - "<"
188
+ - - "~>"
201
189
  - !ruby/object:Gem::Version
202
- version: 0.15.0
190
+ version: 0.1.0
203
191
  - !ruby/object:Gem::Dependency
204
192
  name: multi_json
205
193
  requirement: !ruby/object:Gem::Requirement
206
194
  requirements:
207
195
  - - "~>"
208
196
  - !ruby/object:Gem::Version
209
- version: '1.13'
197
+ version: '1.15'
198
+ type: :runtime
199
+ prerelease: false
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - "~>"
203
+ - !ruby/object:Gem::Version
204
+ version: '1.15'
205
+ - !ruby/object:Gem::Dependency
206
+ name: rexml
207
+ requirement: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - "~>"
210
+ - !ruby/object:Gem::Version
211
+ version: '3.2'
210
212
  - - ">="
211
213
  - !ruby/object:Gem::Version
212
- version: 1.13.1
214
+ version: 3.2.5
213
215
  type: :runtime
214
216
  prerelease: false
215
217
  version_requirements: !ruby/object:Gem::Requirement
216
218
  requirements:
217
219
  - - "~>"
218
220
  - !ruby/object:Gem::Version
219
- version: '1.13'
221
+ version: '3.2'
220
222
  - - ">="
221
223
  - !ruby/object:Gem::Version
222
- version: 1.13.1
224
+ version: 3.2.5
223
225
  - !ruby/object:Gem::Dependency
224
226
  name: thor
225
227
  requirement: !ruby/object:Gem::Requirement
226
228
  requirements:
227
- - - ">="
229
+ - - "~>"
228
230
  - !ruby/object:Gem::Version
229
- version: '0.20'
230
- - - "<"
231
+ version: '1.2'
232
+ - - ">="
231
233
  - !ruby/object:Gem::Version
232
- version: '1.1'
234
+ version: 1.2.1
233
235
  type: :runtime
234
236
  prerelease: false
235
237
  version_requirements: !ruby/object:Gem::Requirement
236
238
  requirements:
237
- - - ">="
239
+ - - "~>"
238
240
  - !ruby/object:Gem::Version
239
- version: '0.20'
240
- - - "<"
241
+ version: '1.2'
242
+ - - ">="
241
243
  - !ruby/object:Gem::Version
242
- version: '1.1'
244
+ version: 1.2.1
243
245
  description: Low Level Ruby Client for the Crossref Search API
244
246
  email: myrmecocystus@gmail.com
245
247
  executables:
@@ -247,14 +249,12 @@ executables:
247
249
  extensions: []
248
250
  extra_rdoc_files: []
249
251
  files:
252
+ - ".github/dependabot.yml"
253
+ - ".github/workflows/ruby.yml"
250
254
  - ".gitignore"
251
- - ".rubocop.yml"
252
- - ".rubocop_todo.yml"
253
- - ".travis.yml"
254
255
  - CHANGELOG.md
255
256
  - CODE_OF_CONDUCT.md
256
257
  - Gemfile
257
- - Gemfile.lock
258
258
  - LICENSE
259
259
  - README.md
260
260
  - Rakefile
@@ -278,10 +278,11 @@ licenses:
278
278
  - MIT
279
279
  metadata:
280
280
  homepage_uri: https://github.com/sckott/serrano
281
- changelog_uri: https://github.com/sckott/serrano/releases/tag/v0.6.0
281
+ documentation_uri: https://www.rubydoc.info/gems/serrano
282
+ changelog_uri: https://github.com/sckott/serrano/releases/tag/v1.4
282
283
  source_code_uri: https://github.com/sckott/serrano
283
284
  bug_tracker_uri: https://github.com/sckott/serrano/issues
284
- post_install_message:
285
+ post_install_message:
285
286
  rdoc_options: []
286
287
  require_paths:
287
288
  - lib
@@ -296,8 +297,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
296
297
  - !ruby/object:Gem::Version
297
298
  version: '0'
298
299
  requirements: []
299
- rubygems_version: 3.1.2
300
- signing_key:
300
+ rubygems_version: 3.3.3
301
+ signing_key:
301
302
  specification_version: 4
302
303
  summary: Crossref Client
303
304
  test_files: []
data/.rubocop.yml DELETED
@@ -1,30 +0,0 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
- Naming/FileName:
4
- Exclude:
5
- - 'test/test-helper.rb'
6
-
7
- Metrics/ParameterLists:
8
- Max: 18
9
-
10
- Metrics/ModuleLength:
11
- Max: 800
12
-
13
- # Offense count: 22
14
- # Configuration parameters: AllowedVariables.
15
- Lint/UselessAssignment:
16
- Exclude:
17
- - 'lib/serrano/filters.rb'
18
-
19
- Style/HashEachMethods:
20
- Enabled: true
21
-
22
- Style/HashTransformKeys:
23
- Enabled: true
24
-
25
- Style/HashTransformValues:
26
- Enabled: true
27
-
28
- Layout/LineLength:
29
- Max: 525
30
-
data/.rubocop_todo.yml DELETED
@@ -1,105 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2020-02-18 08:24:37 -0800 using RuboCop version 0.80.0.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 1
10
- # Configuration parameters: Include.
11
- # Include: **/*.gemspec
12
- Gemspec/RequiredRubyVersion:
13
- Exclude:
14
- - 'serrano.gemspec'
15
-
16
- # Offense count: 32
17
- Metrics/AbcSize:
18
- Max: 91
19
-
20
- # Offense count: 1
21
- # Configuration parameters: CountBlocks.
22
- Metrics/BlockNesting:
23
- Max: 4
24
-
25
- # Offense count: 2
26
- # Configuration parameters: CountComments.
27
- Metrics/ClassLength:
28
- Max: 367
29
-
30
- # Offense count: 5
31
- Metrics/CyclomaticComplexity:
32
- Max: 11
33
-
34
- # Offense count: 21
35
- # Configuration parameters: CountComments, ExcludedMethods.
36
- Metrics/MethodLength:
37
- Max: 54
38
-
39
- # Offense count: 8
40
- Metrics/PerceivedComplexity:
41
- Max: 15
42
-
43
- # Offense count: 7
44
- # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
45
- # AllowedNames: io, id, to, by, on, in, at, ip, db, os, pp
46
- Naming/MethodParameterName:
47
- Exclude:
48
- - 'lib/serrano/filterhandler.rb'
49
- - 'lib/serrano/request_cursor.rb'
50
- - 'lib/serrano/utils.rb'
51
-
52
- # Offense count: 3
53
- # Cop supports --auto-correct.
54
- # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
55
- # SupportedStyles: assign_to_condition, assign_inside_condition
56
- Style/ConditionalAssignment:
57
- Exclude:
58
- - 'bin/serrano'
59
-
60
- # Offense count: 6
61
- Style/Documentation:
62
- Exclude:
63
- - 'spec/**/*'
64
- - 'test/**/*'
65
- - 'bin/serrano'
66
- - 'lib/serrano.rb'
67
- - 'lib/serrano/cn.rb'
68
- - 'lib/serrano/filters.rb'
69
- - 'lib/serrano/utils.rb'
70
-
71
- # Offense count: 1
72
- # Cop supports --auto-correct.
73
- # Configuration parameters: EnforcedStyle.
74
- # SupportedStyles: format, sprintf, percent
75
- Style/FormatString:
76
- Exclude:
77
- - 'lib/serrano/utils.rb'
78
-
79
- # Offense count: 1
80
- # Configuration parameters: EnforcedStyle.
81
- # SupportedStyles: annotated, template, unannotated
82
- Style/FormatStringToken:
83
- Exclude:
84
- - 'lib/serrano/utils.rb'
85
-
86
- # Offense count: 3
87
- # Cop supports --auto-correct.
88
- Style/IfUnlessModifier:
89
- Exclude:
90
- - 'lib/serrano/cnrequest.rb'
91
- - 'lib/serrano/utils.rb'
92
-
93
- # Offense count: 1
94
- # Cop supports --auto-correct.
95
- Style/SelfAssignment:
96
- Exclude:
97
- - 'lib/serrano/utils.rb'
98
-
99
- # Offense count: 1
100
- # Cop supports --auto-correct.
101
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
102
- # SupportedStyles: single_quotes, double_quotes
103
- Style/StringLiterals:
104
- Exclude:
105
- - 'lib/serrano/utils.rb'
data/.travis.yml DELETED
@@ -1,11 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
- rvm:
4
- - 2.6.0
5
- - 2.6.5
6
- - 2.7.0
7
- before_install:
8
- - gem install bundler
9
- script:
10
- - bundle exec rake test TESTOPTS="-v"
11
- - bundle exec rubocop
data/Gemfile.lock DELETED
@@ -1,82 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- serrano (0.6.0)
5
- faraday (>= 0.15, < 1.0)
6
- faraday_middleware (>= 0.12.2, < 0.15.0)
7
- multi_json (~> 1.13, >= 1.13.1)
8
- thor (>= 0.20, < 1.1)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- addressable (2.7.0)
14
- public_suffix (>= 2.0.2, < 5.0)
15
- ast (2.4.0)
16
- codecov (0.1.16)
17
- json
18
- simplecov
19
- url
20
- crack (0.4.3)
21
- safe_yaml (~> 1.0.0)
22
- docile (1.3.2)
23
- faraday (0.17.3)
24
- multipart-post (>= 1.2, < 3)
25
- faraday_middleware (0.14.0)
26
- faraday (>= 0.7.4, < 1.0)
27
- hashdiff (1.0.0)
28
- jaro_winkler (1.5.4)
29
- json (2.3.0)
30
- multi_json (1.14.1)
31
- multipart-post (2.1.1)
32
- parallel (1.19.1)
33
- parser (2.7.0.2)
34
- ast (~> 2.4.0)
35
- power_assert (1.1.5)
36
- public_suffix (3.1.1)
37
- rainbow (3.0.0)
38
- rake (12.3.3)
39
- rexml (3.2.4)
40
- rubocop (0.80.0)
41
- jaro_winkler (~> 1.5.1)
42
- parallel (~> 1.10)
43
- parser (>= 2.7.0.1)
44
- rainbow (>= 2.2.2, < 4.0)
45
- rexml
46
- ruby-progressbar (~> 1.7)
47
- unicode-display_width (>= 1.4.0, < 1.7)
48
- ruby-progressbar (1.10.1)
49
- safe_yaml (1.0.5)
50
- simplecov (0.17.1)
51
- docile (~> 1.1)
52
- json (>= 1.8, < 3)
53
- simplecov-html (~> 0.10.0)
54
- simplecov-html (0.10.2)
55
- test-unit (3.3.4)
56
- power_assert
57
- thor (1.0.1)
58
- unicode-display_width (1.6.1)
59
- url (0.3.2)
60
- vcr (5.1.0)
61
- webmock (3.8.2)
62
- addressable (>= 2.3.6)
63
- crack (>= 0.3.2)
64
- hashdiff (>= 0.4.0, < 2.0.0)
65
-
66
- PLATFORMS
67
- ruby
68
-
69
- DEPENDENCIES
70
- bundler (~> 2.0, >= 2.0.2)
71
- codecov (~> 0.1.10)
72
- json (~> 2.1)
73
- rake (~> 12.3, >= 12.3.1)
74
- rubocop (~> 0.80.0)
75
- serrano!
76
- simplecov (~> 0.17.0)
77
- test-unit (~> 3.2, >= 3.2.7)
78
- vcr (~> 5.0)
79
- webmock (~> 3.4, >= 3.4.1)
80
-
81
- BUNDLED WITH
82
- 2.1.3