highline-color 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d584679d78fb9a3b0ce817d4802a089eb11acec6
4
- data.tar.gz: 4f225eee0b8ec001f487fa361900be1988dc3719
3
+ metadata.gz: 758af3bbd44fe39b44a5d74f94d84a8c33d89854
4
+ data.tar.gz: 65b47edf46c2bea83b2b0c2f7bd7cf0ff96cb5cc
5
5
  SHA512:
6
- metadata.gz: 352212400266943be0ea1596a7fdcec7f278bbdb1239ea62f5d77855891bf6d747f6870a8b401c40f99987a8f2f848b548f5f67aed32d926c1d31f3ee13bcf9f
7
- data.tar.gz: 8e7a1c91fb3c5331b1446be5f29ca1dbc36d6965a409f1567833bc161b8965ffe7768c7e0a643934c71da42192324348c3029fbb295d828763a86f159c744e72
6
+ metadata.gz: 239df366d68f2d24f9c990250ca8d90baf2fe5efe13c9d6bb1763d01fb56dfe0a133c011ea70040e23d3b9db2ccb743a83684edc9650d6a94ffb853b3490959d
7
+ data.tar.gz: 0d850387d132beae998654a9e832e847b324f03a4d866dd4bb4b0673a80c0b0cc8b53450f29b5331a0859a66b5e10362867d44f5030ab43cf68126d302cf5811
data/README.md CHANGED
@@ -34,7 +34,7 @@ Or install it yourself as:
34
34
  just need to require it in your code:
35
35
 
36
36
  ```
37
- require 'highline-color'
37
+ require 'highline/color'
38
38
  ```
39
39
 
40
40
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  module Highline
2
2
  module Color
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -10,5 +10,12 @@ module Highline
10
10
  cs[:warning] = [:bold, :yellow]
11
11
  cs[:prompt] = [:bold, :blue]
12
12
  end
13
+
14
+ HighLine.color_scheme.keys.each do |schema|
15
+ define_method "say_#{schema}" do |msg|
16
+ say color(msg, schema)
17
+ end
18
+ end
13
19
  end
14
20
  end
21
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highline-color
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
  - nicooga
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-12 00:00:00.000000000 Z
12
+ date: 2013-11-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler