sass-tumblr 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sass_tumblr.rb +5 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c239c1ca9896642ca400f21c648ceea29764c296
|
4
|
+
data.tar.gz: 02181c5be130ef0c44271f1dca9bcbcda728b7a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43eedd61dedf971a97286a5c2c3d2c1b9c57093fa84bba97d149011ecf74bc6b6e164ad840f30068dcee7722308ab1a17c69bf23ad5a6797aaa988181e1d085e
|
7
|
+
data.tar.gz: 2b5c1075d5d8e4d90f83a49e807864c14bf25a9c2017915a4de794423caa4d09a1978b9c9f34fff735e27c08c0c12f04b0e9a0ed8212706d852d9afbf98ce007
|
data/lib/sass_tumblr.rb
CHANGED
@@ -8,7 +8,10 @@ module Sass
|
|
8
8
|
# Handle special `{CustomCSS}' tag as a comment,
|
9
9
|
# which can appear independently in CSS.
|
10
10
|
TUMBLR_CUSTOM_CSS_TAG = /{CustomCSS}/i
|
11
|
-
|
11
|
+
|
12
|
+
comment = COMMENT
|
13
|
+
remove_const(:COMMENT)
|
14
|
+
COMMENT = /#{comment.source}|#{TUMBLR_CUSTOM_CSS_TAG}/
|
12
15
|
end
|
13
16
|
|
14
17
|
# See lib/sass/scss/static_parser.rb
|
@@ -74,7 +77,7 @@ module Sass
|
|
74
77
|
# Avoid to parse first "{" as a block in declaration for Tumblr tags in CSS value
|
75
78
|
# Used from all parsers.
|
76
79
|
alias :value_without_tumblr! :value!
|
77
|
-
def value!
|
80
|
+
def value!(css_variable = false)
|
78
81
|
if tok?(TUMBLR_TAG)
|
79
82
|
sass_script(:parse)
|
80
83
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-tumblr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshimasa Niwa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.22
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.4.
|
26
|
+
version: 3.4.22
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubyforge_project:
|
98
|
-
rubygems_version: 2.
|
98
|
+
rubygems_version: 2.5.1
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Provide SSH port forwarding while deploying
|