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 +5 -5
- data/CHANGELOG.md +11 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/sphyg/pulse.rb +3 -3
- data/lib/sphyg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c97ec87a49cef9bac4b9d5fd41be9db71995a06e
|
4
|
+
data.tar.gz: 64be64fdc27bba014e901a948fd218ec76bac448
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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
|
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
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.
|
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.
|
97
|
+
rubygems_version: 2.6.14
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Throbbers for command line programs
|