inquirer.rb 0.0.8 → 0.0.9

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: e52e0c2b60327d1fd9cde20358a4b854eca5893a
4
- data.tar.gz: b14281ed507d5de5dd8204a5b1aff715bfb17c1f
3
+ metadata.gz: 4ff7230051010227909d14fde657f755aec2b43e
4
+ data.tar.gz: a3ee3801036fa225940a601d9642031451cfc9f7
5
5
  SHA512:
6
- metadata.gz: 2ee1dd5307c555317a5f9e8dcc6be388d8228911d74cce46015657c619e85e25486ed1a33b7cd7af75cb74fe38b914beb083cd4ce0678c67088463ee0f75f9f1
7
- data.tar.gz: 404cfc296fc980b66c86cc233e8501aafc8ac8ccc072537001c4ce839c2855dcfb43c770464ecf4989e459971402c7cedfe49f56b5f7b9826435c4af30c92f11
6
+ metadata.gz: 60ffca4371054e3815836ffd586c68fbdc6bdcb2620d7a92d698e60081ce51be3be934f25b27fa53652f37abdd320f34b3578c4327f1338b15c8edbdea9c5105
7
+ data.tar.gz: 0c2ff25ee3c4f7e4705220ff254c76213d43ff1f36ce93dd32c835b712be1a68eab6345876094163cec9f3649e1c2f197de506162d461a7f04a3dc7216111aaf
@@ -29,8 +29,10 @@ module IOHelper
29
29
  @winsize = [10, 2000]
30
30
  @keys = nil
31
31
  end
32
+ end
32
33
 
33
- def use_iohelper(describe_block, opts)
34
+ module Inquirer
35
+ def use_inquirer(describe_block, opts)
34
36
  describe_block.before opts[:with] do
35
37
  IOHelper.reset
36
38
  end
@@ -42,10 +44,10 @@ module IOHelper
42
44
 
43
45
  # Module SpecHelpers
44
46
  module SpecHelpers
45
- include ::IOHelper
47
+ include ::Inquirer
46
48
 
47
49
  def self.extended(example_group)
48
- example_group.use_iohelper(example_group, with: :each)
50
+ example_group.use_inquirer(example_group, with: :each)
49
51
  end
50
52
 
51
53
  def self.included(example_group)
@@ -54,10 +56,10 @@ module IOHelper
54
56
 
55
57
  # Module All
56
58
  module All
57
- include ::IOHelper
59
+ include ::Inquirer
58
60
 
59
61
  def self.extended(example_group)
60
- example_group.use_iohelper(example_group, with: :all)
62
+ example_group.use_inquirer(example_group, with: :all)
61
63
  end
62
64
 
63
65
  def self.included(example_group)
@@ -1,3 +1,3 @@
1
1
  module Inquirer
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inquirer.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thorsten Eckel