confluence-soap 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/confluence-soap.rb +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05235a53aeb95b8019306a7550602d9177d84407
4
- data.tar.gz: 9db7f2a153e4b1ab49a38fedcf580d271efa453c
3
+ metadata.gz: da9c06cb6c1d680e251c0c66deb529c415cc8d37
4
+ data.tar.gz: 6abd27edc506edfcee2827087fb76ded07c3b8af
5
5
  SHA512:
6
- metadata.gz: 2d6e0c7787d416a1fdbbfafd015936221b37f49a503dc68e2fad905bfa6e3914875bb9b2b1f0a900e2b97b3e4e8db3c9cf32399c8e833da24179e23acb5e5cce
7
- data.tar.gz: a679505d6e4380d034075115ee506073df8a1e116c60573dfb2d02d04cc18f873a5367677df90f01800e2330cf145d166dd6867c16d556bffcea6bd69964f5df
6
+ metadata.gz: 323b6d8380eee9304da83e715d28e7e5d5ced9696b22a0aa03d6700aa84bec3390e038f00d8e145fd2ca29b4d1e7b3edb96e6edc181952342107a040efeef5de
7
+ data.tar.gz: d381dbb10432d4c83c9e1fa02e291f7fbffb13b77ba00bd753ca81bba1148f21a802831bfe4c03b5e424b48e393c5ac77fc366b491202cfbd81f51c9a2f01c24
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -6,7 +6,8 @@ class ConfluenceSoap
6
6
  Page = Struct.new(:content, :content_status, :created, :creator, :current, :home_page, :id,
7
7
  :modified, :modifier, :parent_id, :permissions, :space, :title, :url, :version) do
8
8
  def self.from_hash h
9
- self.new *h.values_at(*Page.members.map {|m|m.to_sym})
9
+ values = h.values_at(*Page.members.map {|m|m.to_sym}).map {|v| v.is_a?(Hash) ? v['value']||'' : v}
10
+ self.new *values
10
11
  end
11
12
 
12
13
  SKIPPED_KEYS = [:content_status, :created, :creator, :current, :home_page, :modified, :modifier, :url]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: confluence-soap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ping Yu
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.0.14
113
+ rubygems_version: 2.1.11
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: ruby client for confluence soap API