rails-console-pry 0.0.3 → 0.0.4
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/VERSION +1 -1
- data/bin/rails-console-pry +8 -1
- data/rails-console-pry.gemspec +2 -2
- metadata +6 -6
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/bin/rails-console-pry
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'pry'
|
5
|
+
require 'pry-rails/version'
|
6
|
+
pry_rails_path = Gem.loaded_specs['pry-rails']
|
5
7
|
|
6
8
|
remaining_args = []
|
7
9
|
require_next = false
|
@@ -27,7 +29,12 @@ ARGV.unshift "console"
|
|
27
29
|
APP_PATH = File.expand_path('config/application')
|
28
30
|
require APP_PATH
|
29
31
|
|
30
|
-
|
32
|
+
if ::Rails::VERSION::MAJOR >= 3
|
33
|
+
class ::Rails::Console
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
require File.join(pry_rails_path.full_gem_path, 'lib', 'pry-rails.rb')
|
31
38
|
|
32
39
|
if ARGV.include?('-h') || ARGV.include?('--help')
|
33
40
|
at_exit do
|
data/rails-console-pry.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "rails-console-pry"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ian Yang"]
|
12
|
-
s.date = "2012-04-
|
12
|
+
s.date = "2012-04-09"
|
13
13
|
s.description = "run rails console using rails without adding it to Gemfile"
|
14
14
|
s.email = "me@iany.me"
|
15
15
|
s.executables = ["rails-console-pry"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-console-pry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pry
|
16
|
-
requirement: &
|
16
|
+
requirement: &13957940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *13957940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: pry-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &13957380 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *13957380
|
36
36
|
description: run rails console using rails without adding it to Gemfile
|
37
37
|
email: me@iany.me
|
38
38
|
executables:
|