motion-list 1.0.1 → 1.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 +4 -4
- data/README.md +14 -0
- data/command/motion-list.rb +25 -0
- 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: 17129eb1bd7389145943c26f9bc9f099dec58ada
|
4
|
+
data.tar.gz: f897d933acca546246b9dadf58b358d34f20927c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfd347f228d341efcbfc323bb21b6c7da78b70c988a7e084b0d86992e65296afce49ee81a96b247df148552fd2a90cdccdbc70c4adf5827ef239c4d1028e94ab
|
7
|
+
data.tar.gz: 40a0026aa3304a493a9bd49f822cfa5ebbd52cb4b20c678553a727d461ca5765e31d98710253dce91e4ca15dd395143a9011fe4f8085d020988cf0a15c8d296e
|
data/README.md
CHANGED
@@ -40,6 +40,20 @@ Motion::Project::App.setup do |app|
|
|
40
40
|
end
|
41
41
|
```
|
42
42
|
|
43
|
+
### env
|
44
|
+
|
45
|
+
`list env` command shows the list of environment variables which are able to use in project.
|
46
|
+
|
47
|
+
```
|
48
|
+
$ motion list env
|
49
|
+
ARR_CYCLES_DISABLE : Disable the cycle detector in memory management.
|
50
|
+
DISABLE_CAPTURE : Disable capturing UI view with 'command key + mouse over' in REPL
|
51
|
+
args : To pass command-line arguments when launching the application. (ex 'rake args="-com.apple.CoreData.SQLDebug 1"')
|
52
|
+
background_fetch : Launch an application for background fetch in the iOS Simulator.
|
53
|
+
debug : Launch the debugger.
|
54
|
+
...
|
55
|
+
```
|
56
|
+
|
43
57
|
### simulator
|
44
58
|
|
45
59
|
`list simulator` command shows the list of simulator device types which you can use.
|
data/command/motion-list.rb
CHANGED
@@ -7,6 +7,7 @@ module Motion; class Command
|
|
7
7
|
HELP_MESSAGE =<<'END'
|
8
8
|
SUB-COMMAND
|
9
9
|
* codesigning - Show codesignings in Keychain
|
10
|
+
* env - Show environment variables which are able to use in project
|
10
11
|
* simulator - Show simulators
|
11
12
|
END
|
12
13
|
|
@@ -26,6 +27,8 @@ END
|
|
26
27
|
show_codesigning
|
27
28
|
when "simulator"
|
28
29
|
show_simulator
|
30
|
+
when "env"
|
31
|
+
show_env
|
29
32
|
else
|
30
33
|
help! HELP_MESSAGE
|
31
34
|
end
|
@@ -40,5 +43,27 @@ END
|
|
40
43
|
simctl = File.join(xcode_dir, 'Platforms/iPhoneSimulator.platform/Developer/usr/bin/simctl')
|
41
44
|
system "#{simctl} list"
|
42
45
|
end
|
46
|
+
|
47
|
+
def show_env
|
48
|
+
env = {
|
49
|
+
ARR_CYCLES_DISABLE: "Disable the cycle detector in memory management.",
|
50
|
+
DISABLE_CAPTURE: "Disable capturing UI view with 'command key + mouse over' in REPL",
|
51
|
+
mode: "Build mode. ('development' or 'release')",
|
52
|
+
jobs: "Number of concurrent jobs for compilation.",
|
53
|
+
background_fetch: "Launch an application for background fetch in the iOS Simulator.",
|
54
|
+
skip_build: "Run the app without recompiling.",
|
55
|
+
device_name: "Specify iOS simulater device. (ex 'iPad Air')",
|
56
|
+
target: "Specify iOS simulater version.",
|
57
|
+
install_only: "Just install the app. (ex 'rake device install_only=1')",
|
58
|
+
debug: "Launch the debugger.",
|
59
|
+
no_continue: "The debugger will not continue to the application. This should be used with 'debug'.",
|
60
|
+
output: "Specify output format in testing. (ex 'spec_dox', 'fast', 'test_unit', 'tap' and 'knock')",
|
61
|
+
args: "To pass command-line arguments when launching the application. (ex 'rake args=\"-com.apple.CoreData.SQLDebug 1\"')",
|
62
|
+
}
|
63
|
+
|
64
|
+
env.sort.each do |k, v|
|
65
|
+
puts sprintf("%20s : %s", k, v)
|
66
|
+
end
|
67
|
+
end
|
43
68
|
end
|
44
69
|
end; end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: '1.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This is RubyMotion plugin which provides various lists.
|
14
14
|
email:
|