suspenders 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/NEWS.md +4 -0
- data/lib/suspenders/app_builder.rb +4 -4
- data/lib/suspenders/version.rb +1 -1
- metadata +1 -1
data/NEWS.md
CHANGED
|
@@ -51,7 +51,7 @@ module Suspenders
|
|
|
51
51
|
|
|
52
52
|
def add_jquery_ui
|
|
53
53
|
inject_into_file 'app/assets/javascripts/application.js',
|
|
54
|
-
|
|
54
|
+
"//= require jquery-ui\n", :before => '//= require_tree .'
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
def use_postgres_config_template
|
|
@@ -193,7 +193,7 @@ module Suspenders
|
|
|
193
193
|
<link href='/assets/application.css' media='all' rel='stylesheet' type='text/css' />
|
|
194
194
|
EOS
|
|
195
195
|
%w(500 404 422).each do |page|
|
|
196
|
-
inject_into_file "public/#{page}.html", meta_tags, :after =>
|
|
196
|
+
inject_into_file "public/#{page}.html", meta_tags, :after => "<head>\n"
|
|
197
197
|
replace_in_file "public/#{page}.html", /<style.+>.+<\/style>/mi, style_tags.strip
|
|
198
198
|
replace_in_file "public/#{page}.html", /<!--.+-->\n/, ''
|
|
199
199
|
end
|
|
@@ -209,7 +209,7 @@ module Suspenders
|
|
|
209
209
|
|
|
210
210
|
def set_attr_accessibles_on_user
|
|
211
211
|
inject_into_file 'app/models/user.rb',
|
|
212
|
-
|
|
212
|
+
" attr_accessible :email, :password\n",
|
|
213
213
|
:after => /include Clearance::User\n/
|
|
214
214
|
end
|
|
215
215
|
|
|
@@ -223,7 +223,7 @@ module Suspenders
|
|
|
223
223
|
|
|
224
224
|
def setup_default_rake_task
|
|
225
225
|
append_file 'Rakefile' do
|
|
226
|
-
|
|
226
|
+
"task(:default).clear\ntask :default => [:spec, :cucumber]"
|
|
227
227
|
end
|
|
228
228
|
end
|
|
229
229
|
|
data/lib/suspenders/version.rb
CHANGED