pry-rails 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,19 @@
1
+ # Description
2
+
3
+ This is a small gem which causes `rails console` to open [pry](http://pry.github.com/). It therefore depends on *pry* and *pry-doc*.
4
+
5
+ # Prerequisites
6
+
7
+ - A Rails >= 3.0 Application
8
+
9
+ # Installation
10
+
11
+ Avoid repeating yourself, use pry-rails instead of copying the initializer to every rails project. Add this line to your gemfile:
12
+
13
+ gem 'pry-rails', :group => :development
14
+
15
+ `bundle install` and enjoy pry.
16
+
17
+ # Alternative
18
+
19
+ If you want to enable pry everywhere, make sure to check out [pry everywhere](http://lucapette.com/pry/pry-everywhere/).
@@ -1,7 +1,7 @@
1
1
  require "pry-rails/version"
2
2
 
3
3
  module PryRails
4
- if(defined?(::Rails) and ::Rails.version[/^3/])
4
+ if(defined?(::Rails) and ::Rails.version >= "3")
5
5
  class Railtie < ::Rails::Railtie
6
6
  silence_warnings do
7
7
  begin
@@ -1,3 +1,3 @@
1
1
  module PryRails
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -21,5 +21,5 @@ Gem::Specification.new do |s|
21
21
  # specify any dependencies here; for example:
22
22
  # s.add_development_dependency "rspec"
23
23
  # s.add_runtime_dependency "rest-client"
24
- %w(pry pry-doc).each {|d| s.add_dependency d}
24
+ s.add_dependency "pry"
25
25
  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.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-29 00:00:00.000000000Z
12
+ date: 2012-01-11 00:00:00.000000000 +01:00
13
+ default_executable:
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: pry
16
- requirement: &70366488223940 !ruby/object:Gem::Requirement
17
+ requirement: &70264429193840 !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ! '>='
@@ -21,18 +22,7 @@ dependencies:
21
22
  version: '0'
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: *70366488223940
25
- - !ruby/object:Gem::Dependency
26
- name: pry-doc
27
- requirement: &70366488223460 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: *70366488223460
25
+ version_requirements: *70264429193840
36
26
  description:
37
27
  email:
38
28
  - robin@wenglewski.de
@@ -43,10 +33,11 @@ files:
43
33
  - .gitignore
44
34
  - Gemfile
45
35
  - Rakefile
46
- - Readme.textile
36
+ - Readme.md
47
37
  - lib/pry-rails.rb
48
38
  - lib/pry-rails/version.rb
49
39
  - pry-rails.gemspec
40
+ has_rdoc: true
50
41
  homepage: ''
51
42
  licenses: []
52
43
  post_install_message:
@@ -67,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
58
  version: '0'
68
59
  requirements: []
69
60
  rubyforge_project:
70
- rubygems_version: 1.8.10
61
+ rubygems_version: 1.6.2
71
62
  signing_key:
72
63
  specification_version: 3
73
64
  summary: Use Pry as your rails console
@@ -1,5 +0,0 @@
1
- Avoid repeating yourself, use pry-rails instead of copying the initializer to every rails project. Add this line to your gemfile:
2
-
3
- bc. gem 'pry-rails', :git => 'git://github.com/rweng/pry-rails.git', :group => :development
4
-
5
- @bundle install@ and enjoy pry.