devise_campaignable 0.2.1 → 0.2.2

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: b891f9af5294938099bb81b548b4bf083d0d4391
4
- data.tar.gz: 1dc8cc8327eb474c83095f6911af9964e87f4eba
3
+ metadata.gz: 751ee1ed0076c925f82fc139434f15fa1009fa62
4
+ data.tar.gz: db5d81fd9147d2433af34592eb97f6e1c7aa3f43
5
5
  SHA512:
6
- metadata.gz: e6c6a17ad66f69d46b826f18c7a88c8574134b6dbe682ddcab48d65861724551d6607ab97685bb0ae134b94ac52387c77f6fc741dbe3ecedea64deb2d05b87e3
7
- data.tar.gz: 31f37646466a573a64079dfa9e6a1aa91f308f48bb3ca6a16e9c3feece096fd9e18a86d96ce1e8a0b5655116b9d08003f1abff231b3da27491f38359bcf9002f
6
+ metadata.gz: 6ece3bc3f9d0838d1773031451ca057490e1555db1493f0d80ac045e4ed89c3f56da4014b857e240ede1fe9408f289995e10c11c7212ab19dc75ac8e2eda467a
7
+ data.tar.gz: 997614ebdc35e6f71e78116244210c1029fc9db83544d8e62b932f47c570f72c6b86c9001cfd00a01a52e06c70b525b2c4b528d528afb47fc4c472ee12514f24
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.5
4
- - 2.2.0
5
- - rbx-2
3
+ - 2.1.10
4
+ - 2.2.6
5
+ - 2.3.3
6
+ - 2.4.0
7
+ - ruby-head
6
8
  script: bundle exec rspec .
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.5"
22
+ spec.add_development_dependency "rack", "~> 1.6.0"
22
23
  spec.add_development_dependency "rake"
23
24
  spec.add_development_dependency "rspec"
24
25
  spec.add_development_dependency "activemodel"
@@ -31,7 +31,7 @@ module Devise
31
31
  api.lists(@campaignable_list_id).members(subscriber_hash(email)).update(body: { status: "unsubscribed" })
32
32
  rescue Gibbon::MailChimpError => e
33
33
  raise unless e.status_code == 404
34
- Rails.logger.warn "unsubscribe: User #{self.email} not found!"
34
+ Rails.logger.warn "unsubscribe: User #{email} not found!"
35
35
  end
36
36
 
37
37
  # Subscribe all users as a batch.
@@ -97,4 +97,4 @@ module Devise
97
97
  end
98
98
  end
99
99
  end
100
- end
100
+ end
@@ -1,3 +1,3 @@
1
1
  module DeviseCampaignable
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_campaignable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Rawlins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-20 00:00:00.000000000 Z
11
+ date: 2017-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rack
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.6.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.6.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement