css_parser 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/css_parser/rule_set.rb +1 -1
- data/lib/css_parser/version.rb +1 -1
- 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: b9ee2104ab3964c915d72991e40aa2fb535e30b1
|
4
|
+
data.tar.gz: ca7ef7101dc36a9f1a120f6df858dc333cf32940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b90c2a8a375bcf1b7fb1d1d0f2bb22c1ec2c323b228e488358bab36ce4129454befa81dccf2d249762682a531c7ff0edaddb54a40276f84c4107aa4e722910e
|
7
|
+
data.tar.gz: bcfdf72f50d5ec130b15c4e80af9bc5076778d886de4170a950980313a5d9d6007548ba88422d40b310da71c5ac5f383640d2540605612826770c8f7ce2f70ae
|
data/lib/css_parser/rule_set.rb
CHANGED
@@ -340,7 +340,7 @@ module CssParser
|
|
340
340
|
# http://www.w3schools.com/cssref/css3_pr_background.asp
|
341
341
|
if @declarations.has_key?('background-size') and not @declarations['background-size'][:is_important]
|
342
342
|
unless @declarations.has_key?('background-position')
|
343
|
-
@declarations['background-position'] = {value => 'initial'}
|
343
|
+
@declarations['background-position'] = {:value => 'initial'}
|
344
344
|
end
|
345
345
|
|
346
346
|
@declarations['background-size'][:value] = "/ #{@declarations['background-size'][:value]}"
|
data/lib/css_parser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: css_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dunae
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|