cont 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/cont/version.rb +1 -1
  4. data/lib/cont.rb +6 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 493e03fe958a5776f33b1bbd144830a66893bd02e75a6b93fc2dc3b836817a51
4
- data.tar.gz: 250d5cdad63e5cafd2b90e34ff90af5d6d3b903706a4edec0e6b4667f7ff0031
3
+ metadata.gz: 8739034c6f68ad3a14a32a8f0e859733ed63274ac90c29f767c1c49fe36b6888
4
+ data.tar.gz: 7bb14f99e671d1cdc81eeaa65d4b6dc8bd1d13eb77bcb4e445fa6667b44717a4
5
5
  SHA512:
6
- metadata.gz: e5cee2b1b33182f7935345da4efadbd4567fd4f89e75f6f07b4400b8dc8292102508500caba9d56504e1ceeb1c1d43badcded4004e524541ac5daf0eaa1e1d3e
7
- data.tar.gz: 68b9aec29911124c3e5e2a28932512ace12bdace81ac6ff5302b575f1bdef30634e2203657418dfd35d2f9403237281ee57befbded131c4a9a153f29e811cbe7
6
+ metadata.gz: 55d76ee5f0eaa73ec7a01348f8e0edc0190ab249ffa9261d07a6a0365f4e2de5baeae1b96e9d9da82827bc5dec61d990f57f1066b644ab43bcdb9a2577c2770d
7
+ data.tar.gz: a23081e62ad4ba26205cefbdba8a6e6a6f5df69c5618fe8731a6894e5356789b7e52d385a5985fd06aa08644d22944729baa5b6cdd50febd07435055d92c8df3
data/README.md CHANGED
@@ -47,7 +47,7 @@ result = Cont.reset do
47
47
  cont.call(42) + 1
48
48
  end
49
49
  end
50
- puts result # => 42
50
+ puts result # => 43
51
51
  ```
52
52
 
53
53
  ## Exceptions
data/lib/cont/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cont
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
data/lib/cont.rb CHANGED
@@ -22,5 +22,10 @@
22
22
  require_relative 'cont/single_prompt'
23
23
 
24
24
  module Cont
25
- include SinglePrompt
25
+ def self.reset(&block)
26
+ SinglePrompt.reset(&block)
27
+ end
28
+ def self.shift(&block)
29
+ SinglePrompt.shift(&block)
30
+ end
26
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cont
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaya Taniguchi