testcentricity_web 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/lib/devices/devices.yml +4 -4
- data/lib/testcentricity_web/utility_helpers.rb +5 -1
- data/lib/testcentricity_web/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14542bbd304bc7af4335e0c493aeb54a793f7d5f
|
4
|
+
data.tar.gz: 316a8bd028ebb3489d7c699d19906e4e93a803b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad1f98bb5c3ffc43c1c6f8d6077fdbbb7f8b12e2a72c1d58541f15acf87a40b325c8791bb699216bfba78ac4e044b5c2c036643e3b92ec5ae7b20b82f5d24b02
|
7
|
+
data.tar.gz: 2bd39bec20a0e4f215d93bfc625256393a8c221e26ee58403e03f77ab63785102c8a94be9567848a14c88aa744a3392de654aca8b9d00bfb9a88a376430ac423
|
data/README.md
CHANGED
@@ -28,6 +28,10 @@ hosted instances of Chrome, Firefox, Safari, and IE web browsers.
|
|
28
28
|
|
29
29
|
|
30
30
|
## What's New
|
31
|
+
###Version 2.4.3
|
32
|
+
|
33
|
+
* Updated device profiles for iPhone 7 (iOS 11) with Mobile Firefox browser and iPad (iOS 10) with Mobile Firefox browser.
|
34
|
+
|
31
35
|
###Version 2.4.1
|
32
36
|
|
33
37
|
* Added device profiles for iPad (iOS 10) with MS Edge browser.
|
@@ -943,9 +947,9 @@ the `WEB_BROWSER` Environment Variable must be set to one of the values from the
|
|
943
947
|
`iphone6_plus` |`chrome` |414 x 736 |portrait |iOS 9.1
|
944
948
|
`iphone7` |`chrome` |375 x 667 |portrait |iOS 10
|
945
949
|
`iphone7_plus` |`chrome` |414 x 736 |portrait |iOS 10
|
946
|
-
`iphone7_chrome` |`chrome` |375 x 667 |portrait |iOS
|
947
|
-
`iphone7_firefox` |`chrome` |375 x 667 |portrait |iOS
|
948
|
-
`iphone7_edge` |`chrome` |375 x 667 |portrait |iOS
|
950
|
+
`iphone7_chrome` |`chrome` |375 x 667 |portrait |iOS 11 - Mobile Chrome browser for iOS
|
951
|
+
`iphone7_firefox` |`chrome` |375 x 667 |portrait |iOS 11 - Mobile Firefox browser for iOS
|
952
|
+
`iphone7_edge` |`chrome` |375 x 667 |portrait |iOS 11 - Microsoft Edge browser for iOS
|
949
953
|
`iphone8` |`chrome` |375 x 667 |portrait |iOS 11
|
950
954
|
`iphone8_plus` |`chrome` |414 x 736 |portrait |iOS 11
|
951
955
|
`iphonex` |`chrome` |375 x 812 |portrait |iOS 11
|
data/lib/devices/devices.yml
CHANGED
@@ -61,7 +61,7 @@
|
|
61
61
|
:css_width: 375
|
62
62
|
:css_height: 667
|
63
63
|
:default_orientation: portrait
|
64
|
-
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS
|
64
|
+
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/65.0.3325.152 Mobile/15E216 Safari/604.1"
|
65
65
|
:iphone7_firefox:
|
66
66
|
:name: "iPhone 7 - Firefox"
|
67
67
|
:os: ios
|
@@ -69,7 +69,7 @@
|
|
69
69
|
:css_width: 375
|
70
70
|
:css_height: 667
|
71
71
|
:default_orientation: portrait
|
72
|
-
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS
|
72
|
+
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/11.0b9935 Mobile/15E216 Safari/605.1.15"
|
73
73
|
:iphone7_edge:
|
74
74
|
:name: "iPhone 7 - MS Edge"
|
75
75
|
:os: ios
|
@@ -77,7 +77,7 @@
|
|
77
77
|
:css_width: 375
|
78
78
|
:css_height: 667
|
79
79
|
:default_orientation: portrait
|
80
|
-
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS
|
80
|
+
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 EdgiOS/41.13.0.0 Mobile/15E216 Safari/605.1.15"
|
81
81
|
:iphone8:
|
82
82
|
:name: "iPhone 8"
|
83
83
|
:os: ios
|
@@ -245,7 +245,7 @@ nexus6:
|
|
245
245
|
:css_width: 1024
|
246
246
|
:css_height: 768
|
247
247
|
:default_orientation: landscape
|
248
|
-
:user_agent: "Mozilla/5.0 (iPad; CPU
|
248
|
+
:user_agent: "Mozilla/5.0 (iPad; CPU OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/11.0b9935 Mobile/14G60 Safari/603.3.8"
|
249
249
|
:ipad_edge:
|
250
250
|
:name: "iPad - MS Edge"
|
251
251
|
:os: ios
|
@@ -23,6 +23,10 @@ class String
|
|
23
23
|
def format_date_time(date_time_format)
|
24
24
|
return if self.blank?
|
25
25
|
new_date = DateTime.parse(self)
|
26
|
-
|
26
|
+
if ENV['LOCALE'] && date_time_format.is_a?(Symbol)
|
27
|
+
I18n.l(new_date, format: date_time_format)
|
28
|
+
else
|
29
|
+
new_date.strftime(date_time_format)
|
30
|
+
end
|
27
31
|
end
|
28
32
|
end
|
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.4.
|
4
|
+
version: 2.4.3
|
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: 2018-
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -290,9 +290,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
requirements:
|
291
291
|
- Capybara, Selenium-WebDriver
|
292
292
|
rubyforge_project:
|
293
|
-
rubygems_version: 2.6.
|
293
|
+
rubygems_version: 2.6.5
|
294
294
|
signing_key:
|
295
295
|
specification_version: 4
|
296
296
|
summary: A Page Object and Data Object Model Framework for desktop and mobile web
|
297
297
|
testing
|
298
298
|
test_files: []
|
299
|
+
has_rdoc:
|