testcentricity 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -3
- data/lib/devices/devices.yml +4 -4
- data/lib/testcentricity/utility_helpers.rb +5 -1
- data/lib/testcentricity/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2294cef1ce701f1f6fdadf7a258961b89627ffa1
|
4
|
+
data.tar.gz: 368211a05d669416f5cb1ff3a0e8969a2776d77d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c648b534eabad393ee29b15f92dc1c0b479465fa393b2889d83184bc54956f58c0144939d0210d98779aa5b9cff2387694ffff420bc9a860422816eae33b3bc
|
7
|
+
data.tar.gz: 416366d003005ee6baa9ab209fff495151d2c0de2fe3d1b4dc47410e7685f28247e588327057932c248470017b431e4c3c41af26ef28bd953d81874375b2beac
|
data/Gemfile.lock
CHANGED
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.
|
@@ -944,9 +948,9 @@ the `WEB_BROWSER` Environment Variable must be set to one of the values from the
|
|
944
948
|
`iphone6_plus` |`chrome` |414 x 736 |portrait |iOS 9.1
|
945
949
|
`iphone7` |`chrome` |375 x 667 |portrait |iOS 10
|
946
950
|
`iphone7_plus` |`chrome` |414 x 736 |portrait |iOS 10
|
947
|
-
`iphone7_chrome` |`chrome` |375 x 667 |portrait |iOS
|
948
|
-
`iphone7_firefox` |`chrome` |375 x 667 |portrait |iOS
|
949
|
-
`iphone7_edge` |`chrome` |375 x 667 |portrait |iOS
|
951
|
+
`iphone7_chrome` |`chrome` |375 x 667 |portrait |iOS 11 - Mobile Chrome browser for iOS
|
952
|
+
`iphone7_firefox` |`chrome` |375 x 667 |portrait |iOS 11 - Mobile Firefox browser for iOS
|
953
|
+
`iphone7_edge` |`chrome` |375 x 667 |portrait |iOS 11 - Microsoft Edge browser for iOS
|
950
954
|
`iphone8` |`chrome` |375 x 667 |portrait |iOS 11
|
951
955
|
`iphone8_plus` |`chrome` |414 x 736 |portrait |iOS 11
|
952
956
|
`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
|
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
|
@@ -321,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
321
321
|
requirements:
|
322
322
|
- Capybara, Appium, Selenium-WebDriver
|
323
323
|
rubyforge_project:
|
324
|
-
rubygems_version: 2.5
|
324
|
+
rubygems_version: 2.6.5
|
325
325
|
signing_key:
|
326
326
|
specification_version: 4
|
327
327
|
summary: A Page Object and Data Object Model Framework for desktop/mobile web and
|