css_parser 1.4.6 → 1.4.7
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dececf056d9418c517224b0041be332f1a0e132
|
4
|
+
data.tar.gz: 06a21e39d76c9979887b35fa2fbeb834f035e8a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21810de13f346dae79a69933b91a907e8430fca03ff64d682120912aa81d65357a42e1e8ef47c4e62a0ce8738a27c2fd4828e344b801fceb9d8d1a35498662e8
|
7
|
+
data.tar.gz: 677aa6fa9fe06183b3fd97aab252f130cbc96056820a274500a54f98677647a54d80054f3cef320551f275fc0362c2666b0876d0506644c1f8abb7543c998856
|
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 => '
|
343
|
+
@declarations['background-position'] = {:value => '0% 0%'}
|
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.7
|
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-
|
11
|
+
date: 2016-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.5.1
|
59
|
+
rubygems_version: 2.4.5.1
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: Ruby CSS parser.
|