pry-rails 0.1.2 → 0.1.3

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.
@@ -10,6 +10,11 @@ module PryRails
10
10
  unless defined?(IRB::ExtendCommandBundle)
11
11
  IRB::ExtendCommandBundle = Module.new
12
12
  end
13
+ if ::Rails::VERSION::MINOR >= 2
14
+ require "rails/console/app"
15
+ require "rails/console/helpers"
16
+ Object.send(:include, Rails::ConsoleMethods)
17
+ end
13
18
  rescue LoadError
14
19
  end
15
20
  end
@@ -1,3 +1,3 @@
1
1
  module PryRails
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
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-01-23 00:00:00.000000000Z
12
+ date: 2012-01-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
16
- requirement: &70124498405980 !ruby/object:Gem::Requirement
16
+ requirement: &70103820590220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70124498405980
24
+ version_requirements: *70103820590220
25
25
  description:
26
26
  email:
27
27
  - robin@wenglewski.de