qpid_proton 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,45 @@
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
+ require 'mkmf'
21
+
22
+ dir_config("qpid-proton")
23
+
24
+ REQUIRED_LIBRARIES = [
25
+ "qpid-proton",
26
+ ]
27
+
28
+ REQUIRED_LIBRARIES.each do |library|
29
+ abort "Missing library: #{library}" unless have_library library
30
+ end
31
+
32
+ REQUIRED_HEADERS = [
33
+ "proton/engine.h",
34
+ "proton/message.h",
35
+ "proton/sasl.h",
36
+ "proton/driver.h",
37
+ "proton/messenger.h"
38
+ ]
39
+
40
+ REQUIRED_HEADERS.each do |header|
41
+ abort "Missing header: #{header}" unless have_header header
42
+ end
43
+
44
+ create_makefile('cproton')
45
+
@@ -0,0 +1,29 @@
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
+ NAME = "qpid_proton"
25
+ VERSION = "0.0.1"
26
+
27
+ end
28
+
29
+ end
@@ -0,0 +1,23 @@
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
+ require "cproton"
21
+
22
+ require "qpid_proton/version"
23
+
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: qpid_proton
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Darryl L. Pierce
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ! 'Proton is a high performance, lightweight messaging library. It can
15
+ be used in
16
+
17
+ the widest range of messaging applications including brokers, client libraries,
18
+
19
+ routers, bridges, proxies, and more. Proton is based on the AMQP 1.0 messaging
20
+
21
+ standard.
22
+
23
+ '
24
+ email: dpierce@redhat.com
25
+ executables: []
26
+ extensions:
27
+ - ext/cproton/extconf.rb
28
+ extra_rdoc_files: []
29
+ files:
30
+ - ext/cproton/extconf.rb
31
+ - ext/cproton/cproton.c
32
+ - lib/qpid_proton.rb
33
+ - lib/qpid_proton/version.rb
34
+ homepage: http://qpid.apache.org/proton
35
+ licenses:
36
+ - ASL
37
+ post_install_message:
38
+ rdoc_options: []
39
+ require_paths:
40
+ - lib
41
+ required_ruby_version: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ requirements:
54
+ - none
55
+ rubyforge_project: qpid_proton
56
+ rubygems_version: 1.8.24
57
+ signing_key:
58
+ specification_version: 3
59
+ summary: Ruby language bindings for the Qpid Proton messaging framework
60
+ test_files: []