BuildMaster 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +26 -0
- data/lib/buildmaster.rb +2 -1
- data/lib/buildmaster/build_number_file.rb +27 -0
- data/lib/buildmaster/buildnumber +1 -0
- data/lib/buildmaster/file_processor.rb +114 -25
- data/lib/buildmaster/java_manifest.rb +4 -0
- data/lib/buildmaster/{site.rb → site/site.rb} +11 -46
- data/lib/buildmaster/site/template/buildmaster.css +340 -0
- data/lib/buildmaster/site/template/buildmaster_template.xml +130 -0
- data/lib/buildmaster/site/template_builder.rb +276 -0
- data/lib/buildmaster/site_server.rb +33 -0
- data/lib/buildmaster/site_spec.rb +74 -22
- data/lib/buildmaster/site_tester.rb +14 -2
- data/lib/buildmaster/source_content.rb +11 -0
- data/lib/buildmaster/source_file_handler.rb +7 -2
- data/lib/buildmaster/svn_driver.rb +23 -11
- data/lib/buildmaster/template_exception.rb +8 -0
- data/lib/buildmaster/template_runner.rb +19 -86
- data/lib/buildmaster/templatelets.rb +23 -0
- data/lib/buildmaster/templatelets/attribute.rb +16 -0
- data/lib/buildmaster/templatelets/each.rb +43 -0
- data/lib/buildmaster/templatelets/href.rb +39 -0
- data/lib/buildmaster/templatelets/include.rb +30 -0
- data/lib/buildmaster/templatelets/link.rb +41 -0
- data/lib/buildmaster/templatelets/text.rb +14 -0
- data/lib/buildmaster/templatelets/when.rb +24 -0
- data/lib/buildmaster/tree_to_object.rb +76 -0
- data/lib/buildmaster/xtemplate.rb +10 -11
- data/test/buildmaster/manifest.mf +1 -1
- data/test/buildmaster/{content → site/content}/index.html +0 -0
- data/test/buildmaster/site/content/markdown.markdown +0 -0
- data/test/buildmaster/site/content/textile.textile +0 -0
- data/test/buildmaster/{tc_site.rb → site/tc_site.rb} +1 -1
- data/test/buildmaster/site/tc_template_builder.rb +128 -0
- data/test/buildmaster/tc_build_number_file.rb +31 -0
- data/test/buildmaster/tc_file_processor.rb +81 -14
- data/test/buildmaster/tc_site_spec.rb +26 -42
- data/test/buildmaster/tc_source_file_handler.rb +55 -0
- data/test/buildmaster/tc_template_runner.rb +42 -1
- data/test/buildmaster/tc_tree_to_object.rb +120 -0
- data/test/buildmaster/tc_xtemplate.rb +13 -233
- data/test/buildmaster/templatelets/common_templatelet_test.rb +27 -0
- data/test/buildmaster/templatelets/tc_attribute.rb +57 -0
- data/test/buildmaster/templatelets/tc_each.rb +69 -0
- data/test/buildmaster/templatelets/tc_href.rb +48 -0
- data/test/buildmaster/templatelets/tc_include.rb +34 -0
- data/test/buildmaster/templatelets/tc_link.rb +70 -0
- data/test/buildmaster/templatelets/tc_text.rb +36 -0
- data/test/buildmaster/templatelets/tc_when.rb +59 -0
- data/test/buildmaster/ts_site.rb +4 -0
- data/test/buildmaster/ts_templatelets.rb +10 -0
- data/test/tmp/output/index.html +8 -0
- data/test/tmp/output/markdown.html +8 -0
- data/test/tmp/output/textile.html +8 -0
- data/test/ts_buildmaster.rb +15 -3
- metadata +102 -53
data/test/ts_buildmaster.rb
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
$:.unshift(File.dirname(__FILE__))
|
2
2
|
require 'test/unit'
|
3
3
|
|
4
|
+
=begin
|
4
5
|
require 'buildmaster/tc_ant_driver'
|
6
|
+
require 'buildmaster/tc_build_number_file'
|
7
|
+
require 'buildmaster/tc_cvs_driver'
|
8
|
+
require 'buildmaster/tc_file_processor'
|
9
|
+
require 'buildmaster/tc_java_manifest'
|
5
10
|
require 'buildmaster/tc_release_control'
|
6
11
|
require 'buildmaster/tc_site_spec'
|
7
|
-
require 'buildmaster/
|
8
|
-
require 'buildmaster/tc_cvs_driver'
|
12
|
+
require 'buildmaster/tc_source_file_handler'
|
9
13
|
require 'buildmaster/tc_svn_driver'
|
10
14
|
require 'buildmaster/tc_template_runner'
|
15
|
+
require 'buildmaster/tc_tree_to_object'
|
11
16
|
require 'buildmaster/tc_xtemplate'
|
12
|
-
require 'buildmaster/
|
17
|
+
require 'buildmaster/ts_site'
|
18
|
+
require 'buildmaster/ts_templatelets'
|
19
|
+
=end
|
20
|
+
|
21
|
+
root = File.dirname(__FILE__)
|
22
|
+
Dir.glob("#{root}/**/tc_*.rb") do |file|
|
23
|
+
require "#{file}"
|
24
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.9.0
|
3
3
|
specification_version: 1
|
4
4
|
name: BuildMaster
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2006-07
|
8
|
-
summary:
|
9
|
-
releasing, and site building."
|
6
|
+
version: 0.8.0
|
7
|
+
date: 2006-08-08 00:00:00 -07:00
|
8
|
+
summary: A project that hosts a series of scripts to be used in project building, project releasing, and site building.
|
10
9
|
require_paths:
|
11
|
-
|
10
|
+
- lib
|
12
11
|
email: buildmaster@googlegroups.com
|
13
12
|
homepage: http://buildmaster.rubyforge.org/
|
14
13
|
rubyforge_project:
|
@@ -19,60 +18,110 @@ bindir: bin
|
|
19
18
|
has_rdoc: true
|
20
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
20
|
requirements:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
version: 0.0.0
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.0
|
26
24
|
version:
|
27
25
|
platform: ruby
|
26
|
+
signing_key:
|
27
|
+
cert_chain:
|
28
|
+
post_install_message:
|
28
29
|
authors:
|
29
|
-
|
30
|
+
- Shane
|
30
31
|
files:
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
32
|
+
- lib/buildmaster
|
33
|
+
- lib/buildmaster.rb
|
34
|
+
- lib/mock
|
35
|
+
- lib/mock.rb
|
36
|
+
- lib/buildmaster/ant_driver.rb
|
37
|
+
- lib/buildmaster/buildnumber
|
38
|
+
- lib/buildmaster/build_file.rb
|
39
|
+
- lib/buildmaster/build_number_file.rb
|
40
|
+
- lib/buildmaster/cvs_driver.rb
|
41
|
+
- lib/buildmaster/file_processor.rb
|
42
|
+
- lib/buildmaster/java_manifest.rb
|
43
|
+
- lib/buildmaster/release_control.rb
|
44
|
+
- lib/buildmaster/run_ant.rb
|
45
|
+
- lib/buildmaster/shell_command.rb
|
46
|
+
- lib/buildmaster/site
|
47
|
+
- lib/buildmaster/site_server.rb
|
48
|
+
- lib/buildmaster/site_spec.rb
|
49
|
+
- lib/buildmaster/site_tester.rb
|
50
|
+
- lib/buildmaster/source_content.rb
|
51
|
+
- lib/buildmaster/source_file_handler.rb
|
52
|
+
- lib/buildmaster/svn_driver.rb
|
53
|
+
- lib/buildmaster/templatelets
|
54
|
+
- lib/buildmaster/templatelets.rb
|
55
|
+
- lib/buildmaster/template_exception.rb
|
56
|
+
- lib/buildmaster/template_runner.rb
|
57
|
+
- lib/buildmaster/tree_to_object.rb
|
58
|
+
- lib/buildmaster/try.rb
|
59
|
+
- lib/buildmaster/xtemplate.rb
|
60
|
+
- lib/buildmaster/site/site.rb
|
61
|
+
- lib/buildmaster/site/template
|
62
|
+
- lib/buildmaster/site/template_builder.rb
|
63
|
+
- lib/buildmaster/site/template/buildmaster.css
|
64
|
+
- lib/buildmaster/site/template/buildmaster_template.xml
|
65
|
+
- lib/buildmaster/templatelets/attribute.rb
|
66
|
+
- lib/buildmaster/templatelets/each.rb
|
67
|
+
- lib/buildmaster/templatelets/href.rb
|
68
|
+
- lib/buildmaster/templatelets/include.rb
|
69
|
+
- lib/buildmaster/templatelets/link.rb
|
70
|
+
- lib/buildmaster/templatelets/text.rb
|
71
|
+
- lib/buildmaster/templatelets/when.rb
|
72
|
+
- lib/mock/mock_base.rb
|
73
|
+
- test/buildmaster
|
74
|
+
- test/tmp
|
75
|
+
- test/ts_buildmaster.rb
|
76
|
+
- test/buildmaster/build.xml
|
77
|
+
- test/buildmaster/manifest.mf
|
78
|
+
- test/buildmaster/site
|
79
|
+
- test/buildmaster/tc_ant_driver.rb
|
80
|
+
- test/buildmaster/tc_build_number_file.rb
|
81
|
+
- test/buildmaster/tc_cvs_driver.rb
|
82
|
+
- test/buildmaster/tc_file_processor.rb
|
83
|
+
- test/buildmaster/tc_java_manifest.rb
|
84
|
+
- test/buildmaster/tc_release_control.rb
|
85
|
+
- test/buildmaster/tc_site_spec.rb
|
86
|
+
- test/buildmaster/tc_source_file_handler.rb
|
87
|
+
- test/buildmaster/tc_svn_driver.rb
|
88
|
+
- test/buildmaster/tc_template_runner.rb
|
89
|
+
- test/buildmaster/tc_tree_to_object.rb
|
90
|
+
- test/buildmaster/tc_xtemplate.rb
|
91
|
+
- test/buildmaster/template.xhtml
|
92
|
+
- test/buildmaster/templatelets
|
93
|
+
- test/buildmaster/ts_site.rb
|
94
|
+
- test/buildmaster/ts_templatelets.rb
|
95
|
+
- test/buildmaster/site/content
|
96
|
+
- test/buildmaster/site/tc_site.rb
|
97
|
+
- test/buildmaster/site/tc_template_builder.rb
|
98
|
+
- test/buildmaster/site/content/index.html
|
99
|
+
- test/buildmaster/site/content/markdown.markdown
|
100
|
+
- test/buildmaster/site/content/textile.textile
|
101
|
+
- test/buildmaster/templatelets/common_templatelet_test.rb
|
102
|
+
- test/buildmaster/templatelets/tc_attribute.rb
|
103
|
+
- test/buildmaster/templatelets/tc_each.rb
|
104
|
+
- test/buildmaster/templatelets/tc_href.rb
|
105
|
+
- test/buildmaster/templatelets/tc_include.rb
|
106
|
+
- test/buildmaster/templatelets/tc_link.rb
|
107
|
+
- test/buildmaster/templatelets/tc_text.rb
|
108
|
+
- test/buildmaster/templatelets/tc_when.rb
|
109
|
+
- test/tmp/output
|
110
|
+
- test/tmp/output/index.html
|
111
|
+
- test/tmp/output/markdown.html
|
112
|
+
- test/tmp/output/textile.html
|
113
|
+
- README
|
70
114
|
test_files:
|
71
|
-
|
115
|
+
- test/ts_buildmaster.rb
|
72
116
|
rdoc_options: []
|
117
|
+
|
73
118
|
extra_rdoc_files:
|
74
|
-
|
119
|
+
- README
|
75
120
|
executables: []
|
121
|
+
|
76
122
|
extensions: []
|
123
|
+
|
77
124
|
requirements: []
|
78
|
-
|
125
|
+
|
126
|
+
dependencies: []
|
127
|
+
|