lolsoap 0.8.1 → 0.8.2

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: ade998cd2f62aedb0731e685a294a23ace1b9069
4
- data.tar.gz: b99a643d27fdb2c66269bd6353926f087204aac9
3
+ metadata.gz: bce90c789263fb0ed6f602e9e4ebb59788a4c972
4
+ data.tar.gz: 9bbf983d373ae7301aad10f06e5769de321ec51a
5
5
  SHA512:
6
- metadata.gz: 1467ea1b60fbad93d0381431dcaf5965f5eb3a94bbc194e20dd19f5f466808f35dbcf826890dd4fd689ad653aad7bc620acfdf30e12391b6800daeffc7f684bc
7
- data.tar.gz: 6f4c0be96cb491c4a4ca18923159aab257676ed8b3ae7963a47f97d0d0abfc268f62af4808d0aac4ee38643a0e5e303040971f43af5201fae935c72cd8c3c8c1
6
+ metadata.gz: dbaf8e8e21ceb6645f7a969cf9e5919e2a9fe5aa885a3470c7ae2ecc527c5fec8a966e09ab4529205d1710ae207f0fb196614f15b93bcc49182e82337bc622c0
7
+ data.tar.gz: 6706b6753bb585f51676708faf94056422164d6a0b1adb6317efbb003d7372eefe08a1144da8055ca36e773afc91aa357c9d144ec660b651e8e62a637e1768b4
@@ -94,6 +94,12 @@ module LolSoap
94
94
  true
95
95
  end
96
96
 
97
+ def pretty_print(pp)
98
+ pp.group(2, "#(LolSoap::Builder #{sprintf("0x%x", object_id)} {", "})") do
99
+ pp.pp @node
100
+ end
101
+ end
102
+
97
103
  private
98
104
 
99
105
  # alias method_missing __tag__
@@ -1,3 +1,3 @@
1
1
  module LolSoap
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require 'helper'
2
2
  require 'lolsoap/builder'
3
+ require 'pp'
3
4
 
4
5
  module LolSoap
5
6
  describe Builder do
@@ -100,5 +101,11 @@ module LolSoap
100
101
  subject.__type__.must_equal type
101
102
  end
102
103
  end
104
+
105
+ it 'can be pretty printed' do
106
+ output = ''
107
+ PP.pp(subject, output)
108
+ output.include?("LolSoap::Builder").must_equal true
109
+ end
103
110
  end
104
111
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolsoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Leighton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-16 00:00:00.000000000 Z
11
+ date: 2016-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri