oulu-rails 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33e187f5453f1da6da58a996dcc43312fea9f396
|
4
|
+
data.tar.gz: 612c3f0814322407def4aec91fae708a7576bf7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1fe6f353c205e4b8313b34107d98d1d9a58f2a1ea9eba6db94ed26c64fdafdda6a00603312b156e4e7444ace0af391016b86d41d096210cceda0d23ebf4f9c8
|
7
|
+
data.tar.gz: d0860c258388cd6e47ec9bf967fcd3a52bdc62a5003cbc61627010eff3821e499d0999f9b36783fbd167f6c50563a526e6968fbc7464e3f30f618ac7471754b2
|
data/lib/oulu-rails.rb
CHANGED
@@ -6,20 +6,3 @@ module OuluRails
|
|
6
6
|
class Engine < ::Rails::Engine
|
7
7
|
end
|
8
8
|
end
|
9
|
-
|
10
|
-
module AddFunctions
|
11
|
-
def remove_selector(string)
|
12
|
-
assert_type string, :String
|
13
|
-
return Sass::Script::String.new(string.value.gsub(/(\.|#)/, ""))
|
14
|
-
end
|
15
|
-
def get_unicode(string)
|
16
|
-
assert_type string, :String
|
17
|
-
Sass::Script::String.new(string.value.codepoints.map{ |i|
|
18
|
-
'\\' + i.to_s(16).upcase
|
19
|
-
}.join(''), :string)
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
module Sass::Script::Functions
|
24
|
-
include AddFunctions
|
25
|
-
end
|
data/lib/oulu-rails/version.rb
CHANGED