wurfl_cloud_client 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d04e8db9f6b0603971e674521eab47bbf65eac09
4
- data.tar.gz: a3ca3e5922319626662c2e11b513c086c0bec125
2
+ SHA256:
3
+ metadata.gz: 0d86272df2c8d3f763bd8c45b66e5933fa87fd63e10d69023b16235f956da594
4
+ data.tar.gz: 073f589aed820842062a1fad06c98801ce61c0d9283fc24d9d657f68ae70f97f
5
5
  SHA512:
6
- metadata.gz: 98b2cdd9945df9fc89fb7f3bcaf58f7dade7121c7d2f2fb3e7f32facaf9cf1b1954679b786569fcb5000e62115b32e0f6f5061cebb580bc5995c1d44524f394b
7
- data.tar.gz: 6c704bd2cba72ea4f0d0726ac5b1e2f98c3b3183e005acd80d024bae92bd41dd5c76807b54858eff3375507cde7e04405a85db6f51ba20a9e04e7c3bf3a868a1
6
+ metadata.gz: 7e9a928c7cf7fa861933ea3c64c039ff9797a5b594b17f630663966b936c415450c6d20939d7bcdb46e21f7487c0b7cdedb7d260e501a6a3e7d97cf2f0c7117c
7
+ data.tar.gz: a9493b63653b1c78587688dfc91dde454822e242782bb52ddc0fb8d504815eb0ec32e87861ec91e1c50cded011dde784ecd78b4da69a70ec50479489e1b04a56
@@ -1,34 +1,45 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wurfl_cloud_client (1.0.0)
4
+ wurfl_cloud_client (1.1.0)
5
5
  json
6
6
  rack
7
7
 
8
8
  GEM
9
9
  remote: http://rubygems.org/
10
10
  specs:
11
- addressable (2.2.7)
12
- crack (0.3.1)
13
- diff-lcs (1.1.3)
14
- json (1.8.2)
15
- multi_json (1.1.0)
16
- rack (1.6.1)
17
- rspec (2.8.0)
18
- rspec-core (~> 2.8.0)
19
- rspec-expectations (~> 2.8.0)
20
- rspec-mocks (~> 2.8.0)
21
- rspec-core (2.8.0)
22
- rspec-expectations (2.8.0)
23
- diff-lcs (~> 1.1.2)
24
- rspec-mocks (2.8.0)
25
- simplecov (0.6.1)
26
- multi_json (~> 1.0)
27
- simplecov-html (~> 0.5.3)
28
- simplecov-html (0.5.3)
29
- webmock (1.8.0)
30
- addressable (>= 2.2.7)
31
- crack (>= 0.1.7)
11
+ addressable (2.7.0)
12
+ public_suffix (>= 2.0.2, < 5.0)
13
+ crack (0.4.3)
14
+ safe_yaml (~> 1.0.0)
15
+ diff-lcs (1.4.4)
16
+ docile (1.3.2)
17
+ hashdiff (1.0.1)
18
+ json (2.3.1)
19
+ public_suffix (4.0.5)
20
+ rack (2.2.3)
21
+ rspec (3.9.0)
22
+ rspec-core (~> 3.9.0)
23
+ rspec-expectations (~> 3.9.0)
24
+ rspec-mocks (~> 3.9.0)
25
+ rspec-core (3.9.2)
26
+ rspec-support (~> 3.9.3)
27
+ rspec-expectations (3.9.2)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.9.0)
30
+ rspec-mocks (3.9.1)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.9.0)
33
+ rspec-support (3.9.3)
34
+ safe_yaml (1.0.5)
35
+ simplecov (0.18.5)
36
+ docile (~> 1.1)
37
+ simplecov-html (~> 0.11)
38
+ simplecov-html (0.12.2)
39
+ webmock (3.8.3)
40
+ addressable (>= 2.3.6)
41
+ crack (>= 0.3.2)
42
+ hashdiff (>= 0.4.0, < 2.0.0)
32
43
 
33
44
  PLATFORMS
34
45
  ruby
@@ -38,3 +49,6 @@ DEPENDENCIES
38
49
  simplecov
39
50
  webmock
40
51
  wurfl_cloud_client!
52
+
53
+ BUNDLED WITH
54
+ 2.1.4
@@ -30,7 +30,7 @@ module WurflCloud
30
30
  # @example
31
31
  # WurflCloud.configure do |config|
32
32
  # config.api_key = '00000000:xxxxxxxxxxxxxxxxxxxxxxxxxxx'
33
- # config.host = 'staging.wurflcloud.com'
33
+ # config.host = 'api.wurflcloud.com'
34
34
  # end
35
35
  def configure(silent = false)
36
36
  yield(configuration)
@@ -10,5 +10,5 @@
10
10
  # Refer to the COPYING.txt file distributed with this package.
11
11
  #
12
12
  module WurflCloud
13
- VERSION = "1.0.1"
13
+ VERSION = "1.1.0"
14
14
  end
@@ -32,7 +32,7 @@ describe WurflCloud::DeviceCapabilities do
32
32
  it "should return true from has_key? if the key is set" do
33
33
  key = String.random
34
34
  subject[key] = nil
35
- subject.has_key?(key).should be_true
35
+ subject.has_key?(key).should be_truthy
36
36
  end
37
37
 
38
38
  context "when merging" do
@@ -67,12 +67,12 @@ describe WurflCloud::DeviceCapabilities do
67
67
 
68
68
  context "the empty? method" do
69
69
  it "should return true if there are no capabilities defined" do
70
- WurflCloud::DeviceCapabilities.new.empty?.should be_true
70
+ WurflCloud::DeviceCapabilities.new.empty?.should be_truthy
71
71
  end
72
72
 
73
73
  it "should return false if there are capabilities defined" do
74
74
  subject[String.random] = String.random
75
- subject.empty?.should be_false
75
+ subject.empty?.should be_falsey
76
76
  end
77
77
  end
78
78
  end
@@ -23,7 +23,7 @@ describe "the client doing a real request" do
23
23
  })
24
24
  else
25
25
  WurflCloud.configure do |config|
26
- config.host = 'staging.wurflcloud.com'
26
+ config.host = 'api.wurflcloud.com'
27
27
  config.api_key = TEST_API_KEY
28
28
  end
29
29
  @environment = WurflCloud::Environment.new({"HTTP_USER_AGENT"=>%{Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/7D11}})
@@ -39,7 +39,7 @@ describe "the client doing a real request" do
39
39
  end
40
40
 
41
41
  it "should have the device capabilities" do
42
- @device['is_wireless_device'].should ==true
42
+ @device['advertised_device_os'].should == 'iOS'
43
43
  end
44
44
 
45
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wurfl_cloud_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ScientiaMobile, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-27 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -144,28 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
- rubyforge_project: wurfl_cloud_client
148
- rubygems_version: 2.4.7
147
+ rubygems_version: 3.0.3
149
148
  signing_key:
150
149
  specification_version: 4
151
150
  summary: Wurfl Cound Ruby Client
152
- test_files:
153
- - spec/files/generic.json
154
- - spec/files/generic_filtered.json
155
- - spec/files/lumia.json
156
- - spec/files/lumia_filtered.json
157
- - spec/files/strange_values.json
158
- - spec/spec_helper.rb
159
- - spec/support/rack_helpers.rb
160
- - spec/support/string_extensions.rb
161
- - spec/wurfl_cloud/client_spec.rb
162
- - spec/wurfl_cloud/configuration_spec.rb
163
- - spec/wurfl_cloud/cookie_cache_spec.rb
164
- - spec/wurfl_cloud/device_capabilities_spec.rb
165
- - spec/wurfl_cloud/environment_spec.rb
166
- - spec/wurfl_cloud/helper_spec.rb
167
- - spec/wurfl_cloud/memcached_cache_spec.rb
168
- - spec/wurfl_cloud/null_cache_spec.rb
169
- - spec/wurfl_cloud/rack_cache_manager_spec.rb
170
- - spec/wurfl_cloud/rails_cache_spec.rb
171
- - spec/wurfl_cloud/server_request_spec.rb
151
+ test_files: []