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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/confluence-soap.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da9c06cb6c1d680e251c0c66deb529c415cc8d37
|
4
|
+
data.tar.gz: 6abd27edc506edfcee2827087fb76ded07c3b8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 323b6d8380eee9304da83e715d28e7e5d5ced9696b22a0aa03d6700aa84bec3390e038f00d8e145fd2ca29b4d1e7b3edb96e6edc181952342107a040efeef5de
|
7
|
+
data.tar.gz: d381dbb10432d4c83c9e1fa02e291f7fbffb13b77ba00bd753ca81bba1148f21a802831bfe4c03b5e424b48e393c5ac77fc366b491202cfbd81f51c9a2f01c24
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/lib/confluence-soap.rb
CHANGED
@@ -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
|
-
|
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.
|
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.
|
113
|
+
rubygems_version: 2.1.11
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: ruby client for confluence soap API
|