adobe_connect 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/adobe_connect/user.rb +2 -2
- data/lib/adobe_connect/version.rb +1 -1
- data/test/lib/adobe_connect/user_test.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f10609ce437b1c0c43be9f4660134cc315b5f47
|
4
|
+
data.tar.gz: 8a4191eec96d7ab654496f749545ed9d4cde53a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 519de098a13587cb8dd829f62e347b1d2d25ce7f7e685930d3cb9195208f5da180c200fff48ec018c35a703b8bb8051563e6c7188eb550472f418086384dc0fd
|
7
|
+
data.tar.gz: 6ffd8828024399bc9cacd77501cbad18b90393944fbe8619a6eaf3303e3e3df80e68718d689b25131b352c1ec5320fcfad8a80bee75a029bb9923a020d99d52e
|
data/lib/adobe_connect/user.rb
CHANGED
@@ -19,8 +19,8 @@ module AdobeConnect
|
|
19
19
|
def attrs
|
20
20
|
atrs = { :first_name => first_name,
|
21
21
|
:last_name => last_name, :login => username,
|
22
|
-
:email => email, :
|
23
|
-
|
22
|
+
:email => email, :has_children => 0 }
|
23
|
+
atrs[:send_email] = send_email unless send_email.nil?
|
24
24
|
if !self.id.nil?
|
25
25
|
atrs.merge!(:principal_id => self.id)
|
26
26
|
else
|
@@ -58,10 +58,12 @@ class AdobeConnectUserTest < AdobeConnectTestCase
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def obj_attrs_posted
|
61
|
-
{ :first_name => obj_attrs[:first_name],
|
61
|
+
attrs = { :first_name => obj_attrs[:first_name],
|
62
62
|
:last_name => obj_attrs[:last_name], :login => @connect_obj.username,
|
63
63
|
:password => @connect_obj.password, :type => 'user', :has_children => 0,
|
64
|
-
:email => obj_attrs[:email]
|
64
|
+
:email => obj_attrs[:email] }
|
65
|
+
attrs[:send_email] = @connect_obj.send_email unless @connect_obj.send_email.nil?
|
66
|
+
attrs
|
65
67
|
end
|
66
68
|
|
67
69
|
def responses
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adobe_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Pendleton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|