rhoconnect-rb 0.2.9 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module Rhoconnect
2
2
  class Railtie < Rails::Railtie
3
3
 
4
4
  rake_tasks do
5
- load File.join(File.dirname(__FILE__),'../../','tasks','setup.rake')
5
+ load File.join(File.dirname(__FILE__),'../../','tasks','setup.rake')
6
6
  end
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Rhoconnect
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/rhoconnect-rb.rb CHANGED
@@ -5,4 +5,4 @@ require 'rhoconnect/configuration'
5
5
  require 'rhoconnect/client'
6
6
  require 'rhoconnect/resource'
7
7
  require 'rhoconnect/endpoints'
8
- require 'rhoconnect/railtie' if defined?(Rails) && !NO_RAILITIES
8
+ require 'rhoconnect/railtie' if defined?(Rails)
data/spec/spec_helper.rb CHANGED
@@ -14,6 +14,12 @@ module Rails
14
14
  class Engine; end
15
15
  end
16
16
 
17
+ module Rails
18
+ class Railtie
19
+ def self.rake_tasks; end
20
+ end
21
+ end
22
+
17
23
  # stubs for sinatra
18
24
  module Sinatra
19
25
  def self.register(mod); end
@@ -23,9 +29,6 @@ module Sinatra
23
29
  end
24
30
  end
25
31
 
26
- # stub so railties will not try and load during tests
27
- NO_RAILITIES = true
28
-
29
32
  require 'rhoconnect-rb'
30
33
 
31
34
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhoconnect-rb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
- - 9
10
- version: 0.2.9
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rhomobile