sphyg 0.2.0 → 0.2.1

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
- SHA256:
3
- metadata.gz: 13e0fcf2c3419135646ab226f0ade0d32737330efc77e8c3d410f03c5a3345ae
4
- data.tar.gz: 0f3b3ac10c36be44cdd2bf4639aa187ca0e5e746e22b4025b8dbed52d077f30a
2
+ SHA1:
3
+ metadata.gz: c97ec87a49cef9bac4b9d5fd41be9db71995a06e
4
+ data.tar.gz: 64be64fdc27bba014e901a948fd218ec76bac448
5
5
  SHA512:
6
- metadata.gz: 8e34ddd9e7caa9f18e8ce56c3c8ae8e16a29320cc41304c11c45c1c2461af316e5b12557885bcf51b49d0ef34a51d7940c963bfb6f0748ddfed4932fe9815957
7
- data.tar.gz: 5c0e3bfd8cefd0d397464b7a7859ef948223829a41ec465a6336e561879a1a5c747626e218fa19f5ca9d13e069d94a773e4847086a9264b05cf5e9429d8e4090
6
+ metadata.gz: ad1a1018342b045cdef23c65295a8aa0ac9edbac22d2f6ce4e1317bb822ba870009e2d0cd2a71d1062f915dad91fe96309a936c6227cfb3be621031b2fd4d33d
7
+ data.tar.gz: cbef5bbe68f0816275ad3b7bf70107701afd10af1dc94c999345b02519c7f8969e96844fba7f221de8ec676ab7ad8a4253fcacc102e724f10a481156303b184f
data/CHANGELOG.md CHANGED
@@ -12,6 +12,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
12
12
  - None
13
13
 
14
14
  ### Fixed
15
+ - None
16
+
17
+ ## 0.2.1 (2017-12-30)
18
+ ### Added
19
+ - None
20
+
21
+ ### Changed
22
+ - None
23
+
24
+ ### Fixed
25
+ - Fixed nil error when not passing an options hash to `Sphyg.pulse`
15
26
 
16
27
  ## 0.2.0 (2017-12-30)
17
28
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sphyg (0.2.0)
4
+ sphyg (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -41,7 +41,7 @@ Configure which kind of throbber you would like to use. Available kinds and thei
41
41
  | ---- | ------ |
42
42
  | `:ascii` | \| / - \ |
43
43
  | `:elipsis` | . .. ... .. |
44
- | `:heart` | ❤️ 🧡 💛 💚 💙 💜 |
44
+ | `:heart` | 🧡 💛 💚 💙 💜 |
45
45
  | `:heroku` | ⣾ ⣽ ⣻ ⢿ ⡿ ⣟ ⣯ ⣷ |
46
46
  | `:moon` | 🌑 🌒 🌓 🌔 🌕 🌖 🌗 🌘 |
47
47
  | `:time` | 🕛 🕐 🕒 🕓 🕔 🕕 🕖 🕗 🕘 🕙 🕚 |
data/lib/sphyg/pulse.rb CHANGED
@@ -2,10 +2,10 @@ require 'sphyg/frames'
2
2
 
3
3
  module Sphyg
4
4
  class Pulse
5
- def initialize(message, options = { kind: :wave })
5
+ def initialize(message, options)
6
6
  @message = message
7
- @options = options
8
- @frames = Sphyg::FRAMES[options[:kind]]
7
+ @options = options || { kind: :wave }
8
+ @frames = Sphyg::FRAMES[@options[:kind]]
9
9
  end
10
10
 
11
11
  def run(&blk)
data/lib/sphyg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sphyg
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sphyg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Cavanaugh
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.7.3
97
+ rubygems_version: 2.6.14
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Throbbers for command line programs