briar 1.4.1 → 1.4.2

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: 4a5c8c4d925decf98885a6022f3b8a5a6323c06b
4
- data.tar.gz: a73d28e5cad86f50b7ec7923f1537cefda427c37
3
+ metadata.gz: 559bd060d9c3d45c956f799810004a8b3722a283
4
+ data.tar.gz: a52d4d9de04b6d31208c63b75b9af30f03fd6e21
5
5
  SHA512:
6
- metadata.gz: 6857a1fbf105cfb72bbc0a98a7ab5e49a26530df0277cf886a176a90077690d474ffbb0e72fde8b1f6cd53315ee6996420a2dd467ff924c5ecdfdabac64487c6
7
- data.tar.gz: c3d7bc51ed740813c412a96ace5da22daeb68f61abfde9a97dded834c9ec9b412555dd3ba99b1f8024b569519538232f8aec89f638c7b21e19e4830756897e1b
6
+ metadata.gz: faaa65b0a0cf151404839b34efb6a1d519dd257437bc7a19e012f4a1f4c2ce90732cb1f041f1fbdca6ff5e265112f2eda571eff1c07356a33949fe00e91b8267
7
+ data.tar.gz: a5f2c8e737192c7a9d077ba4a8b152c9db951adee05c236c79a8271daed78382a08c48ac97b34c1a3173f0dd8ff18583840caa7d4226d15fdf201a72edbec861
@@ -1,3 +1,8 @@
1
+ ### 1.4.2
2
+
3
+ * Allow priority option for xtc #63
4
+ * Allow run-loop gem dev on xtc #62
5
+
1
6
  ### 1.4.1
2
7
 
3
8
  * Treat iOS 8 as iOS 9 for alerts && sheets #58
@@ -15,10 +15,12 @@ def briar_xtc_submit(device_set, profile, opts={})
15
15
  :xtc_staging_dir => expect_xtc_staging_dir(),
16
16
  :briar_dev => ENV['XTC_BRIAR_GEM_DEV'] == '1',
17
17
  :calabash_dev => ENV['XTC_CALABASH_GEM_DEV'] == '1',
18
+ :run_loop_dev => ENV['XTC_RUN_LOOP_GEM_DEV'] == '1',
18
19
  :async_submit => ENV['XTC_WAIT_FOR_RESULTS'] == '0',
19
20
  :series => ENV['XTC_SERIES'],
20
21
  :user => ENV['XTC_USER'],
21
22
  :dsym => ENV['XTC_DSYM'],
23
+ :priority => ENV['XTC_HIGH_PRIORITY'] == '1',
22
24
  :rebuild => true}
23
25
 
24
26
  opts = default_opts.merge(opts)
@@ -51,11 +53,34 @@ def briar_xtc_submit(device_set, profile, opts={})
51
53
  # end
52
54
 
53
55
  if opts[:calabash_dev]
54
- calabash_path = `bundle show calabash-cucumber`.strip
55
- system('gem uninstall -Vax --force --no-abort-on-dependent calabash-cucumber',
56
- :err => '/dev/null')
56
+ cmd = 'bundle show calabash-cucumber'
57
+ puts Rainbow("EXEC: #{cmd}").cyan
58
+ calabash_path = `#{cmd}`.strip
59
+
60
+ cmd = 'gem uninstall -Vax --force --no-abort-on-dependent calabash-cucumber'
61
+ puts Rainbow("EXEC: #{cmd}").cyan
62
+ system(*cmd.split(' '), :err => '/dev/null')
63
+ puts Rainbow("EXEC: cd #{calabash_path}").cyan
64
+
57
65
  Dir.chdir(File.expand_path(calabash_path)) do
58
- system 'rake install'
66
+ puts Rainbow('EXEC: rake install').cyan
67
+ system('rake', 'install')
68
+ end
69
+ end
70
+
71
+ if opts[:run_loop_dev]
72
+ cmd = 'bundle show run_loop'
73
+ puts Rainbow("EXEC: #{cmd}").cyan
74
+ run_loop_path = `#{cmd}`.strip
75
+
76
+ cmd = 'gem uninstall -Vax --force --no-abort-on-dependent run_loop'
77
+ system(*cmd.split(' '), :err => '/dev/null')
78
+ puts Rainbow("EXEC: #{cmd}").cyan
79
+
80
+ puts Rainbow("EXEC: cd #{run_loop_path}").cyan
81
+ Dir.chdir(File.expand_path(run_loop_path)) do
82
+ puts Rainbow('EXEC: rake install').cyan
83
+ system('rake', 'install')
59
84
  end
60
85
  end
61
86
 
@@ -111,6 +136,11 @@ def briar_xtc_submit(device_set, profile, opts={})
111
136
  wait = '--no-async'
112
137
  end
113
138
 
139
+ priority = nil
140
+ if opts[:priority]
141
+ priority = '--priority'
142
+ end
143
+
114
144
  ipa = File.expand_path(expect_ipa(opts[:ipa]))
115
145
 
116
146
  args = [
@@ -120,9 +150,13 @@ def briar_xtc_submit(device_set, profile, opts={})
120
150
  '-d', device_set,
121
151
  '-c', 'cucumber.yml',
122
152
  '-p', profile,
123
- wait
153
+ wait,
124
154
  ]
125
155
 
156
+ if priority
157
+ args << priority
158
+ end
159
+
126
160
  user = opts[:user]
127
161
  if user
128
162
  args << '--user'
@@ -51,7 +51,6 @@ Gem::Specification.new do |gem|
51
51
  gem.add_development_dependency('guard-rspec', '~> 4.3')
52
52
  gem.add_development_dependency('guard-bundler', '~> 2.0')
53
53
  gem.add_development_dependency('growl', '~> 1.0')
54
- gem.add_development_dependency('rb-readline', '~> 0.5')
55
54
  gem.add_development_dependency('pry')
56
55
  gem.add_development_dependency('pry-nav')
57
56
 
@@ -1,3 +1,3 @@
1
1
  module Briar
2
- VERSION = '1.4.1'
2
+ VERSION = '1.4.2'
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.4.1
4
+ version: 1.4.2
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-09-16 00:00:00.000000000 Z
11
+ date: 2015-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbx-require-relative
@@ -240,20 +240,6 @@ dependencies:
240
240
  - - "~>"
241
241
  - !ruby/object:Gem::Version
242
242
  version: '1.0'
243
- - !ruby/object:Gem::Dependency
244
- name: rb-readline
245
- requirement: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - "~>"
248
- - !ruby/object:Gem::Version
249
- version: '0.5'
250
- type: :development
251
- prerelease: false
252
- version_requirements: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - "~>"
255
- - !ruby/object:Gem::Version
256
- version: '0.5'
257
243
  - !ruby/object:Gem::Dependency
258
244
  name: pry
259
245
  requirement: !ruby/object:Gem::Requirement
@@ -398,6 +384,6 @@ rubyforge_project:
398
384
  rubygems_version: 2.4.8
399
385
  signing_key:
400
386
  specification_version: 4
401
- summary: briar-1.4.1
387
+ summary: briar-1.4.2
402
388
  test_files: []
403
389
  has_rdoc: