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 CHANGED
@@ -3,19 +3,19 @@ MIT-LICENSE
3
3
  Manifest.txt
4
4
  README.rdoc
5
5
  Rakefile
6
- generators/haml_scaffold/haml_scaffold_generator.rb
7
- generators/haml_scaffold/templates/_form.html.haml.erb
8
- generators/haml_scaffold/templates/_object.html.haml.erb
9
- generators/haml_scaffold/templates/controller.rb.erb
10
- generators/haml_scaffold/templates/helper.rb.erb
11
- generators/haml_scaffold/templates/layout.html.haml.erb
12
- generators/haml_scaffold/templates/stylesheet.sass
13
- generators/haml_scaffold/templates/view_edit.html.haml.erb
14
- generators/haml_scaffold/templates/view_index.html.haml.erb
15
- generators/haml_scaffold/templates/view_new.html.haml.erb
16
- generators/haml_scaffold/templates/view_show.html.haml.erb
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/haml_scaffold/version.rb
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
@@ -44,7 +44,7 @@ generator, with a few differences.
44
44
 
45
45
  Haml Scaffold is available on RubyForge as a gem:
46
46
 
47
- sudo gem install haml_scaffold
47
+ sudo gem install haml_formtastic_scaffold
48
48
 
49
49
  You can also install it as a Rails plugin if you wish:
50
50
 
data/Rakefile CHANGED
@@ -1,24 +1,16 @@
1
1
  require 'newgem'
2
- require File.dirname(__FILE__) + "/lib/haml_scaffold/version"
3
- $hoe = Hoe.new("haml_scaffold", HamlScaffold::Version::STRING) do |p|
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 = ['Norman Clarke']
6
- p.email = ['norman@njclarke.com']
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 << ['mocha', '>= 0.9.0']
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} haml_scaffold ModelName [field:type, field:type]"
75
+ "Usage: #{$0} haml_formtastic_scaffold ModelName [field:type, field:type]"
76
76
  end
77
77
 
78
78
  def add_options!(opt)
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- version: "1.0"
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/haml_scaffold/haml_scaffold_generator.rb
107
- - generators/haml_scaffold/templates/_form.html.haml.erb
108
- - generators/haml_scaffold/templates/_object.html.haml.erb
109
- - generators/haml_scaffold/templates/controller.rb.erb
110
- - generators/haml_scaffold/templates/helper.rb.erb
111
- - generators/haml_scaffold/templates/layout.html.haml.erb
112
- - generators/haml_scaffold/templates/stylesheet.sass
113
- - generators/haml_scaffold/templates/view_edit.html.haml.erb
114
- - generators/haml_scaffold/templates/view_index.html.haml.erb
115
- - generators/haml_scaffold/templates/view_new.html.haml.erb
116
- - generators/haml_scaffold/templates/view_show.html.haml.erb
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/haml_scaffold/version.rb
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