haml_formtastic_scaffold 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +12 -12
- data/README.rdoc +1 -1
- data/Rakefile +6 -14
- data/generators/{haml_scaffold/haml_scaffold_generator.rb → haml_formtastic_scaffold/haml_formtastic_scaffold_generator.rb} +1 -1
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/_form.html.haml.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/_object.html.haml.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/controller.rb.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/helper.rb.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/layout.html.haml.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/stylesheet.sass +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/view_edit.html.haml.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/view_index.html.haml.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/view_new.html.haml.erb +0 -0
- data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/view_show.html.haml.erb +0 -0
- data/lib/{haml_scaffold → haml_formtastic_scaffold}/version.rb +0 -0
- metadata +14 -13
data/Manifest.txt
CHANGED
@@ -3,19 +3,19 @@ MIT-LICENSE
|
|
3
3
|
Manifest.txt
|
4
4
|
README.rdoc
|
5
5
|
Rakefile
|
6
|
-
generators/
|
7
|
-
generators/
|
8
|
-
generators/
|
9
|
-
generators/
|
10
|
-
generators/
|
11
|
-
generators/
|
12
|
-
generators/
|
13
|
-
generators/
|
14
|
-
generators/
|
15
|
-
generators/
|
16
|
-
generators/
|
6
|
+
generators/haml_formtastic_scaffold/haml_formtastic_scaffold_generator.rb
|
7
|
+
generators/haml_formtastic_scaffold/templates/_form.html.haml.erb
|
8
|
+
generators/haml_formtastic_scaffold/templates/_object.html.haml.erb
|
9
|
+
generators/haml_formtastic_scaffold/templates/controller.rb.erb
|
10
|
+
generators/haml_formtastic_scaffold/templates/helper.rb.erb
|
11
|
+
generators/haml_formtastic_scaffold/templates/layout.html.haml.erb
|
12
|
+
generators/haml_formtastic_scaffold/templates/stylesheet.sass
|
13
|
+
generators/haml_formtastic_scaffold/templates/view_edit.html.haml.erb
|
14
|
+
generators/haml_formtastic_scaffold/templates/view_index.html.haml.erb
|
15
|
+
generators/haml_formtastic_scaffold/templates/view_new.html.haml.erb
|
16
|
+
generators/haml_formtastic_scaffold/templates/view_show.html.haml.erb
|
17
17
|
init.rb
|
18
|
-
lib/
|
18
|
+
lib/haml_formtastic_scaffold/version.rb
|
19
19
|
samples/posts_controller.rb
|
20
20
|
samples/views/_form.html.haml
|
21
21
|
samples/views/_post.html.haml
|
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -1,24 +1,16 @@
|
|
1
1
|
require 'newgem'
|
2
|
-
require File.dirname(__FILE__) + "/lib/
|
3
|
-
$hoe = Hoe.new("
|
2
|
+
require File.dirname(__FILE__) + "/lib/haml_formtastic_scaffold/version"
|
3
|
+
$hoe = Hoe.new("haml_formtastic_scaffold", HamlScaffold::Version::STRING) do |p|
|
4
4
|
p.rubyforge_name = "haml-scaffold"
|
5
|
-
p.author = ['
|
6
|
-
p.email = ['
|
7
|
-
p.summary = "Rails scaffolding with Haml rather than ERB"
|
5
|
+
p.author = ['Matt Soldo']
|
6
|
+
p.email = ['haml_scaffold@soldo.org']
|
7
|
+
p.summary = "Rails scaffolding with Haml and Formtastic rather than ERB"
|
8
8
|
p.description = "Rails scaffolding with Haml rather than ERB, and various other improvements."
|
9
9
|
p.url = 'http://haml-scaffold.rubyforge.org/'
|
10
10
|
p.extra_deps << ['haml', '>= 2.0.6']
|
11
11
|
p.extra_deps << ['will_paginate', '>= 2.2.2']
|
12
|
-
p.extra_deps << ['
|
12
|
+
p.extra_deps << ['formtastic', '>= 0.9.8']
|
13
13
|
p.extra_dev_deps << ['newgem', ">= #{::Newgem::VERSION}"]
|
14
14
|
p.remote_rdoc_dir = "/"
|
15
15
|
end
|
16
16
|
require 'newgem/tasks'
|
17
|
-
|
18
|
-
desc 'Publish RDoc to RubyForge.'
|
19
|
-
task :publish_docs => [:clean, :docs] do
|
20
|
-
host = "compay@rubyforge.org"
|
21
|
-
remote_dir = "/var/www/gforge-projects/haml-scaffold"
|
22
|
-
local_dir = 'doc'
|
23
|
-
sh %{rsync -av --delete #{local_dir}/ #{host}:#{remote_dir}}
|
24
|
-
end
|
@@ -72,7 +72,7 @@ class HamlScaffoldGenerator < Rails::Generator::NamedBase
|
|
72
72
|
protected
|
73
73
|
# Override with your own usage banner.
|
74
74
|
def banner
|
75
|
-
"Usage: #{$0}
|
75
|
+
"Usage: #{$0} haml_formtastic_scaffold ModelName [field:type, field:type]"
|
76
76
|
end
|
77
77
|
|
78
78
|
def add_options!(opt)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/view_edit.html.haml.erb
RENAMED
File without changes
|
data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/view_index.html.haml.erb
RENAMED
File without changes
|
File without changes
|
data/generators/{haml_scaffold → haml_formtastic_scaffold}/templates/view_show.html.haml.erb
RENAMED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
|
8
|
+
- 1
|
9
|
+
version: 1.0.1
|
9
10
|
platform: ruby
|
10
11
|
authors:
|
11
12
|
- Matthew Soldo
|
@@ -103,19 +104,19 @@ files:
|
|
103
104
|
- Manifest.txt
|
104
105
|
- README.rdoc
|
105
106
|
- Rakefile
|
106
|
-
- generators/
|
107
|
-
- generators/
|
108
|
-
- generators/
|
109
|
-
- generators/
|
110
|
-
- generators/
|
111
|
-
- generators/
|
112
|
-
- generators/
|
113
|
-
- generators/
|
114
|
-
- generators/
|
115
|
-
- generators/
|
116
|
-
- generators/
|
107
|
+
- generators/haml_formtastic_scaffold/haml_formtastic_scaffold_generator.rb
|
108
|
+
- generators/haml_formtastic_scaffold/templates/_form.html.haml.erb
|
109
|
+
- generators/haml_formtastic_scaffold/templates/_object.html.haml.erb
|
110
|
+
- generators/haml_formtastic_scaffold/templates/controller.rb.erb
|
111
|
+
- generators/haml_formtastic_scaffold/templates/helper.rb.erb
|
112
|
+
- generators/haml_formtastic_scaffold/templates/layout.html.haml.erb
|
113
|
+
- generators/haml_formtastic_scaffold/templates/stylesheet.sass
|
114
|
+
- generators/haml_formtastic_scaffold/templates/view_edit.html.haml.erb
|
115
|
+
- generators/haml_formtastic_scaffold/templates/view_index.html.haml.erb
|
116
|
+
- generators/haml_formtastic_scaffold/templates/view_new.html.haml.erb
|
117
|
+
- generators/haml_formtastic_scaffold/templates/view_show.html.haml.erb
|
117
118
|
- init.rb
|
118
|
-
- lib/
|
119
|
+
- lib/haml_formtastic_scaffold/version.rb
|
119
120
|
- samples/posts_controller.rb
|
120
121
|
- samples/views/_form.html.haml
|
121
122
|
- samples/views/_post.html.haml
|