rails-web-console 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fa19e8314b00a499b44bb23fb74a13f15b12487
|
4
|
+
data.tar.gz: 38d099883bde682147bd355230bfaafcb00e62fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca4bd951e2c8e4cdf64cf862d4890de72f4f029798916cc90fd04f134aeadb3255cf39c9893427cad7eff579541f2f49c72fa227d50dd88386bf684f2eeb9938
|
7
|
+
data.tar.gz: 393ad26b00ee08029127091a8d6fc0066ffb3411cb63710d2c6fb9c0845e1aa35eca71d47ea5a84d0bf5370eb837a3787fc75432b12158f1ed44974511519857
|
@@ -2,7 +2,10 @@ require 'stringio'
|
|
2
2
|
|
3
3
|
module RailsWebConsole
|
4
4
|
class ConsoleController < ::ActionController::Base
|
5
|
-
|
5
|
+
if _process_action_callbacks.any?{|a| a.filter == :verify_authenticity_token}
|
6
|
+
# ActionController::Base no longer protects from forgery in Rails 5
|
7
|
+
skip_before_filter :verify_authenticity_token
|
8
|
+
end
|
6
9
|
layout false
|
7
10
|
|
8
11
|
def index
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-web-console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
version: '0'
|
61
61
|
requirements: []
|
62
62
|
rubyforge_project:
|
63
|
-
rubygems_version: 2.
|
63
|
+
rubygems_version: 2.5.1
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: A web console for Rails
|