rainbow 1.99.1 → 2.0.0
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.
- checksums.yaml +4 -4
- data/Changelog.md +8 -0
- data/Gemfile +1 -1
- data/README.markdown +4 -3
- data/lib/rainbow/version.rb +1 -1
- data/lib/rainbow.rb +0 -1
- 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: 372e902e66070b47cdb7c31a2261929f57086e59
|
|
4
|
+
data.tar.gz: 57e6af68cbd87bf8c79298b9d6d77e0a46719dc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37394c88313337fb8fc04dc6d1f649eaea0c257d25a4e44e4cd1f54d07a87fb3cfce3673c86a33079468440fd040d21bf4c57d53fd4ef9d8a8a01169465236fc
|
|
7
|
+
data.tar.gz: a0a235ea3d51152d2a107435229730daa19f8d4a1f838803af6af87707a2e17fc2f48fb6195d78fab26acce0673aca33535a499c9ebc4feb5b64d6696edf63f2
|
data/Changelog.md
CHANGED
|
@@ -57,3 +57,11 @@
|
|
|
57
57
|
* `require "rainbow/string"` -> `require "rainbow/ext/string"`
|
|
58
58
|
* custom rainbow wrapper instances (with separate enabled/disabled state)
|
|
59
59
|
* shortcut methods for changing text color (`Rainbow("foo").red`)
|
|
60
|
+
|
|
61
|
+
## 1.99.2 (2014-01-24)
|
|
62
|
+
|
|
63
|
+
* bring back ruby 1.8 support
|
|
64
|
+
|
|
65
|
+
## 2.0.0 (2014-01-24)
|
|
66
|
+
|
|
67
|
+
* disable string mixin by default
|
data/Gemfile
CHANGED
data/README.markdown
CHANGED
|
@@ -76,9 +76,10 @@ public interface with methods that are presentation specific.
|
|
|
76
76
|
NOTE: the mixing doesn't include shortcut methods for changing text color, you
|
|
77
77
|
should use "string".color(:blue) instead of "string".blue
|
|
78
78
|
|
|
79
|
-
NOTE: the mixin is included in String by default in rainbow versions
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
NOTE: the mixin is included in String by default in rainbow 1.x versions.
|
|
80
|
+
In rainbow 2.x the behavior was changed - if you're upgrading from 1.x to 2.x
|
|
81
|
+
and you used direct String methods then you can either require the string
|
|
82
|
+
extension as shown above or update your code to use the new presenter API.
|
|
82
83
|
|
|
83
84
|
### Color specification
|
|
84
85
|
|
data/lib/rainbow/version.rb
CHANGED
data/lib/rainbow.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rainbow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcin Kulik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|