briar 1.3.2 → 1.4.1
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/CHANGELOG.md +6 -0
- data/bin/briar_xtc.rb +1 -1
- data/lib/briar/alerts_and_sheets/action_sheet.rb +3 -3
- data/lib/briar/alerts_and_sheets/alert_view.rb +3 -3
- data/lib/briar/email.rb +1 -1
- data/lib/briar/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a5c8c4d925decf98885a6022f3b8a5a6323c06b
|
4
|
+
data.tar.gz: a73d28e5cad86f50b7ec7923f1537cefda427c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6857a1fbf105cfb72bbc0a98a7ab5e49a26530df0277cf886a176a90077690d474ffbb0e72fde8b1f6cd53315ee6996420a2dd467ff924c5ecdfdabac64487c6
|
7
|
+
data.tar.gz: c3d7bc51ed740813c412a96ace5da22daeb68f61abfde9a97dded834c9ec9b412555dd3ba99b1f8024b569519538232f8aec89f638c7b21e19e4830756897e1b
|
data/CHANGELOG.md
CHANGED
data/bin/briar_xtc.rb
CHANGED
@@ -4,7 +4,7 @@ module Briar
|
|
4
4
|
|
5
5
|
def query_str_for_sheet(sheet_id)
|
6
6
|
# Ignoring argument because iOS 8 sheets do not retain their accessibilityIdentifier
|
7
|
-
return "view:'_UIAlertControllerView'" if ios8?
|
7
|
+
return "view:'_UIAlertControllerView'" if ios8? or ios9?
|
8
8
|
if sheet_id
|
9
9
|
"actionSheet marked:'#{sheet_id}'"
|
10
10
|
else
|
@@ -69,7 +69,7 @@ module Briar
|
|
69
69
|
|
70
70
|
def sheet_button_exists? (button_title, sheet_id=nil)
|
71
71
|
sheet_query = query_str_for_sheet sheet_id
|
72
|
-
if ios8?
|
72
|
+
if ios8? || ios9?
|
73
73
|
query("#{query_str_for_sheet sheet_id} descendant view:'_UIAlertControllerActionView' marked:'#{button_title}'")
|
74
74
|
else
|
75
75
|
query("#{sheet_query} child button child label", :text).include?(button_title)
|
@@ -99,7 +99,7 @@ module Briar
|
|
99
99
|
def touch_sheet_button (button_title, sheet_id=nil)
|
100
100
|
sheet_query = query_str_for_sheet sheet_id
|
101
101
|
should_see_button_on_sheet button_title, sheet_id
|
102
|
-
if ios8?
|
102
|
+
if ios8? || ios9?
|
103
103
|
touch("#{query_str_for_sheet sheet_id} descendant view:'_UIAlertControllerActionView' marked:'#{button_title}'")
|
104
104
|
else
|
105
105
|
touch("#{sheet_query} child button child label marked:'#{button_title}'")
|
@@ -48,7 +48,7 @@ module Briar
|
|
48
48
|
:retry_frequency => BRIAR_WAIT_RETRY_FREQ,
|
49
49
|
:post_timeout => BRIAR_WAIT_STEP_PAUSE,
|
50
50
|
:timeout_message => msg) do
|
51
|
-
if ios8?
|
51
|
+
if ios8? || ios9?
|
52
52
|
not query("view:'_UIAlertControllerView' marked:'#{message}'").empty?
|
53
53
|
else
|
54
54
|
not uia_query(:view, {:marked => "#{message}"}).empty?
|
@@ -72,7 +72,7 @@ module Briar
|
|
72
72
|
:retry_frequency => BRIAR_WAIT_RETRY_FREQ,
|
73
73
|
:post_timeout => BRIAR_WAIT_STEP_PAUSE,
|
74
74
|
:timeout_message => msg) do
|
75
|
-
if ios8?
|
75
|
+
if ios8? || ios9?
|
76
76
|
not query("view:'_UIAlertControllerView' marked:'#{message}'").empty?
|
77
77
|
else
|
78
78
|
not uia_query(:view, {:marked => "#{message}"}).empty?
|
@@ -117,7 +117,7 @@ module Briar
|
|
117
117
|
|
118
118
|
def touch_alert_button(button_title)
|
119
119
|
should_see_alert
|
120
|
-
if ios8?
|
120
|
+
if ios8? || ios9?
|
121
121
|
touch("view marked:'#{button_title}' parent view:'_UIAlertControllerCollectionViewCell'")
|
122
122
|
elsif ios7?
|
123
123
|
touch("view marked:'#{button_title}'")
|
data/lib/briar/email.rb
CHANGED
@@ -164,7 +164,7 @@ module Briar
|
|
164
164
|
|
165
165
|
# In iOS 8, there is no 'Delete Draft' action sheet, the email compose
|
166
166
|
# view animates off.
|
167
|
-
|
167
|
+
if !(ios8? || ios9?)
|
168
168
|
msg = "waited for '#{timeout}' seconds but did not see dismiss email action sheet"
|
169
169
|
wait_for(:timeout => timeout,
|
170
170
|
:retry_frequency => BRIAR_WAIT_RETRY_FREQ,
|
data/lib/briar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: briar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Moody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbx-require-relative
|
@@ -395,9 +395,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
395
395
|
version: '0'
|
396
396
|
requirements: []
|
397
397
|
rubyforge_project:
|
398
|
-
rubygems_version: 2.4.
|
398
|
+
rubygems_version: 2.4.8
|
399
399
|
signing_key:
|
400
400
|
specification_version: 4
|
401
|
-
summary: briar-1.
|
401
|
+
summary: briar-1.4.1
|
402
402
|
test_files: []
|
403
403
|
has_rdoc:
|