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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0bc1801f960efaed6eabd94cd757e0cbe722652
4
- data.tar.gz: 2dad299611e1e8624548ff9392edbf47e8387261
3
+ metadata.gz: 372e902e66070b47cdb7c31a2261929f57086e59
4
+ data.tar.gz: 57e6af68cbd87bf8c79298b9d6d77e0a46719dc5
5
5
  SHA512:
6
- metadata.gz: 0eeb4d8862a768369d6e3e957a9cffad58aa1e5bd259a6e04fdead2387f4ebc649e35181e4ce4fff2670849aa4a995819bd5dcb1d411f19e66bf534c04730863
7
- data.tar.gz: 6fbcd166b88afa5ff0ade32320a9e8e3d0c381adbd56581452bdb31b5c19be21cc220d5b01a994e710deb6bbb78b07b82f51d07033daa04b1de1f97a0bdaf54f
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
@@ -12,6 +12,6 @@ group :guard do
12
12
  end
13
13
 
14
14
  platform :rbx do
15
+ gem 'json'
15
16
  gem 'rubysl'
16
- gem 'rubysl-json'
17
17
  end
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 up to (and
80
- including) 1.99.x to not break backwards compatibility. It won't be included by
81
- default in rainbow 2.0.
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
 
@@ -1,3 +1,3 @@
1
1
  module Rainbow
2
- VERSION = "1.99.1".freeze
2
+ VERSION = "2.0.0".freeze
3
3
  end
data/lib/rainbow.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require 'rainbow/global'
2
2
  require 'rainbow/legacy'
3
- require 'rainbow/ext/string'
4
3
 
5
4
  module Rainbow
6
5
 
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: 1.99.1
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: 2013-12-28 00:00:00.000000000 Z
11
+ date: 2014-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler