l5m-tools 0.0.10 → 0.0.11
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/VERSION +1 -1
- data/l5m-tools.gemspec +2 -2
- data/lib/l5m-tools/application.rb +13 -1
- data/lib/l5m-tools/template/Template.jsp +425 -425
- data/lib/l5m-tools/template/frt.jsp +400 -404
- data/lib/l5m-tools/template/ms2.jsp +403 -403
- data/lib/l5m-tools/template/rad.jsp +400 -400
- data/lib/l5m-tools/template/ttv2.jsp +645 -648
- metadata +11 -11
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.11
|
data/l5m-tools.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "l5m-tools"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.11"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["RONGHAI"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2014-01-23"
|
13
13
|
s.description = "A tool set for Lake5Media and QingheTech developer"
|
14
14
|
s.email = "ronghai.wei@outlook.com"
|
15
15
|
s.executables = ["duplicate-app", "l5m", "make-app", "set_env.sh", "svn.tool"]
|
@@ -19,7 +19,19 @@ module L5MTools
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
22
|
-
end
|
22
|
+
end
|
23
|
+
#read file list from file and delete them
|
24
|
+
def del(*args)
|
25
|
+
replacements = {args[1] => args[2]}
|
26
|
+
File.open(args[0], "r") do |infile|
|
27
|
+
while (line = infile.gets)
|
28
|
+
line = line.chomp.strip
|
29
|
+
if line.length > 0 && line[0] != '#'
|
30
|
+
FileUtils.rm(line, :force => true)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
23
35
|
def make_app(package, application, use_base_worker, &block)
|
24
36
|
application[0] = application[0].capitalize
|
25
37
|
replacements = {
|