archivist-client 0.1.7 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a644fbe389050bff764372622a42f5ef4e5c6720
4
+ data.tar.gz: 8503d18d0fcfbbaff0d0d8efffe484cc335dedd4
5
+ SHA512:
6
+ metadata.gz: 4debc17675d2349a166b9e1da34e8386dd6c72a825fbf56b519bd1342b179fa4d5e1e66aac7b189ae4db3ddae263e85531dee5fd92557071ea7900d35339b9f9
7
+ data.tar.gz: 89cc1962af6fe2be1192b439b0adc13e89c0d73be0bec7a654a71ce0e373ef8457896d0e1281d3164b702be6dae0bb060b96b21ea9197eda8c674efd00fc4f74
data/README.md CHANGED
@@ -1,9 +1,7 @@
1
- Archivist::Client
1
+ Archivist::Client - an *archive.org* Ruby client
2
2
  =========
3
3
 
4
- an *archive.org* Ruby client
5
-
6
- | Project | Archive::Client |
4
+ | Project | Archivist::Client |
7
5
  |------------------------ | ----------------- |
8
6
  | gem name | archivist-client |
9
7
  | license | MIT |
@@ -11,7 +9,7 @@ an *archive.org* Ruby client
11
9
  | version | [![Gem Version](https://badge.fury.io/rb/archivist-client.png)](http://badge.fury.io/rb/archivist-client) |
12
10
  | dependencies | [![Dependency Status](https://gemnasium.com/wordtreefoundation/archivist-client.png)](https://gemnasium.com/wordtreefoundation/archivist-client) |
13
11
  | code quality | [![Code Climate](https://codeclimate.com/github/wordtreefoundation/archivist-client.png)](https://codeclimate.com/github/wordtreefoundation/archivist-client) |
14
- | inline documenation | [![Inline docs](http://inch-pages.github.io/github/wordtreefoundation/archivist-client.png)](http://inch-pages.github.io/github/wordtreefoundation/archivist-client) |
12
+ | inline documenation | [![Inline docs](http://inch-ci.org/github/wordtreefoundation/archivist-client.png)](http://inch-ci.org/github/wordtreefoundation/archivist-client) |
15
13
  | continuous integration | [![Build Status](https://secure.travis-ci.org/wordtreefoundation/archivist-client.png?branch=master)](https://travis-ci.org/wordtreefoundation/archivist-client) |
16
14
  | test coverage | [![Coverage Status](https://coveralls.io/repos/wordtreefoundation/archivist-client/badge.png)](https://coveralls.io/r/wordtreefoundation/archivist-client) |
17
15
  | homepage | [https://github.com/wordtreefoundation/archivist-client][homepage] |
@@ -50,20 +48,6 @@ See the [Network View](https://github.com/wordtreefoundation/archivist-client/ne
50
48
 
51
49
  ## How you can help!
52
50
 
53
- Take a look at the `reek` list which is the file called `REEK` and stat fixing things. Once you complete a change, run the tests:
54
-
55
- ```
56
- bundle exec rspec spec
57
- ```
58
-
59
- If the tests pass refresh the `reek` list:
60
-
61
- ```
62
- bundle exec rake reek > REEK
63
- ```
64
-
65
- Follow the instructions for "Contributing" below.
66
-
67
51
  ## Contributing
68
52
 
69
53
  1. Fork it
@@ -19,22 +19,23 @@ Gem::Specification.new do |gem|
19
19
  gem.test_files = Dir.glob("spec/**/*")
20
20
  gem.require_paths = ["lib"]
21
21
  gem.version = Archivist::Client::VERSION
22
- gem.required_ruby_version = '>= 1.9.0'
22
+ gem.required_ruby_version = '>=2.4.0'
23
23
 
24
- gem.add_development_dependency "rake"
25
- gem.add_development_dependency "bundler", ">= 1.0.0"
26
- gem.add_development_dependency "rspec", "~> 2.6"
27
- gem.add_development_dependency "debugger"
28
- gem.add_development_dependency "webmock", [">= 1.8.0", "< 1.16"]
29
- gem.add_development_dependency "vcr"
30
- gem.add_development_dependency "reek", ">= 1.2.8"
31
- gem.add_development_dependency "roodi", ">= 2.1.0"
32
- gem.add_development_dependency "gem-release", ">= 0.7.1"
33
- gem.add_development_dependency "coveralls"
34
- gem.add_development_dependency "rdoc", ">= 3.12"
24
+ gem.add_development_dependency "rake", "~> 12"
25
+ gem.add_development_dependency "rspec", "~> 3.7"
26
+ gem.add_development_dependency "webmock", "~> 3.3"
27
+ gem.add_development_dependency "vcr", "~> 3.0"
28
+ gem.add_development_dependency "roodi", "~> 2.1"
29
+ gem.add_development_dependency "gem-release", "~> 0.7"
30
+ gem.add_development_dependency "coveralls", "~> 0.8"
31
+ gem.add_development_dependency "rdoc", "~> 3.12"
32
+ gem.add_development_dependency "pry", "~> 0.11"
33
+
34
+ gem.add_dependency "virtus", "~> 1.0"
35
+ gem.add_dependency "representable", "~> 3.0"
36
+ gem.add_dependency "faraday", "~> 0.14"
37
+ gem.add_dependency "faraday_middleware", "~> 0.12"
38
+ gem.add_dependency "multi_json", "~> 1.13"
39
+ gem.add_dependency "nokogiri", "~> 1.8"
35
40
 
36
- gem.add_dependency "virtus", "~> 1.0.0"
37
- gem.add_dependency "representable"
38
- gem.add_dependency "faraday"
39
- gem.add_dependency "faraday_middleware"
40
41
  end
@@ -1,5 +1,5 @@
1
1
  module Archivist
2
2
  module Client
3
- VERSION = '0.1.7'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archivist-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Duane Johnson
@@ -10,254 +9,218 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-07-17 00:00:00.000000000 Z
12
+ date: 2018-02-24 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rake
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
- version: '0'
20
+ version: '12'
23
21
  type: :development
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - "~>"
29
26
  - !ruby/object:Gem::Version
30
- version: '0'
27
+ version: '12'
31
28
  - !ruby/object:Gem::Dependency
32
- name: bundler
29
+ name: rspec
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - "~>"
37
33
  - !ruby/object:Gem::Version
38
- version: 1.0.0
34
+ version: '3.7'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - "~>"
45
40
  - !ruby/object:Gem::Version
46
- version: 1.0.0
41
+ version: '3.7'
47
42
  - !ruby/object:Gem::Dependency
48
- name: rspec
43
+ name: webmock
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ~>
46
+ - - "~>"
53
47
  - !ruby/object:Gem::Version
54
- version: '2.6'
48
+ version: '3.3'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ~>
53
+ - - "~>"
61
54
  - !ruby/object:Gem::Version
62
- version: '2.6'
55
+ version: '3.3'
63
56
  - !ruby/object:Gem::Dependency
64
- name: debugger
57
+ name: vcr
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - "~>"
69
61
  - !ruby/object:Gem::Version
70
- version: '0'
62
+ version: '3.0'
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - "~>"
77
68
  - !ruby/object:Gem::Version
78
- version: '0'
69
+ version: '3.0'
79
70
  - !ruby/object:Gem::Dependency
80
- name: webmock
71
+ name: roodi
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - "~>"
85
75
  - !ruby/object:Gem::Version
86
- version: 1.8.0
87
- - - <
88
- - !ruby/object:Gem::Version
89
- version: '1.16'
76
+ version: '2.1'
90
77
  type: :development
91
78
  prerelease: false
92
79
  version_requirements: !ruby/object:Gem::Requirement
93
- none: false
94
80
  requirements:
95
- - - ! '>='
96
- - !ruby/object:Gem::Version
97
- version: 1.8.0
98
- - - <
81
+ - - "~>"
99
82
  - !ruby/object:Gem::Version
100
- version: '1.16'
83
+ version: '2.1'
101
84
  - !ruby/object:Gem::Dependency
102
- name: vcr
85
+ name: gem-release
103
86
  requirement: !ruby/object:Gem::Requirement
104
- none: false
105
87
  requirements:
106
- - - ! '>='
88
+ - - "~>"
107
89
  - !ruby/object:Gem::Version
108
- version: '0'
90
+ version: '0.7'
109
91
  type: :development
110
92
  prerelease: false
111
93
  version_requirements: !ruby/object:Gem::Requirement
112
- none: false
113
94
  requirements:
114
- - - ! '>='
95
+ - - "~>"
115
96
  - !ruby/object:Gem::Version
116
- version: '0'
97
+ version: '0.7'
117
98
  - !ruby/object:Gem::Dependency
118
- name: reek
99
+ name: coveralls
119
100
  requirement: !ruby/object:Gem::Requirement
120
- none: false
121
101
  requirements:
122
- - - ! '>='
102
+ - - "~>"
123
103
  - !ruby/object:Gem::Version
124
- version: 1.2.8
104
+ version: '0.8'
125
105
  type: :development
126
106
  prerelease: false
127
107
  version_requirements: !ruby/object:Gem::Requirement
128
- none: false
129
108
  requirements:
130
- - - ! '>='
109
+ - - "~>"
131
110
  - !ruby/object:Gem::Version
132
- version: 1.2.8
111
+ version: '0.8'
133
112
  - !ruby/object:Gem::Dependency
134
- name: roodi
113
+ name: rdoc
135
114
  requirement: !ruby/object:Gem::Requirement
136
- none: false
137
115
  requirements:
138
- - - ! '>='
116
+ - - "~>"
139
117
  - !ruby/object:Gem::Version
140
- version: 2.1.0
118
+ version: '3.12'
141
119
  type: :development
142
120
  prerelease: false
143
121
  version_requirements: !ruby/object:Gem::Requirement
144
- none: false
145
122
  requirements:
146
- - - ! '>='
123
+ - - "~>"
147
124
  - !ruby/object:Gem::Version
148
- version: 2.1.0
125
+ version: '3.12'
149
126
  - !ruby/object:Gem::Dependency
150
- name: gem-release
127
+ name: pry
151
128
  requirement: !ruby/object:Gem::Requirement
152
- none: false
153
129
  requirements:
154
- - - ! '>='
130
+ - - "~>"
155
131
  - !ruby/object:Gem::Version
156
- version: 0.7.1
132
+ version: '0.11'
157
133
  type: :development
158
134
  prerelease: false
159
135
  version_requirements: !ruby/object:Gem::Requirement
160
- none: false
161
136
  requirements:
162
- - - ! '>='
137
+ - - "~>"
163
138
  - !ruby/object:Gem::Version
164
- version: 0.7.1
139
+ version: '0.11'
165
140
  - !ruby/object:Gem::Dependency
166
- name: coveralls
141
+ name: virtus
167
142
  requirement: !ruby/object:Gem::Requirement
168
- none: false
169
143
  requirements:
170
- - - ! '>='
144
+ - - "~>"
171
145
  - !ruby/object:Gem::Version
172
- version: '0'
173
- type: :development
146
+ version: '1.0'
147
+ type: :runtime
174
148
  prerelease: false
175
149
  version_requirements: !ruby/object:Gem::Requirement
176
- none: false
177
150
  requirements:
178
- - - ! '>='
151
+ - - "~>"
179
152
  - !ruby/object:Gem::Version
180
- version: '0'
153
+ version: '1.0'
181
154
  - !ruby/object:Gem::Dependency
182
- name: rdoc
155
+ name: representable
183
156
  requirement: !ruby/object:Gem::Requirement
184
- none: false
185
157
  requirements:
186
- - - ! '>='
158
+ - - "~>"
187
159
  - !ruby/object:Gem::Version
188
- version: '3.12'
189
- type: :development
160
+ version: '3.0'
161
+ type: :runtime
190
162
  prerelease: false
191
163
  version_requirements: !ruby/object:Gem::Requirement
192
- none: false
193
164
  requirements:
194
- - - ! '>='
165
+ - - "~>"
195
166
  - !ruby/object:Gem::Version
196
- version: '3.12'
167
+ version: '3.0'
197
168
  - !ruby/object:Gem::Dependency
198
- name: virtus
169
+ name: faraday
199
170
  requirement: !ruby/object:Gem::Requirement
200
- none: false
201
171
  requirements:
202
- - - ~>
172
+ - - "~>"
203
173
  - !ruby/object:Gem::Version
204
- version: 1.0.0
174
+ version: '0.14'
205
175
  type: :runtime
206
176
  prerelease: false
207
177
  version_requirements: !ruby/object:Gem::Requirement
208
- none: false
209
178
  requirements:
210
- - - ~>
179
+ - - "~>"
211
180
  - !ruby/object:Gem::Version
212
- version: 1.0.0
181
+ version: '0.14'
213
182
  - !ruby/object:Gem::Dependency
214
- name: representable
183
+ name: faraday_middleware
215
184
  requirement: !ruby/object:Gem::Requirement
216
- none: false
217
185
  requirements:
218
- - - ! '>='
186
+ - - "~>"
219
187
  - !ruby/object:Gem::Version
220
- version: '0'
188
+ version: '0.12'
221
189
  type: :runtime
222
190
  prerelease: false
223
191
  version_requirements: !ruby/object:Gem::Requirement
224
- none: false
225
192
  requirements:
226
- - - ! '>='
193
+ - - "~>"
227
194
  - !ruby/object:Gem::Version
228
- version: '0'
195
+ version: '0.12'
229
196
  - !ruby/object:Gem::Dependency
230
- name: faraday
197
+ name: multi_json
231
198
  requirement: !ruby/object:Gem::Requirement
232
- none: false
233
199
  requirements:
234
- - - ! '>='
200
+ - - "~>"
235
201
  - !ruby/object:Gem::Version
236
- version: '0'
202
+ version: '1.13'
237
203
  type: :runtime
238
204
  prerelease: false
239
205
  version_requirements: !ruby/object:Gem::Requirement
240
- none: false
241
206
  requirements:
242
- - - ! '>='
207
+ - - "~>"
243
208
  - !ruby/object:Gem::Version
244
- version: '0'
209
+ version: '1.13'
245
210
  - !ruby/object:Gem::Dependency
246
- name: faraday_middleware
211
+ name: nokogiri
247
212
  requirement: !ruby/object:Gem::Requirement
248
- none: false
249
213
  requirements:
250
- - - ! '>='
214
+ - - "~>"
251
215
  - !ruby/object:Gem::Version
252
- version: '0'
216
+ version: '1.8'
253
217
  type: :runtime
254
218
  prerelease: false
255
219
  version_requirements: !ruby/object:Gem::Requirement
256
- none: false
257
220
  requirements:
258
- - - ! '>='
221
+ - - "~>"
259
222
  - !ruby/object:Gem::Version
260
- version: '0'
223
+ version: '1.8'
261
224
  description: archivist-client queries archive.org for book data and downloads some
262
225
  things.
263
226
  email:
@@ -267,13 +230,15 @@ executables: []
267
230
  extensions: []
268
231
  extra_rdoc_files: []
269
232
  files:
270
- - archivist-client.gemspec
271
233
  - README.md
234
+ - archivist-client.gemspec
235
+ - lib/archivist-client.rb
236
+ - lib/archivist/client.rb
272
237
  - lib/archivist/client/base.rb
273
238
  - lib/archivist/client/constants.rb
274
239
  - lib/archivist/client/filters.rb
275
240
  - lib/archivist/client/version.rb
276
- - lib/archivist/client.rb
241
+ - lib/archivist/models.rb
277
242
  - lib/archivist/models/body.rb
278
243
  - lib/archivist/models/document.rb
279
244
  - lib/archivist/models/file_format.rb
@@ -281,7 +246,7 @@ files:
281
246
  - lib/archivist/models/header.rb
282
247
  - lib/archivist/models/parameters.rb
283
248
  - lib/archivist/models/query_response.rb
284
- - lib/archivist/models.rb
249
+ - lib/archivist/representations.rb
285
250
  - lib/archivist/representations/body.rb
286
251
  - lib/archivist/representations/document.rb
287
252
  - lib/archivist/representations/file_format.rb
@@ -289,8 +254,6 @@ files:
289
254
  - lib/archivist/representations/header.rb
290
255
  - lib/archivist/representations/parameters.rb
291
256
  - lib/archivist/representations/query_response.rb
292
- - lib/archivist/representations.rb
293
- - lib/archivist-client.rb
294
257
  - spec/client_spec.rb
295
258
  - spec/fixtures/document.json
296
259
  - spec/fixtures/download_files.xml
@@ -312,27 +275,26 @@ files:
312
275
  homepage: http://github.com/wordtreefoundation/archivist-client
313
276
  licenses:
314
277
  - MIT
278
+ metadata: {}
315
279
  post_install_message:
316
280
  rdoc_options: []
317
281
  require_paths:
318
282
  - lib
319
283
  required_ruby_version: !ruby/object:Gem::Requirement
320
- none: false
321
284
  requirements:
322
- - - ! '>='
285
+ - - ">="
323
286
  - !ruby/object:Gem::Version
324
- version: 1.9.0
287
+ version: 2.4.0
325
288
  required_rubygems_version: !ruby/object:Gem::Requirement
326
- none: false
327
289
  requirements:
328
- - - ! '>='
290
+ - - ">="
329
291
  - !ruby/object:Gem::Version
330
292
  version: '0'
331
293
  requirements: []
332
294
  rubyforge_project:
333
- rubygems_version: 1.8.23
295
+ rubygems_version: 2.6.8
334
296
  signing_key:
335
- specification_version: 3
297
+ specification_version: 4
336
298
  summary: archivist-client is an archive.org client library
337
299
  test_files:
338
300
  - spec/client_spec.rb
@@ -353,4 +315,3 @@ test_files:
353
315
  - spec/representations/format_index_spec.rb
354
316
  - spec/representations/query_response_spec.rb
355
317
  - spec/spec_helper.rb
356
- has_rdoc: