flammarion 0.1.4 → 0.1.5

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.
data/Readme.md CHANGED
@@ -32,6 +32,8 @@ or add it to your Gemfile.
32
32
 
33
33
  The easiest way to use Flammarion, is similar to how you might use STDOUT:
34
34
 
35
+ _(Note: these examples are inteneded to be run from an interactive session such as IRB or [pry](http://pryrepl.org/). If you wish to use them as part of a script, you should use `f.wait_until_closed` at the end, in order to block termination of the script.)_
36
+
35
37
  ```ruby
36
38
  require 'flammarion'
37
39
  f = Flammarion::Engraving.new
@@ -1,5 +1,4 @@
1
1
  module Flammarion
2
-
3
2
  # Pops up a little about box.
4
3
  def self.about
5
4
  f = Engraving.new(close_on_exit:true)
@@ -9,5 +8,6 @@ module Flammarion
9
8
  f.markdown(File.read(readme))
10
9
  f.break
11
10
  f.markdown(File.read(license))
11
+ f.wait_until_closed
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Flammarion
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -224,6 +224,8 @@ module Flammarion
224
224
  # to change the text.
225
225
  # @option options [Boolean] :keep_label (false) If +:once+ is also set, this
226
226
  # will prepend +label+ when converting the input to plain text.
227
+ # @option options [Boolean] :enter_only (false) Only accept the users input
228
+ # when the enter key is pressed, not merely when it changes.
227
229
  # @overload input(label, options = {})
228
230
  # @return [DeferredValue] An object representing the current value of the
229
231
  # input, which can be converted to text using +#to_s+.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flammarion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-31 00:00:00.000000000 Z
12
+ date: 2016-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubame