nifty-generators 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +11 -0
- data/README.rdoc +2 -2
- data/features/nifty_authentication.feature +2 -2
- data/features/nifty_scaffold.feature +15 -0
- data/features/step_definitions/common_steps.rb +1 -1
- data/features/step_definitions/rails_setup_steps.rb +1 -1
- data/lib/generators/nifty.rb +2 -2
- data/lib/generators/nifty/authentication/USAGE +15 -15
- data/lib/generators/nifty/authentication/authentication_generator.rb +10 -9
- data/lib/generators/nifty/authentication/templates/authentication.rb +9 -9
- data/lib/generators/nifty/authentication/templates/migration.rb +1 -1
- data/lib/generators/nifty/authentication/templates/sessions_controller.rb +4 -4
- data/lib/generators/nifty/authentication/templates/tests/rspec/sessions_controller.rb +6 -6
- data/lib/generators/nifty/authentication/templates/tests/rspec/user.rb +15 -15
- data/lib/generators/nifty/authentication/templates/tests/rspec/users_controller.rb +5 -5
- data/lib/generators/nifty/authentication/templates/tests/shoulda/sessions_controller.rb +3 -3
- data/lib/generators/nifty/authentication/templates/tests/shoulda/user.rb +15 -15
- data/lib/generators/nifty/authentication/templates/tests/shoulda/users_controller.rb +2 -2
- data/lib/generators/nifty/authentication/templates/tests/testunit/sessions_controller.rb +3 -3
- data/lib/generators/nifty/authentication/templates/tests/testunit/user.rb +15 -15
- data/lib/generators/nifty/authentication/templates/tests/testunit/users_controller.rb +2 -2
- data/lib/generators/nifty/authentication/templates/user.rb +7 -7
- data/lib/generators/nifty/authentication/templates/users_controller.rb +1 -1
- data/lib/generators/nifty/config/USAGE +2 -2
- data/lib/generators/nifty/config/config_generator.rb +3 -3
- data/lib/generators/nifty/layout/USAGE +2 -2
- data/lib/generators/nifty/layout/layout_generator.rb +4 -4
- data/lib/generators/nifty/layout/templates/error_messages_helper.rb +2 -2
- data/lib/generators/nifty/layout/templates/layout.html.erb +1 -1
- data/lib/generators/nifty/layout/templates/layout.html.haml +4 -4
- data/lib/generators/nifty/layout/templates/layout_helper.rb +3 -3
- data/lib/generators/nifty/layout/templates/stylesheet.sass +41 -41
- data/lib/generators/nifty/scaffold/USAGE +9 -9
- data/lib/generators/nifty/scaffold/scaffold_generator.rb +8 -6
- data/lib/generators/nifty/scaffold/templates/migration.rb +1 -1
- data/lib/generators/nifty/scaffold/templates/tests/rspec/actions/create.rb +1 -1
- data/lib/generators/nifty/scaffold/templates/tests/rspec/actions/update.rb +1 -1
- data/lib/generators/nifty/scaffold/templates/tests/rspec/controller.rb +3 -3
- data/lib/generators/nifty/scaffold/templates/tests/shoulda/actions/create.rb +1 -1
- data/lib/generators/nifty/scaffold/templates/tests/shoulda/actions/update.rb +1 -1
- data/lib/generators/nifty/scaffold/templates/tests/testunit/actions/create.rb +1 -1
- data/lib/generators/nifty/scaffold/templates/tests/testunit/actions/update.rb +1 -1
- data/rails_generators/nifty_authentication/USAGE +15 -15
- data/rails_generators/nifty_authentication/lib/insert_commands.rb +8 -8
- data/rails_generators/nifty_authentication/nifty_authentication_generator.rb +20 -20
- data/rails_generators/nifty_authentication/templates/authentication.rb +9 -9
- data/rails_generators/nifty_authentication/templates/migration.rb +1 -1
- data/rails_generators/nifty_authentication/templates/sessions_controller.rb +4 -4
- data/rails_generators/nifty_authentication/templates/tests/rspec/sessions_controller.rb +5 -5
- data/rails_generators/nifty_authentication/templates/tests/rspec/user.rb +15 -15
- data/rails_generators/nifty_authentication/templates/tests/rspec/users_controller.rb +4 -4
- data/rails_generators/nifty_authentication/templates/tests/shoulda/sessions_controller.rb +3 -3
- data/rails_generators/nifty_authentication/templates/tests/shoulda/user.rb +15 -15
- data/rails_generators/nifty_authentication/templates/tests/shoulda/users_controller.rb +2 -2
- data/rails_generators/nifty_authentication/templates/tests/testunit/sessions_controller.rb +3 -3
- data/rails_generators/nifty_authentication/templates/tests/testunit/user.rb +15 -15
- data/rails_generators/nifty_authentication/templates/tests/testunit/users_controller.rb +2 -2
- data/rails_generators/nifty_authentication/templates/user.rb +7 -7
- data/rails_generators/nifty_authentication/templates/users_controller.rb +1 -1
- data/rails_generators/nifty_config/USAGE +2 -2
- data/rails_generators/nifty_config/nifty_config_generator.rb +3 -3
- data/rails_generators/nifty_layout/USAGE +2 -2
- data/rails_generators/nifty_layout/nifty_layout_generator.rb +3 -3
- data/rails_generators/nifty_layout/templates/helper.rb +3 -3
- data/rails_generators/nifty_layout/templates/layout.html.erb +2 -2
- data/rails_generators/nifty_layout/templates/layout.html.haml +4 -4
- data/rails_generators/nifty_scaffold/USAGE +9 -9
- data/rails_generators/nifty_scaffold/nifty_scaffold_generator.rb +38 -38
- data/rails_generators/nifty_scaffold/templates/migration.rb +1 -1
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/create.rb +1 -1
- data/rails_generators/nifty_scaffold/templates/tests/rspec/actions/update.rb +1 -1
- data/rails_generators/nifty_scaffold/templates/tests/rspec/controller.rb +2 -2
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/create.rb +1 -1
- data/rails_generators/nifty_scaffold/templates/tests/shoulda/actions/update.rb +1 -1
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/create.rb +1 -1
- data/rails_generators/nifty_scaffold/templates/tests/testunit/actions/update.rb +1 -1
- data/test/test_helper.rb +7 -7
- data/test/test_nifty_authentication_generator.rb +30 -30
- data/test/test_nifty_config_generator.rb +4 -4
- data/test/test_nifty_layout_generator.rb +5 -5
- data/test/test_nifty_scaffold_generator.rb +93 -93
- metadata +6 -4
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
8
|
+
- 1
|
9
|
+
version: 0.4.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ryan Bates
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-09-23 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -229,6 +229,7 @@ rdoc_options: []
|
|
229
229
|
require_paths:
|
230
230
|
- lib
|
231
231
|
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
232
233
|
requirements:
|
233
234
|
- - ">="
|
234
235
|
- !ruby/object:Gem::Version
|
@@ -236,6 +237,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
236
237
|
- 0
|
237
238
|
version: "0"
|
238
239
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
239
241
|
requirements:
|
240
242
|
- - ">="
|
241
243
|
- !ruby/object:Gem::Version
|
@@ -247,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
249
|
requirements: []
|
248
250
|
|
249
251
|
rubyforge_project: nifty-generators
|
250
|
-
rubygems_version: 1.3.
|
252
|
+
rubygems_version: 1.3.7
|
251
253
|
signing_key:
|
252
254
|
specification_version: 3
|
253
255
|
summary: A collection of useful Rails generator scripts.
|