pattern 0.9.0 → 0.9.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.
- data/DOCS/todolist.txt +1 -1
- data/README +3 -3
- data/README.cn +3 -3
- data/lib/version.rb +3 -3
- data/pattern-0.9.0.gem +0 -0
- data/pattern.gemspec +18 -19
- metadata +8 -8
data/DOCS/todolist.txt
CHANGED
data/README
CHANGED
@@ -7,7 +7,7 @@ Good tools for learning Pattern/Data Structure.
|
|
7
7
|
== Useage
|
8
8
|
|
9
9
|
simple model
|
10
|
-
*pattern [
|
10
|
+
*pattern [tempate_dir] [main_class_name] [-d target_dir]
|
11
11
|
*pattern [-t tempate_dir] [-d target_dir("." is default)] [-c classes_name] [-op operations_name]
|
12
12
|
complex model (not support now.)
|
13
13
|
*pattern -f pattern_file
|
@@ -15,8 +15,8 @@ complex model (not support now.)
|
|
15
15
|
== example:
|
16
16
|
|
17
17
|
simple model:
|
18
|
-
*pattern
|
19
|
-
*pattern -t ruby.composite -d target -c Task;compositeTask;AddDryIngredientsTask,MixTask;MakeBatterTask -op execute
|
18
|
+
* pattern ruby.composite Task -d target
|
19
|
+
* pattern -t ruby.composite -d target -c Task;compositeTask;AddDryIngredientsTask,MixTask;MakeBatterTask -op execute
|
20
20
|
complex model(pattern_file):
|
21
21
|
|
22
22
|
== Future
|
data/README.cn
CHANGED
@@ -3,15 +3,15 @@
|
|
3
3
|
|
4
4
|
== Useage
|
5
5
|
简单模式
|
6
|
-
pattern [
|
6
|
+
pattern [tempate_dir] [main_class_name] [-d target_dir]
|
7
7
|
pattern [-t tempate_dir] [-d target_dir("." is default)] [-c classes_name] [-op operations_name]
|
8
8
|
复杂模式 (未支持)
|
9
9
|
pattern -f pattern_file
|
10
10
|
|
11
11
|
== 命令示例:
|
12
12
|
简单模式:
|
13
|
-
pattern
|
14
|
-
pattern -t ruby.composite -d target -c Task;compositeTask;AddDryIngredientsTask,MixTask;MakeBatterTask -op execute
|
13
|
+
* pattern ruby.composite Task -d target
|
14
|
+
* pattern -t ruby.composite -d target -c Task;compositeTask;AddDryIngredientsTask,MixTask;MakeBatterTask -op execute
|
15
15
|
复杂模式(pattern_file):
|
16
16
|
|
17
17
|
== 未来工作
|
data/lib/version.rb
CHANGED
data/pattern-0.9.0.gem
ADDED
Binary file
|
data/pattern.gemspec
CHANGED
@@ -1,27 +1,26 @@
|
|
1
1
|
require 'rake'
|
2
|
-
|
2
|
+
Gem::Specification.new do |spec|
|
3
3
|
#-----------------------------
|
4
4
|
# Package information
|
5
5
|
#-----------------------------
|
6
|
-
spec.name = 'pattern'
|
7
|
-
spec.version = '0.9.
|
8
|
-
spec.executables << 'pattern'
|
9
|
-
spec.has_rdoc = true
|
10
|
-
spec.rdoc_options << '--title' << 'Pattern' <<
|
11
|
-
|
12
|
-
spec.rubyforge_project = 'pattern'
|
13
|
-
spec.homepage = '
|
14
|
-
spec.files = FileList['lib/*.rb', 'bin/*', '[A-Z]*', 'test/*','templates/**/*','etc/*','DOCS/*'].to_a
|
15
|
-
spec.test_files = Dir.glob('test/*_spec.rb')
|
16
|
-
spec.summary = 'auto code tools.'
|
17
|
-
spec.description = <<-EOF
|
18
|
-
|
19
|
-
EOF
|
6
|
+
spec.name = 'pattern'
|
7
|
+
spec.version = '0.9.1'
|
8
|
+
spec.executables << 'pattern'
|
9
|
+
spec.has_rdoc = true
|
10
|
+
spec.rdoc_options << '--title' << 'Pattern' <<
|
11
|
+
'--line-numbers'
|
12
|
+
spec.rubyforge_project = 'pattern'
|
13
|
+
spec.homepage = 'https://github.com/azhao1981/pattern'
|
14
|
+
spec.files = FileList['lib/*.rb', 'bin/*', '[A-Z]*', 'test/*','templates/**/*','etc/*','DOCS/*'].to_a
|
15
|
+
spec.test_files = Dir.glob('test/*_spec.rb')
|
16
|
+
spec.summary = 'auto code tools.'
|
17
|
+
spec.description = <<-EOF
|
18
|
+
Tool for coding/learning pattern/data structure
|
19
|
+
EOF
|
20
20
|
#-----------------------------
|
21
21
|
# Author information
|
22
22
|
#-----------------------------
|
23
|
-
spec.author = 'weizhao'
|
24
|
-
spec.email = 'azhao.1981@gmail.com'
|
25
|
-
|
26
|
-
|
23
|
+
spec.author = 'weizhao'
|
24
|
+
spec.email = 'azhao.1981@gmail.com'
|
25
|
+
end
|
27
26
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pattern
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 57
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 1
|
10
|
+
version: 0.9.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- weizhao
|
@@ -15,11 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-06 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
22
|
-
description: " Tool for coding/learning pattern/data structure\n"
|
22
|
+
description: "\t Tool for coding/learning pattern/data structure\n"
|
23
23
|
email: azhao.1981@gmail.com
|
24
24
|
executables:
|
25
25
|
- pattern
|
@@ -53,7 +53,7 @@ files:
|
|
53
53
|
- etc/templates_path.conf
|
54
54
|
- DOCS/todolist.txt
|
55
55
|
has_rdoc: true
|
56
|
-
homepage:
|
56
|
+
homepage: https://github.com/azhao1981/pattern
|
57
57
|
licenses: []
|
58
58
|
|
59
59
|
post_install_message:
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements: []
|
85
85
|
|
86
86
|
rubyforge_project: pattern
|
87
|
-
rubygems_version: 1.
|
87
|
+
rubygems_version: 1.4.1
|
88
88
|
signing_key:
|
89
89
|
specification_version: 3
|
90
90
|
summary: auto code tools.
|