rails-web-console 0.2.0 → 0.2.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 45ace67cb9f0dcc3cd1e73b3025436f60dc494be
4
+ data.tar.gz: be5b67968483862d9173f1984b7031a383e5cfcd
5
+ SHA512:
6
+ metadata.gz: 7b05e97819cacd517c1622542870d42026002c23768845ed45755ce61be36320c3d30fe94af673491fedf9c83614791e2b13761f1087f62d473c20a36d405486
7
+ data.tar.gz: a5f1b1fa9eea4a7cbdd46edcd70d713da8d288ea6aa16293ed810d2a0ef4aafbd756f41055a218aef63b271a514bdd6c0ecdd0d0064feffdfe381327243f3fc6
data/README.markdown CHANGED
@@ -1,7 +1,7 @@
1
1
  Console
2
2
  =======
3
3
 
4
- A Rails 3 engine for running Ruby scripts on the browser in the context of a controller action.
4
+ A Rails 3.1 and above engine for running Ruby scripts on the browser in the context of a controller action.
5
5
 
6
6
  You can install it as a gem or putting it in your vendor/plugins/console directory.
7
7
 
@@ -11,7 +11,7 @@ Installing as a Gem (preferred method)
11
11
  In your Gemfile, put the dependency like this:
12
12
 
13
13
  <pre>
14
- gem 'rails-web-console', :require => 'console', :group => :development
14
+ gem 'rails-web-console', :group => :development
15
15
  </pre>
16
16
 
17
17
  If you intend to use this in production environment (strongly discouraged), be sure to protect console routes. Do it on your own risk!
@@ -30,4 +30,12 @@ Usage
30
30
 
31
31
  Just access "/console" in your browser.
32
32
 
33
+ Support for older versions of Rails
34
+ -----------------------------------
35
+
36
+ I won't be supporting older versions of Rails to keep the source as simple as possible.
37
+
38
+ Take a look at older releases of this gem for supporting older Rails.
39
+
40
+
33
41
  Copyright (c) 2010 [Rodrigo Rosenfeld Rosas], released under the MIT license
@@ -1,5 +1,7 @@
1
1
  require 'stringio'
2
2
  class ConsoleController < ApplicationController
3
+ skip_before_action :verify_authenticity_token
4
+
3
5
  def index
4
6
  end
5
7
 
@@ -0,0 +1 @@
1
+ require 'console'
metadata CHANGED
@@ -1,17 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-web-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rodrigo Rosenfeld Rosas
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-12-15 00:00:00.000000000 Z
13
- dependencies: []
14
- description:
11
+ date: 2013-09-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jeweler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: Run any Ruby script from the context of a web request.
15
28
  email: rr.rosas@gmail.com
16
29
  executables: []
17
30
  extensions: []
@@ -25,29 +38,30 @@ files:
25
38
  - app/views/layouts/console.html.erb
26
39
  - config/routes.rb
27
40
  - lib/console.rb
41
+ - lib/rails-web-console.rb
28
42
  - README.markdown
29
43
  homepage: https://github.com/rosenfeld/rails-web-console
30
- licenses: []
44
+ licenses:
45
+ - MIT
46
+ metadata: {}
31
47
  post_install_message:
32
48
  rdoc_options: []
33
49
  require_paths:
34
50
  - lib
35
51
  required_ruby_version: !ruby/object:Gem::Requirement
36
- none: false
37
52
  requirements:
38
- - - ! '>='
53
+ - - '>='
39
54
  - !ruby/object:Gem::Version
40
55
  version: '0'
41
56
  required_rubygems_version: !ruby/object:Gem::Requirement
42
- none: false
43
57
  requirements:
44
- - - ! '>='
58
+ - - '>='
45
59
  - !ruby/object:Gem::Version
46
60
  version: '0'
47
61
  requirements: []
48
62
  rubyforge_project:
49
- rubygems_version: 1.8.10
63
+ rubygems_version: 2.1.2
50
64
  signing_key:
51
- specification_version: 3
65
+ specification_version: 4
52
66
  summary: A web console for Rails
53
67
  test_files: []