file-timestamp 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/timestamp +1 -1
- metadata +24 -38
data/bin/timestamp
CHANGED
@@ -41,7 +41,7 @@ begin
|
|
41
41
|
|
42
42
|
opts.on('--pretty', "格式化输出") { option[:pretty] = true }
|
43
43
|
opts.on('--template <template>', '指定模板文本,内容占位符为#output#,如--template ";var json=#output#;"') { |template| option[:template] = template}
|
44
|
-
opts.on("--include x,y,z", Array, "要输出时间戳的文件扩展名,默认--include .js,.css") { |include_ext| option[:include_ext]
|
44
|
+
opts.on("--include x,y,z", Array, "要输出时间戳的文件扩展名,默认--include .js,.css") { |include_ext| option[:include_ext] = include_ext }
|
45
45
|
opts.on("--exclude x,y,z", Array, "要排除的目录,默认--exlude .svn,.git") { |exclude_dir| option[:exclude_dir].concat exclude_dir }
|
46
46
|
opts.on("--seajs", "使用默认的seajs模板"){option[:template] = ";define('timestamp', function(require, exports, module) {\n module.exports =#output#\n});" }
|
47
47
|
end.parse!
|
metadata
CHANGED
@@ -1,62 +1,48 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: file-timestamp
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Zhong Xingdou
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2012-09-27 00:00:00 +08:00
|
18
|
-
default_executable:
|
12
|
+
date: 2012-09-27 00:00:00.000000000 Z
|
19
13
|
dependencies: []
|
14
|
+
description: ! ' output timestamp of directory for web front-end developer
|
20
15
|
|
21
|
-
|
16
|
+
'
|
22
17
|
email: zhongxingdou@gmail.com
|
23
|
-
executables:
|
18
|
+
executables:
|
24
19
|
- timestamp
|
25
20
|
extensions: []
|
26
|
-
|
27
21
|
extra_rdoc_files: []
|
28
|
-
|
29
|
-
files:
|
22
|
+
files:
|
30
23
|
- bin/timestamp
|
31
|
-
has_rdoc: true
|
32
24
|
homepage:
|
33
25
|
licenses: []
|
34
|
-
|
35
26
|
post_install_message:
|
36
27
|
rdoc_options: []
|
37
|
-
|
38
|
-
require_paths:
|
28
|
+
require_paths:
|
39
29
|
- lib
|
40
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
requirements:
|
49
|
-
- -
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
|
52
|
-
- 0
|
53
|
-
version: "0"
|
30
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
54
42
|
requirements: []
|
55
|
-
|
56
43
|
rubyforge_project:
|
57
|
-
rubygems_version: 1.
|
44
|
+
rubygems_version: 1.8.24
|
58
45
|
signing_key:
|
59
46
|
specification_version: 3
|
60
47
|
summary: output timestamp of directory for web front-end developer
|
61
48
|
test_files: []
|
62
|
-
|