qiita 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/qiita/version.rb +1 -1
- data/lib/qiita.rb +0 -1
- data/qiita.gemspec +2 -3
- data/spec/qiita/client_spec.rb +8 -0
- metadata +14 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c95e3b4ffe3193ab201e7026dfc84fa9184ee123f665b80cb2eac0bf515c1e5
|
4
|
+
data.tar.gz: 6ef514489aa60a682d6a3dcb5b46668b79e96ec51f5d80640ffa21217e45820b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a492e3b885116aea56a295b39fa75e5b0570e424bbb35c86e0f4b4826e6cff93e19fbb459a3c6754e54c5cf90c3404e084a241a81fd8b2094a9f81d45b66eb43
|
7
|
+
data.tar.gz: ea68c79d9c99bfe5bb9b717a30f122f2400a68d015bb7ea9548f236d897e74aff6ade980ce9d5fdabd3c9c63163a5ea7854a90cac69c7535a009f3ba22a2ab48
|
data/CHANGELOG.md
CHANGED
data/lib/qiita/version.rb
CHANGED
data/lib/qiita.rb
CHANGED
data/qiita.gemspec
CHANGED
@@ -16,8 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.require_paths = ["lib"]
|
17
17
|
|
18
18
|
spec.add_dependency "activesupport"
|
19
|
-
spec.add_dependency
|
20
|
-
spec.add_dependency "faraday_middleware"
|
19
|
+
spec.add_dependency 'faraday', '>= 2', '< 3'
|
21
20
|
spec.add_dependency "rack"
|
22
21
|
spec.add_dependency "rainbow"
|
23
22
|
spec.add_dependency "rouge"
|
@@ -27,5 +26,5 @@ Gem::Specification.new do |spec|
|
|
27
26
|
spec.add_development_dependency "pry"
|
28
27
|
spec.add_development_dependency "rake"
|
29
28
|
spec.add_development_dependency "rspec"
|
30
|
-
spec.add_development_dependency "webmock"
|
29
|
+
spec.add_development_dependency "webmock"
|
31
30
|
end
|
data/spec/qiita/client_spec.rb
CHANGED
@@ -341,6 +341,10 @@ describe Qiita::Client do
|
|
341
341
|
204
|
342
342
|
end
|
343
343
|
|
344
|
+
let(:response_hash) do
|
345
|
+
nil
|
346
|
+
end
|
347
|
+
|
344
348
|
include_examples "valid condition"
|
345
349
|
include_examples "sends request with JSON-encoded body"
|
346
350
|
end
|
@@ -362,6 +366,10 @@ describe Qiita::Client do
|
|
362
366
|
204
|
363
367
|
end
|
364
368
|
|
369
|
+
let(:response_hash) do
|
370
|
+
nil
|
371
|
+
end
|
372
|
+
|
365
373
|
include_examples "valid condition"
|
366
374
|
include_examples "sends request with URL query"
|
367
375
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qiita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -26,32 +26,24 @@ dependencies:
|
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.9'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.9'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: faraday_middleware
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - ">="
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '2'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '3'
|
48
37
|
type: :runtime
|
49
38
|
prerelease: false
|
50
39
|
version_requirements: !ruby/object:Gem::Requirement
|
51
40
|
requirements:
|
52
41
|
- - ">="
|
53
42
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
43
|
+
version: '2'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '3'
|
55
47
|
- !ruby/object:Gem::Dependency
|
56
48
|
name: rack
|
57
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,16 +174,16 @@ dependencies:
|
|
182
174
|
name: webmock
|
183
175
|
requirement: !ruby/object:Gem::Requirement
|
184
176
|
requirements:
|
185
|
-
- -
|
177
|
+
- - ">="
|
186
178
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
179
|
+
version: '0'
|
188
180
|
type: :development
|
189
181
|
prerelease: false
|
190
182
|
version_requirements: !ruby/object:Gem::Requirement
|
191
183
|
requirements:
|
192
|
-
- -
|
184
|
+
- - ">="
|
193
185
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
186
|
+
version: '0'
|
195
187
|
description:
|
196
188
|
email:
|
197
189
|
- r7kamura@gmail.com
|