ripl-irb 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +3 -0
  2. data/lib/ripl/irb.rb +3 -2
  3. metadata +3 -3
data/CHANGELOG.rdoc CHANGED
@@ -1,2 +1,5 @@
1
+ == 0.1.1
2
+ * Fix IRB.conf
3
+
1
4
  == 0.1.0
2
5
  * Initial release
data/lib/ripl/irb.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Ripl
2
2
  module Irb
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
 
5
5
  def before_loop
6
6
  mock_irb
@@ -8,7 +8,8 @@ module Ripl
8
8
  end
9
9
 
10
10
  def mock_irb
11
- Object.const_set(:IRB, Module.new).extend MockIrb
11
+ mod = Object.const_set(:IRB, Module.new).extend(MockIrb)
12
+ class <<mod; self end.send(:define_method, :conf) { {} }
12
13
  end
13
14
 
14
15
  module MockIrb
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ripl-irb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gabriel Horner