appoxy_sessions 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sessions/shareable.rb +3 -0
  2. metadata +3 -3
@@ -5,6 +5,8 @@ module Appoxy
5
5
 
6
6
  def share_with(email, access_rights={}, options={})
7
7
 
8
+ access_rights = {} if access_rights.nil?
9
+
8
10
  @email = email.strip
9
11
 
10
12
  # See if user exists in the system already
@@ -102,6 +104,7 @@ module Appoxy
102
104
  end
103
105
 
104
106
  def update_sharing_options(user, options={})
107
+ options={} if options.nil?
105
108
  # puts 'options=' + ({ :updated=>Time.now }.merge(options)).inspect
106
109
  @sdb = SimpleRecord::Base.connection
107
110
  @project_user = get_results(:first, ["select * from #{share_domain} where user_id=? and #{item_id_name} = ?", user.id, self.id])
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 14
9
- version: 0.0.14
8
+ - 15
9
+ version: 0.0.15
10
10
  platform: ruby
11
11
  authors:
12
12
  - Travis Reeder
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-30 00:00:00 -07:00
17
+ date: 2010-04-17 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency