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: 35d08a8cfc249f51739cd51831348f06dba0c859
4
- data.tar.gz: 040761875876cd22dfb8555042bee984aa52cae3
3
+ metadata.gz: d05a55dbe6eb1e80c7e26ecc96d2dd3aaa63e685
4
+ data.tar.gz: e4e281d3e4710d20b1d35487137ba6fdc06ca1fd
5
5
  SHA512:
6
- metadata.gz: bdfbe0b1a8828e1a3f476791b801b1f4fe524ca960f9549633bd26f5dd132bbe4dbfe81abeff0a8e5232c5e8e7a2d6fcf5adbd951838c64dbf849529f0ad0807
7
- data.tar.gz: 458ea2dafa078d3a16354924d5b25ac8eda00ef0a333056cecb2ac3902b42073644c457edbd260ffc2da3f567ab7b3beac9a812394f0dfbc9bad06fbbbe56c68
6
+ metadata.gz: 2f319ef8c76ba6fbfb384a2bc08e36a06196c776a284e7a9c9786c4924393262783d0188047c7bf530c1f00a6a3bb9f673df1ba70ecf2b659a11f6300f5e3359
7
+ data.tar.gz: ee14f479b6537680a14833754618f48a02ffaf90d5add329ca4cf4dcf34134e0d43873a71b5a0dea24e2c155b66a23612d52a7c03a6f37d35d524523e31a47ae
@@ -1,3 +1,3 @@
1
1
  module OuluRails
2
- VERSION = "0.5.32"
2
+ VERSION = "0.5.33"
3
3
  end
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
@@ -23,6 +23,8 @@ textarea
23
23
  background-color: transparent
24
24
  outline: none
25
25
  +basic-font
26
+
27
+ button
26
28
  -webkit-appearance: button
27
29
 
28
30
  img
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.32
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-10 00:00:00.000000000 Z
11
+ date: 2015-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-rails