rubywmq 1.1.1 → 2.0.0.pre
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/.document +0 -4
- data/LICENSE.txt +201 -0
- data/README.md +192 -0
- data/Rakefile +87 -0
- data/examples/q_to_files.cfg +17 -0
- data/ext/extconf.rb +6 -22
- data/ext/extconf_client.rb +3 -19
- data/ext/generate/generate_const.rb +16 -43
- data/ext/generate/generate_reason.rb +23 -36
- data/ext/generate/generate_structs.rb +7 -22
- data/ext/generate/wmq_structs.erb +28 -58
- data/ext/wmq.c +1 -4
- data/ext/wmq.h +5 -1
- data/ext/wmq_message.c +1 -1
- data/ext/wmq_mq_load.c +1 -1
- data/ext/wmq_queue.c +1 -1
- data/ext/wmq_queue_manager.c +1 -1
- data/lib/wmq.rb +10 -19
- data/lib/wmq/message.rb +70 -0
- data/{ext/lib/wmq_temp.rb → lib/wmq/queue_manager.rb} +11 -98
- data/lib/wmq/version.rb +3 -0
- data/tests/test.rb +30 -40
- metadata +95 -65
- data/LICENSE +0 -13
- data/README +0 -73
- data/ext/build.bat +0 -3
- data/ext/build.sh +0 -6
metadata
CHANGED
@@ -1,96 +1,126 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubywmq
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- pre
|
10
|
+
version: 2.0.0.pre
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Reid Morrison
|
14
|
+
- Edwin Fine
|
9
15
|
autorequire:
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
|
-
|
18
|
+
|
19
|
+
date: 2012-09-19 00:00:00 -04:00
|
13
20
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: shoulda
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
description: RubyWMQ is a high performance native Ruby interface into WebSphere MQ.
|
35
|
+
email:
|
36
|
+
- reidmo@gmail.com
|
17
37
|
executables: []
|
18
|
-
|
38
|
+
|
39
|
+
extensions:
|
19
40
|
- ext/extconf.rb
|
20
|
-
extra_rdoc_files:
|
21
|
-
|
22
|
-
|
23
|
-
files:
|
24
|
-
- examples/put_xmit_q.rb
|
25
|
-
- examples/put_rfh.rb
|
26
|
-
- examples/request.rb
|
27
|
-
- examples/put_a.rb
|
28
|
-
- examples/put_b.rb
|
29
|
-
- examples/files_to_q.rb
|
41
|
+
extra_rdoc_files: []
|
42
|
+
|
43
|
+
files:
|
30
44
|
- examples/each_a.rb
|
31
|
-
- examples/
|
32
|
-
- examples/
|
33
|
-
- examples/
|
45
|
+
- examples/each_b.rb
|
46
|
+
- examples/each_header.rb
|
47
|
+
- examples/files_to_q.cfg
|
48
|
+
- examples/files_to_q.rb
|
34
49
|
- examples/get_a.rb
|
35
|
-
- examples/server.rb
|
36
|
-
- examples/put1_a.rb
|
37
|
-
- examples/q_to_files.rb
|
38
|
-
- examples/put_rfh2_b.rb
|
39
50
|
- examples/get_client.rb
|
40
|
-
- examples/
|
41
|
-
- examples/put_rfh2_a.rb
|
42
|
-
- examples/each_header.rb
|
51
|
+
- examples/put1_a.rb
|
43
52
|
- examples/put1_b.rb
|
44
|
-
- examples/
|
53
|
+
- examples/put1_c.rb
|
54
|
+
- examples/put_a.rb
|
55
|
+
- examples/put_b.rb
|
45
56
|
- examples/put_dlh.rb
|
46
|
-
- .
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
57
|
+
- examples/put_dynamic_q.rb
|
58
|
+
- examples/put_group_a.rb
|
59
|
+
- examples/put_group_b.rb
|
60
|
+
- examples/put_rfh.rb
|
61
|
+
- examples/put_rfh2_a.rb
|
62
|
+
- examples/put_rfh2_b.rb
|
63
|
+
- examples/put_xmit_q.rb
|
64
|
+
- examples/q_to_files.cfg
|
65
|
+
- examples/q_to_files.rb
|
66
|
+
- examples/request.rb
|
67
|
+
- examples/server.rb
|
50
68
|
- ext/decode_rfh.c
|
51
|
-
- ext/
|
52
|
-
- ext/wmq.c
|
53
|
-
- ext/wmq_message.c
|
54
|
-
- ext/wmq_mq_load.c
|
55
|
-
- ext/wmq_queue.c
|
56
|
-
- ext/wmq_queue_manager.c
|
69
|
+
- ext/decode_rfh.h
|
57
70
|
- ext/extconf.rb
|
58
71
|
- ext/extconf_client.rb
|
59
|
-
- ext/build.bat
|
60
|
-
- ext/build.sh
|
61
72
|
- ext/generate/generate_const.rb
|
62
73
|
- ext/generate/generate_reason.rb
|
63
74
|
- ext/generate/generate_structs.rb
|
64
75
|
- ext/generate/wmq_structs.erb
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
76
|
+
- ext/wmq.c
|
77
|
+
- ext/wmq.h
|
78
|
+
- ext/wmq_message.c
|
79
|
+
- ext/wmq_mq_load.c
|
80
|
+
- ext/wmq_queue.c
|
81
|
+
- ext/wmq_queue_manager.c
|
82
|
+
- lib/wmq/message.rb
|
83
|
+
- lib/wmq/queue_manager.rb
|
84
|
+
- lib/wmq/version.rb
|
85
|
+
- lib/wmq.rb
|
86
|
+
- LICENSE.txt
|
87
|
+
- Rakefile
|
88
|
+
- README.md
|
68
89
|
- tests/test.rb
|
90
|
+
- .document
|
69
91
|
has_rdoc: true
|
70
|
-
homepage:
|
92
|
+
homepage: https://github.com/reidmorrison/rubywmq
|
71
93
|
licenses: []
|
94
|
+
|
72
95
|
post_install_message:
|
73
96
|
rdoc_options: []
|
74
|
-
|
97
|
+
|
98
|
+
require_paths:
|
75
99
|
- lib
|
76
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
segments:
|
105
|
+
- 1
|
106
|
+
- 8
|
107
|
+
- 4
|
108
|
+
version: 1.8.4
|
109
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ">"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
segments:
|
114
|
+
- 1
|
115
|
+
- 3
|
116
|
+
- 1
|
117
|
+
version: 1.3.1
|
118
|
+
requirements:
|
119
|
+
- WebSphere MQ v5.3, v6 or v7 Client or Server with Development Kit
|
90
120
|
rubyforge_project: rubywmq
|
91
|
-
rubygems_version: 1.6
|
121
|
+
rubygems_version: 1.3.6
|
92
122
|
signing_key:
|
93
123
|
specification_version: 3
|
94
|
-
summary: Ruby interface into WebSphere MQ
|
95
|
-
test_files:
|
124
|
+
summary: Native Ruby interface into WebSphere MQ
|
125
|
+
test_files:
|
96
126
|
- tests/test.rb
|
data/LICENSE
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
|
2
|
-
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
you may not use this file except in compliance with the License.
|
5
|
-
You may obtain a copy of the License at
|
6
|
-
|
7
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
10
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
See the License for the specific language governing permissions and
|
13
|
-
limitations under the License.
|
data/README
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
== Description
|
2
|
-
rubywmq - RubyWMQ is a Ruby interface into WebSphere MQ, previously called MQSeries
|
3
|
-
|
4
|
-
== Synopsis
|
5
|
-
require 'wmq'
|
6
|
-
|
7
|
-
WMQ::QueueManager.connect(:q_mgr_name=>'REID') do |qmgr|
|
8
|
-
qmgr.put(:q_name=>'TEST.QUEUE', :data => 'Hello World')
|
9
|
-
end
|
10
|
-
|
11
|
-
== Building Ruby WMQ
|
12
|
-
Building Ruby WMQ on UNIX/Linux
|
13
|
-
-------------------------------
|
14
|
-
The following is required to build from source code
|
15
|
-
* A 'C' compiler
|
16
|
-
* The WebSphere MQ Software development toolkit
|
17
|
-
|
18
|
-
Extracting the source code package:
|
19
|
-
* unzip package.zip
|
20
|
-
* tar -xvf package.tar
|
21
|
-
|
22
|
-
cd ext/wmq
|
23
|
-
Edit the file build.sh and edit the location of WebSphere MQ (if not in /opt/mqm)
|
24
|
-
Also edit extconf.rb and extconf_client.rb with the location of WebSphere MQ (if not in /opt/mqm)
|
25
|
-
|
26
|
-
Run build.sh
|
27
|
-
|
28
|
-
For any questions, or to report build errors, submit a new Support Request:
|
29
|
-
http://rubywmq.rubyforge.org
|
30
|
-
|
31
|
-
Building Ruby WMQ on Windows
|
32
|
-
----------------------------
|
33
|
-
The following is required to build from source code
|
34
|
-
* The Visual C++ 6.0 compiler
|
35
|
-
* The WebSphere MQ Software development toolkit
|
36
|
-
|
37
|
-
cd ext\wmq
|
38
|
-
Edit the file build.bat and edit the location of WebSphere MQ
|
39
|
-
(if not in C:\Program Files\IBM\WebSphere MQ)
|
40
|
-
and the location of Visual C++ 6 (if not C:\Program Files\Microsoft Visual Studio\VC98)
|
41
|
-
Also edit extconf.rb and extconf_client.rb with the location of WebSphere MQ (if not in C:\Program Files\IBM\WebSphere MQ)
|
42
|
-
|
43
|
-
Run build.bat
|
44
|
-
|
45
|
-
== Support
|
46
|
-
For any questions, or to report build errors, submit a new Support Request:
|
47
|
-
http://rubywmq.rubyforge.org
|
48
|
-
|
49
|
-
== Future Plans
|
50
|
-
Add more formatting option contants and related methods.
|
51
|
-
|
52
|
-
== License
|
53
|
-
Copyright 2006 J. Reid Morrison. Dimension Solutions, Inc.
|
54
|
-
|
55
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
56
|
-
you may not use this file except in compliance with the License.
|
57
|
-
You may obtain a copy of the License at
|
58
|
-
|
59
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
60
|
-
|
61
|
-
Unless required by applicable law or agreed to in writing, software
|
62
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
63
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
64
|
-
See the License for the specific language governing permissions and
|
65
|
-
limitations under the License.
|
66
|
-
|
67
|
-
== Copyright
|
68
|
-
(C) 2006 J. Reid Morrison. Dimension Solutions, Inc.
|
69
|
-
All Rights Reserved
|
70
|
-
|
71
|
-
== Author
|
72
|
-
Reid Morrison
|
73
|
-
rubywmq at gmail dot com
|
data/ext/build.bat
DELETED
data/ext/build.sh
DELETED