inline_forms 1.3.36 → 1.3.37
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/inline_forms +18 -1
- data/lib/app/helpers/form_elements/info.rb +1 -1
- data/lib/inline_forms/version.rb +1 -1
- metadata +2 -2
data/bin/inline_forms
CHANGED
@@ -64,7 +64,7 @@ gem 'rails'
|
|
64
64
|
gem 'rake'
|
65
65
|
gem 'jquery-rails'
|
66
66
|
gem 'capistrano'
|
67
|
-
gem 'will_paginate'
|
67
|
+
gem 'will_paginate' :git => 'git://github.com/acesuares/will_paginate.git'
|
68
68
|
gem 'tabs_on_rails' # , :git => 'git://github.com/acesuares/tabs_on_rails.git', :branch => 'add_remote'
|
69
69
|
gem 'ckeditor', :git => 'git://github.com/acesuares/ckeditor.git', :branch => 'master'
|
70
70
|
gem 'carrierwave'
|
@@ -187,6 +187,23 @@ end
|
|
187
187
|
File.open( 'app/helpers/application_helper.rb', 'w') {|f| f.write(app_helper) }
|
188
188
|
|
189
189
|
|
190
|
+
|
191
|
+
puts "Overwriting application_controller...\n"
|
192
|
+
app_cont = "
|
193
|
+
class ApplicationController < ActionController::Base
|
194
|
+
protect_from_forgery
|
195
|
+
|
196
|
+
# before_filter :authenticate_user!
|
197
|
+
# check_authorization :unless => :devise_controller?
|
198
|
+
|
199
|
+
# rescue_from CanCan::AccessDenied do |exception|
|
200
|
+
# sign_out :user if user_signed_in?
|
201
|
+
# redirect_to new_user_session_path, :alert => exception.message
|
202
|
+
# end
|
203
|
+
end
|
204
|
+
"
|
205
|
+
File.open( 'app/controller/application_controller.rb', 'w+') {|f| f.write(app_cont) }
|
206
|
+
|
190
207
|
puts "Injecting precompile assets stuff in production.rb...\n"
|
191
208
|
precomp = "
|
192
209
|
\n
|
data/lib/inline_forms/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inline_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.37
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rvm
|