catarse_monkeymail 0.0.2 → 0.1.0

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: 99397ed3010ced18f6fb91ca072075f9cc72b9e9
4
- data.tar.gz: 5b7f454aefd94f070dae77fc0919ba085f68a810
3
+ metadata.gz: b8c10b2d656c25d1a87740a6a1db89f0626edcc5
4
+ data.tar.gz: 5c8c04851d06667855487dd077dd94c44855c3b8
5
5
  SHA512:
6
- metadata.gz: 094f40e3dcd4e1c3ac2973981818edf56d484c49890dd77b4aefddfb4b5c12dd654176bf4dfeae7fd54ce74246fd303520d7fa741530058aec85226c01faa2a0
7
- data.tar.gz: 78e773435d458c011248257d4eeecc1202f6721232f7a081abdf8b92e57a4a8b9ed5e74329c1bdd78ed254906a1bf337415ad7507589dbf409cd05473e4b4628
6
+ metadata.gz: c9b053d4cc053855fe2fc62d2b0234574af004d29c9c1abf7523fdc75f9abc3e939619ebaa57bba3651148a11ced6e23517149bff89f555bdf625d23502d59ce
7
+ data.tar.gz: 61dd7f826f713639ca2f6119861c882fcf216b2898dff898d87d3319f1d7d3bf470e8ce1a10d20376692ee23b4f77147951f6e3ecb8ebd92d2ba90c833284878
data/Gemfile.lock CHANGED
@@ -28,7 +28,7 @@ GIT
28
28
  PATH
29
29
  remote: .
30
30
  specs:
31
- catarse_monkeymail (0.0.1)
31
+ catarse_monkeymail (0.1.0)
32
32
  mailchimp-api (~> 2.0.4)
33
33
  rails (~> 4.0.3)
34
34
 
@@ -17,7 +17,7 @@ module CatarseMonkeymail::ProjectConcern
17
17
  private
18
18
 
19
19
  def subscribe_to_list list_id
20
- mailchimp.list.subscribe list_id, { email: self.user.email }, subscriber_args
20
+ mailchimp.lists.subscribe list_id, { email: self.user.email }, subscriber_args
21
21
  end
22
22
 
23
23
  def subscriber_args
@@ -23,11 +23,11 @@ module CatarseMonkeymail::UserConcern
23
23
  end
24
24
 
25
25
  def subscribe_to_newsletter_list
26
- mailchimp.list.subscribe ::CatarseSettings[:mailchimp_list_id], { email: self.email }, { name: self.name }
26
+ mailchimp.lists.subscribe ::CatarseSettings[:mailchimp_list_id], { email: self.email }, { name: self.name }
27
27
  end
28
28
 
29
29
  def unsubscribe_from_newsletter_list email_arg = self.email
30
- mailchimp.list.unsubscribe ::CatarseMonkeymail[:mailchimp_list_id], { email: email_arg }
30
+ mailchimp.lists.unsubscribe ::CatarseMonkeymail[:mailchimp_list_id], { email: email_arg }
31
31
  end
32
32
 
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module CatarseMonkeymail
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_monkeymail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva