betabrite 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +6 -0
- data/lib/betabrite/device.rb +1 -1
- data/lib/betabrite/string.rb +3 -5
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/lib/betabrite/device.rb
CHANGED
data/lib/betabrite/string.rb
CHANGED
@@ -100,19 +100,17 @@ module BetaBrite
|
|
100
100
|
alias :to_str :to_s
|
101
101
|
|
102
102
|
Color.constants.each do |constant|
|
103
|
-
|
104
|
-
define_method(:"#{constant.downcase}") do
|
103
|
+
define_method("#{constant.downcase}") do
|
105
104
|
@color = Color.const_get(constant)
|
106
105
|
self
|
107
106
|
end
|
108
|
-
define_method(
|
107
|
+
define_method("#{constant.downcase}?") do
|
109
108
|
@color == Color.const_get(constant)
|
110
109
|
end
|
111
110
|
end
|
112
111
|
|
113
112
|
CharSet.constants.each do |constant|
|
114
|
-
|
115
|
-
define_method(:"#{constant.downcase}") do
|
113
|
+
define_method("#{constant.downcase}") do
|
116
114
|
@charset = CharSet.const_get(constant)
|
117
115
|
self
|
118
116
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: betabrite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 5
|
10
|
+
version: 1.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aaron Patterson
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-24 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: hoe
|