mandoline 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -2,3 +2,4 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  pkg/*
5
+ /tmp
File without changes
@@ -21,7 +21,11 @@ module Mandoline
21
21
  end
22
22
 
23
23
  def color(text, code)
24
- "\033[1;#{code}m#{text}\033[0m"
24
+ if @io.tty?
25
+ "\033[1;#{code}m#{text}\033[0m"
26
+ else
27
+ text
28
+ end
25
29
  end
26
30
  end
27
31
  end
@@ -1,3 +1,3 @@
1
1
  module Mandoline
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandoline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-08 00:00:00.000000000 Z
12
+ date: 2012-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70228780965340 !ruby/object:Gem::Requirement
16
+ requirement: &70221193371000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70228780965340
24
+ version_requirements: *70221193371000
25
25
  description:
26
26
  email:
27
27
  - aanand.prasad@gmail.com
@@ -34,7 +34,7 @@ files:
34
34
  - .rspec
35
35
  - Gemfile
36
36
  - LICENSE
37
- - README.ronn
37
+ - README.md
38
38
  - Rakefile
39
39
  - bin/mandoline
40
40
  - lib/mandoline.rb