line_notify_client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -8
- data/lib/line_notify_client/http_client.rb +1 -1
- data/lib/line_notify_client/version.rb +1 -1
- data/line_notify_client.gemspec +4 -4
- metadata +15 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70ed377de6386d8ef21e03754591a632ca8e62b46e191d774aebf0535771ee56
|
4
|
+
data.tar.gz: 7d81fd379aa5a96b8053b38d4719491ab9ba251c655d3b2f6b94a7fc2327bf55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7d7368e1fe736b06c589c9349ca1d07f9dbe22aa907f399b3b9b696ba37eb3927767a138b2f07bc1f7817ec500550c4fde3a624a534d2f57ede4280fa9f5595
|
7
|
+
data.tar.gz: b2831a44bfcd53da5056d6e08c0136a12cfea1a11650ca65a4340f2875277e2570486c84aad496453c95d8e72d478f9766dd21d0dbebe54c965b7347a751b45f
|
data/Gemfile.lock
CHANGED
@@ -2,8 +2,8 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
line_notify_client (1.0.0)
|
5
|
-
faraday (
|
6
|
-
faraday_middleware (
|
5
|
+
faraday (>= 1.0.0)
|
6
|
+
faraday_middleware (>= 1.0.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
@@ -15,10 +15,13 @@ GEM
|
|
15
15
|
crack (0.4.3)
|
16
16
|
safe_yaml (~> 1.0.0)
|
17
17
|
diff-lcs (1.3)
|
18
|
-
faraday (
|
18
|
+
faraday (1.3.0)
|
19
|
+
faraday-net_http (~> 1.0)
|
19
20
|
multipart-post (>= 1.2, < 3)
|
20
|
-
|
21
|
-
|
21
|
+
ruby2_keywords
|
22
|
+
faraday-net_http (1.0.1)
|
23
|
+
faraday_middleware (1.0.0)
|
24
|
+
faraday (~> 1.0)
|
22
25
|
hashdiff (1.0.0)
|
23
26
|
method_source (0.9.2)
|
24
27
|
multipart-post (2.1.1)
|
@@ -29,7 +32,7 @@ GEM
|
|
29
32
|
byebug (~> 10.0)
|
30
33
|
pry (~> 0.10)
|
31
34
|
public_suffix (4.0.2)
|
32
|
-
rake (
|
35
|
+
rake (13.0.3)
|
33
36
|
rspec (3.9.0)
|
34
37
|
rspec-core (~> 3.9.0)
|
35
38
|
rspec-expectations (~> 3.9.0)
|
@@ -43,6 +46,7 @@ GEM
|
|
43
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
47
|
rspec-support (~> 3.9.0)
|
45
48
|
rspec-support (3.9.0)
|
49
|
+
ruby2_keywords (0.0.4)
|
46
50
|
safe_yaml (1.0.5)
|
47
51
|
webmock (3.7.6)
|
48
52
|
addressable (>= 2.3.6)
|
@@ -56,8 +60,8 @@ DEPENDENCIES
|
|
56
60
|
byebug (~> 10.0)
|
57
61
|
line_notify_client!
|
58
62
|
pry-byebug
|
59
|
-
rake (
|
60
|
-
rspec (
|
63
|
+
rake (>= 10.0)
|
64
|
+
rspec (>= 3.0)
|
61
65
|
webmock
|
62
66
|
|
63
67
|
BUNDLED WITH
|
@@ -52,7 +52,7 @@ module LineNotifyClient
|
|
52
52
|
def request(http_method, path, params, headers)
|
53
53
|
faraday_response = connection.send(http_method, path, params, headers)
|
54
54
|
LineNotify::Response.new(faraday_response)
|
55
|
-
rescue Faraday::
|
55
|
+
rescue Faraday::TimeoutError => e
|
56
56
|
raise LineNotify::TimeoutError, e.message
|
57
57
|
rescue Faraday::Error => e
|
58
58
|
raise LineNotify::Error, e.message
|
data/line_notify_client.gemspec
CHANGED
@@ -19,10 +19,10 @@ Gem::Specification.new do |s|
|
|
19
19
|
end
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency 'faraday', '
|
23
|
-
s.add_dependency 'faraday_middleware', '
|
22
|
+
s.add_dependency 'faraday', '>= 1.0.0'
|
23
|
+
s.add_dependency 'faraday_middleware', '>= 1.0.0'
|
24
24
|
|
25
|
-
s.add_development_dependency 'rake', '
|
26
|
-
s.add_development_dependency 'rspec', '
|
25
|
+
s.add_development_dependency 'rake', '>= 10.0'
|
26
|
+
s.add_development_dependency 'rspec', '>= 3.0'
|
27
27
|
s.add_development_dependency 'webmock'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: line_notify_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shojiro Yanagisawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.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: 1.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday_middleware
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.0.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: 1.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '10.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '3.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
@@ -119,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
|
123
|
-
rubygems_version: 2.7.6
|
122
|
+
rubygems_version: 3.0.3
|
124
123
|
signing_key:
|
125
124
|
specification_version: 4
|
126
125
|
summary: LINE Notify API client library
|