css_parser 1.4.0 → 1.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b24b01cc09a9975b249b7f68331c44a4b2e6d00
4
- data.tar.gz: 7dc6b7777312134d63abf3ba61154ec152f5ee40
3
+ metadata.gz: b9ee2104ab3964c915d72991e40aa2fb535e30b1
4
+ data.tar.gz: ca7ef7101dc36a9f1a120f6df858dc333cf32940
5
5
  SHA512:
6
- metadata.gz: bf202f430205ba83586fbc04ebe084ca12fe552303b70691ae69755ea8d8753cdc94cc1dc87ef4d22bff55b134880f2c23133764539d75b7a4080c67e834fccd
7
- data.tar.gz: 9384222c4c92f027b0869a2941459ab5ad408b054b7180d4f2aef5e0e784b2a8601057065d1e03794e3710b8744c7f0b5ea280382e386ab3a31b1ac1fcf85785
6
+ metadata.gz: 2b90c2a8a375bcf1b7fb1d1d0f2bb22c1ec2c323b228e488358bab36ce4129454befa81dccf2d249762682a531c7ff0edaddb54a40276f84c4107aa4e722910e
7
+ data.tar.gz: bcfdf72f50d5ec130b15c4e80af9bc5076778d886de4170a950980313a5d9d6007548ba88422d40b310da71c5ac5f383640d2540605612826770c8f7ce2f70ae
@@ -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]}"
@@ -1,3 +1,3 @@
1
1
  module CssParser
2
- VERSION = "1.4.0".freeze
2
+ VERSION = "1.4.1".freeze
3
3
  end
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.0
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-16 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable