gigantron 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/Manifest.txt +3 -0
- data/gigantron_generators/mapreduce_task/templates/mapreduce/mr_task.rb +1 -1
- data/gigantron_generators/mapreduce_task/templates/tasks/task.rake +1 -1
- data/gigantron_generators/mapreduce_task/templates/test/tasks/test_task.rb +1 -1
- data/gigantron_generators/model/model_generator.rb +2 -0
- data/gigantron_generators/model/templates/models/model.rb +1 -1
- data/gigantron_generators/model/templates/test/models/test_model.rb +1 -1
- data/gigantron_generators/task/templates/test/tasks/test_task.rb +1 -1
- data/lib/gigantron/version.rb +1 -1
- data/test/template_database.yml +9 -0
- data/test/template_database.yml.example +9 -0
- data/test/template_migration.rb +16 -0
- data/test/test_model_generator.rb +5 -0
- data/website/index.html +3 -3
- data/website/index.txt +1 -1
- metadata +5 -2
data/History.txt
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
== 0.1.1 2008-06-19
|
2
|
+
* 1 minor enhancement:
|
3
|
+
* Migrations are now created with model
|
4
|
+
* 1 major bugfix:
|
5
|
+
* use camelcase instead of capitalize in code generators
|
6
|
+
== 0.1.0 2008-06-18
|
7
|
+
|
8
|
+
* Millions of major enhancements:
|
9
|
+
* Now uses ActiveRecord
|
10
|
+
* Better tests
|
1
11
|
== 0.0.1 2008-05-31
|
2
12
|
|
3
13
|
* 1 major enhancement:
|
data/Manifest.txt
CHANGED
@@ -44,6 +44,9 @@ setup.rb
|
|
44
44
|
tasks/deployment.rake
|
45
45
|
tasks/environment.rake
|
46
46
|
tasks/website.rake
|
47
|
+
test/template_database.yml
|
48
|
+
test/template_database.yml.example
|
49
|
+
test/template_migration.rb
|
47
50
|
test/test_generator_helper.rb
|
48
51
|
test/test_gigantron.rb
|
49
52
|
test/test_gigantron_generator.rb
|
data/lib/gigantron/version.rb
CHANGED
@@ -34,6 +34,11 @@ class TestModelGenerator < Test::Unit::TestCase
|
|
34
34
|
assert_directory_exists "test/"
|
35
35
|
assert_directory_exists "test/models/"
|
36
36
|
assert_generated_file "test/models/test_foo_baz.rb"
|
37
|
+
|
38
|
+
#check migration
|
39
|
+
assert_directory_exists "db/"
|
40
|
+
assert_directory_exists "db/migrate/"
|
41
|
+
assert_generated_file "db/migrate/001_create_foo_bazs.rb"
|
37
42
|
end
|
38
43
|
|
39
44
|
private
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>Gigantron: Processor of Data</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/gigantron"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/gigantron" class="numbers">0.1.
|
36
|
+
<a href="http://rubyforge.org/projects/gigantron" class="numbers">0.1.1</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘gigantron’</h1>
|
39
39
|
|
@@ -152,7 +152,7 @@ a file like</p>
|
|
152
152
|
|
153
153
|
|
154
154
|
<p><pre class='syntax'>
|
155
|
-
<span class="keyword">class </span><span class="class">Test</span><span class="punct"><%=</span><span class="string"> name.
|
155
|
+
<span class="keyword">class </span><span class="class">Test</span><span class="punct"><%=</span><span class="string"> name.camelcase %> < Test::Unit::TestCase
|
156
156
|
...
|
157
157
|
end<span class="normal">
|
158
158
|
</span></span></pre></p>
|
@@ -202,7 +202,7 @@ rake install_gem</pre>
|
|
202
202
|
|
203
203
|
<p>Comments are welcome. Send an email to <a href="mailto:ben@pixelmachine.org">Ben Hughes</a></p>
|
204
204
|
<p class="coda">
|
205
|
-
<a href="ben@pixelmachine.org">Ben Hughes</a>,
|
205
|
+
<a href="ben@pixelmachine.org">Ben Hughes</a>, 19th June 2008<br>
|
206
206
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
207
207
|
</p>
|
208
208
|
</div>
|
data/website/index.txt
CHANGED
@@ -103,7 +103,7 @@ The same value is available to your templates as just @name@. You can template
|
|
103
103
|
a file like
|
104
104
|
|
105
105
|
<pre syntax="ruby">
|
106
|
-
class Test<%%= name.
|
106
|
+
class Test<%%= name.camelcase %> < Test::Unit::TestCase
|
107
107
|
...
|
108
108
|
end
|
109
109
|
</pre>
|
metadata
CHANGED
@@ -81,6 +81,9 @@ files:
|
|
81
81
|
- tasks/deployment.rake
|
82
82
|
- tasks/environment.rake
|
83
83
|
- tasks/website.rake
|
84
|
+
- test/template_database.yml
|
85
|
+
- test/template_database.yml.example
|
86
|
+
- test/template_migration.rb
|
84
87
|
- test/test_generator_helper.rb
|
85
88
|
- test/test_gigantron.rb
|
86
89
|
- test/test_gigantron_generator.rb
|
@@ -105,7 +108,7 @@ rubygems_version: 1.1.1
|
|
105
108
|
requirements: []
|
106
109
|
authors:
|
107
110
|
- Ben Hughes
|
108
|
-
date: 2008-06-
|
111
|
+
date: 2008-06-19 04:00:00 +00:00
|
109
112
|
platform: ruby
|
110
113
|
test_files:
|
111
114
|
- test/test_model_generator.rb
|
@@ -117,7 +120,7 @@ test_files:
|
|
117
120
|
- test/test_gigantron.rb
|
118
121
|
- test/test_generator_helper.rb
|
119
122
|
version: !ruby/object:Gem::Version
|
120
|
-
version: 0.1.
|
123
|
+
version: 0.1.1
|
121
124
|
require_paths:
|
122
125
|
- lib
|
123
126
|
dependencies: []
|