confluencer 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/confluencer.gemspec +1 -1
- data/lib/confluence/session.rb +6 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.7
|
data/confluencer.gemspec
CHANGED
data/lib/confluence/session.rb
CHANGED
@@ -46,6 +46,12 @@ module Confluence
|
|
46
46
|
client.token if client
|
47
47
|
end
|
48
48
|
|
49
|
+
# Returns the currently logged in username.
|
50
|
+
#
|
51
|
+
def username
|
52
|
+
client.username if client
|
53
|
+
end
|
54
|
+
|
49
55
|
# Logs in and acquire a new token after destroying the previous session.
|
50
56
|
#
|
51
57
|
# ==== Parameters
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: confluencer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 7
|
10
|
+
version: 0.4.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gabor Ratky
|