deviceatlasapi 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NWY4YzEzODdjZjViNDIzZDQ5MWYyNTk5Y2E2ZjM4N2U0NTFhMjVkMQ==
5
+ data.tar.gz: !binary |-
6
+ NTQyNWI3ZTFjYjMxYWRkNWNlZmNkNGVmMzRhMzk1NDg4NzdhNGM4OA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ OTY3NjhhZDMyNTY5YzgxZmVlYWU2Yzg5MjAzMmM0ZDljMjMxZmUwZjhjNzcx
10
+ NjcwZDNlNjQ3MTY0NDlkZmIzZWI4MzJmYzQyZGVkMjUxNzVlZTM0YTQyNjVj
11
+ MWQ5MDVlMWM2NTdmY2NiMmVmYmZhZDZmMTdkOTJmMDUzZjc1NzE=
12
+ data.tar.gz: !binary |-
13
+ ZmU0NDRkYzU3NzA2MDM2MWIzNmQ2YzFkOTg3ZDE3MzliMmNkNjhhYzk3YjRm
14
+ MDQ2NGQ4NWJmMTk4OGM2ZTFiYzY2MWYwMGQ5N2E4Y2NjMDdmNTIxODAzOGUz
15
+ NDA4ZmEwNjA2Y2RhNDUxMTVjYzBmMjgyYTVlYTAzMTAxNzk2NjE=
@@ -34,11 +34,11 @@ module DeviceAtlasApi
34
34
  end
35
35
 
36
36
  def is_cookie_set? request
37
- request.cookies[@cookie_name].nil?
37
+ !request.cookies[@cookie_name].nil?
38
38
  end
39
39
 
40
40
  def get_client_properties request
41
- request.cookies['DAPROPS'].gsub /^"|"$/, ''
41
+ request.cookies[@cookie_name].gsub /^"|"$/, ''
42
42
  end
43
43
 
44
44
  private
@@ -1,3 +1,3 @@
1
1
  module DeviceAtlasApi
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deviceatlasapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
5
- prerelease:
4
+ version: 0.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Trevor Kimenye
@@ -14,7 +13,6 @@ dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: httparty
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ! '>='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ! '>='
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: railties
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -92,26 +83,26 @@ files:
92
83
  homepage: https://github.com/kimenye/deviceatlasapi
93
84
  licenses:
94
85
  - MIT
86
+ metadata: {}
95
87
  post_install_message:
96
88
  rdoc_options: []
97
89
  require_paths:
98
90
  - lib
99
91
  required_ruby_version: !ruby/object:Gem::Requirement
100
- none: false
101
92
  requirements:
102
93
  - - ! '>='
103
94
  - !ruby/object:Gem::Version
104
95
  version: '0'
105
96
  required_rubygems_version: !ruby/object:Gem::Requirement
106
- none: false
107
97
  requirements:
108
98
  - - ! '>='
109
99
  - !ruby/object:Gem::Version
110
100
  version: '0'
111
101
  requirements: []
112
102
  rubyforge_project:
113
- rubygems_version: 1.8.25
103
+ rubygems_version: 2.0.3
114
104
  signing_key:
115
- specification_version: 3
105
+ specification_version: 4
116
106
  summary: Ruby gem to access DeviceAtlas cloud api
117
107
  test_files: []
108
+ has_rdoc: