rbus 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +4 -0
- data/lib/rbus/auth/state_machine.rb +6 -6
- data/lib/rbus/etc/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.txt
CHANGED
@@ -58,15 +58,15 @@ module RBus
|
|
58
58
|
when 'OK'
|
59
59
|
send_begin
|
60
60
|
return response.data
|
61
|
-
when '
|
61
|
+
when 'REJECTED'
|
62
62
|
next_mechanism(response.data)
|
63
63
|
state = :AUTH
|
64
64
|
when 'DATA'
|
65
65
|
send_cancel
|
66
|
-
state = :
|
66
|
+
state = :REJECTED
|
67
67
|
when 'ERROR'
|
68
68
|
send_cancel
|
69
|
-
state = :
|
69
|
+
state = :REJECTED
|
70
70
|
else
|
71
71
|
send_error
|
72
72
|
state = :OK
|
@@ -80,16 +80,16 @@ module RBus
|
|
80
80
|
message, state = @mechanism.data(response.data)
|
81
81
|
rescue AuthException => e
|
82
82
|
send_cancel
|
83
|
-
state = :
|
83
|
+
state = :REJECTED
|
84
84
|
else
|
85
85
|
send_data(message)
|
86
86
|
end
|
87
|
-
when '
|
87
|
+
when 'REJECTED'
|
88
88
|
next_mechanism(response.data)
|
89
89
|
state = :AUTH
|
90
90
|
when 'ERROR'
|
91
91
|
send_cancel
|
92
|
-
state = :
|
92
|
+
state = :REJECTED
|
93
93
|
when 'OK'
|
94
94
|
send_begin
|
95
95
|
return response.data
|
data/lib/rbus/etc/version.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rbus
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.1.2
|
7
|
+
date: 2007-05-04 00:00:00 +02:00
|
8
8
|
summary: A native implementation of the D-Bus protocol.
|
9
9
|
require_paths:
|
10
10
|
- lib
|