lab-manager 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
7
7
  # The 1.9.3 patch intercepts the existing constructor now that the class
8
8
  # name has changed.
9
9
 
10
- if RUBY_VERSION == "1.8.7"
10
+ if Kernel.const_defined? :HTTPAccess2
11
11
  class HTTPAccess2::Client
12
12
  def initialize(*args)
13
13
  super(args[0], args[1])
@@ -15,7 +15,7 @@ if RUBY_VERSION == "1.8.7"
15
15
  #@session_manager.debug_dev = STDOUT
16
16
  end
17
17
  end
18
- else # > 1.8.7
18
+ elsif Kernel.const_defined? :HTTPClient
19
19
  class HTTPClient
20
20
  alias_method :original_initialize, :initialize
21
21
  def initialize(*args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lab-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: