classy_assets 0.4.3 → 0.4.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 +4 -4
- data/lib/classy_assets/version.rb +1 -1
- data/lib/sass/script/functions.rb +9 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 030f67e99e83fd2b635ba2c67aa62b0bcae05e6c
|
|
4
|
+
data.tar.gz: 9b5fd99357d76da5a06900146c09316401cc668f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7c9c32204d9aabbd68803269ebb7c932977cc40c47585e670d24215520a53bafa926eb01ee41fe2a0ea28e22fd41971c626ffbbc5346a94381924be19bb5ba4
|
|
7
|
+
data.tar.gz: 499345ac0b6cbc65569a58752f91186cddb753626a71b850bccf286f622b40ca762762ba1546ba30bba595747942fa91cd011212aa1b831de2ab8ddc7fccb0fd
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
|
|
3
|
-
require 'sass'
|
|
3
|
+
require 'sass/script/functions'
|
|
4
4
|
|
|
5
|
-
module Sass::Script
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
module Sass::Script
|
|
6
|
+
module Functions
|
|
7
|
+
def asset_path(source)
|
|
8
|
+
assert_type source, :String
|
|
9
|
+
ClassyAssets.asset_url_for(source)
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
declare :asset_path, args: [:source]
|
|
9
13
|
end
|
|
10
|
-
declare :asset_path, :args => [:source]
|
|
11
14
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: classy_assets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- StyleSeek Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-11-
|
|
11
|
+
date: 2013-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: coffee-script
|