Active 0.0.41 → 0.0.42

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/services/active_works.rb +11 -11
  2. data/version.txt +1 -1
  3. metadata +2 -2
@@ -150,17 +150,17 @@ module Active
150
150
  # @metadata_loaded=true
151
151
  # end
152
152
 
153
- # def get_app_api
154
- # # puts "loading active works api"
155
- # begin
156
- # doc = Nokogiri::XML(open("http://apij.active.com/activeworks/event/#{@data[:id]}"))
157
- # @data.merge! Hash.from_xml doc.to_s
158
- # @api_data_loaded=true
159
- # rescue
160
- # raise ActiveWorksError, "Couldn't find ActiveWorks activity with the id of #{id}"
161
- # return
162
- # end
163
- # end
153
+ def get_app_api
154
+ # puts "loading active works api"
155
+ begin
156
+ doc = Nokogiri::XML(open("http://apij.active.com/activeworks/event/#{@data[:id]}"))
157
+ @data.merge! Hash.from_xml doc.to_s
158
+ @api_data_loaded=true
159
+ rescue
160
+ raise ActiveWorksError, "Couldn't find ActiveWorks activity with the id of #{id}"
161
+ return
162
+ end
163
+ end
164
164
 
165
165
  end # end ats
166
166
  end
data/version.txt CHANGED
@@ -1 +1 @@
1
- 0.0.41
1
+ 0.0.42
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 41
9
- version: 0.0.41
8
+ - 42
9
+ version: 0.0.42
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jonathan Spooner, Brian Levine