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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20f53f71b76192acaaf7af44425650cdbf9d2b36
4
- data.tar.gz: e27ed22ab8898e9d3214261a4bc9f2a33a2a482e
3
+ metadata.gz: 4a5c8c4d925decf98885a6022f3b8a5a6323c06b
4
+ data.tar.gz: a73d28e5cad86f50b7ec7923f1537cefda427c37
5
5
  SHA512:
6
- metadata.gz: d6439175b5f0fca53cbc759849fd970789953857d9e8d63b7da761e4969058c0dc46668499eba3b104511a59e6ee20719cff81d5e0bcade3e9b21a5905915019
7
- data.tar.gz: 1e2eb3798af338b7a4a08df7f5753d0950dc6e15c4bc0d2dac7f55ff173f1d55f50f7a8a820cae9f3ecf9a95de298c10ce625ebe068a4dc8cdc927c87d7ae1f6
6
+ metadata.gz: 6857a1fbf105cfb72bbc0a98a7ab5e49a26530df0277cf886a176a90077690d474ffbb0e72fde8b1f6cd53315ee6996420a2dd467ff924c5ecdfdabac64487c6
7
+ data.tar.gz: c3d7bc51ed740813c412a96ace5da22daeb68f61abfde9a97dded834c9ec9b412555dd3ba99b1f8024b569519538232f8aec89f638c7b21e19e4830756897e1b
@@ -1,3 +1,9 @@
1
+ ### 1.4.1
2
+
3
+ * Treat iOS 8 as iOS 9 for alerts && sheets #58
4
+ * Resigning needs to remove existing .xcent #56
5
+ * Support XTC_DSYM for uploading dSYMs #55
6
+
1
7
  ### 1.3.2
2
8
 
3
9
  * Resigning needs to remove existing .xcent #56
@@ -136,7 +136,7 @@ def briar_xtc_submit(device_set, profile, opts={})
136
136
 
137
137
  if opts[:dsym]
138
138
  args << '--dsym-file'
139
- args << opts[:dsym]
139
+ args << File.expand_path(opts[:dsym])
140
140
  end
141
141
 
142
142
  print_args = args.dup
@@ -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}'")
@@ -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
- unless ios8?
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,
@@ -1,3 +1,3 @@
1
1
  module Briar
2
- VERSION = '1.3.2'
2
+ VERSION = '1.4.1'
3
3
  end
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.3.2
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-07-13 00:00:00.000000000 Z
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.5
398
+ rubygems_version: 2.4.8
399
399
  signing_key:
400
400
  specification_version: 4
401
- summary: briar-1.3.2
401
+ summary: briar-1.4.1
402
402
  test_files: []
403
403
  has_rdoc: