jstdutil 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/jstdutil/redgreen.rb +6 -0
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -1,3 +1,9 @@
1
+ begin
2
+ require 'Win32/Console/ANSI' if PLATFORM =~ /win32/
3
+ rescue LoadError
4
+ raise 'You must gem install win32console to use color on Windows'
5
+ end
6
+
1
7
  module Jstdutil
2
8
  class RedGreen
3
9
  # Borrowed from the ruby redgreen gem
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jstdutil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Johansen