cupid 0.2.0 → 0.2.1

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.
data/README.md CHANGED
@@ -77,13 +77,13 @@ send_tracking_ids = et_translator.send_emails_to_lists({'email_id' => 'list_id',
77
77
  Puts this line into `Gemfile` then run `$ bundle`:
78
78
 
79
79
  ``` ruby
80
- gem 'cupid', '0.2.0'
80
+ gem 'cupid', '0.2.1'
81
81
  ```
82
82
 
83
83
  Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
84
84
 
85
85
  ``` ruby
86
- config.gem 'cupid', :version => '0.2.0'
86
+ config.gem 'cupid', :version => '0.2.1'
87
87
  ```
88
88
 
89
89
  Or manually install cupid gem: `$ gem install cupid`
@@ -40,6 +40,7 @@ module Cupid
40
40
  subscriber_object += '<FirstName>' + user[:first_name].to_s + '</FirstName>' if user[:first_name]
41
41
  subscriber_object += '<LastName>' + user[:last_name].to_s + '</LastName>' if user[:last_name]
42
42
  subscriber_object += '<EmailAddress>' + user[:email] + '</EmailAddress>'
43
+ subscriber_object += '</Objects>'
43
44
  end
44
45
 
45
46
  def list_object(list_id)
@@ -51,7 +52,5 @@ module Cupid
51
52
  </ObjectID>
52
53
  </Lists>'
53
54
  end
54
-
55
- subscriber_object += '</Objects>'
56
55
  end
57
56
  end
@@ -1,3 +1,3 @@
1
1
  module Cupid
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cupid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - gazay