closeio 2.6.10 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -13
- data/closeio.gemspec +0 -1
- data/lib/closeio/client.rb +1 -3
- data/lib/closeio/version.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a7c98b38cc232db1bf8f8b87992ed31b24c9e6e
|
4
|
+
data.tar.gz: 325e35237c6fd1e98ebd86dcaab25e6193da777c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b0680c94431d2da399c95acf3234fb4adcc3b04614facf76a018c7b1c83952eb7b93bcbfaa2314312c1eea548220eb606638cba0d2c965f1ef74260f1a4a873
|
7
|
+
data.tar.gz: c8fcc407631a3d9241df8bc0d2df6a32332d5ad60ecd9679e8404beb52c68ad7c7631d515325c226747bb8469d2df53c522107ebd4772c56f31846c34392f2f0
|
data/Gemfile.lock
CHANGED
@@ -1,32 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
closeio (2.6.
|
4
|
+
closeio (2.6.9)
|
5
5
|
faraday
|
6
6
|
faraday_middleware
|
7
|
-
hashie
|
8
7
|
json
|
9
8
|
|
10
9
|
GEM
|
11
10
|
remote: https://rubygems.org/
|
12
11
|
specs:
|
13
|
-
addressable (2.
|
14
|
-
|
12
|
+
addressable (2.5.2)
|
13
|
+
public_suffix (>= 2.0.2, < 4.0)
|
14
|
+
crack (0.4.3)
|
15
15
|
safe_yaml (~> 1.0.0)
|
16
|
-
faraday (0.
|
16
|
+
faraday (0.13.1)
|
17
17
|
multipart-post (>= 1.2, < 3)
|
18
|
-
faraday_middleware (0.
|
18
|
+
faraday_middleware (0.12.2)
|
19
19
|
faraday (>= 0.7.4, < 1.0)
|
20
|
-
|
21
|
-
json (2.0
|
22
|
-
minitest (5.
|
20
|
+
hashdiff (0.3.6)
|
21
|
+
json (2.1.0)
|
22
|
+
minitest (5.10.3)
|
23
23
|
multipart-post (2.0.0)
|
24
|
-
|
24
|
+
public_suffix (3.0.0)
|
25
|
+
rake (12.0.0)
|
25
26
|
safe_yaml (1.0.4)
|
26
|
-
vcr (
|
27
|
-
webmock (
|
27
|
+
vcr (3.0.3)
|
28
|
+
webmock (3.0.1)
|
28
29
|
addressable (>= 2.3.6)
|
29
30
|
crack (>= 0.3.2)
|
31
|
+
hashdiff
|
30
32
|
|
31
33
|
PLATFORMS
|
32
34
|
ruby
|
@@ -40,4 +42,4 @@ DEPENDENCIES
|
|
40
42
|
webmock
|
41
43
|
|
42
44
|
BUNDLED WITH
|
43
|
-
1.
|
45
|
+
1.15.4
|
data/closeio.gemspec
CHANGED
@@ -22,7 +22,6 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.add_runtime_dependency 'faraday'
|
23
23
|
s.add_runtime_dependency 'faraday_middleware'
|
24
24
|
s.add_runtime_dependency 'json'
|
25
|
-
s.add_runtime_dependency 'hashie'
|
26
25
|
|
27
26
|
s.add_development_dependency 'bundler'
|
28
27
|
s.add_development_dependency 'rake'
|
data/lib/closeio/client.rb
CHANGED
@@ -65,8 +65,7 @@ module Closeio
|
|
65
65
|
skip += res.data.count
|
66
66
|
end
|
67
67
|
end while res.has_more
|
68
|
-
|
69
|
-
Hashie::Mash.new json
|
68
|
+
{has_more: false, total_results: res.total_results, data: results.flatten}
|
70
69
|
end
|
71
70
|
|
72
71
|
private
|
@@ -90,7 +89,6 @@ module Closeio
|
|
90
89
|
conn.basic_auth api_key, ''
|
91
90
|
conn.request :json
|
92
91
|
conn.response :logger if logger
|
93
|
-
conn.use FaradayMiddleware::Mashify
|
94
92
|
conn.response :json
|
95
93
|
conn.use FaradayMiddleware::CloseioErrorHandler if errors
|
96
94
|
conn.adapter Faraday.default_adapter
|
data/lib/closeio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closeio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: hashie
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: bundler
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -194,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
180
|
version: '0'
|
195
181
|
requirements: []
|
196
182
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.
|
183
|
+
rubygems_version: 2.6.13
|
198
184
|
signing_key:
|
199
185
|
specification_version: 4
|
200
186
|
summary: A Ruby wrapper for the CloseIO API
|