adobe_connect_api 0.0.6.alpha → 0.0.7.alpha

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm 1.9.2@adobe_connect_api
@@ -1,3 +1,3 @@
1
1
  module AdobeConnectApi
2
- VERSION = "0.0.6.alpha"
2
+ VERSION = "0.0.7.alpha"
3
3
  end
@@ -39,14 +39,14 @@ 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)
42
+ def initialize (url = nil, environment)
43
43
  #TODO ChR: Get this from the application config/initializer/abobe_connect_api.rb
44
- begin
45
- environment = Rails.env
46
- # KG: we need the rescue blog since belt does not know Rails, but instead uses Sinatra.env
47
- rescue
48
- environment = Sinatra.env
49
- end
44
+ # begin
45
+ # environment = Rails.env
46
+ # # KG: we need the rescue blog since belt does not know Rails, but instead uses Sinatra.env
47
+ # rescue
48
+ # environment = Sinatra.env
49
+ # end
50
50
 
51
51
  @pointconfig = YAML::load_file("#{Rails.root}/config/config.breeze.yml")[environment]
52
52
  if (url == nil)
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.6.alpha
4
+ version: 0.0.7.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: &2152705220 !ruby/object:Gem::Requirement
16
+ requirement: &2153300340 !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: *2152705220
24
+ version_requirements: *2153300340
25
25
  description: Wrapper to the Adobe Connect API
26
26
  email:
27
27
  - christian.rohrer@switch.ch
@@ -30,6 +30,7 @@ extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
32
  - .gitignore
33
+ - .rvmrc
33
34
  - Gemfile
34
35
  - LICENSE
35
36
  - README.md