bwoken 2.1.0.rc.1 → 2.1.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/bwoken/cli.rb +1 -0
- data/lib/bwoken/cli/test.rb +1 -0
- data/lib/bwoken/device_runner.rb +2 -0
- data/lib/bwoken/script.rb +5 -0
- data/lib/bwoken/script_runner.rb +3 -0
- data/lib/bwoken/simulator_runner.rb +2 -0
- data/lib/bwoken/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ec9df87de909a7c75c84e09bac659fc6c123f81
|
4
|
+
data.tar.gz: e8d9e159fc2b9b72457df6d206ddd607af8be24e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d16a347ac8c6fe8c90f48ed662649f51a11b13607ce35af942a107d23b8d6ad406d31af398267fa2e069994b0ba3f5a0b4251a66c504000b26f3a352dc418e3
|
7
|
+
data.tar.gz: 5290ceef413ddc67ab80bac90b128726118a0e2be8228dbf72ee879446ccc0ea602e3ec7dfb4b7e9180837f5a0cac54c5e0ff05707f05a40b6fd65a4b9bf576d
|
data/README.md
CHANGED
@@ -104,6 +104,7 @@ Here's a list of all the switches that bwoken takes for the `test` command:
|
|
104
104
|
$ bwoken test -h
|
105
105
|
[...]
|
106
106
|
--simulator Use simulator, even when an iDevice is connected
|
107
|
+
--device Use given device (name or id)
|
107
108
|
--family Test only one device type, either ipad or iphone. Default is to test on both
|
108
109
|
--scheme Specify a custom scheme
|
109
110
|
--product-name Specify a custom product name (e.g. --product-name="My Product"). Default is the name of of the xcodeproj file
|
data/lib/bwoken/cli.rb
CHANGED
@@ -23,6 +23,7 @@ opts = Slop.parse :help => true do
|
|
23
23
|
banner Bwoken::CLI::Test.help_banner
|
24
24
|
|
25
25
|
on :simulator, 'Use simulator, even when an iDevice is connected', :default => false
|
26
|
+
on :device=, 'Use given device (name or id)', :default => nil
|
26
27
|
|
27
28
|
on :family=, 'Test only one device type, either ipad or iphone. Default is to test on both',
|
28
29
|
:match => /\A(?:ipad|iphone|all)\Z/i, :default => 'all'
|
data/lib/bwoken/cli/test.rb
CHANGED
data/lib/bwoken/device_runner.rb
CHANGED
@@ -6,6 +6,7 @@ module Bwoken
|
|
6
6
|
attr_accessor :focus
|
7
7
|
attr_accessor :formatter
|
8
8
|
attr_accessor :app_dir
|
9
|
+
attr_accessor :device
|
9
10
|
|
10
11
|
alias_method :feature_names, :focus
|
11
12
|
|
@@ -28,6 +29,7 @@ module Bwoken
|
|
28
29
|
s.device_family = device_family
|
29
30
|
s.formatter = formatter
|
30
31
|
s.app_dir = app_dir
|
32
|
+
s.device = device
|
31
33
|
end
|
32
34
|
end
|
33
35
|
end
|
data/lib/bwoken/script.rb
CHANGED
@@ -17,6 +17,7 @@ module Bwoken
|
|
17
17
|
attr_accessor :device_family
|
18
18
|
attr_accessor :formatter
|
19
19
|
attr_accessor :simulator
|
20
|
+
attr_accessor :device
|
20
21
|
attr_accessor :app_dir
|
21
22
|
|
22
23
|
def initialize
|
@@ -44,6 +45,10 @@ module Bwoken
|
|
44
45
|
end
|
45
46
|
|
46
47
|
def device_flag
|
48
|
+
if !device.nil?
|
49
|
+
return "-w \"#{device}\""
|
50
|
+
end
|
51
|
+
|
47
52
|
simulator ? '' : "-w #{Bwoken::Device.uuid}"
|
48
53
|
end
|
49
54
|
|
data/lib/bwoken/script_runner.rb
CHANGED
@@ -7,6 +7,7 @@ module Bwoken
|
|
7
7
|
attr_accessor :focus
|
8
8
|
attr_accessor :formatter
|
9
9
|
attr_accessor :simulator
|
10
|
+
attr_accessor :device
|
10
11
|
attr_accessor :app_dir
|
11
12
|
|
12
13
|
alias_method :feature_names, :focus
|
@@ -39,6 +40,7 @@ module Bwoken
|
|
39
40
|
sr.focus = focus
|
40
41
|
sr.formatter = formatter
|
41
42
|
sr.simulator = simulator
|
43
|
+
sr.device = device
|
42
44
|
sr.app_dir = app_dir
|
43
45
|
end
|
44
46
|
end
|
@@ -60,6 +62,7 @@ module Bwoken
|
|
60
62
|
dr.focus = focus
|
61
63
|
dr.formatter = formatter
|
62
64
|
dr.app_dir = app_dir
|
65
|
+
dr.device = device
|
63
66
|
end
|
64
67
|
end
|
65
68
|
|
@@ -7,6 +7,7 @@ module Bwoken
|
|
7
7
|
attr_accessor :focus
|
8
8
|
attr_accessor :formatter
|
9
9
|
attr_accessor :simulator
|
10
|
+
attr_accessor :device
|
10
11
|
attr_accessor :app_dir
|
11
12
|
attr_accessor :device_family
|
12
13
|
|
@@ -28,6 +29,7 @@ module Bwoken
|
|
28
29
|
s.device_family = device_family
|
29
30
|
s.formatter = formatter
|
30
31
|
s.simulator = simulator
|
32
|
+
s.device = device
|
31
33
|
s.app_dir = app_dir
|
32
34
|
end
|
33
35
|
end
|
data/lib/bwoken/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bwoken
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0.rc.
|
4
|
+
version: 2.1.0.rc.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Grzesiak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-script-source
|