oga 2.7 → 2.8

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: a815718026ec621176e8dbb58800587665c821db
4
- data.tar.gz: c75a7106161327da7add42fea9b83ebb3d61b425
3
+ metadata.gz: 5ce7108284cc8de9b510d9cdbfe16cdfafef042e
4
+ data.tar.gz: b3b633bcea752cf76284f0a5963628c5645d081b
5
5
  SHA512:
6
- metadata.gz: 3e91a40d729ea2d6c173292c90007c9e4d27f473fd7647a4a22f774dad613d34801a5c41d3f380a8b578d7d883464804b3a893a48654d1ad03ae93ac5f686a45
7
- data.tar.gz: ccbe892b49c74680d68d58f5ea9dd8aaf1ef8c1140715ddde1fa623bb559b0fbc1999c7edac9f3db7a7df9df3f71b66645aef90d336fe407984cc804536bcb0d
6
+ metadata.gz: f761cac6f7431ef2843bc818a5c3103243f744d2163ee35b9efed46e1debb53da626acf76a2b33ba5eb820a064f5298187b97c14ce4c21fa5e00663a2d30ea11
7
+ data.tar.gz: 938f57cce3403ffd8aa8b830be1415957b73a1b18afd32608cc9ebd9ceb42a3592cded188ebfcd28a8f84ea35dd7e5943a90aac67f7d403567173d3d9c7d9f9d
@@ -1,3 +1,3 @@
1
1
  module Oga
2
- VERSION = '2.7'
2
+ VERSION = '2.8'
3
3
  end # Oga
@@ -76,7 +76,7 @@ module Oga
76
76
 
77
77
  if value.is_a?(Float)
78
78
  bool = !value.nan? && !value.zero?
79
- elsif value.is_a?(Fixnum)
79
+ elsif value.is_a?(Integer)
80
80
  bool = !value.zero?
81
81
  elsif value.respond_to?(:empty?)
82
82
  bool = !value.empty?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oga
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.7'
4
+ version: '2.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yorick Peterse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  version: '0'
227
227
  requirements: []
228
228
  rubyforge_project:
229
- rubygems_version: 2.5.1
229
+ rubygems_version: 2.5.2
230
230
  signing_key:
231
231
  specification_version: 4
232
232
  summary: Oga is an XML/HTML parser written in Ruby.