oulu-rails 0.5.32 → 0.5.33
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d05a55dbe6eb1e80c7e26ecc96d2dd3aaa63e685
|
4
|
+
data.tar.gz: e4e281d3e4710d20b1d35487137ba6fdc06ca1fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f319ef8c76ba6fbfb384a2bc08e36a06196c776a284e7a9c9786c4924393262783d0188047c7bf530c1f00a6a3bb9f673df1ba70ecf2b659a11f6300f5e3359
|
7
|
+
data.tar.gz: ee14f479b6537680a14833754618f48a02ffaf90d5add329ca4cf4dcf34134e0d43873a71b5a0dea24e2c155b66a23612d52a7c03a6f37d35d524523e31a47ae
|
data/lib/oulu-rails/version.rb
CHANGED
data/lib/oulu-rails.rb
CHANGED
@@ -16,6 +16,13 @@ module AddFunctions
|
|
16
16
|
assert_type string, :String
|
17
17
|
return Sass::Script::String.new(string.value.gsub(/(\.|#)/, ""))
|
18
18
|
end
|
19
|
+
def get_unicode(string)
|
20
|
+
assert_type string, :String
|
21
|
+
Sass::Script::String.new(string.value.codepoints.map{ |i|
|
22
|
+
'\\' + i.to_s(16).upcase
|
23
|
+
}.join(''), :string)
|
24
|
+
end
|
25
|
+
declare :escape, :args => [:string]
|
19
26
|
end
|
20
27
|
|
21
28
|
module Sass::Script::Functions
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oulu-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass-rails
|