testcentricity 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba8bb419286dffb3e7f9cf89b8dc5aa6744870d4
4
- data.tar.gz: 3b5886e903439cb5755a211a6aa75f799b267c9e
3
+ metadata.gz: 2294cef1ce701f1f6fdadf7a258961b89627ffa1
4
+ data.tar.gz: 368211a05d669416f5cb1ff3a0e8969a2776d77d
5
5
  SHA512:
6
- metadata.gz: 79d250c941affcdbf496fe2c646fe9f963a911c5e7c49f43f84f0135a67421e739ac36a5168d5a0a7e2e90d31d9d2a5ee4711bc5e11447c1905d3086beccbae5
7
- data.tar.gz: 484ff58e76a7a0a549a5f4ad2695915f0a3598aa16df7bfbe5a667471a4a118fdb4639d05ff7bcd0609bbd8e360a85da9b7298926397f3fec82b56c4905ce0da
6
+ metadata.gz: 9c648b534eabad393ee29b15f92dc1c0b479465fa393b2889d83184bc54956f58c0144939d0210d98779aa5b9cff2387694ffff420bc9a860422816eae33b3bc
7
+ data.tar.gz: 416366d003005ee6baa9ab209fff495151d2c0de2fe3d1b4dc47410e7685f28247e588327057932c248470017b431e4c3c41af26ef28bd953d81874375b2beac
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testcentricity (2.4.0)
4
+ testcentricity (2.4.2)
5
5
  appium_lib
6
6
  browserstack-local
7
7
  capybara (>= 2.15, < 3.0)
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 10 - Mobile Chrome browser for iOS
948
- `iphone7_firefox` |`chrome` |375 x 667 |portrait |iOS 10 - Mobile Firefox browser for iOS
949
- `iphone7_edge` |`chrome` |375 x 667 |portrait |iOS 10 - Microsoft Edge browser for 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
@@ -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 10_3_3 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) CriOS/65.0.3325.152 Mobile/14G60 Safari/602.1"
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 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/10.6b8836 Mobile/14G60 Safari/603.3.8"
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 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.0 EdgiOS/41.13.0.0 Mobile/14G60 Safari/603.3.8"
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 iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/10.6b8836 Mobile/14G60 Safari/603.3.8"
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
- new_date.strftime(date_time_format)
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
@@ -1,3 +1,3 @@
1
1
  module TestCentricity
2
- VERSION = '2.4.2'
2
+ VERSION = '2.4.3'
3
3
  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.2
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-03-28 00:00:00.000000000 Z
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.1
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