rbus 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  =CHANGELOG
2
2
 
3
+ R-Bus 0.1.2 2007-05-04
4
+ * Added patch from Bug #10536 from Cezar Espinola to fix bugs in the state
5
+ machine.
6
+
3
7
  R-Bus 0.1.1 2007-03-30
4
8
  * Signature guessing code
5
9
  * Support for dbus-send style arguments
@@ -58,15 +58,15 @@ module RBus
58
58
  when 'OK'
59
59
  send_begin
60
60
  return response.data
61
- when 'REJECT'
61
+ when 'REJECTED'
62
62
  next_mechanism(response.data)
63
63
  state = :AUTH
64
64
  when 'DATA'
65
65
  send_cancel
66
- state = :REJECT
66
+ state = :REJECTED
67
67
  when 'ERROR'
68
68
  send_cancel
69
- state = :REJECT
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 = :REJECT
83
+ state = :REJECTED
84
84
  else
85
85
  send_data(message)
86
86
  end
87
- when 'REJECT'
87
+ when 'REJECTED'
88
88
  next_mechanism(response.data)
89
89
  state = :AUTH
90
90
  when 'ERROR'
91
91
  send_cancel
92
- state = :REJECT
92
+ state = :REJECTED
93
93
  when 'OK'
94
94
  send_begin
95
95
  return response.data
@@ -27,7 +27,7 @@ module RBus #:nodoc:
27
27
 
28
28
  MAJOR = 0
29
29
  MINOR = 1
30
- TINY = 1
30
+ TINY = 2
31
31
 
32
32
  STRING = [MAJOR, MINOR, TINY].join('.')
33
33
  end
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.1
7
- date: 2007-03-30 00:00:00 +02:00
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