ferocia-rubywmq 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wmq.rb +9 -5
- data/rubywmq.gemspec +1 -1
- metadata +1 -1
data/lib/wmq.rb
CHANGED
@@ -15,11 +15,15 @@
|
|
15
15
|
################################################################################
|
16
16
|
|
17
17
|
# Load wmq that uses auto-load library.
|
18
|
-
#
|
18
|
+
#
|
19
19
|
# If it fails, then it is likely due to this platform not being supported
|
20
20
|
# by auto load facility in Ruby WMQ, so try to load client linked library
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
#
|
22
|
+
# Don't try and load wmq on a mac
|
23
|
+
unless RUBY_PLATFORM =~ /darwin/
|
24
|
+
begin
|
25
|
+
require 'wmq/wmq'
|
26
|
+
rescue LoadError
|
27
|
+
require 'wmq/wmq_client'
|
28
|
+
end
|
25
29
|
end
|
data/rubywmq.gemspec
CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |spec|
|
|
5
5
|
excludes = [/lib.wmq.constants\.rb/, /lib.wmq.constants_admin\.rb/, /ext.wmq_structs\.c/, /ext.wmq_reason\.c/, /ext.Makefile/, /ext.*\.o/, /ext.wmq\.so/, /\.gem$/, /\.log$/, /nbproject/]
|
6
6
|
|
7
7
|
spec.name = 'ferocia-rubywmq'
|
8
|
-
spec.version = "1.1.
|
8
|
+
spec.version = "1.1.2"
|
9
9
|
spec.platform = Gem::Platform::RUBY
|
10
10
|
spec.authors = ['Reid Morrison', 'Edwin Fine']
|
11
11
|
spec.email = ['reidmo@gmail.com']
|