qpid_proton 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,9 @@ module Qpid::Proton::Handler
30
30
  end
31
31
 
32
32
  def on_link_flow(event)
33
- self.on_sendable(event) if event.link.sender? && event.link.credit > 0
33
+ self.on_sendable(event) if event.link.sender? && event.link.credit > 0 &&
34
+ (event.link.state & Qpid::Proton::Endpoint::LOCAL_ACTIVE) &&
35
+ (event.link.state & Qpid::Proton::Endpoint::REMOTE_ACTIVE)
34
36
  end
35
37
 
36
38
  def on_delivery(event)
metadata CHANGED
@@ -1,132 +1,155 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: qpid_proton
3
- version: !ruby/object:Gem::Version
4
- version: 0.12.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 43
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 13
9
+ - 0
10
+ version: 0.13.0
5
11
  platform: ruby
6
- authors:
12
+ authors:
7
13
  - Darryl L. Pierce
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2016-03-14 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2016-06-23 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
14
22
  name: json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
23
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
24
27
  - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
27
35
  description: |
28
36
  Proton is a high performance, lightweight messaging library. It can be used in
29
37
  the widest range of messaging applications including brokers, client libraries,
30
38
  routers, bridges, proxies, and more. Proton is based on the AMQP 1.0 messaging
31
39
  standard.
32
- email:
40
+
41
+ email:
33
42
  - proton@qpid.apache.org
34
43
  executables: []
35
- extensions:
44
+
45
+ extensions:
36
46
  - ext/cproton/extconf.rb
37
47
  extra_rdoc_files: []
38
- files:
39
- - ChangeLog
48
+
49
+ files:
40
50
  - LICENSE
41
51
  - TODO
52
+ - ChangeLog
42
53
  - ext/cproton/extconf.rb
43
- - lib/codec/data.rb
44
- - lib/codec/mapping.rb
45
- - lib/core/base_handler.rb
46
- - lib/core/connection.rb
47
- - lib/core/delivery.rb
48
- - lib/core/disposition.rb
49
- - lib/core/endpoint.rb
50
- - lib/core/exceptions.rb
51
- - lib/core/link.rb
52
- - lib/core/message.rb
53
- - lib/core/receiver.rb
54
- - lib/core/sasl.rb
55
- - lib/core/selectable.rb
56
- - lib/core/sender.rb
57
- - lib/core/session.rb
58
- - lib/core/ssl.rb
59
- - lib/core/ssl_details.rb
60
- - lib/core/ssl_domain.rb
61
- - lib/core/terminus.rb
62
- - lib/core/transport.rb
63
- - lib/core/url.rb
54
+ - ext/cproton/cproton.c
55
+ - lib/util/class_wrapper.rb
56
+ - lib/util/error_handler.rb
57
+ - lib/util/version.rb
58
+ - lib/util/swig_helper.rb
59
+ - lib/util/constants.rb
60
+ - lib/util/timeout.rb
61
+ - lib/util/uuid.rb
62
+ - lib/util/reactor.rb
63
+ - lib/util/condition.rb
64
+ - lib/util/handler.rb
65
+ - lib/util/wrapper.rb
66
+ - lib/util/engine.rb
67
+ - lib/types/array.rb
68
+ - lib/types/described.rb
69
+ - lib/types/strings.rb
70
+ - lib/types/hash.rb
64
71
  - lib/event/collector.rb
65
72
  - lib/event/event.rb
66
- - lib/event/event_base.rb
67
73
  - lib/event/event_type.rb
68
- - lib/handler/acking.rb
69
- - lib/handler/c_adaptor.rb
74
+ - lib/event/event_base.rb
75
+ - lib/codec/data.rb
76
+ - lib/codec/mapping.rb
77
+ - lib/reactor/session_per_connection.rb
78
+ - lib/reactor/link_option.rb
79
+ - lib/reactor/backoff.rb
80
+ - lib/reactor/ssl_config.rb
81
+ - lib/reactor/urls.rb
82
+ - lib/reactor/global_overrides.rb
83
+ - lib/reactor/connector.rb
84
+ - lib/reactor/reactor.rb
85
+ - lib/reactor/container.rb
86
+ - lib/reactor/task.rb
87
+ - lib/reactor/acceptor.rb
70
88
  - lib/handler/c_flow_controller.rb
71
- - lib/handler/endpoint_state_handler.rb
72
- - lib/handler/incoming_message_handler.rb
89
+ - lib/handler/wrapped_handler.rb
90
+ - lib/handler/c_adaptor.rb
73
91
  - lib/handler/messaging_handler.rb
92
+ - lib/handler/acking.rb
93
+ - lib/handler/endpoint_state_handler.rb
74
94
  - lib/handler/outgoing_message_handler.rb
75
- - lib/handler/wrapped_handler.rb
76
- - lib/messenger/messenger.rb
95
+ - lib/handler/incoming_message_handler.rb
96
+ - lib/qpid_proton.rb
77
97
  - lib/messenger/subscription.rb
78
98
  - lib/messenger/tracker.rb
99
+ - lib/messenger/messenger.rb
79
100
  - lib/messenger/tracker_status.rb
80
- - lib/qpid_proton.rb
81
- - lib/reactor/acceptor.rb
82
- - lib/reactor/backoff.rb
83
- - lib/reactor/connector.rb
84
- - lib/reactor/container.rb
85
- - lib/reactor/global_overrides.rb
86
- - lib/reactor/link_option.rb
87
- - lib/reactor/reactor.rb
88
- - lib/reactor/session_per_connection.rb
89
- - lib/reactor/ssl_config.rb
90
- - lib/reactor/task.rb
91
- - lib/reactor/urls.rb
92
- - lib/types/array.rb
93
- - lib/types/described.rb
94
- - lib/types/hash.rb
95
- - lib/types/strings.rb
96
- - lib/util/class_wrapper.rb
97
- - lib/util/condition.rb
98
- - lib/util/constants.rb
99
- - lib/util/engine.rb
100
- - lib/util/error_handler.rb
101
- - lib/util/handler.rb
102
- - lib/util/reactor.rb
103
- - lib/util/swig_helper.rb
104
- - lib/util/timeout.rb
105
- - lib/util/uuid.rb
106
- - lib/util/version.rb
107
- - lib/util/wrapper.rb
101
+ - lib/core/exceptions.rb
102
+ - lib/core/ssl.rb
103
+ - lib/core/sender.rb
104
+ - lib/core/ssl_domain.rb
105
+ - lib/core/message.rb
106
+ - lib/core/link.rb
107
+ - lib/core/endpoint.rb
108
+ - lib/core/disposition.rb
109
+ - lib/core/url.rb
110
+ - lib/core/session.rb
111
+ - lib/core/selectable.rb
112
+ - lib/core/receiver.rb
113
+ - lib/core/sasl.rb
114
+ - lib/core/connection.rb
115
+ - lib/core/transport.rb
116
+ - lib/core/ssl_details.rb
117
+ - lib/core/terminus.rb
118
+ - lib/core/delivery.rb
119
+ - lib/core/base_handler.rb
120
+ has_rdoc: true
108
121
  homepage: http://qpid.apache.org/proton
109
- licenses:
122
+ licenses:
110
123
  - Apache-2.0
111
- metadata: {}
112
124
  post_install_message:
113
125
  rdoc_options: []
114
- require_paths:
126
+
127
+ require_paths:
115
128
  - lib
116
- required_ruby_version: !ruby/object:Gem::Requirement
117
- requirements:
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
118
132
  - - ">="
119
- - !ruby/object:Gem::Version
120
- version: '0'
121
- required_rubygems_version: !ruby/object:Gem::Requirement
122
- requirements:
133
+ - !ruby/object:Gem::Version
134
+ hash: 3
135
+ segments:
136
+ - 0
137
+ version: "0"
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
123
141
  - - ">="
124
- - !ruby/object:Gem::Version
125
- version: '0'
142
+ - !ruby/object:Gem::Version
143
+ hash: 3
144
+ segments:
145
+ - 0
146
+ version: "0"
126
147
  requirements: []
148
+
127
149
  rubyforge_project:
128
- rubygems_version: 2.4.8
150
+ rubygems_version: 1.3.7
129
151
  signing_key:
130
- specification_version: 4
152
+ specification_version: 3
131
153
  summary: Ruby language bindings for the Qpid Proton messaging framework
132
154
  test_files: []
155
+
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 8082419033e2be23ab0795751ac917f4085c0a6f
4
- data.tar.gz: b83497e2e655ea85750c46924249103e23534674
5
- SHA512:
6
- metadata.gz: 0f86d03ad254715c291193994094b75d56b96f99ea9793273044f6ba35dac522aa139cf80a92a509f69594cba13b7103bd56ec43d86849aa172ec86d9b10f416
7
- data.tar.gz: bd833050033680020eff56518595ed4c33e0b95458cc80a722f93af6ba974fb8e2b44fe729bd34c6b341b660cc3d52925ef4c5082d88bb50add64fec6adbef91