qpid_proton 0.8 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qpid_proton
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.8'
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darryl L. Pierce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-19 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2015-04-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: json
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: |
14
28
  Proton is a high performance, lightweight messaging library. It can be used in
15
29
  the widest range of messaging applications including brokers, client libraries,
@@ -37,9 +51,9 @@ files:
37
51
  - lib/qpid_proton/hash.rb
38
52
  - lib/qpid_proton/mapping.rb
39
53
  - lib/qpid_proton/message.rb
40
- - lib/qpid_proton/message_format.rb
41
54
  - lib/qpid_proton/messenger.rb
42
55
  - lib/qpid_proton/selectable.rb
56
+ - lib/qpid_proton/strings.rb
43
57
  - lib/qpid_proton/subscription.rb
44
58
  - lib/qpid_proton/tracker.rb
45
59
  - lib/qpid_proton/tracker_status.rb
@@ -69,3 +83,4 @@ signing_key:
69
83
  specification_version: 4
70
84
  summary: Ruby language bindings for the Qpid Proton messaging framework
71
85
  test_files: []
86
+ has_rdoc:
@@ -1,75 +0,0 @@
1
- #
2
- # Licensed to the Apache Software Foundation (ASF) under one
3
- # or more contributor license agreements. See the NOTICE file
4
- # distributed with this work for additional information
5
- # regarding copyright ownership. The ASF licenses this file
6
- # to you under the Apache License, Version 2.0 (the
7
- # "License"); you may not use this file except in compliance
8
- # with the License. You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing,
13
- # software distributed under the License is distributed on an
14
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- # KIND, either express or implied. See the License for the
16
- # specific language governing permissions and limitations
17
- # under the License.
18
- #
19
-
20
- module Qpid
21
-
22
- module Proton
23
-
24
- class MessageFormat
25
-
26
- def initialize value, name # :nodoc:
27
- @value = value
28
- @name = name
29
- end
30
-
31
- def value # :nodoc:
32
- @value
33
- end
34
-
35
- def to_s # :nodoc:
36
- @name.to_s
37
- end
38
-
39
- def self.formats # :nodoc:
40
- @formats
41
- end
42
-
43
- def self.by_name(name) # :nodoc:
44
- @by_name[name.to_sym]
45
- end
46
-
47
- def self.by_value(value) # :nodoc:
48
- @by_value[value]
49
- end
50
-
51
- private
52
-
53
- def self.add_item(key, value) # :nodoc:
54
- @by_name ||= {}
55
- @by_name[key] = MessageFormat.new value, key
56
- @by_value ||= {}
57
- @by_value[value] = @by_name[key]
58
- @formats ||= []
59
- @formats << @by_value[value]
60
- end
61
-
62
- def self.const_missing(key) # :nodoc:
63
- @by_name[key]
64
- end
65
-
66
- self.add_item :DATA, Cproton::PN_DATA
67
- self.add_item :TEXT, Cproton::PN_TEXT
68
- self.add_item :AMQP, Cproton::PN_AMQP
69
- self.add_item :JSON, Cproton::PN_JSON
70
-
71
- end
72
-
73
- end
74
-
75
- end