colorator 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/History.markdown +7 -3
  3. data/lib/colorator.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a17df7703b85003ff47ffcf8e009238af1182b4
4
- data.tar.gz: 30aa293378acee4845b2c915fc06058be7f020bd
3
+ metadata.gz: 040e32035d63855bfd0cc54e6f7854605b7c2862
4
+ data.tar.gz: d5c532625836104b1bec9bc965aeb70b487fb618
5
5
  SHA512:
6
- metadata.gz: b865afe608e588b37c68b6b949a64e5b96b3f45dd43cd169a623d4e2b0a1477b7b72c5206979411ad240902d35b0ea64497d31ef8fea3f377fb68931cceef7cf
7
- data.tar.gz: 7a223fd8b7747eb86cb310c42ee1c50a09e3c72b74b66935dab90e690767c09e197b029c0bdf22174b2409fa54c7d78cb30145e3d2391d2f0640ea9fd30fea3b
6
+ metadata.gz: e858d5af41964f4dcb4992e26ae4e35c75c072d3ccd1edd61c25cbf81555c437b8a82f193f37f96f72d5b5648bfb1fb0e789adbf535b3ce545ebadc86ff80306
7
+ data.tar.gz: dc14108fb8eb424a29c00d00b46de730b138dfe7400713767de1d8175a428b767243c44a4ace0f17d2db75c0a131952ff3cb2aa07829784cc297efeee7b856c5
@@ -1,4 +1,10 @@
1
- ## HEAD
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)
@@ -2,7 +2,7 @@ $:.unshift File.dirname(__FILE__)
2
2
 
3
3
  module Colorator
4
4
  module_function
5
- VERSION = "1.0.0"
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
- define_method color do |str|
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.0.0
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-04-29 00:00:00.000000000 Z
12
+ date: 2016-06-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec