cloudfuji 0.0.45 → 0.0.46
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cloudfuji/event.rb +7 -3
- data/lib/cloudfuji/event_observer.rb +4 -0
- data/lib/cloudfuji/version.rb +1 -1
- metadata +4 -4
data/lib/cloudfuji/event.rb
CHANGED
@@ -33,11 +33,15 @@ module Cloudfuji
|
|
33
33
|
publish_locally(options) and return if ENV['CLOUDFUJI_LOCAL_APPS'].present?
|
34
34
|
|
35
35
|
payload = {
|
36
|
-
:category
|
37
|
-
:name
|
38
|
-
:data
|
36
|
+
:category => options[:category],
|
37
|
+
:name => options[:name],
|
38
|
+
:data => options[:data]
|
39
39
|
}
|
40
40
|
|
41
|
+
# Baby-steps to multi-tenancy
|
42
|
+
payload[:user_ido_id] = options[:user_ido_id] if options[:user_ido_id]
|
43
|
+
payload[:target_id] = options[:target_id] if options[:target_id]
|
44
|
+
|
41
45
|
Cloudfuji::Command.post_command(events_url, payload)
|
42
46
|
end
|
43
47
|
|
data/lib/cloudfuji/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cloudfuji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.46
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Sean Grove
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2012-06-
|
14
|
+
date: 2012-06-04 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rest-client
|
@@ -252,7 +252,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
252
252
|
requirements:
|
253
253
|
- - ">="
|
254
254
|
- !ruby/object:Gem::Version
|
255
|
-
hash:
|
255
|
+
hash: 1058736423589397859
|
256
256
|
segments:
|
257
257
|
- 0
|
258
258
|
version: "0"
|
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
261
|
requirements:
|
262
262
|
- - ">="
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
hash:
|
264
|
+
hash: 1058736423589397859
|
265
265
|
segments:
|
266
266
|
- 0
|
267
267
|
version: "0"
|