briar 0.1.4.b3 → 0.1.4

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: a577332d9df3ff0d76db71cf7b20857232efc484
4
- data.tar.gz: e052d86a88833d4fa4d360a107fa21bcd04bfefa
3
+ metadata.gz: 09516ce7cc4053b61181b7020640ec5e8eb56197
4
+ data.tar.gz: 6dccce4b4d6a6b4005bd759692a4bfbc504480a3
5
5
  SHA512:
6
- metadata.gz: c342b65206847c4c94012aac5a820f17b6129bd4468c97a751c6975f11ae491dd918c57bc7222f0254310c87f7ad20402242679774679746f164bcc7c84b089f
7
- data.tar.gz: 71f8cd3c7b29b7c0f318431b27a77d30ba12426e589deda391cf61d1221998feadaf57a3b4f995c3032517899aa313af78d1fa4c2394a9148d49c8c1063a1e36
6
+ metadata.gz: 21739bce97568865e704bf26b7ac74e1724471b5079e67048e025cdca52b2968b8a263b33a8378c763f4184ab597ce2cc3deae8e5cf9d9edf4d5f11a21bb42c6
7
+ data.tar.gz: 5c5554f0fbfb4e89f56ad71ac87634c83b9b3c69499e9b8d339a5c8cc89f4bf772889f7d5c6887c6ca9bf3e0c1f37e339d443046ccf2bb83cfb42daef9291b44
data/bin/briar_install.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require_relative 'briar_help'
2
2
  require_relative 'briar_dot_xamarin'
3
3
  require_relative 'briar_ideviceinstaller'
4
+ require 'pry'
4
5
 
5
6
  require 'ansi/logger'
6
7
  @log = ANSI::Logger.new(STDOUT)
@@ -71,7 +72,8 @@ def briar_install_calabash_server
71
72
  version_file = File.read("#{server_dir}/calabash/Classes/FranklyServer/Routes/LPVersionRoute.h")
72
73
  tokens = version_file.split(/define kLPCALABASHVERSION/)
73
74
  line = tokens[1].split("\n").first
74
- version = line.tr('^A-Za-z0-9.\-\_', '')
75
+ version_part = line.split(' ').last
76
+ version = version_part.tr('^A-Za-z0-9.\-\_', '')
75
77
 
76
78
  puts "building calabash server using 'rake build_server'"
77
79
  system("cd #{gem_dir}; rake build_server")
data/bin/briar_sim.rb CHANGED
@@ -24,16 +24,21 @@ def default_simulated_device
24
24
  raise "could not find '#{res}' in hash values '#{simulator_hash()}'"
25
25
  end
26
26
 
27
+ # returns the xcode developer dir using xcode-select
28
+ def xcode_developer_dir
29
+ `xcode-select --print-path`.chomp
30
+ end
31
+
27
32
  # kills the simulator if it is running
28
33
  #
29
34
  # uses Apple Script
30
35
  def kill_simulator
31
- dev_dir = ENV['DEVELOPER_DIR']
36
+ dev_dir = xcode_developer_dir
32
37
  system "/usr/bin/osascript -e 'tell application \"#{dev_dir}/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app\" to quit'"
33
38
  end
34
39
 
35
40
  def open_simulator
36
- dev_dir = ENV['DEVELOPER_DIR']
41
+ dev_dir = xcode_developer_dir
37
42
  system "/usr/bin/osascript -e 'tell application \"#{dev_dir}/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app\" to activate'"
38
43
  end
39
44
 
data/briar.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
26
26
  gem.required_ruby_version = '>= 1.8.7'
27
27
 
28
28
  gem.add_runtime_dependency 'rbx-require-relative', '~> 0.0.9'
29
- gem.add_runtime_dependency 'calabash-cucumber', '~> 0.9.168'
29
+ gem.add_runtime_dependency 'calabash-cucumber', '0.9.168'
30
30
  gem.add_runtime_dependency 'rake', '~>10.1'
31
31
  gem.add_runtime_dependency 'dotenv', '~> 0.9.0'
32
32
  gem.add_runtime_dependency 'ansi', '~> 1.4.3'
@@ -40,7 +40,7 @@ World(Briar::Page::Helpers)
40
40
  # XTC job submission.
41
41
  #
42
42
  # see the xamarin-build.sh script
43
- unless ENV['XAMARIN_TEST_CLOUD'] == '1'
43
+ unless ENV['XAMARIN_TEST_CLOUD'] == '1' or ENV['NO_BRIAR_PREDEFINED_STEPS'] == '1'
44
44
  require_relative '../../features/step_definitions/alerts_and_sheets/action_sheet_steps'
45
45
  require_relative '../../features/step_definitions/alerts_and_sheets/alert_view_steps'
46
46
 
data/lib/briar/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Briar
2
- VERSION = '0.1.4.b3'
2
+ VERSION = '0.1.4'
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: 0.1.4.b3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Moody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-01 00:00:00.000000000 Z
11
+ date: 2014-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbx-require-relative
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: calabash-cucumber
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.9.168
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.9.168
41
41
  - !ruby/object:Gem::Dependency
@@ -219,15 +219,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
219
  version: 1.8.7
220
220
  required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  requirements:
222
- - - '>'
222
+ - - '>='
223
223
  - !ruby/object:Gem::Version
224
- version: 1.3.1
224
+ version: '0'
225
225
  requirements: []
226
226
  rubyforge_project:
227
227
  rubygems_version: 2.2.2
228
228
  signing_key:
229
229
  specification_version: 4
230
- summary: briar-0.1.4.b3
230
+ summary: briar-0.1.4
231
231
  test_files:
232
232
  - spec/spec_helper.rb
233
- has_rdoc: