rails_apps_composer 1.4.13 → 1.4.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -97,7 +97,7 @@ TEXT
97
97
  :address => "smtp.mandrillapp.com",
98
98
  :port => 25,
99
99
  :user_name => ENV["MANDRILL_USERNAME"],
100
- :password => ENV["MANDRILL_PASSWORD"]
100
+ :password => ENV["MANDRILL_API_KEY"]
101
101
  }
102
102
  TEXT
103
103
  say_wizard gmail_configuration_text
data/recipes/add_user.rb CHANGED
@@ -92,10 +92,8 @@ RUBY
92
92
  end
93
93
 
94
94
  unless recipes.include? 'haml'
95
-
96
95
  # Generate Devise views (unless you are using Haml)
97
96
  run 'rails generate devise:views'
98
-
99
97
  # Modify Devise views to add 'name'
100
98
  inject_into_file "app/views/devise/registrations/edit.html.erb", :after => "<%= devise_error_messages! %>\n" do
101
99
  <<-ERB
@@ -103,25 +101,17 @@ RUBY
103
101
  <%= f.text_field :name %></p>
104
102
  ERB
105
103
  end
106
-
107
104
  inject_into_file "app/views/devise/registrations/new.html.erb", :after => "<%= devise_error_messages! %>\n" do
108
105
  <<-ERB
109
106
  <p><%= f.label :name %><br />
110
107
  <%= f.text_field :name %></p>
111
108
  ERB
112
109
  end
113
-
114
110
  else
115
-
116
111
  # copy Haml versions of modified Devise views
117
- inside 'app/views/devise' do
118
- get 'https://raw.github.com/RailsApps/rails3-application-templates/master/files/rails3-mongoid-devise/app/views/devise/_links.erb', '_links.erb'
119
- end
120
- inside 'app/views/devise/registrations' do
121
- get 'https://raw.github.com/RailsApps/rails3-application-templates/master/files/rails3-mongoid-devise/app/views/devise/registrations/edit.html.haml', 'edit.html.haml'
122
- get 'https://raw.github.com/RailsApps/rails3-application-templates/master/files/rails3-mongoid-devise/app/views/devise/registrations/new.html.haml', 'new.html.haml'
123
- end
124
-
112
+ get 'https://raw.github.com/RailsApps/rails3-application-templates/master/files/devise-views-haml/app/views/devise/shared/_links.html.haml', 'app/views/devise/shared/_links.html.haml'
113
+ get 'https://raw.github.com/RailsApps/rails3-application-templates/master/files/devise-views-haml/app/views/devise/registrations/edit.html.haml', 'app/views/devise/registrations/edit.html.haml'
114
+ get 'https://raw.github.com/RailsApps/rails3-application-templates/master/files/devise-views-haml/app/views/devise/registrations/new.html.haml', 'app/views/devise/registrations/new.html.haml'
125
115
  end
126
116
 
127
117
  end
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "1.4.13"
2
+ VERSION = "1.4.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.13
4
+ version: 1.4.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -225,7 +225,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
225
  version: '0'
226
226
  segments:
227
227
  - 0
228
- hash: -1646581067513771331
228
+ hash: 2423708040536291564
229
229
  required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  none: false
231
231
  requirements:
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  version: '0'
235
235
  segments:
236
236
  - 0
237
- hash: -1646581067513771331
237
+ hash: 2423708040536291564
238
238
  requirements: []
239
239
  rubyforge_project: rails_apps_composer
240
240
  rubygems_version: 1.8.23