adobe_connect_api 0.0.7.alpha → 0.0.8.alpha

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AdobeConnectApi
2
- VERSION = "0.0.7.alpha"
2
+ VERSION = "0.0.8.alpha"
3
3
  end
@@ -39,7 +39,7 @@ class AdobeConnectAPI
39
39
  end
40
40
 
41
41
  #The URL is the base URL of the Connect-Server, without the trailing slash
42
- def initialize (url = nil, environment)
42
+ def initialize (url = nil, environment, root_directory)
43
43
  #TODO ChR: Get this from the application config/initializer/abobe_connect_api.rb
44
44
  # begin
45
45
  # environment = Rails.env
@@ -48,7 +48,7 @@ class AdobeConnectAPI
48
48
  # environment = Sinatra.env
49
49
  # end
50
50
 
51
- @pointconfig = YAML::load_file("#{Rails.root}/config/config.breeze.yml")[environment]
51
+ @pointconfig = YAML::load_file("#{root_directory}/config/config.breeze.yml")[environment]
52
52
  if (url == nil)
53
53
  @url = pointconfig["url"]
54
54
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adobe_connect_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7.alpha
4
+ version: 0.0.8.alpha
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xml-simple
16
- requirement: &2153300340 !ruby/object:Gem::Requirement
16
+ requirement: &2153220160 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2153300340
24
+ version_requirements: *2153220160
25
25
  description: Wrapper to the Adobe Connect API
26
26
  email:
27
27
  - christian.rohrer@switch.ch