hominid 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -3
- data/README.rdoc +4 -6
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/hominid.gemspec +69 -0
- data/lib/hominid/api.rb +1 -1
- metadata +18 -28
data/Gemfile
CHANGED
data/README.rdoc
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
|
1
|
+
Note: The official {Mailchimp gem}[http://rubygems.org/gems/mailchimp] is a better alternative to Hominid if you are starting a new project. There is a lot less data-bludgeoning because it uses JSON rather than XML, and it also includes support for the Mandrill API as well.
|
2
2
|
|
3
|
-
Hominid
|
3
|
+
= Hominid {<img src="http://travis-ci.org/terra-firma/hominid.png" />}[http://travis-ci.org/terra-firma/hominid] {<img src="https://gemnasium.com/terra-firma/hominid.png" alt="Dependency Status" />}[https://gemnasium.com/terra-firma/hominid]
|
4
|
+
|
5
|
+
Hominid is a Ruby gem that provides a wrapper for interacting with {Mailchimp's}[http://eepurl.com/ew8J] MC, STS and Export API's. Check out the {Mandrill gem}[http://github.com/terra-firma/mandrill] if you are interested in working with the {Mandrill API}[http://mandrillapp.com/api/docs/index.html].
|
4
6
|
|
5
7
|
== Requirements
|
6
8
|
|
@@ -89,10 +91,6 @@ You can then run the following methods:
|
|
89
91
|
|
90
92
|
We use the {GitHub issue tracker}[https://github.com/terra-firma/hominid/issues] to track bugs and features. Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate support for an existing issue by voting it up. When submitting a bug report, please include a Gist that includes a stack trace and any details that may be necessary to reproduce the bug, including your gem version, Ruby version, and operating system. Ideally, a bug report should include a pull request with failing specs.
|
91
93
|
|
92
|
-
== Travis Build Status
|
93
|
-
|
94
|
-
{<img src="http://travis-ci.org/terra-firma/hominid.png" />}[http://travis-ci.org/terra-firma/hominid]
|
95
|
-
|
96
94
|
== Contributing to Hominid
|
97
95
|
|
98
96
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
data/Rakefile
CHANGED
@@ -15,11 +15,11 @@ require 'jeweler'
|
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
17
|
gem.name = "hominid"
|
18
|
-
gem.homepage = "http://github.com/
|
18
|
+
gem.homepage = "http://github.com/tatemae-consultancy/hominid"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{Ruby gem for interacting with the Mailchimp API's.}
|
21
21
|
gem.description = %Q{Hominid is a Ruby gem that provides a wrapper for interacting with the Mailchimp email marketing service MC, STS and Export API's.}
|
22
|
-
gem.email = "brian@
|
22
|
+
gem.email = "brian@tatem.ae"
|
23
23
|
gem.authors = ["Brian Getting"]
|
24
24
|
# dependencies defined in Gemfile
|
25
25
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.5
|
data/hominid.gemspec
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{hominid}
|
8
|
+
s.version = "3.0.5"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = [%q{Brian Getting}]
|
12
|
+
s.date = %q{2012-08-02}
|
13
|
+
s.description = %q{Hominid is a Ruby gem that provides a wrapper for interacting with the Mailchimp email marketing service MC, STS and Export API's.}
|
14
|
+
s.email = %q{brian@tatem.ae}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".rspec",
|
21
|
+
".travis.yml",
|
22
|
+
"Gemfile",
|
23
|
+
"Guardfile",
|
24
|
+
"LICENSE.txt",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"hominid.gemspec",
|
29
|
+
"lib/hominid.rb",
|
30
|
+
"lib/hominid/api.rb",
|
31
|
+
"lib/hominid/campaign.rb",
|
32
|
+
"lib/hominid/export.rb",
|
33
|
+
"lib/hominid/list.rb",
|
34
|
+
"lib/hominid/security.rb",
|
35
|
+
"lib/hominid/sts.rb",
|
36
|
+
"spec/hominid/hominid_spec.rb",
|
37
|
+
"spec/spec_helper.rb"
|
38
|
+
]
|
39
|
+
s.homepage = %q{http://github.com/tatemae-consultancy/hominid}
|
40
|
+
s.licenses = [%q{MIT}]
|
41
|
+
s.require_paths = [%q{lib}]
|
42
|
+
s.rubygems_version = %q{1.8.8}
|
43
|
+
s.summary = %q{Ruby gem for interacting with the Mailchimp API's.}
|
44
|
+
|
45
|
+
if s.respond_to? :specification_version then
|
46
|
+
s.specification_version = 3
|
47
|
+
|
48
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
|
+
s.add_development_dependency(%q<bundler>, ["> 1.0.0"])
|
50
|
+
s.add_development_dependency(%q<fakeweb>, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<jeweler>, ["> 1.6.4"])
|
52
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
53
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
54
|
+
else
|
55
|
+
s.add_dependency(%q<bundler>, ["> 1.0.0"])
|
56
|
+
s.add_dependency(%q<fakeweb>, [">= 0"])
|
57
|
+
s.add_dependency(%q<jeweler>, ["> 1.6.4"])
|
58
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
59
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
60
|
+
end
|
61
|
+
else
|
62
|
+
s.add_dependency(%q<bundler>, ["> 1.0.0"])
|
63
|
+
s.add_dependency(%q<fakeweb>, [">= 0"])
|
64
|
+
s.add_dependency(%q<jeweler>, ["> 1.6.4"])
|
65
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
66
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
data/lib/hominid/api.rb
CHANGED
@@ -2,7 +2,7 @@ module Hominid
|
|
2
2
|
class API
|
3
3
|
# Blank Slate
|
4
4
|
instance_methods.each do |m|
|
5
|
-
undef_method m unless m.to_s =~ /^__|object_id|method_missing|respond_to?|to_s|inspect|kind_of?|should|should_not/
|
5
|
+
undef_method m unless m.to_s =~ /^__|object_id|method_missing|respond_to?|to_s|inspect|kind_of?|nil?|should|should_not/
|
6
6
|
end
|
7
7
|
|
8
8
|
include Hominid::Campaign
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hominid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02
|
12
|
+
date: 2012-08-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
|
-
requirement: &
|
16
|
+
requirement: &2165851280 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>'
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 1.0.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2165851280
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: fakeweb
|
27
|
-
requirement: &
|
27
|
+
requirement: &2165849520 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,32 +32,21 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: guard-rspec
|
38
|
-
requirement: &2153640200 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ! '>='
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '0'
|
44
|
-
type: :development
|
45
|
-
prerelease: false
|
46
|
-
version_requirements: *2153640200
|
35
|
+
version_requirements: *2165849520
|
47
36
|
- !ruby/object:Gem::Dependency
|
48
37
|
name: jeweler
|
49
|
-
requirement: &
|
38
|
+
requirement: &2165824680 !ruby/object:Gem::Requirement
|
50
39
|
none: false
|
51
40
|
requirements:
|
52
|
-
- -
|
41
|
+
- - ! '>'
|
53
42
|
- !ruby/object:Gem::Version
|
54
43
|
version: 1.6.4
|
55
44
|
type: :development
|
56
45
|
prerelease: false
|
57
|
-
version_requirements: *
|
46
|
+
version_requirements: *2165824680
|
58
47
|
- !ruby/object:Gem::Dependency
|
59
48
|
name: simplecov
|
60
|
-
requirement: &
|
49
|
+
requirement: &2165823780 !ruby/object:Gem::Requirement
|
61
50
|
none: false
|
62
51
|
requirements:
|
63
52
|
- - ! '>='
|
@@ -65,10 +54,10 @@ dependencies:
|
|
65
54
|
version: '0'
|
66
55
|
type: :development
|
67
56
|
prerelease: false
|
68
|
-
version_requirements: *
|
57
|
+
version_requirements: *2165823780
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: rspec
|
71
|
-
requirement: &
|
60
|
+
requirement: &2165822340 !ruby/object:Gem::Requirement
|
72
61
|
none: false
|
73
62
|
requirements:
|
74
63
|
- - ! '>='
|
@@ -76,10 +65,10 @@ dependencies:
|
|
76
65
|
version: '0'
|
77
66
|
type: :development
|
78
67
|
prerelease: false
|
79
|
-
version_requirements: *
|
68
|
+
version_requirements: *2165822340
|
80
69
|
description: Hominid is a Ruby gem that provides a wrapper for interacting with the
|
81
70
|
Mailchimp email marketing service MC, STS and Export API's.
|
82
|
-
email: brian@
|
71
|
+
email: brian@tatem.ae
|
83
72
|
executables: []
|
84
73
|
extensions: []
|
85
74
|
extra_rdoc_files:
|
@@ -94,6 +83,7 @@ files:
|
|
94
83
|
- README.rdoc
|
95
84
|
- Rakefile
|
96
85
|
- VERSION
|
86
|
+
- hominid.gemspec
|
97
87
|
- lib/hominid.rb
|
98
88
|
- lib/hominid/api.rb
|
99
89
|
- lib/hominid/campaign.rb
|
@@ -103,7 +93,7 @@ files:
|
|
103
93
|
- lib/hominid/sts.rb
|
104
94
|
- spec/hominid/hominid_spec.rb
|
105
95
|
- spec/spec_helper.rb
|
106
|
-
homepage: http://github.com/
|
96
|
+
homepage: http://github.com/tatemae-consultancy/hominid
|
107
97
|
licenses:
|
108
98
|
- MIT
|
109
99
|
post_install_message:
|
@@ -118,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
108
|
version: '0'
|
119
109
|
segments:
|
120
110
|
- 0
|
121
|
-
hash:
|
111
|
+
hash: 1652552579875897412
|
122
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
113
|
none: false
|
124
114
|
requirements:
|