pry-rails 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,19 +6,18 @@ module PryRails
6
6
  silence_warnings do
7
7
  begin
8
8
  require 'pry'
9
- ::IRB = Pry
10
- unless defined?(IRB::ExtendCommandBundle)
11
- IRB::ExtendCommandBundle = Module.new
9
+ Rails::Console::IRB = Pry
10
+ unless defined?(Pry::ExtendCommandBundle)
11
+ Pry::ExtendCommandBundle = Module.new
12
+ end
13
+ if ::Rails::VERSION::MINOR >= 2
14
+ require "rails/console/app"
15
+ require "rails/console/helpers"
16
+ TOPLEVEL_BINDING.eval('self').extend Rails::ConsoleMethods
12
17
  end
13
- if ::Rails::VERSION::MINOR >= 2
14
- require "rails/console/app"
15
- require "rails/console/helpers"
16
- TOPLEVEL_BINDING.eval('self').extend Rails::ConsoleMethods
17
- end
18
18
  rescue LoadError
19
19
  end
20
20
  end
21
21
  end
22
22
  end
23
23
  end
24
-
@@ -1,3 +1,3 @@
1
1
  module PryRails
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
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.4
4
+ version: 0.1.5
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-02-07 00:00:00.000000000Z
12
+ date: 2012-02-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry
16
- requirement: &70175454168800 !ruby/object:Gem::Requirement
16
+ requirement: &70256626849740 !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: *70175454168800
24
+ version_requirements: *70256626849740
25
25
  description:
26
26
  email:
27
27
  - robin@wenglewski.de