colorator 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.markdown +7 -3
- data/lib/colorator.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 040e32035d63855bfd0cc54e6f7854605b7c2862
|
4
|
+
data.tar.gz: d5c532625836104b1bec9bc965aeb70b487fb618
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e858d5af41964f4dcb4992e26ae4e35c75c072d3ccd1edd61c25cbf81555c437b8a82f193f37f96f72d5b5648bfb1fb0e789adbf535b3ce545ebadc86ff80306
|
7
|
+
data.tar.gz: dc14108fb8eb424a29c00d00b46de730b138dfe7400713767de1d8175a428b767243c44a4ace0f17d2db75c0a131952ff3cb2aa07829784cc297efeee7b856c5
|
data/History.markdown
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
##
|
1
|
+
## 1.1.0 / 2016-06-28
|
2
|
+
|
3
|
+
### Minor Enhancements
|
4
|
+
|
5
|
+
* Support jruby (#8)
|
6
|
+
|
7
|
+
## 1.0.0 / 2016-04-28
|
2
8
|
|
3
9
|
### Major enhancements
|
4
10
|
|
@@ -9,8 +15,6 @@
|
|
9
15
|
- Delete unnecessary `Symbol#to_sym` (#2)
|
10
16
|
- Change argument name of `Enumerator#each` for better code legibility (#3)
|
11
17
|
|
12
|
-
### Bug Fixes
|
13
|
-
|
14
18
|
### Development Fixes
|
15
19
|
|
16
20
|
- Convert to new RSpec expectation syntax (#1)
|
data/lib/colorator.rb
CHANGED
@@ -2,7 +2,7 @@ $:.unshift File.dirname(__FILE__)
|
|
2
2
|
|
3
3
|
module Colorator
|
4
4
|
module_function
|
5
|
-
VERSION = "1.
|
5
|
+
VERSION = "1.1.0"
|
6
6
|
|
7
7
|
# --------------------------------------------------------------------------
|
8
8
|
|
@@ -86,7 +86,7 @@ module Colorator
|
|
86
86
|
# --------------------------------------------------------------------------
|
87
87
|
|
88
88
|
Colorator::ANSI_COLORS.each do |color, code|
|
89
|
-
|
89
|
+
define_singleton_method color do |str|
|
90
90
|
colorize(
|
91
91
|
str, code
|
92
92
|
)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: colorator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|