prime_awesome 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 +8 -8
- data/lib/prime_awesome/draw_label.rb +4 -3
- data/lib/prime_awesome/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODM1ZDBmNDQzYmJlNzQ0YTQzOTY0YzZiYjI1YThhMTM3MmUwNTQyNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjE2N2I2NGJiODE3YWRkZGY2NDA3YTJmNTYxZjJkODNhMDFkZDI3OA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MGY1ODBjZTc2MWJmM2ZjMDI3MzU4Nzk2YTZlMjljZTUzMDJhMzgzZGM2NWI4
|
10
|
+
MzZkNmVlZTM0ZDgwNzVmZjhlNmMwN2ZhMGU0OWU5MGU4Y2NlNjkwZTE3Njky
|
11
|
+
ZDhmNzUyZTM4NmJkMjg0NjAyMzIyOTdiNmJjNDAzYzY5Yjc3NGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGQ5ZDRmMjZmNjU1YjU5OWIzN2U3MGVlOTg2M2ZkMmI4MjRkN2E5YjRkM2Zl
|
14
|
+
N2MzMTViYTdhYzgzZTdhMWU5ZjcwZGNhYmM1MmZmYmVlMjY5ZjcwNTg2OTRl
|
15
|
+
Yzg4ZmZmZjdkYmY1MTE1YTRiNDUwMjBhMTZlZDY3MzlmYzcwMjQ=
|
@@ -6,12 +6,13 @@ module PrimeAwesome
|
|
6
6
|
alias_method :draw_options!, :draw_options
|
7
7
|
def draw_options
|
8
8
|
if icon = computed_options[:fa_icon]
|
9
|
+
@padding_top = 0
|
9
10
|
draw_options!.merge(
|
10
|
-
text: MotionAwesome.hex_for_icon(icon.to_s.gsub('_', '-')),
|
11
|
-
force_attributed: true,
|
11
|
+
text: MotionAwesome.hex_for_icon(icon.to_s.gsub('_', '-')),
|
12
|
+
force_attributed: true,
|
12
13
|
font: 'FontAwesome'.uifont(computed_options[:fa_size] || 14)
|
13
14
|
)
|
14
|
-
else
|
15
|
+
else
|
15
16
|
draw_options!
|
16
17
|
end
|
17
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prime_awesome
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Haziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -103,3 +103,4 @@ signing_key:
|
|
103
103
|
specification_version: 4
|
104
104
|
summary: Add Font Awesome support to MotionPrime.
|
105
105
|
test_files: []
|
106
|
+
has_rdoc:
|