adobe_connect 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae95eaae6a338ddf57dc714ddffe464d202deab6
4
- data.tar.gz: 19d53983d307144139b25ae5e803f05949499f47
3
+ metadata.gz: 1f10609ce437b1c0c43be9f4660134cc315b5f47
4
+ data.tar.gz: 8a4191eec96d7ab654496f749545ed9d4cde53a3
5
5
  SHA512:
6
- metadata.gz: 3c89efd518cec436b43bc20ad90237ba562c6534fe5be57452adb8be03b056f75b5007aaad47e5b7ae625080ddb5081a66604f85609a1fd387fdf586c9ea9182
7
- data.tar.gz: 1eef97ab37e4c0edddcfce8b2f65aad63b6bb9be3434be798e1acdb558545489acd80b26494f744ceca1b81fea854e0be16223741a9020d5806f148468485df9
6
+ metadata.gz: 519de098a13587cb8dd829f62e347b1d2d25ce7f7e685930d3cb9195208f5da180c200fff48ec018c35a703b8bb8051563e6c7188eb550472f418086384dc0fd
7
+ data.tar.gz: 6ffd8828024399bc9cacd77501cbad18b90393944fbe8619a6eaf3303e3e3df80e68718d689b25131b352c1ec5320fcfad8a80bee75a029bb9923a020d99d52e
@@ -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, :send_email => send_email,
23
- :has_children => 0 }
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
@@ -1,4 +1,4 @@
1
1
  module AdobeConnect
2
2
  # Public: Current Gem version.
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
@@ -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], :send_email => @connect_obj.send_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.2
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-02-18 00:00:00.000000000 Z
11
+ date: 2015-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport