highline-color 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Highline
2
2
  module Color
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -12,12 +12,10 @@ module Highline
12
12
  end
13
13
 
14
14
  HighLine.color_scheme.keys.each do |schema|
15
- define_method "say_#{schema}" do |msg|
16
- say color(msg, schema)
17
- end
18
-
19
- define_method "agree_#{schema}" do |msg|
20
- agree color(msg, schema)
15
+ %w{ say agree ask }.each do |m|
16
+ define_method "#{m}_#{schema}" do |msg|
17
+ say color(msg, schema)
18
+ end
21
19
  end
22
20
  end
23
21
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highline-color
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - nicooga
@@ -9,11 +10,12 @@ authors:
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2014-09-18 00:00:00.000000000 Z
13
+ date: 2014-09-19 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: bundler
16
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
17
19
  requirements:
18
20
  - - ~>
19
21
  - !ruby/object:Gem::Version
@@ -21,6 +23,7 @@ dependencies:
21
23
  type: :development
22
24
  prerelease: false
23
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
28
  - - ~>
26
29
  - !ruby/object:Gem::Version
@@ -28,15 +31,17 @@ dependencies:
28
31
  - !ruby/object:Gem::Dependency
29
32
  name: rake
30
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
31
35
  requirements:
32
- - - '>='
36
+ - - ! '>='
33
37
  - !ruby/object:Gem::Version
34
38
  version: '0'
35
39
  type: :development
36
40
  prerelease: false
37
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
38
43
  requirements:
39
- - - '>='
44
+ - - ! '>='
40
45
  - !ruby/object:Gem::Version
41
46
  version: '0'
42
47
  description: this gem extends the color shcame highline
@@ -58,25 +63,26 @@ files:
58
63
  homepage: https://github.com/bonzofenix/highline-color
59
64
  licenses:
60
65
  - MIT
61
- metadata: {}
62
66
  post_install_message:
63
67
  rdoc_options: []
64
68
  require_paths:
65
69
  - lib
66
70
  required_ruby_version: !ruby/object:Gem::Requirement
71
+ none: false
67
72
  requirements:
68
- - - '>='
73
+ - - ! '>='
69
74
  - !ruby/object:Gem::Version
70
75
  version: '0'
71
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
+ none: false
72
78
  requirements:
73
- - - '>='
79
+ - - ! '>='
74
80
  - !ruby/object:Gem::Version
75
81
  version: '0'
76
82
  requirements: []
77
83
  rubyforge_project:
78
- rubygems_version: 2.0.3
84
+ rubygems_version: 1.8.23.2
79
85
  signing_key:
80
- specification_version: 4
86
+ specification_version: 3
81
87
  summary: provide colors and shorthands for highline
82
88
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 835f60fa4b1b811d29aa4b8123af4617bc423d0b
4
- data.tar.gz: bda2a90658cdc08e631bb33e5e8e2a879259df1e
5
- SHA512:
6
- metadata.gz: 7170bee9c1eb8efcc3bc68742e6b9498fd2635212f2d6fc22ebddc437f24db3bd54102abe709346a8d3bd6e4268102c4f214d300b86b3c55dd5137a2562d93a9
7
- data.tar.gz: 99c6977919646873d8904627c49eec89e032ee03e3ea3d18d8dd392b8ca4f23d688d98e7776cda3f8e379d30d61e6ca6e20f8d3ee32caa259a651967d761b0bf