csspool 4.0.4 → 4.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 627ad7d13efa1015e854da2ae7e2d04fc13d9883
4
- data.tar.gz: 5544e9d192e37c9bf3c60247daf778b17b38e8b6
3
+ metadata.gz: d2ea01aef28c70282fa23669ddf3a3f92863c8b8
4
+ data.tar.gz: 03a6b706911bcec94c553455b070b7650fd3572f
5
5
  SHA512:
6
- metadata.gz: 95583df7ab4fcd8597bc199acb09f0f5436ae3f4600189e07c32604a7ebb02f0a3428e2113b164d143158b9b978c116af82d2c3631981613299e20c847ee26c6
7
- data.tar.gz: 605174aae27422cb4c03c7904e788387cac4bca037ea6e6efc4a70fe72bffcf90b35a107db6e7f2d82892672e605dc3b14e8013bb9543002d2a6ba95bfd7a132
6
+ metadata.gz: d39b3b3376b2c95be84981847d2ca88f5da7cda9026a930761b89c07cac155f1bf53b497e4bd245c895b6f0faefc026da279fb9a676c43b3d3cb4e44549b2df2
7
+ data.tar.gz: be2dba3d9c8aeb034b786482faedc134da272cdb8fad72c61896fec0859a8fe8929882339912e866cd9651e1131da80e20c0697dea2587f08486136301825a5b
@@ -1,9 +1,13 @@
1
- == 4.0.4
1
+ == 4.0.5
2
2
 
3
3
  * New Features
4
4
 
5
5
  * Support the ratio data type
6
6
 
7
+ == 4.0.4
8
+
9
+ (Broken release, do not use)
10
+
7
11
  == 4.0.3
8
12
 
9
13
  * New Features
@@ -50,6 +50,7 @@ lib/csspool/terms/hash.rb
50
50
  lib/csspool/terms/ident.rb
51
51
  lib/csspool/terms/math.rb
52
52
  lib/csspool/terms/number.rb
53
+ lib/csspool/terms/ratio.rb
53
54
  lib/csspool/terms/resolution.rb
54
55
  lib/csspool/terms/rgb.rb
55
56
  lib/csspool/terms/string.rb
@@ -13,7 +13,7 @@ require 'csspool/visitors'
13
13
  require 'csspool/collection'
14
14
 
15
15
  module CSSPool
16
- VERSION = "4.0.4"
16
+ VERSION = "4.0.5"
17
17
 
18
18
  def self.CSS doc
19
19
  CSSPool::CSS::Document.parse doc
@@ -0,0 +1,14 @@
1
+ module CSSPool
2
+ module Terms
3
+ class Ratio < Ident
4
+ attr_accessor :numerator
5
+ attr_accessor :denominator
6
+
7
+ def initialize numerator, denominator, parse_location = {}
8
+ @numerator = numerator
9
+ @denominator = denominator
10
+ super(value, operator, parse_location)
11
+ end
12
+ end
13
+ end
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csspool
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.4
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Patterson
@@ -189,6 +189,7 @@ files:
189
189
  - lib/csspool/terms/ident.rb
190
190
  - lib/csspool/terms/math.rb
191
191
  - lib/csspool/terms/number.rb
192
+ - lib/csspool/terms/ratio.rb
192
193
  - lib/csspool/terms/resolution.rb
193
194
  - lib/csspool/terms/rgb.rb
194
195
  - lib/csspool/terms/string.rb