subtle-dynamic_icon 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/subtle/dominikh/dynamic_icon.rb +3 -1
- metadata +23 -13
- data/test/setup.rb +0 -2
@@ -26,7 +26,9 @@ module Dominikh
|
|
26
26
|
def to_str
|
27
27
|
s = super
|
28
28
|
if color
|
29
|
-
|
29
|
+
p " -->"
|
30
|
+
p Subtlext::Subtle.colors[:fg_sublets]
|
31
|
+
return color + s + Subtlext::Subtle.colors[:fg_sublets].to_s
|
30
32
|
else
|
31
33
|
return s
|
32
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: subtle-dynamic_icon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Dominik Honnef
|
@@ -9,11 +14,14 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-09-12 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
16
|
-
description:
|
21
|
+
description: |-
|
22
|
+
DynamicIcon is a small abstractional layer around Subtlext::Icon, with
|
23
|
+
integrated support for colors and custom drawing routines. The main purpose of this gem is to be used
|
24
|
+
as a foundation for more sophisticated icons like graphs.
|
17
25
|
email: dominikho@gmx.net
|
18
26
|
executables: []
|
19
27
|
|
@@ -22,40 +30,42 @@ extensions: []
|
|
22
30
|
extra_rdoc_files: []
|
23
31
|
|
24
32
|
files:
|
25
|
-
- lib/subtle
|
26
|
-
- lib/subtle/dominikh
|
27
33
|
- lib/subtle/dominikh/dynamic_icon.rb
|
28
|
-
- test/suite
|
29
|
-
- test/suite/lib
|
30
|
-
- test/fixtures
|
31
|
-
- test/setup.rb
|
32
34
|
- README
|
33
35
|
- LICENSE
|
34
36
|
has_rdoc: yard
|
35
37
|
homepage: ""
|
38
|
+
licenses: []
|
39
|
+
|
36
40
|
post_install_message:
|
37
41
|
rdoc_options: []
|
38
42
|
|
39
43
|
require_paths:
|
40
44
|
- lib
|
41
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
46
|
+
none: false
|
42
47
|
requirements:
|
43
48
|
- - ">="
|
44
49
|
- !ruby/object:Gem::Version
|
50
|
+
segments:
|
51
|
+
- 1
|
52
|
+
- 9
|
53
|
+
- 1
|
45
54
|
version: 1.9.1
|
46
|
-
version:
|
47
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
48
57
|
requirements:
|
49
58
|
- - ">="
|
50
59
|
- !ruby/object:Gem::Version
|
60
|
+
segments:
|
61
|
+
- 0
|
51
62
|
version: "0"
|
52
|
-
version:
|
53
63
|
requirements: []
|
54
64
|
|
55
65
|
rubyforge_project:
|
56
|
-
rubygems_version: 1.3.
|
66
|
+
rubygems_version: 1.3.7
|
57
67
|
signing_key:
|
58
|
-
specification_version:
|
68
|
+
specification_version: 3
|
59
69
|
summary: A small abstractional layer around Subtlext::Icon, featuring integrated support for colors and custom drawing routines.
|
60
70
|
test_files: []
|
61
71
|
|
data/test/setup.rb
DELETED