ir_b 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Rakefile +0 -2
  2. data/VERSION +1 -1
  3. data/ir_b.gemspec +5 -18
  4. data/lib/ir_b.rb +0 -1
  5. data/lib/ir_b/pry.rb +7 -2
  6. metadata +8 -37
data/Rakefile CHANGED
@@ -10,8 +10,6 @@ begin
10
10
  gem.email = "jugyo.org@gmail.com"
11
11
  gem.homepage = "http://github.com/jugyo/ir_b"
12
12
  gem.authors = ["jugyo"]
13
- gem.add_dependency "pry"
14
- gem.add_dependency "pry-doc"
15
13
  gem.add_development_dependency "shoulda", ">= 0"
16
14
  gem.add_development_dependency "rr", ">= 0"
17
15
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
data/ir_b.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ir_b}
8
- s.version = "1.3.0"
8
+ s.version = "1.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["jugyo"]
12
- s.date = %q{2011-08-23}
11
+ s.authors = [%q{jugyo}]
12
+ s.date = %q{2011-09-06}
13
13
  s.description = %q{You can do irb anywhere by calling 'ir b' (need a whitespace!).}
14
14
  s.email = %q{jugyo.org@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -32,34 +32,21 @@ Gem::Specification.new do |s|
32
32
  "test/test_ir_b.rb"
33
33
  ]
34
34
  s.homepage = %q{http://github.com/jugyo/ir_b}
35
- s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.6.2}
35
+ s.require_paths = [%q{lib}]
36
+ s.rubygems_version = %q{1.8.6}
37
37
  s.summary = %q{irb anywhere}
38
- s.test_files = [
39
- "examples/example1.rb",
40
- "examples/example2.rb",
41
- "examples/with_pry.rb",
42
- "test/helper.rb",
43
- "test/test_ir_b.rb"
44
- ]
45
38
 
46
39
  if s.respond_to? :specification_version then
47
40
  s.specification_version = 3
48
41
 
49
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<pry>, [">= 0"])
51
- s.add_runtime_dependency(%q<pry-doc>, [">= 0"])
52
43
  s.add_development_dependency(%q<shoulda>, [">= 0"])
53
44
  s.add_development_dependency(%q<rr>, [">= 0"])
54
45
  else
55
- s.add_dependency(%q<pry>, [">= 0"])
56
- s.add_dependency(%q<pry-doc>, [">= 0"])
57
46
  s.add_dependency(%q<shoulda>, [">= 0"])
58
47
  s.add_dependency(%q<rr>, [">= 0"])
59
48
  end
60
49
  else
61
- s.add_dependency(%q<pry>, [">= 0"])
62
- s.add_dependency(%q<pry-doc>, [">= 0"])
63
50
  s.add_dependency(%q<shoulda>, [">= 0"])
64
51
  s.add_dependency(%q<rr>, [">= 0"])
65
52
  end
data/lib/ir_b.rb CHANGED
@@ -30,7 +30,6 @@ module IrB
30
30
 
31
31
  def -(_binding)
32
32
  if pry
33
- require 'pry'
34
33
  _binding.pry
35
34
  else
36
35
  file = _binding.eval '__FILE__'
data/lib/ir_b/pry.rb CHANGED
@@ -1,2 +1,7 @@
1
- require 'ir_b'
2
- IrB.pry = true
1
+ begin
2
+ require 'ir_b'
3
+ require 'pry'
4
+ IrB.pry = true
5
+ rescue LoadError => e
6
+ warn "LoadError: please install pry => `gem install pry`"
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ir_b
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,34 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-23 00:00:00.000000000 +09:00
13
- default_executable:
12
+ date: 2011-09-06 00:00:00.000000000Z
14
13
  dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: pry
17
- requirement: &2157721300 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: *2157721300
26
- - !ruby/object:Gem::Dependency
27
- name: pry-doc
28
- requirement: &2157720820 !ruby/object:Gem::Requirement
29
- none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: *2157720820
37
14
  - !ruby/object:Gem::Dependency
38
15
  name: shoulda
39
- requirement: &2157720340 !ruby/object:Gem::Requirement
16
+ requirement: &2151829380 !ruby/object:Gem::Requirement
40
17
  none: false
41
18
  requirements:
42
19
  - - ! '>='
@@ -44,10 +21,10 @@ dependencies:
44
21
  version: '0'
45
22
  type: :development
46
23
  prerelease: false
47
- version_requirements: *2157720340
24
+ version_requirements: *2151829380
48
25
  - !ruby/object:Gem::Dependency
49
26
  name: rr
50
- requirement: &2157719640 !ruby/object:Gem::Requirement
27
+ requirement: &2151827940 !ruby/object:Gem::Requirement
51
28
  none: false
52
29
  requirements:
53
30
  - - ! '>='
@@ -55,7 +32,7 @@ dependencies:
55
32
  version: '0'
56
33
  type: :development
57
34
  prerelease: false
58
- version_requirements: *2157719640
35
+ version_requirements: *2151827940
59
36
  description: You can do irb anywhere by calling 'ir b' (need a whitespace!).
60
37
  email: jugyo.org@gmail.com
61
38
  executables: []
@@ -77,7 +54,6 @@ files:
77
54
  - lib/ir_b/pry.rb
78
55
  - test/helper.rb
79
56
  - test/test_ir_b.rb
80
- has_rdoc: true
81
57
  homepage: http://github.com/jugyo/ir_b
82
58
  licenses: []
83
59
  post_install_message:
@@ -98,13 +74,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
74
  version: '0'
99
75
  requirements: []
100
76
  rubyforge_project:
101
- rubygems_version: 1.6.2
77
+ rubygems_version: 1.8.6
102
78
  signing_key:
103
79
  specification_version: 3
104
80
  summary: irb anywhere
105
- test_files:
106
- - examples/example1.rb
107
- - examples/example2.rb
108
- - examples/with_pry.rb
109
- - test/helper.rb
110
- - test/test_ir_b.rb
81
+ test_files: []