web-console-param 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/web-console-param.rb +1 -0
- data/lib/web_console_param/railtie.rb +4 -4
- data/lib/web_console_param/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff03f19f436dbfd6b7975167e45fac968c2f19ad
|
4
|
+
data.tar.gz: ee4c828818b0c1987a887a99a167cd4476c155a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e36e88685641527c723e2f634d2d04b03228aa668529dc0d7c3fbc558eaeeedf82e42569583849df66e1caedb08f110cbcece3675c816c87b2cfbeec7bb6d42
|
7
|
+
data.tar.gz: 6d312dd3f7fdc7f6e899d21d6271ff140be3e6f43479ec9bacdbf78aedfafbd1c3138c84f58ca1a98a47916cd78687f0138877ef75a294f3699817fc331ef594
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'web_console_param'
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'rails/railtie'
|
2
2
|
|
3
3
|
module WebConsoleParam
|
4
|
-
class Railtie < Rails::Railtie
|
5
|
-
|
4
|
+
class Railtie < ::Rails::Railtie
|
5
|
+
initializer 'web_console_param.configure_controller' do
|
6
6
|
WebConsoleFilter = ->(controller) do
|
7
7
|
controller.console if controller.params[:web_console]
|
8
8
|
end
|
9
9
|
|
10
|
-
|
10
|
+
ActionController::Base.before_action(WebConsoleFilter) if defined?(WebConsole)
|
11
11
|
end
|
12
12
|
end
|
13
|
-
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web-console-param
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Burenstam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- README.md
|
54
54
|
- Rakefile
|
55
55
|
- config/initializers/web_console_param.rb
|
56
|
+
- lib/web-console-param.rb
|
56
57
|
- lib/web_console_param.rb
|
57
58
|
- lib/web_console_param/railtie.rb
|
58
59
|
- lib/web_console_param/version.rb
|