elia 2.3.2 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sass_support/_css3.sass +2 -1
- data/lib/sass_support/_opacity.sass +11 -0
- data/lib/sass_support/_transform_rotate.sass +2 -1
- data/lib/string_nibbles.rb +3 -1
- metadata +21 -9
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.1
|
data/lib/sass_support/_css3.sass
CHANGED
@@ -0,0 +1,11 @@
|
|
1
|
+
|
2
|
+
=opacity(!value)
|
3
|
+
@if !value > 0.99999
|
4
|
+
!value = 1
|
5
|
+
@if !value < 0.00001
|
6
|
+
!value = 0
|
7
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=#{!value * 100})"
|
8
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=#{!value * 100})
|
9
|
+
filter: alpha(opacity=#{!value * 100})
|
10
|
+
opacity= !value
|
11
|
+
|
@@ -1,5 +1,6 @@
|
|
1
1
|
=transform-rotate(!deg)
|
2
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{!deg})"
|
3
|
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{!deg})
|
2
4
|
-webkit-transform: rotate(#{!deg}deg)
|
3
5
|
-moz-transform: rotate(#{!deg}deg)
|
4
6
|
rotation: #{!deg}deg
|
5
|
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{!deg})
|
data/lib/string_nibbles.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
require 'active_support'
|
2
|
+
|
1
3
|
module StringNibbles
|
2
4
|
def nibbles width = nil
|
3
5
|
s = self.unpack('H*').first.scan(/(..)/).flatten
|
4
6
|
if width
|
5
|
-
s.in_groups_of(width).map { |group| group.join(' ') }
|
7
|
+
s.in_groups_of(width, ' ').map { |group| group.join(' ') }
|
6
8
|
else
|
7
9
|
s.join(' ')
|
8
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 4
|
8
|
+
- 1
|
9
|
+
version: 2.4.1
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Elia Schito
|
@@ -9,19 +14,23 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-05-24 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rspec
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 2
|
30
|
+
- 9
|
23
31
|
version: 1.2.9
|
24
|
-
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
25
34
|
description: useful stuff...
|
26
35
|
email: perlelia@gmail.com
|
27
36
|
executables: []
|
@@ -59,6 +68,7 @@ files:
|
|
59
68
|
- lib/sass_support/_box_shadow.sass
|
60
69
|
- lib/sass_support/_css3.sass
|
61
70
|
- lib/sass_support/_glider.sass
|
71
|
+
- lib/sass_support/_opacity.sass
|
62
72
|
- lib/sass_support/_transform_rotate.sass
|
63
73
|
- lib/slapp.rb
|
64
74
|
- lib/string_nibbles.rb
|
@@ -86,18 +96,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
86
96
|
requirements:
|
87
97
|
- - ">="
|
88
98
|
- !ruby/object:Gem::Version
|
99
|
+
segments:
|
100
|
+
- 0
|
89
101
|
version: "0"
|
90
|
-
version:
|
91
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
103
|
requirements:
|
93
104
|
- - ">="
|
94
105
|
- !ruby/object:Gem::Version
|
106
|
+
segments:
|
107
|
+
- 0
|
95
108
|
version: "0"
|
96
|
-
version:
|
97
109
|
requirements: []
|
98
110
|
|
99
111
|
rubyforge_project:
|
100
|
-
rubygems_version: 1.3.
|
112
|
+
rubygems_version: 1.3.6
|
101
113
|
signing_key:
|
102
114
|
specification_version: 3
|
103
115
|
summary: Elia Schito's utility belt
|