TemplateInfo 0.0.2 → 0.0.3
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.
- data/README.md +16 -1
- data/TemplateInfo.gemspec +1 -1
- data/lib/TemplateInfo/version.rb +1 -1
- metadata +3 -3
- /data/bin/{tif_create.rb → tif_create} +0 -0
data/README.md
CHANGED
|
@@ -20,8 +20,23 @@ Or install it yourself as:
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
切换到对应目录:
|
|
24
24
|
|
|
25
|
+
$ tif_create
|
|
26
|
+
|
|
27
|
+
默认创建TemplateInfo.plist
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
当然,tif_create也可以接收1个参数,生成的文件名称
|
|
31
|
+
|
|
32
|
+
$ tif_create my.plist
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
**Note**
|
|
36
|
+
|
|
37
|
+
xcode 4的模板目录名是以**.xctemplate**结尾的。如base_ios.xctemplate,如果命名不规范不能执行。
|
|
38
|
+
|
|
39
|
+
|
|
25
40
|
## Contributing
|
|
26
41
|
|
|
27
42
|
1. Fork it
|
data/TemplateInfo.gemspec
CHANGED
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f|
|
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f|File.basename(f) }
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
|
data/lib/TemplateInfo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: TemplateInfo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -47,7 +47,7 @@ description: TemplateInfo.plist file creator
|
|
|
47
47
|
email:
|
|
48
48
|
- shiren1118@126.com
|
|
49
49
|
executables:
|
|
50
|
-
- tif_create
|
|
50
|
+
- tif_create
|
|
51
51
|
extensions: []
|
|
52
52
|
extra_rdoc_files: []
|
|
53
53
|
files:
|
|
@@ -58,7 +58,7 @@ files:
|
|
|
58
58
|
- README.md
|
|
59
59
|
- Rakefile
|
|
60
60
|
- TemplateInfo.gemspec
|
|
61
|
-
- bin/tif_create
|
|
61
|
+
- bin/tif_create
|
|
62
62
|
- lib/TemplateInfo.rb
|
|
63
63
|
- lib/TemplateInfo/version.rb
|
|
64
64
|
- test.xctemplate/.DS_Store
|
|
File without changes
|