rails_apps_composer 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
data/recipes/cucumber.rb CHANGED
@@ -35,6 +35,9 @@ end
35
35
  if config['cucumber']
36
36
  if recipes.include? 'devise'
37
37
  after_bundler do
38
+ # Cucumber wants to test GET requests not DELETE requests for destroy_user_session_path
39
+ # (see https://github.com/RailsApps/rails3-devise-rspec-cucumber/issues/3)
40
+ gsub_file 'config/initializers/devise.rb', 'config.sign_out_via = :delete', 'config.sign_out_via = :get'
38
41
  say_wizard "Copying Cucumber scenarios from the rails3-devise-rspec-cucumber examples"
39
42
  begin
40
43
  # copy all the Cucumber scenario files from the rails3-devise-rspec-cucumber example app
data/recipes/devise.rb CHANGED
@@ -7,7 +7,7 @@ if config['devise']
7
7
  gem 'devise', '1.3.4'
8
8
  else
9
9
  # for Rails 3.1+, use optimistic versioning for gems
10
- gem 'devise', '>= 1.4.0'
10
+ gem 'devise', '>= 1.4.2'
11
11
  end
12
12
  else
13
13
  recipes.delete('devise')
data/recipes/html5.rb CHANGED
@@ -76,7 +76,7 @@ RUBY
76
76
  %head
77
77
  %title #{app_name}
78
78
  %meta{:charset => "utf-8"}
79
- %meta{:http-equiv => "X-UA-Compatible", :content => "IE=edge,chrome=1"}
79
+ %meta{"http-equiv" => "X-UA-Compatible", :content => "IE=edge,chrome=1"}
80
80
  %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
81
81
  = stylesheet_link_tag :application
82
82
  = javascript_include_tag :application
@@ -43,16 +43,19 @@ ERB
43
43
  if recipes.include? 'haml'
44
44
  # There is Haml code in this script. Changing the indentation is perilous between HAMLs.
45
45
  inject_into_file 'app/views/layouts/application.html.haml', :after => "%header\n" do <<-HAML
46
- %ul.hmenu
47
- = render 'shared/navigation'
46
+ %nav
47
+ %ul.hmenu
48
+ = render 'shared/navigation'
48
49
  HAML
49
50
  end
50
51
  else
51
52
  inject_into_file 'app/views/layouts/application.html.erb', :after => "<header>\n" do
52
53
  <<-ERB
53
- <ul class="hmenu">
54
- <%= render 'shared/navigation' %>
55
- </ul>
54
+ <nav>
55
+ <ul class="hmenu">
56
+ <%= render 'shared/navigation' %>
57
+ </ul>
58
+ </nav>
56
59
  ERB
57
60
  end
58
61
  end
data/recipes/rspec.rb CHANGED
@@ -28,7 +28,7 @@ if config['rspec']
28
28
  end
29
29
  if config['factory_girl']
30
30
  # use the factory_girl gem for test fixtures
31
- gem 'factory_girl_rails', '>= 1.1.beta3', :group => :test
31
+ gem 'factory_girl_rails', '>= 1.1.rc1', :group => :test
32
32
  end
33
33
  end
34
34
  else
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "1.0.11"
2
+ VERSION = "1.0.12"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.11
5
+ version: 1.0.12
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Kehoe
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-29 00:00:00 Z
13
+ date: 2011-07-09 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: i18n
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ">="
179
179
  - !ruby/object:Gem::Version
180
- hash: -2521305615818415648
180
+ hash: -1731271717490803066
181
181
  segments:
182
182
  - 0
183
183
  version: "0"
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
- hash: -2521305615818415648
189
+ hash: -1731271717490803066
190
190
  segments:
191
191
  - 0
192
192
  version: "0"