tailog 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 596d3b047a1f2de51a63363a295ad55a7ae1b3c9
4
- data.tar.gz: 4b96c1a8382c2f0e1bc86eadc5655e914050bca1
3
+ metadata.gz: 3a8ba16a72fb2a428ba2c0f8c4259020a4af2af5
4
+ data.tar.gz: c53e4d86d01580261a0b407080547746dfc32133
5
5
  SHA512:
6
- metadata.gz: dec308e8859dc6ee083c0586e7e95198a54c795083fc60ae49bcc5d1c13768bbe8e35702667bd651651bd1b4cddfb8137ac84f799fd70347ad834b9c3971ec1c
7
- data.tar.gz: 20bdcf4f73f45ba7153dc7b5d35b6ba2f52dcf9a199b04f1ab5333ebb466201de3271bae4754976e04b6925b0ce95dced7538e4f6b7e09d391a5a211f2b33145
6
+ metadata.gz: 6e6a1e775b9f4f30ec748a862308a763a4ffdf3208def9d70b49dfabdebad9936727c52c91a758aa68f0f9117f14fb3465f5a395b63b4aa386552f93147c2909
7
+ data.tar.gz: a6f9ca4cdb4509d87fbd0142702a6b853b60d9ac403ae764ac5c26697b9b8fa2c4e7ca17e85a87edaba8f46687e05990d2cfbc5f9ee2c2854617d373a611ac7e
@@ -1,17 +1,18 @@
1
1
  require 'irb'
2
2
 
3
3
  IRB.setup nil
4
- IRB.conf[:PROMPT_MODE] = :DEFAULT
5
- IRB.conf[:VERBOSE] = false
6
4
 
7
5
  def IRB.Output
8
6
  IRB.conf[:OUTPUT]
9
7
  end
10
8
 
11
9
  def IRB.evaluate_string string
10
+ IRB.conf[:PROMPT_MODE] = :DEFAULT
11
+ IRB.conf[:VERBOSE] = false
12
+ IRB.conf[:OUTPUT] = []
13
+
12
14
  irb = IRB::Irb.new nil, StringInputMethod.new(string + "\n")
13
15
  IRB.conf[:MAIN_CONTEXT] = irb.context
14
- IRB.conf[:OUTPUT] = []
15
16
  irb.eval_input
16
17
  end
17
18
 
@@ -1,3 +1,3 @@
1
1
  module Tailog
2
- VERSION = "0.5.5"
2
+ VERSION = "0.5.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bbtfr