run_loop 0.2.0.pre1 → 0.2.0

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: 66c76707e1efac45cad086d530b336d5c8dbc0f8
4
- data.tar.gz: ec3a98f2d12de1c8307a92eaf53a096127f0fb7c
3
+ metadata.gz: bb37a422c7461ffb6910fd4538530fde53388d47
4
+ data.tar.gz: 795c40b759a26c48faa6cd4c241867b13f890278
5
5
  SHA512:
6
- metadata.gz: a53a541435ec0f3c3e1f9bc360e8b366282f9a95d681cde17b6bbec38aaf2d780598ba6916041611ba1001aece7942da1567cfdf9c20c8063225fba291314520
7
- data.tar.gz: 538d79428b4362bda1e6a6c0a5774bd4164d7fe31e6f291ce2cc7718eac39fc10421d12b4785c2ccf457eec1e8dabb11f9f69ea93c65b3aa93a0f58aa02b2d2d
6
+ metadata.gz: 5a7d4024e4e3bae9d2d947ba75193d0d691b6d20507f58f5dcb3971f7b5152a492d38b473392462cfbdf12c8c8d1877cbb582e9d8e9ae2b180bf4dec0881e769
7
+ data.tar.gz: 982441d43dae33182477f7421f70ee064702bf99b254d6bbf2327c490ab1557140c731170bce138c7d41fdca74fc75acfcf1f35dee73d057a773ef5890c6752c
data/lib/run_loop/core.rb CHANGED
@@ -77,15 +77,9 @@ module RunLoop
77
77
  File.open(script, 'w') { |file| file.puts code }
78
78
 
79
79
 
80
- bundle_dir_or_bundle_id = options[:app] || ENV['BUNDLE_ID']|| ENV['APP_BUNDLE_PATH'] || ENV['APP']
81
-
82
- unless bundle_dir_or_bundle_id
83
- raise 'key :app or environment variable APP_BUNDLE_PATH, BUNDLE_ID or APP must be specified as path to app bundle (simulator) or bundle id (device)'
84
- end
85
-
86
80
  # Compute udid and bundle_dir / bundle_id from options and target depending on Xcode version
87
81
 
88
- udid, bundle_dir_or_bundle_id = udid_and_bundle_for_instruments(device_target, options)
82
+ udid, bundle_dir_or_bundle_id = udid_and_bundle_for_launcher(device_target, options)
89
83
 
90
84
  args = options.fetch(:args, [])
91
85
 
@@ -169,7 +163,7 @@ module RunLoop
169
163
  run_loop
170
164
  end
171
165
 
172
- def self.udid_and_bundle_for_instruments(device_target, options)
166
+ def self.udid_and_bundle_for_launcher(device_target, options)
173
167
  bundle_dir_or_bundle_id = options[:app] || ENV['BUNDLE_ID']|| ENV['APP_BUNDLE_PATH'] || ENV['APP']
174
168
 
175
169
  unless bundle_dir_or_bundle_id
@@ -1,3 +1,3 @@
1
1
  module RunLoop
2
- VERSION = '0.2.0.pre1'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: run_loop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-16 00:00:00.000000000 Z
11
+ date: 2014-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -85,9 +85,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>'
88
+ - - '>='
89
89
  - !ruby/object:Gem::Version
90
- version: 1.3.1
90
+ version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
93
  rubygems_version: 2.0.3