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.
Files changed (3) hide show
  1. data/lib/wmq.rb +9 -5
  2. data/rubywmq.gemspec +1 -1
  3. 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
- begin
22
- require 'wmq/wmq'
23
- rescue LoadError
24
- require 'wmq/wmq_client'
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.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']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ferocia-rubywmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: