catarse_monkeymail 0.1.6 → 0.1.7
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 +7 -0
- data/Gemfile.lock +12 -13
- data/README.md +1 -1
- data/app/models/catarse_monkeymail/user_concern.rb +1 -1
- data/lib/catarse_monkeymail/version.rb +1 -1
- metadata +20 -32
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 8accaa5451fe4cc3b466577901619db263de2b1a
|
|
4
|
+
data.tar.gz: d48ea0aee742f7cc587e6ff6af0627bb69ce1053
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: c39bc2a9a4714c3c123769fe2b77f81214864c8ea0fe04022cfc948c6e819825d3187c17b1f7c1e94442efc021b236aa0f153f471aa0e51dd33222351c5b3aed
|
|
7
|
+
data.tar.gz: 3b1648b857e96c7d380a55997ed836bb981092ee53147f2f74c476022b2117c050a2e0221b2a6e007e77cd2fef203f086477821ef528e5ec909c74520c96fb4c
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
catarse_monkeymail (0.1.
|
|
4
|
+
catarse_monkeymail (0.1.7)
|
|
5
5
|
mailchimp-api (~> 2.0.4)
|
|
6
6
|
rails (>= 4.0.3)
|
|
7
7
|
rails-observers
|
|
@@ -37,21 +37,20 @@ GEM
|
|
|
37
37
|
tzinfo (~> 1.1)
|
|
38
38
|
arel (5.0.1.20140414130214)
|
|
39
39
|
builder (3.2.2)
|
|
40
|
+
concurrent-ruby (1.0.2)
|
|
40
41
|
diff-lcs (1.2.5)
|
|
41
42
|
erubis (2.7.0)
|
|
42
|
-
excon (0.
|
|
43
|
-
hike (1.2.3)
|
|
43
|
+
excon (0.49.0)
|
|
44
44
|
i18n (0.6.9)
|
|
45
45
|
json (1.8.1)
|
|
46
46
|
mail (2.5.4)
|
|
47
47
|
mime-types (~> 1.16)
|
|
48
48
|
treetop (~> 1.4.8)
|
|
49
|
-
mailchimp-api (2.0.
|
|
49
|
+
mailchimp-api (2.0.6)
|
|
50
50
|
excon (>= 0.16.0)
|
|
51
51
|
json (>= 1.7.7)
|
|
52
52
|
mime-types (1.25.1)
|
|
53
53
|
minitest (5.3.4)
|
|
54
|
-
multi_json (1.10.1)
|
|
55
54
|
pg (0.17.1)
|
|
56
55
|
polyglot (0.3.5)
|
|
57
56
|
rack (1.5.2)
|
|
@@ -91,18 +90,15 @@ GEM
|
|
|
91
90
|
rspec-mocks (~> 3.0.0)
|
|
92
91
|
rspec-support (~> 3.0.0)
|
|
93
92
|
rspec-support (3.0.0)
|
|
94
|
-
sprockets (
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
tilt (~> 1.1, != 1.3.0)
|
|
99
|
-
sprockets-rails (2.1.3)
|
|
93
|
+
sprockets (3.6.0)
|
|
94
|
+
concurrent-ruby (~> 1.0)
|
|
95
|
+
rack (> 1, < 3)
|
|
96
|
+
sprockets-rails (2.3.3)
|
|
100
97
|
actionpack (>= 3.0)
|
|
101
98
|
activesupport (>= 3.0)
|
|
102
|
-
sprockets (
|
|
99
|
+
sprockets (>= 2.8, < 4.0)
|
|
103
100
|
thor (0.19.1)
|
|
104
101
|
thread_safe (0.3.4)
|
|
105
|
-
tilt (1.4.1)
|
|
106
102
|
treetop (1.4.15)
|
|
107
103
|
polyglot
|
|
108
104
|
polyglot (>= 0.3.1)
|
|
@@ -116,3 +112,6 @@ DEPENDENCIES
|
|
|
116
112
|
catarse_monkeymail!
|
|
117
113
|
pg
|
|
118
114
|
rspec-rails
|
|
115
|
+
|
|
116
|
+
BUNDLED WITH
|
|
117
|
+
1.10.6
|
data/README.md
CHANGED
|
@@ -22,7 +22,7 @@ module CatarseMonkeymail::UserConcern
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
def subscribe_to_newsletter_list
|
|
25
|
-
mailchimp.lists.subscribe(monkey_settings.list_id, { email: self.email }, { name: self.name }) rescue nil
|
|
25
|
+
mailchimp.lists.subscribe(monkey_settings.list_id, { email: self.email }, { name: self.name }, 'html', false) rescue nil
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def unsubscribe_from_newsletter_list email_arg = self.email
|
metadata
CHANGED
|
@@ -1,94 +1,83 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: catarse_monkeymail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.1.7
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Antônio Roberto Silva
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: rails
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- -
|
|
17
|
+
- - ">="
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: 4.0.3
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - ">="
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: 4.0.3
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: mailchimp-api
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
|
-
- - ~>
|
|
31
|
+
- - "~>"
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
37
33
|
version: 2.0.4
|
|
38
34
|
type: :runtime
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
|
-
- - ~>
|
|
38
|
+
- - "~>"
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
45
40
|
version: 2.0.4
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
|
47
42
|
name: rails-observers
|
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
44
|
requirements:
|
|
51
|
-
- -
|
|
45
|
+
- - ">="
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
53
47
|
version: '0'
|
|
54
48
|
type: :runtime
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
51
|
requirements:
|
|
59
|
-
- -
|
|
52
|
+
- - ">="
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
54
|
version: '0'
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
|
63
56
|
name: rspec-rails
|
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
|
65
|
-
none: false
|
|
66
58
|
requirements:
|
|
67
|
-
- -
|
|
59
|
+
- - ">="
|
|
68
60
|
- !ruby/object:Gem::Version
|
|
69
61
|
version: '0'
|
|
70
62
|
type: :development
|
|
71
63
|
prerelease: false
|
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
none: false
|
|
74
65
|
requirements:
|
|
75
|
-
- -
|
|
66
|
+
- - ">="
|
|
76
67
|
- !ruby/object:Gem::Version
|
|
77
68
|
version: '0'
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
|
79
70
|
name: pg
|
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
|
81
|
-
none: false
|
|
82
72
|
requirements:
|
|
83
|
-
- -
|
|
73
|
+
- - ">="
|
|
84
74
|
- !ruby/object:Gem::Version
|
|
85
75
|
version: '0'
|
|
86
76
|
type: :development
|
|
87
77
|
prerelease: false
|
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
-
none: false
|
|
90
79
|
requirements:
|
|
91
|
-
- -
|
|
80
|
+
- - ">="
|
|
92
81
|
- !ruby/object:Gem::Version
|
|
93
82
|
version: '0'
|
|
94
83
|
description: A new catarse integration with mailchimp
|
|
@@ -98,9 +87,9 @@ executables: []
|
|
|
98
87
|
extensions: []
|
|
99
88
|
extra_rdoc_files: []
|
|
100
89
|
files:
|
|
101
|
-
- .gitignore
|
|
102
|
-
- .gitmodules
|
|
103
|
-
- .rspec
|
|
90
|
+
- ".gitignore"
|
|
91
|
+
- ".gitmodules"
|
|
92
|
+
- ".rspec"
|
|
104
93
|
- Gemfile
|
|
105
94
|
- Gemfile.lock
|
|
106
95
|
- MIT-LICENSE
|
|
@@ -162,27 +151,26 @@ files:
|
|
|
162
151
|
- spec/support/user.rb
|
|
163
152
|
homepage: http://catarse.me
|
|
164
153
|
licenses: []
|
|
154
|
+
metadata: {}
|
|
165
155
|
post_install_message:
|
|
166
156
|
rdoc_options: []
|
|
167
157
|
require_paths:
|
|
168
158
|
- lib
|
|
169
159
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
|
-
none: false
|
|
171
160
|
requirements:
|
|
172
|
-
- -
|
|
161
|
+
- - ">="
|
|
173
162
|
- !ruby/object:Gem::Version
|
|
174
163
|
version: '0'
|
|
175
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
|
-
none: false
|
|
177
165
|
requirements:
|
|
178
|
-
- -
|
|
166
|
+
- - ">="
|
|
179
167
|
- !ruby/object:Gem::Version
|
|
180
168
|
version: '0'
|
|
181
169
|
requirements: []
|
|
182
170
|
rubyforge_project:
|
|
183
|
-
rubygems_version:
|
|
171
|
+
rubygems_version: 2.4.5.1
|
|
184
172
|
signing_key:
|
|
185
|
-
specification_version:
|
|
173
|
+
specification_version: 4
|
|
186
174
|
summary: Integration with the best newsletter services <3
|
|
187
175
|
test_files:
|
|
188
176
|
- spec/controller/catarse_monkeymail/controller_concerns_spec.rb
|