testcentricity_web 2.0.20 → 2.0.20.1

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
2
  SHA1:
3
- metadata.gz: 887763ca2d95c5b88e249c01f30d871f038a4a12
4
- data.tar.gz: 8114ca1034dcd7cfb8c4ccb7e4c4611ba67cbbd2
3
+ metadata.gz: b2fe8afbc03a8015a7226ca40e22a97511a89f04
4
+ data.tar.gz: 56c5333081f6846f2dc471a4cc64466634046ec4
5
5
  SHA512:
6
- metadata.gz: db065227ba65aa2575f25ce037106d4afc261b7d255043b02d39a0e5189c724312e17621850afd52785ac00509c7c70dbafbe6d1fb8705f15ccc562a957571a3
7
- data.tar.gz: eb304279080c4f738bf039bfe000bbd01b4a983d202710d419270d7656b4fd33487377b15103c9d9518170d7f8bf6d82c816a1e749cf9fdefc11c34b528a51f4
6
+ metadata.gz: d9583f0dfacd6093c94b9398658dd12bf9b2f0cf785f143efd5154032b7110a2c757a66faa0e4b3b707ecde500aa16f643d99368f31491c289e9e5b03d90e501
7
+ data.tar.gz: 4e5d46d77652f0479b43b881886656143525fdd4d37d60781efa36d65e1e1c9a6ec51137245c21e08c43874e0c523aa006cd06ea275a62161729d6ba03bf2b48
@@ -1,179 +1,209 @@
1
1
  :iphone:
2
2
  :name: "iPhone"
3
+ :os: "ios"
3
4
  :css_width: 320
4
5
  :css_height: 480
5
6
  :default_orientation: portrait
6
7
  :user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"
7
8
  :iphone4:
8
9
  :name: "iPhone 4"
10
+ :os: "ios"
9
11
  :css_width: 320
10
12
  :css_height: 480
11
13
  :default_orientation: portrait
12
14
  :user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"
13
15
  :iphone5:
14
16
  :name: "iPhone 5"
17
+ :os: "ios"
15
18
  :css_width: 320
16
19
  :css_height: 568
17
20
  :default_orientation: portrait
18
21
  :user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"
19
22
  :iphone6:
20
23
  :name: "iPhone 6"
24
+ :os: "ios"
21
25
  :css_width: 375
22
26
  :css_height: 667
23
27
  :default_orientation: portrait
24
28
  :user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"
25
29
  :iphone6_plus:
26
30
  :name: "iPhone 6 Plus"
31
+ :os: "ios"
27
32
  :css_width: 414
28
33
  :css_height: 736
29
34
  :default_orientation: portrait
30
35
  :user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"
31
36
  :iphone7:
32
37
  :name: "iPhone 7"
38
+ :os: "ios"
33
39
  :css_width: 375
34
40
  :css_height: 667
35
41
  :default_orientation: portrait
36
42
  :user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A345 Safari/602.1"
37
43
  :iphone7_plus:
38
44
  :name: "iPhone 7 Plus"
45
+ :os: "ios"
39
46
  :css_width: 414
40
47
  :css_height: 736
41
48
  :default_orientation: portrait
42
49
  :user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A345 Safari/602.1"
43
50
  :android_phone:
44
51
  :name: "Generic Android phone"
52
+ :os: "android"
45
53
  :css_width: 320
46
54
  :css_height: 480
47
55
  :default_orientation: portrait
48
56
  :user_agent: "Mozilla/5.0 (Linux; U; Android 4.0.1; en-us; sdk Build/ICS_MR0) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"
49
57
  nexus6:
50
58
  :name: "Nexus 6 or 6P phone"
59
+ :os: "android"
51
60
  :css_width: 411
52
61
  :css_height: 731
53
62
  :default_orientation: portrait
54
63
  :user_agent: "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 6P Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36"
55
64
  :samsung_galaxy_s4:
56
65
  :name: "Samsung Galaxy S4"
66
+ :os: "android"
57
67
  :css_width: 360
58
68
  :css_height: 640
59
69
  :default_orientation: portrait
60
70
  :user_agent: "Mozilla/5.0 (Linux; Android 5.0.1; SAMSUNG SCH-I545 4G Build/LRX22C) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/34.0.1847.76 Mobile Safari/537.36"
61
71
  :samsung_galaxy_s5:
62
72
  :name: "Samsung Galaxy S5"
73
+ :os: "android"
63
74
  :css_width: 360
64
75
  :css_height: 640
65
76
  :default_orientation: portrait
66
77
  :user_agent: "Mozilla/5.0 (Linux; Android 6.0.1; SM-G900V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36"
67
78
  :samsung_galaxy_s6:
68
79
  :name: "Samsung Galaxy S6 Edge"
80
+ :os: "android"
69
81
  :css_width: 360
70
82
  :css_height: 640
71
83
  :default_orientation: portrait
72
84
  :user_agent: "Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G925F Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/4.0 Chrome/44.0.2403.133 Mobile Safari/537.36"
73
85
  :pixel:
74
86
  :name: "Google Pixel phone"
87
+ :os: "android"
75
88
  :css_width: 411
76
89
  :css_height: 731
77
90
  :default_orientation: portrait
78
91
  :user_agent: "Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NAE63H; xx-xx) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36"
79
92
  :pixel_xl:
80
93
  :name: "Google Pixel XL phone"
94
+ :os: "android"
81
95
  :css_width: 411
82
96
  :css_height: 731
83
97
  :default_orientation: portrait
84
98
  :user_agent: "Mozilla/5.0 (Linux; Android 7.1; Pixel XL Build/NDE63N; xx-xx) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/54.0.2840.34 Mobile Safari/537.36"
85
99
  :windows_phone8:
86
100
  :name: "Generic Windows 8 phone"
101
+ :os: "windows"
87
102
  :css_width: 320
88
103
  :css_height: 480
89
104
  :default_orientation: portrait
90
105
  :user_agent: "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 920)"
91
106
  :windows_phone7:
92
107
  :name: "Generic Windows 7 phone"
108
+ :os: "windows"
93
109
  :css_width: 320
94
110
  :css_height: 480
95
111
  :default_orientation: portrait
96
112
  :user_agent: "Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 710)"
97
113
  :blackberry_z10:
98
114
  :name: "Blackberry Z10"
115
+ :os: "blackberry"
99
116
  :css_width: 384
100
117
  :css_height: 640
101
118
  :default_orientation: portrait
102
119
  :user_agent: "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+"
103
120
  :blackberry_z30:
104
121
  :name: "Blackberry Z30"
122
+ :os: "blackberry"
105
123
  :css_width: 360
106
124
  :css_height: 640
107
125
  :default_orientation: portrait
108
126
  :user_agent: "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+"
109
127
  :ipad:
110
128
  :name: "iPad"
129
+ :os: "ios"
111
130
  :css_width: 1024
112
131
  :css_height: 768
113
132
  :default_orientation: landscape
114
133
  :user_agent: "Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/3B143 Safari/601.1"
115
134
  :ipad_pro:
116
135
  :name: "iPad Pro"
136
+ :os: "ios"
117
137
  :css_width: 1366
118
138
  :css_height: 1024
119
139
  :default_orientation: landscape
120
140
  :user_agent: "Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B137 Safari/601.1"
121
141
  :android_tablet:
122
142
  :name: "Generic Android tablet"
143
+ :os: "android"
123
144
  :css_width: 1024
124
145
  :css_height: 768
125
146
  :default_orientation: landscape
126
147
  :user_agent: "Mozilla/5.0 (Linux; U; Android 3.0; en-us; GT-P7100 Build/HRI83) AppleWebkit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13"
127
148
  :kindle_fire:
128
149
  :name: "Kindle Fire"
150
+ :os: "kindle"
129
151
  :css_width: 1024
130
152
  :css_height: 600
131
153
  :default_orientation: landscape
132
154
  :user_agent: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.0.141.16-Gen4_11004310) AppleWebkit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk-Accelerated=true"
133
155
  :kindle_firehd7:
134
156
  :name: "Kindle Fire HD 7"
157
+ :os: "kindle"
135
158
  :css_width: 800
136
159
  :css_height: 480
137
160
  :default_orientation: landscape
138
161
  :user_agent: "Mozilla/5.0 (Linux; U; en-us; KFTHWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true"
139
162
  :kindle_firehd8:
140
163
  :name: "Kindle Fire HD 8 or 9"
164
+ :os: "kindle"
141
165
  :css_width: 1280
142
166
  :css_height: 800
143
167
  :default_orientation: landscape
144
168
  :user_agent: "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true"
145
169
  :surface:
146
170
  :name: "Microsoft Surface"
171
+ :os: "windows"
147
172
  :css_width: 1366
148
173
  :css_height: 768
149
174
  :default_orientation: landscape
150
175
  :user_agent: "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; ARM; Trident/6.0; Touch)"
151
176
  :blackberry_playbook:
152
177
  :name: "Blackberry Playbook"
178
+ :os: "blackberry"
153
179
  :css_width: 1024
154
180
  :css_height: 600
155
181
  :default_orientation: landscape
156
182
  :user_agent: "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+"
157
183
  :samsung_galaxy_tab:
158
184
  :name: "Samsung Galaxy Tab series"
185
+ :os: "android"
159
186
  :css_width: 1280
160
187
  :css_height: 800
161
188
  :default_orientation: landscape
162
189
  :user_agent: "Mozilla/5.0 (Linux; Android 4.0.4; GT-P6800 Build/IMM76D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Safari/537.36"
163
190
  :google_nexus7:
164
191
  :name: "Nexus 7 series"
192
+ :os: "android"
165
193
  :css_width: 960
166
194
  :css_height: 600
167
195
  :default_orientation: landscape
168
196
  :user_agent: "Mozilla/5.0 (Linux; Android 4.4.4; Nexus 7 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Safari/537.36"
169
197
  :google_nexus9:
170
198
  :name: "Nexus 9 series"
199
+ :os: "android"
171
200
  :css_width: 1024
172
201
  :css_height: 768
173
202
  :default_orientation: landscape
174
203
  :user_agent: "Mozilla/5.0 (Linux; Android 5.1.1; Nexus 9 Build/LMY48I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.84 Safari/537.36"
175
204
  :google_nexus10:
176
205
  :name: "Nexus 10 series"
206
+ :os: "android"
177
207
  :css_width: 1280
178
208
  :css_height: 800
179
209
  :default_orientation: landscape
@@ -32,6 +32,7 @@ module TestCentricity
32
32
  attr_accessor :device
33
33
  attr_accessor :device_type
34
34
  attr_accessor :platform
35
+
35
36
  attr_accessor :signed_in
36
37
  attr_accessor :portal_status
37
38
  attr_accessor :portal_context
@@ -88,9 +89,9 @@ module TestCentricity
88
89
  end
89
90
  end
90
91
 
91
- # @deprecated Please use {#browser=} instead
92
+ # @deprecated Please use {#Environ.browser =} instead
92
93
  def self.set_browser(browser)
93
- warn "[DEPRECATION] 'TestCentricity::Environ.set_browser' is deprecated. Please use 'browser=' instead."
94
+ warn "[DEPRECATION] 'TestCentricity::Environ.set_browser' is deprecated. Please use 'Environ.browser =' instead."
94
95
  @browser = browser.downcase.to_sym
95
96
  end
96
97
 
@@ -102,9 +103,9 @@ module TestCentricity
102
103
  @browser
103
104
  end
104
105
 
105
- # @deprecated Please use {#os=} instead
106
+ # @deprecated Please use {#Environ.os =} instead
106
107
  def self.set_os(os)
107
- warn "[DEPRECATION] 'TestCentricity::Environ.set_os' is deprecated. Please use 'os=' instead."
108
+ warn "[DEPRECATION] 'TestCentricity::Environ.set_os' is deprecated. Please use 'Environ.os =' instead."
108
109
  @os = os
109
110
  end
110
111
 
@@ -116,9 +117,9 @@ module TestCentricity
116
117
  @os
117
118
  end
118
119
 
119
- # @deprecated Please use {#device=} instead
120
+ # @deprecated Please use {#Environ.device =} instead
120
121
  def self.set_device(device)
121
- warn "[DEPRECATION] 'TestCentricity::Environ.set_device' is deprecated. Please use 'device=' instead."
122
+ warn "[DEPRECATION] 'TestCentricity::Environ.set_device' is deprecated. Please use 'Environ.device =' instead."
122
123
  @device = device
123
124
  end
124
125
 
@@ -130,9 +131,9 @@ module TestCentricity
130
131
  @device
131
132
  end
132
133
 
133
- # @deprecated Please use {#device_type=} instead
134
+ # @deprecated Please use {#Environ.device_type =} instead
134
135
  def self.set_device_type(type)
135
- warn "[DEPRECATION] 'TestCentricity::Environ.set_device_type' is deprecated. Please use 'device_type=' instead."
136
+ warn "[DEPRECATION] 'TestCentricity::Environ.set_device_type' is deprecated. Please use 'Environ.device_type =' instead."
136
137
  @device_type = type.downcase
137
138
  end
138
139
 
@@ -144,9 +145,9 @@ module TestCentricity
144
145
  @device_type
145
146
  end
146
147
 
147
- # @deprecated Please use {#platform=} instead
148
+ # @deprecated Please use {#Environ.platform =} instead
148
149
  def self.set_platform(platform)
149
- warn "[DEPRECATION] 'TestCentricity::Environ.set_platform' is deprecated. Please use 'platform=' instead."
150
+ warn "[DEPRECATION] 'TestCentricity::Environ.set_platform' is deprecated. Please use 'Environ.platform =' instead."
150
151
  @platform = platform
151
152
  end
152
153
 
@@ -170,9 +171,9 @@ module TestCentricity
170
171
  @signed_in
171
172
  end
172
173
 
173
- # @deprecated Please use {#portal_state=} instead
174
+ # @deprecated Please use {#Environ.portal_state =} instead
174
175
  def self.set_portal_state(portal_state)
175
- warn "[DEPRECATION] 'TestCentricity::Environ.set_portal_state' is deprecated. Please use 'portal_state=' instead."
176
+ warn "[DEPRECATION] 'TestCentricity::Environ.set_portal_state' is deprecated. Please use 'Environ.portal_state =' instead."
176
177
  @portal_status = portal_state
177
178
  end
178
179
 
@@ -184,9 +185,9 @@ module TestCentricity
184
185
  @portal_status
185
186
  end
186
187
 
187
- # @deprecated Please use {#portal_context=} instead
188
+ # @deprecated Please use {#Environ.portal_context =} instead
188
189
  def self.set_portal_context(portal_context)
189
- warn "[DEPRECATION] 'TestCentricity::Environ.set_portal_context' is deprecated. Please use 'portal_context=' instead."
190
+ warn "[DEPRECATION] 'TestCentricity::Environ.set_portal_context' is deprecated. Please use 'Environ.portal_context =' instead."
190
191
  @portal_context = portal_context
191
192
  end
192
193
 
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '2.0.20'
2
+ VERSION = '2.0.20.1'
3
3
  end
@@ -121,6 +121,13 @@ module TestCentricity
121
121
  end
122
122
 
123
123
  def self.initialize_local_browser
124
+ Environ.os = OS.report
125
+
126
+ puts "Environ.os = #{Environ.os}"
127
+
128
+
129
+
130
+
124
131
  browser = ENV['WEB_BROWSER']
125
132
  Capybara.default_driver = :selenium
126
133
  Capybara.register_driver :selenium do |app|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.20
4
+ version: 2.0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-13 00:00:00.000000000 Z
11
+ date: 2017-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler