cloudfuji 0.0.45 → 0.0.46

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 => options[:category],
37
- :name => options[:name],
38
- :data => options[: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
 
@@ -12,5 +12,9 @@ module Cloudfuji
12
12
  def initialize
13
13
  @params ||= {}
14
14
  end
15
+
16
+ def data
17
+ @params['data']
18
+ end
15
19
  end
16
20
  end
@@ -1,4 +1,4 @@
1
1
  module Cloudfuji
2
2
  # Current version of the Cloudfuji gem
3
- VERSION = "0.0.45"
3
+ VERSION = "0.0.46"
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cloudfuji
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.45
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-03 00:00:00 Z
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: -942491381349623522
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: -942491381349623522
264
+ hash: 1058736423589397859
265
265
  segments:
266
266
  - 0
267
267
  version: "0"