mailchimp_exporter 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ .DS_Store
2
+ results.html
3
+ pkg
4
+ html
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mailchimp_exporter.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,54 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mailchimp_exporter (0.0.1)
5
+ erubis (~> 2.7.0)
6
+ json (~> 1.7.5)
7
+ mailchimp (>= 0.0.7.alpha)
8
+ methadone (~> 1.2.2)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ aruba (0.5.0)
14
+ childprocess (= 0.2.3)
15
+ cucumber (>= 1.1.1)
16
+ ffi (>= 1.0.11)
17
+ rspec-expectations (>= 2.7.0)
18
+ builder (3.1.4)
19
+ childprocess (0.2.3)
20
+ ffi (~> 1.0.6)
21
+ cucumber (1.2.1)
22
+ builder (>= 2.1.2)
23
+ diff-lcs (>= 1.1.3)
24
+ gherkin (~> 2.11.0)
25
+ json (>= 1.4.6)
26
+ diff-lcs (1.1.3)
27
+ erubis (2.7.0)
28
+ ffi (1.0.11)
29
+ gherkin (2.11.5)
30
+ json (>= 1.4.6)
31
+ httparty (0.9.0)
32
+ multi_json (~> 1.0)
33
+ multi_xml
34
+ json (1.7.5)
35
+ mailchimp (0.0.7.alpha)
36
+ httparty
37
+ methadone (1.2.2)
38
+ bundler
39
+ multi_json (1.3.6)
40
+ multi_xml (0.5.1)
41
+ rake (0.9.2.2)
42
+ rdoc (3.12)
43
+ json (~> 1.4)
44
+ rspec-expectations (2.11.3)
45
+ diff-lcs (~> 1.1.3)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ aruba
52
+ mailchimp_exporter!
53
+ rake (~> 0.9.2)
54
+ rdoc
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # MailchimpExporter
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'mailchimp_exporter'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install mailchimp_exporter
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/README.rdoc ADDED
@@ -0,0 +1,23 @@
1
+ = mailchimp_exporter - DESCRIBE YOUR GEM
2
+
3
+ Author:: YOUR NAME (YOUR EMAIL)
4
+ Copyright:: Copyright (c) 2012 YOUR NAME
5
+
6
+
7
+ License:: apache, see LICENSE.txt
8
+
9
+
10
+
11
+ DESCRIBE YOUR GEM HERE
12
+
13
+ == Links
14
+
15
+ * {Source on Github}[LINK TO GITHUB]
16
+ * RDoc[LINK TO RDOC.INFO]
17
+
18
+ == Install
19
+
20
+ == Examples
21
+
22
+ == Contributing
23
+
data/Rakefile ADDED
@@ -0,0 +1,66 @@
1
+ def dump_load_path
2
+ puts $LOAD_PATH.join("\n")
3
+ found = nil
4
+ $LOAD_PATH.each do |path|
5
+ if File.exists?(File.join(path,"rspec"))
6
+ puts "Found rspec in #{path}"
7
+ if File.exists?(File.join(path,"rspec","core"))
8
+ puts "Found core"
9
+ if File.exists?(File.join(path,"rspec","core","rake_task"))
10
+ puts "Found rake_task"
11
+ found = path
12
+ else
13
+ puts "!! no rake_task"
14
+ end
15
+ else
16
+ puts "!!! no core"
17
+ end
18
+ end
19
+ end
20
+ if found.nil?
21
+ puts "Didn't find rspec/core/rake_task anywhere"
22
+ else
23
+ puts "Found in #{path}"
24
+ end
25
+ end
26
+ require 'bundler'
27
+ require 'rake/clean'
28
+
29
+ begin
30
+ require 'rspec/core/rake_task'
31
+ rescue LoadError
32
+ dump_load_path
33
+ raise
34
+ end
35
+
36
+ require 'cucumber'
37
+ require 'cucumber/rake/task'
38
+ gem 'rdoc' # we need the installed RDoc gem, not the system one
39
+ require 'rdoc/task'
40
+
41
+ include Rake::DSL
42
+
43
+ Bundler::GemHelper.install_tasks
44
+
45
+
46
+ RSpec::Core::RakeTask.new do |t|
47
+ # Put spec opts in a file named .rspec in root
48
+ end
49
+
50
+
51
+ CUKE_RESULTS = 'results.html'
52
+ CLEAN << CUKE_RESULTS
53
+ Cucumber::Rake::Task.new(:features) do |t|
54
+ t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty --no-source -x"
55
+ t.fork = false
56
+ end
57
+
58
+ Rake::RDocTask.new do |rd|
59
+
60
+ rd.main = "README.rdoc"
61
+
62
+ rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
63
+ end
64
+
65
+ task :default => [:spec,:features]
66
+
@@ -0,0 +1,55 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'optparse'
4
+ require 'methadone'
5
+ require 'mailchimp'
6
+ require 'erubis'
7
+ require 'json'
8
+ require 'mailchimp_exporter'
9
+
10
+ class App
11
+ include Methadone::Main
12
+ include Methadone::CLILogging
13
+
14
+ main do |mailchimp_api_key|
15
+
16
+ mailchimp_api = Mailchimp::API.new(mailchimp_api_key)
17
+ export_api = Mailchimp::Export.new(mailchimp_api_key)
18
+ list_template_file = File.read('./lib/mailchimp_exporter/list_template.erb')
19
+ list_template = Erubis::Eruby.new(list_template_file)
20
+
21
+ mailchimp_api.lists['data'].each do |list|
22
+ puts "\t Extracting members from list: #{list['name']}"
23
+ filename = options['output_folder'] + friendly_filename("#{list['id']}-#{list['name']}") + ".rdfa.html"
24
+ members = export_api.list(id: list['id']).map {|member| JSON.parse(member)}
25
+ File.open(filename, 'w') {|f| f.write(list_template.result(:list=>list, :members => members)) }
26
+ puts "\t\t exported #{members.count} members to #{filename}"
27
+ end
28
+ end
29
+
30
+ def self.friendly_filename(filename)
31
+ filename.gsub(/[^\w\s_-]+/, '')
32
+ .gsub(/(^|\b\s)\s+($|\s?\b)/, '\\1\\2')
33
+ .gsub(/\s+/, '_')
34
+ end
35
+
36
+ # Declare command-line interface here
37
+
38
+ description "Export your MailChimp data (lists, campaigns) into standard formats like RDFa"
39
+
40
+ options['output_folder'] = "./"
41
+
42
+ on("--output_folder VAL","Folder to write exported data to")
43
+
44
+ arg :mailchimp_api_key, "Your MailChimp API key (including datacenter, in format: '{key}-{dc}')"
45
+
46
+ version MailchimpExporter::VERSION
47
+
48
+ use_log_level_option
49
+
50
+ go!
51
+ end
52
+
53
+
54
+
55
+
@@ -0,0 +1,15 @@
1
+ Feature: The mailchimp_exporter cli app works
2
+ In order to export my MailChimp account data
3
+ I want a one line cli command to export all my data
4
+ So I have a backup of my data
5
+
6
+ Scenario: App help explains all the options and arguments required
7
+ When I get help for "mailchimp_exporter"
8
+ Then the exit status should be 0
9
+ And the banner should be present
10
+ And the banner should document that this app takes options
11
+ And the following options should be documented:
12
+ |--version|
13
+ |--output_folder|
14
+ And the banner should document that this app's arguments are:
15
+ |mailchimp_api_key|which is required|
@@ -0,0 +1 @@
1
+ # Put your step definitions here
@@ -0,0 +1,16 @@
1
+ require 'aruba/cucumber'
2
+ require 'methadone/cucumber'
3
+
4
+ ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
5
+ LIB_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','lib')
6
+
7
+ Before do
8
+ # Using "announce" causes massive warnings on 1.9.2
9
+ @puts = true
10
+ @original_rubylib = ENV['RUBYLIB']
11
+ ENV['RUBYLIB'] = LIB_DIR + File::PATH_SEPARATOR + ENV['RUBYLIB'].to_s
12
+ end
13
+
14
+ After do
15
+ ENV['RUBYLIB'] = @original_rubylib
16
+ end
@@ -0,0 +1,48 @@
1
+ <html>
2
+ <body>
3
+ <h1><%= list['name'] %> (list_id: <%= list['id'] %>)</h1>
4
+ <table border=1>
5
+ <tr>
6
+ <th>Status</th>
7
+ <th>Email Address</th>
8
+ <th>First Name</th>
9
+ <th>Last Name</th>
10
+ <th>MEMBER_RATING</th>
11
+ <th>OPTIN_TIME</th>
12
+ <th>OPTIN_IP</th>
13
+ <th>CONFIRM_TIME</th>
14
+ <th>CONFIRM_IP</th>
15
+ <th>LATITUDE</th>
16
+ <th>LONGITUDE</th>
17
+ <th>GMTOFF</th>
18
+ <th>DSTOFF</th>
19
+ <th>TIMEZONE</th>
20
+ <th>CC</th>
21
+ <th>REGION</th>
22
+ <th>LAST_CHANGED</th>
23
+ </tr>
24
+ <% members.each_with_index do |member, index| %>
25
+ <% next if index == 0 #member[0] is column headers %>
26
+ <tr>
27
+ <td>Subscribed</td>
28
+ <td typeof="email"><%= member[0] %></th>
29
+ <td typeof="nameGiven"><%= member[1]||'&nbsp;' %></td>
30
+ <td typeof="nameFamily"><%= member[2]||'&nbsp;' %></td>
31
+ <td typeof="member_rating"><%= member[3]||'&nbsp;' %></td>
32
+ <td typeof="OPTIN_TIME"><%= member[4]||'&nbsp;' %></td>
33
+ <td typeof="OPTIN_IP"><%= member[5]||'&nbsp;' %></td>
34
+ <td typeof="CONFIRM_TIME"><%= member[6]||'&nbsp;' %></td>
35
+ <td typeof="CONFIRM_IP"><%= member[7]||'&nbsp;' %></td>
36
+ <td typeof="LATITUDE"><%= member[8]||'&nbsp;' %></td>
37
+ <td typeof="LONGITUDE"><%= member[9]||'&nbsp;' %></td>
38
+ <td typeof="GMTOFF"><%= member[10]||'&nbsp;' %></td>
39
+ <td typeof="DSTOFF"><%= member[11]||'&nbsp;' %></td>
40
+ <td typeof="TIMEZONE"><%= member[12]||'&nbsp;' %></td>
41
+ <td typeof="CC"><%= member[13]||'&nbsp;' %></td>
42
+ <td typeof="REGION"><%= member[14]||'&nbsp;' %></td>
43
+ <td typeof="LAST_CHANGED"><%= member[15]||'&nbsp;' %></td>
44
+ </tr>
45
+ <% end %>
46
+ </table>
47
+ </body>
48
+ </html>
@@ -0,0 +1,3 @@
1
+ module MailchimpExporter
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,5 @@
1
+ require "mailchimp_exporter/version"
2
+
3
+ module MailchimpExporter
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/mailchimp_exporter/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["David Laing"]
6
+ gem.email = ["david@davidlaing.com"]
7
+ gem.description = %q{Export your MailChimp data}
8
+ gem.summary = %q{Export your MailChimp data (lists, campaigns) into standard formats like RDFa}
9
+ gem.homepage = ""
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "mailchimp_exporter"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = MailchimpExporter::VERSION
17
+ gem.add_development_dependency('rdoc')
18
+ gem.add_development_dependency('aruba')
19
+ gem.add_development_dependency('rake', '~> 0.9.2')
20
+ gem.add_dependency('methadone', '~> 1.2.2')
21
+ gem.add_dependency('mailchimp', '>=0.0.7.alpha')
22
+ gem.add_dependency('erubis', '~> 2.7.0')
23
+ gem.add_dependency('json', '~> 1.7.5')
24
+ end
@@ -0,0 +1,5 @@
1
+ describe "TestSomething" do
2
+ it "should be true" do
3
+ true.should be_true
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mailchimp_exporter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - David Laing
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-31 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rdoc
16
+ requirement: &2164782940 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *2164782940
25
+ - !ruby/object:Gem::Dependency
26
+ name: aruba
27
+ requirement: &2164781820 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *2164781820
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake
38
+ requirement: &2164780560 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: 0.9.2
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *2164780560
47
+ - !ruby/object:Gem::Dependency
48
+ name: methadone
49
+ requirement: &2164779420 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 1.2.2
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *2164779420
58
+ - !ruby/object:Gem::Dependency
59
+ name: mailchimp
60
+ requirement: &2164778440 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 0.0.7.alpha
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *2164778440
69
+ - !ruby/object:Gem::Dependency
70
+ name: erubis
71
+ requirement: &2164777680 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 2.7.0
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *2164777680
80
+ - !ruby/object:Gem::Dependency
81
+ name: json
82
+ requirement: &2164777000 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: 1.7.5
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *2164777000
91
+ description: Export your MailChimp data
92
+ email:
93
+ - david@davidlaing.com
94
+ executables:
95
+ - mailchimp_exporter
96
+ extensions: []
97
+ extra_rdoc_files: []
98
+ files:
99
+ - .gitignore
100
+ - Gemfile
101
+ - Gemfile.lock
102
+ - LICENSE.txt
103
+ - README.md
104
+ - README.rdoc
105
+ - Rakefile
106
+ - bin/mailchimp_exporter
107
+ - features/mailchimp_exporter.feature
108
+ - features/step_definitions/mailchimp_exporter_steps.rb
109
+ - features/support/env.rb
110
+ - lib/mailchimp_exporter.rb
111
+ - lib/mailchimp_exporter/list_template.erb
112
+ - lib/mailchimp_exporter/version.rb
113
+ - mailchimp_exporter.gemspec
114
+ - spec/tc_something_spec.rb
115
+ homepage: ''
116
+ licenses: []
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ requirements: []
134
+ rubyforge_project:
135
+ rubygems_version: 1.8.15
136
+ signing_key:
137
+ specification_version: 3
138
+ summary: Export your MailChimp data (lists, campaigns) into standard formats like
139
+ RDFa
140
+ test_files:
141
+ - features/mailchimp_exporter.feature
142
+ - features/step_definitions/mailchimp_exporter_steps.rb
143
+ - features/support/env.rb
144
+ - spec/tc_something_spec.rb
145
+ has_rdoc: