oga 3.2 → 3.3

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
  SHA256:
3
- metadata.gz: 8d6d9208c524c5c1afed20ebd101789527afc7f7c6b4291be4264722e777305d
4
- data.tar.gz: 50d7491afe03b6d384abd6672e564a3d31ff9c2ed625dc9c25fcac9295bef6e6
3
+ metadata.gz: c63e4b4004bf4af6d575ffe513b552cba8282fb259db82423b500f8360f3292a
4
+ data.tar.gz: 1e872c97b653e35fef9b7ad0178c07b3976a2bc0c98c324536ae9e3fff077e49
5
5
  SHA512:
6
- metadata.gz: dcbb061de16bfc88a65ff63599f9ac11fe6aa7c9b9d50f9ebc916b48afd17ccc74d153310a40401ff18056c78b18bf325e952a7ad7fde0a6155b9032ff50969f
7
- data.tar.gz: af4a2687b4d2d6b72cc1fa98e79f88ce844072f02728dc954bf4741e32529560362bfdd20f0525f49e2f016720a9298b2f94c13b5349aa26841204441e75c310
6
+ metadata.gz: ac793a9b79020aeffd99458a5200077c366d939d69ab9284dfc4a16be7f32cc2f469d4c75a0cf7d539f39033e5ba423688009d7da366e33fbb275b688bc23277
7
+ data.tar.gz: 490d98fbef2aa6c98f22f6815c4fc16da1573f53d4a686877707f5e57cdd1e6995451deee1521c480e5956624c0fa003470cdb2c4b2a3944a6fb0d52babf852f
@@ -1,3 +1,3 @@
1
1
  module Oga
2
- VERSION = '3.2'
2
+ VERSION = '3.3'
3
3
  end # Oga
@@ -7,6 +7,8 @@ module Oga
7
7
  def to_xml
8
8
  Generator.new(self).to_xml
9
9
  end
10
+
11
+ alias_method :to_s, :to_xml
10
12
  end
11
13
  end
12
14
  end
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: '3.2'
4
+ version: '3.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yorick Peterse
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-10 00:00:00.000000000 Z
11
+ date: 2020-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ast
@@ -210,7 +210,7 @@ homepage: https://gitlab.com/yorickpeterse/oga/
210
210
  licenses:
211
211
  - MPL-2.0
212
212
  metadata: {}
213
- post_install_message:
213
+ post_install_message:
214
214
  rdoc_options: []
215
215
  require_paths:
216
216
  - lib
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  version: '0'
227
227
  requirements: []
228
228
  rubygems_version: 3.1.2
229
- signing_key:
229
+ signing_key:
230
230
  specification_version: 4
231
231
  summary: Oga is an XML/HTML parser written in Ruby.
232
232
  test_files: []