qpid_proton 0.36.0 → 0.37.0

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/lib/core/sender.rb CHANGED
@@ -32,7 +32,9 @@ module Qpid::Proton
32
32
  # @overload open_sender(address)
33
33
  # @param address [String] address of the target to send to
34
34
  # @overload open_sender(opts)
35
- # @option opts [Boolean] :auto_settle (true) if true, automatically settle transfers
35
+ # @option opts [Boolean] :auto_settle (true) If true (default), automatically settle
36
+ # messages upon receiving a settled disposition for that delivery. Otherwise messages
37
+ # must be explicitly settled.
36
38
  # @option opts [Boolean] :dynamic (false) dynamic property for source {Terminus#dynamic}
37
39
  # @option opts [String,Hash] :source source address or source options, see {Terminus#apply}
38
40
  # @option opts [String,Hash] :target target address or target options, see {Terminus#apply}
@@ -95,5 +97,3 @@ module Qpid::Proton
95
97
  can_raise_error :stream, :error_class => Qpid::Proton::LinkError
96
98
  end
97
99
  end
98
-
99
-
data/lib/core/uri.rb CHANGED
@@ -20,6 +20,13 @@ require 'uri'
20
20
 
21
21
  # Extend the standard ruby {URI} with AMQP and AMQPS schemes
22
22
  module URI
23
+ # monkey patch register_scheme for earlier versions of ruby
24
+ if !self.respond_to? :register_scheme
25
+ def self.register_scheme (scheme, klass)
26
+ @@schemes[scheme] = klass
27
+ end
28
+ end
29
+
23
30
  # AMQP URI scheme for the AMQP protocol
24
31
  class AMQP < Generic
25
32
  DEFAULT_PORT = 5672
@@ -27,13 +34,13 @@ module URI
27
34
  # @return [String] The AMQP address is the {#path} stripped of any leading "/"
28
35
  def amqp_address() path[0] == "/" ? path[1..-1] : path; end
29
36
  end
30
- @@schemes['AMQP'] = AMQP
37
+ register_scheme 'AMQP', AMQP
31
38
 
32
39
  # AMQPS URI scheme for the AMQP protocol over TLS
33
40
  class AMQPS < AMQP
34
41
  DEFAULT_PORT = 5671
35
42
  end
36
- @@schemes['AMQPS'] = AMQPS
43
+ register_scheme 'AMQPS', AMQPS
37
44
  end
38
45
 
39
46
  module Qpid::Proton
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qpid_proton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darryl L. Pierce
8
8
  - Alan Conway
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-24 00:00:00.000000000 Z
12
+ date: 2022-04-06 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |
15
15
  Proton is a high performance, lightweight messaging library. It can be used in
@@ -24,107 +24,106 @@ extensions:
24
24
  extra_rdoc_files: []
25
25
  files:
26
26
  - LICENSE.txt
27
- - ext/cproton/extconf.rb
27
+ - examples/README.md
28
+ - examples/broker.rb
29
+ - examples/client.rb
30
+ - examples/direct_recv.rb
31
+ - examples/direct_send.rb
32
+ - examples/helloworld.rb
33
+ - examples/server.rb
34
+ - examples/simple_recv.rb
35
+ - examples/simple_send.rb
36
+ - examples/ssl-certs/README.txt
37
+ - examples/ssl-certs/tclient-certificate.p12
38
+ - examples/ssl-certs/tclient-certificate.pem
39
+ - examples/ssl-certs/tclient-full.p12
40
+ - examples/ssl-certs/tclient-private-key.pem
41
+ - examples/ssl-certs/tserver-certificate.p12
42
+ - examples/ssl-certs/tserver-certificate.pem
43
+ - examples/ssl-certs/tserver-full.p12
44
+ - examples/ssl-certs/tserver-private-key.pem
45
+ - examples/ssl_send.rb
46
+ - examples/testme
28
47
  - ext/cproton/cproton.c
29
- - lib/reactor/container.rb
48
+ - ext/cproton/extconf.rb
30
49
  - lib/codec/data.rb
31
50
  - lib/codec/mapping.rb
32
- - lib/util/deprecation.rb
33
- - lib/util/wrapper.rb
34
- - lib/util/schedule.rb
35
- - lib/util/version.rb
36
- - lib/util/error_handler.rb
37
- - lib/types/hash.rb
38
- - lib/types/described.rb
39
- - lib/types/type.rb
40
- - lib/types/strings.rb
41
- - lib/types/array.rb
42
- - lib/qpid_proton.rb
43
- - lib/handler/messaging_handler.rb
44
- - lib/handler/reactor_messaging_adapter.rb
45
- - lib/handler/messaging_adapter.rb
46
- - lib/handler/adapter.rb
47
- - lib/core/ssl_domain.rb
48
- - lib/core/ssl.rb
49
- - lib/core/messaging_handler.rb
50
- - lib/core/transfer.rb
51
- - lib/core/ssl_details.rb
51
+ - lib/core/condition.rb
52
+ - lib/core/connection.rb
52
53
  - lib/core/connection_driver.rb
53
- - lib/core/sasl.rb
54
- - lib/core/uri.rb
55
- - lib/core/endpoint.rb
56
- - lib/core/disposition.rb
57
- - lib/core/terminus.rb
58
54
  - lib/core/container.rb
59
55
  - lib/core/delivery.rb
60
- - lib/core/message.rb
56
+ - lib/core/disposition.rb
57
+ - lib/core/endpoint.rb
61
58
  - lib/core/event.rb
62
- - lib/core/work_queue.rb
63
- - lib/core/sender.rb
59
+ - lib/core/exceptions.rb
60
+ - lib/core/link.rb
64
61
  - lib/core/listener.rb
62
+ - lib/core/message.rb
63
+ - lib/core/messaging_handler.rb
64
+ - lib/core/receiver.rb
65
+ - lib/core/sasl.rb
66
+ - lib/core/sender.rb
65
67
  - lib/core/session.rb
66
- - lib/core/exceptions.rb
68
+ - lib/core/ssl.rb
69
+ - lib/core/ssl_details.rb
70
+ - lib/core/ssl_domain.rb
71
+ - lib/core/terminus.rb
72
+ - lib/core/tracker.rb
73
+ - lib/core/transfer.rb
67
74
  - lib/core/transport.rb
75
+ - lib/core/uri.rb
68
76
  - lib/core/url.rb
69
- - lib/core/connection.rb
70
- - lib/core/condition.rb
71
- - lib/core/link.rb
72
- - lib/core/tracker.rb
73
- - lib/core/receiver.rb
77
+ - lib/core/work_queue.rb
78
+ - lib/handler/adapter.rb
79
+ - lib/handler/messaging_adapter.rb
80
+ - lib/handler/messaging_handler.rb
81
+ - lib/handler/reactor_messaging_adapter.rb
82
+ - lib/qpid_proton.rb
83
+ - lib/reactor/container.rb
84
+ - lib/types/array.rb
85
+ - lib/types/described.rb
86
+ - lib/types/hash.rb
87
+ - lib/types/strings.rb
88
+ - lib/types/type.rb
89
+ - lib/util/deprecation.rb
90
+ - lib/util/error_handler.rb
91
+ - lib/util/schedule.rb
92
+ - lib/util/version.rb
93
+ - lib/util/wrapper.rb
94
+ - tests/collect_coverage.rb
95
+ - tests/test_connection_driver.rb
96
+ - tests/test_container.rb
97
+ - tests/test_container_sasl.rb
74
98
  - tests/test_data.rb
75
99
  - tests/test_delivery.rb
76
- - tests/test_connection_driver.rb
77
100
  - tests/test_interop.rb
78
- - tests/test_uri.rb
79
- - tests/test_container_sasl.rb
80
101
  - tests/test_messaging_adapter.rb
81
- - tests/test_utils.rb
82
- - tests/test_tools.rb
83
102
  - tests/test_old_adapter.rb
84
- - tests/test_container.rb
85
- - tests/collect_coverage.rb
86
- - examples/direct_recv.rb
87
- - examples/ssl-certs/tclient-certificate.p12
88
- - examples/ssl-certs/tserver-private-key.pem
89
- - examples/ssl-certs/tserver-certificate.pem
90
- - examples/ssl-certs/tclient-full.p12
91
- - examples/ssl-certs/tserver-full.p12
92
- - examples/ssl-certs/README.txt
93
- - examples/ssl-certs/tclient-private-key.pem
94
- - examples/ssl-certs/tserver-certificate.p12
95
- - examples/ssl-certs/tclient-certificate.pem
96
- - examples/broker.rb
97
- - examples/helloworld.rb
98
- - examples/simple_recv.rb
99
- - examples/server.rb
100
- - examples/client.rb
101
- - examples/README.md
102
- - examples/direct_send.rb
103
- - examples/testme
104
- - examples/ssl_send.rb
105
- - examples/simple_send.rb
103
+ - tests/test_tools.rb
104
+ - tests/test_uri.rb
105
+ - tests/test_utils.rb
106
106
  homepage: http://qpid.apache.org/proton
107
107
  licenses:
108
108
  - Apache-2.0
109
109
  metadata: {}
110
- post_install_message:
110
+ post_install_message:
111
111
  rdoc_options: []
112
112
  require_paths:
113
113
  - lib
114
114
  required_ruby_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: 1.9.3
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - '>='
121
+ - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubyforge_project:
126
- rubygems_version: 2.0.14.1
127
- signing_key:
125
+ rubygems_version: 3.2.22
126
+ signing_key:
128
127
  specification_version: 4
129
128
  summary: Ruby language bindings for the Qpid Proton messaging framework
130
129
  test_files: []