confluence4r 0.1.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/confluence/{confluence_connector.rb → connector.rb} +1 -1
- data/lib/confluence/page.rb +1 -1
- data/lib/confluence/{confluence_remote_data_object.rb → remote_data_object.rb} +5 -5
- data/lib/confluence/{confluence_rpc.rb → rpc.rb} +2 -2
- data/lib/confluence/user.rb +1 -1
- data/lib/confluence4r.rb +3 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43b1c2ce95ecdf3ca333cc54a72c714b3c4057ba
|
4
|
+
data.tar.gz: c19aaa8f91399f58c43b0250d5f36d53b6bc6c49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fe65df620ce019d650b88e38f7925754afb85839765ac85aa73af5e07be57253bc19b80a78c4a33bf20e4d0d73a71d28b1eddd29c7122e8fc754c2822e4da34
|
7
|
+
data.tar.gz: 0af5147e9b9a0475ddd9bdd4580bde035ed4140a6a6b367dde9eb8ecf00cb1fc416e01b6d28cb7642e351baa83971565935e06866d1664a928101322b64c624c
|
data/lib/confluence/page.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
require 'active_support'
|
2
|
-
require 'confluence/
|
1
|
+
require 'active_support/core_ext/class/attribute'
|
2
|
+
require 'confluence/connector'
|
3
3
|
|
4
4
|
# Abstract object representing some piece of data in Confluence.
|
5
5
|
# This must be overridden by a child class that defines values
|
@@ -8,8 +8,8 @@ require 'confluence/confluence_connector'
|
|
8
8
|
class Confluence::RemoteDataObject
|
9
9
|
# include Reloadable
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
class_attribute :attr_conversions, :readonly_attrs
|
12
|
+
class_attribute :save_method, :get_method, :destroy_method
|
13
13
|
|
14
14
|
attr_accessor :attributes
|
15
15
|
|
@@ -184,4 +184,4 @@ class Confluence::RemoteDataObject
|
|
184
184
|
obj = confluence.send(self.send(:get_method), id.to_s)
|
185
185
|
return obj
|
186
186
|
end
|
187
|
-
end
|
187
|
+
end
|
@@ -24,7 +24,7 @@ module Confluence
|
|
24
24
|
@conf = server.proxy(proxy)
|
25
25
|
@token = "12345"
|
26
26
|
|
27
|
-
@log = Logger.new "#{RAILS_ROOT}/log/confluence4r.log"
|
27
|
+
@log = Logger.new(STDOUT)# "#{RAILS_ROOT}/log/confluence4r.log"
|
28
28
|
end
|
29
29
|
|
30
30
|
def login(username, password)
|
@@ -80,4 +80,4 @@ module Confluence
|
|
80
80
|
|
81
81
|
class RemoteAuthenticationException < RemoteException
|
82
82
|
end
|
83
|
-
end
|
83
|
+
end
|
data/lib/confluence/user.rb
CHANGED
data/lib/confluence4r.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: confluence4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.2'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Atlassian and Alagu
|
@@ -10,6 +10,20 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2014-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: rake
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -30,11 +44,11 @@ executables: []
|
|
30
44
|
extensions: []
|
31
45
|
extra_rdoc_files: []
|
32
46
|
files:
|
33
|
-
- lib/confluence/
|
34
|
-
- lib/confluence/confluence_remote_data_object.rb
|
35
|
-
- lib/confluence/confluence_rpc.rb
|
47
|
+
- lib/confluence/connector.rb
|
36
48
|
- lib/confluence/metadata.rb
|
37
49
|
- lib/confluence/page.rb
|
50
|
+
- lib/confluence/remote_data_object.rb
|
51
|
+
- lib/confluence/rpc.rb
|
38
52
|
- lib/confluence/user.rb
|
39
53
|
- lib/confluence4r.rb
|
40
54
|
homepage: http://confluence.atlassian.com/display/DISC/Confluence4r
|