highline-color 0.0.2 → 0.0.3

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: 758af3bbd44fe39b44a5d74f94d84a8c33d89854
4
- data.tar.gz: 65b47edf46c2bea83b2b0c2f7bd7cf0ff96cb5cc
3
+ metadata.gz: 835f60fa4b1b811d29aa4b8123af4617bc423d0b
4
+ data.tar.gz: bda2a90658cdc08e631bb33e5e8e2a879259df1e
5
5
  SHA512:
6
- metadata.gz: 239df366d68f2d24f9c990250ca8d90baf2fe5efe13c9d6bb1763d01fb56dfe0a133c011ea70040e23d3b9db2ccb743a83684edc9650d6a94ffb853b3490959d
7
- data.tar.gz: 0d850387d132beae998654a9e832e847b324f03a4d866dd4bb4b0673a80c0b0cc8b53450f29b5331a0859a66b5e10362867d44f5030ab43cf68126d302cf5811
6
+ metadata.gz: 7170bee9c1eb8efcc3bc68742e6b9498fd2635212f2d6fc22ebddc437f24db3bd54102abe709346a8d3bd6e4268102c4f214d300b86b3c55dd5137a2562d93a9
7
+ data.tar.gz: 99c6977919646873d8904627c49eec89e032ee03e3ea3d18d8dd392b8ca4f23d688d98e7776cda3f8e379d30d61e6ca6e20f8d3ee32caa259a651967d761b0bf
data/README.md CHANGED
@@ -37,6 +37,12 @@ just need to require it in your code:
37
37
  require 'highline/color'
38
38
  ```
39
39
 
40
+ and then include the module in case you want helpers too!
41
+
42
+ ```
43
+ include Highline::Color
44
+ ```
45
+
40
46
  ## Contributing
41
47
 
42
48
  1. Fork it
@@ -1,5 +1,5 @@
1
1
  module Highline
2
2
  module Color
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -15,6 +15,10 @@ module Highline
15
15
  define_method "say_#{schema}" do |msg|
16
16
  say color(msg, schema)
17
17
  end
18
+
19
+ define_method "agree_#{schema}" do |msg|
20
+ agree color(msg, schema)
21
+ end
18
22
  end
19
23
  end
20
24
  end
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.2
4
+ version: 0.0.3
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-13 00:00:00.000000000 Z
12
+ date: 2014-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.1.5
78
+ rubygems_version: 2.0.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: provide colors and shorthands for highline