wego 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/lib/wego/client.rb +1 -1
- data/lib/wego/version.rb +1 -1
- data/spec/support/fake_wego_api.rb +1 -1
- data/spec/wego/client_spec.rb +1 -1
- data/wego.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb681d945976991c32776b364116b92bd626b0fb0f40d49d8c56d0764d8c8671
|
4
|
+
data.tar.gz: 7b2fd77737e5d14afa1f24283f250b1efc95e10af3f8e91638fbcf23e1fc3e11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39a5296cfd9da29171e358987e493650936bff346530528ee6d3d718eaac753304c6e643bb80e78c92404e27691a1b0520df386df9803c76574904b3c4fb3ad6
|
7
|
+
data.tar.gz: 759c204913eaec2e0732ebaa587ad9526f78d74fa43a1561b105cce72a072588d7aabf8759c45888ba4fa610561cc593d4cdb2dae76889fbed007f758da18f37
|
data/.travis.yml
CHANGED
data/lib/wego/client.rb
CHANGED
data/lib/wego/version.rb
CHANGED
data/spec/wego/client_spec.rb
CHANGED
@@ -36,7 +36,7 @@ RSpec.describe Wego::Client, "#url" do
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def wego_api_path(options = {})
|
39
|
-
params = Wego.configuration.api_keys.merge(options)
|
39
|
+
params = Wego.configuration.api_keys.merge(options).compact
|
40
40
|
params.map { |key, value| "#{key}=#{value}" }.join("&")
|
41
41
|
end
|
42
42
|
end
|
data/wego.gemspec
CHANGED
@@ -16,11 +16,11 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.files = `git ls-files`.split("\n")
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
19
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
19
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
20
20
|
|
21
21
|
spec.add_dependency "rest-client", "~> 2.0"
|
22
22
|
|
23
|
-
spec.add_development_dependency "bundler"
|
23
|
+
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
25
25
|
spec.add_development_dependency "rspec", "~> 3.0"
|
26
26
|
spec.add_development_dependency "webmock", "~> 2.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wego
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abu Nashir
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
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: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
150
|
requirements:
|
151
151
|
- - ">="
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: 2.
|
153
|
+
version: 2.4.0
|
154
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - ">="
|