madmimi 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/lib/madmimi.rb +1 -1
  3. data/madmimi.gemspec +2 -3
  4. metadata +3 -4
  5. data/mimi_test.rb +0 -10
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -33,7 +33,7 @@ require 'active_support'
33
33
 
34
34
  class MadMimi
35
35
 
36
- BASE_URL = "madmimi.com"
36
+ BASE_URL = "api.madmimi.com"
37
37
  NEW_LISTS_PATH = "/audience_lists"
38
38
  AUDIENCE_MEMBERS_PATH = "/audience_members"
39
39
  AUDIENCE_LISTS_PATH = "/audience_lists/lists.xml"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{madmimi}
8
- s.version = "1.0.4"
8
+ s.version = "1.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nicholas Young"]
12
- s.date = %q{2010-05-02}
12
+ s.date = %q{2010-05-06}
13
13
  s.description = %q{Send emails, track statistics, and manage your subscriber base with ease.}
14
14
  s.email = %q{nicholas@madmimi.com}
15
15
  s.extra_rdoc_files = [
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  "VERSION",
24
24
  "lib/madmimi.rb",
25
25
  "madmimi.gemspec",
26
- "mimi_test.rb",
27
26
  "pkg/madmimi-1.0.0.gem",
28
27
  "pkg/madmimi-1.0.1.gem",
29
28
  "pkg/madmimi-1.0.3.gem",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 4
9
- version: 1.0.4
8
+ - 5
9
+ version: 1.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nicholas Young
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-02 00:00:00 -05:00
17
+ date: 2010-05-06 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -47,7 +47,6 @@ files:
47
47
  - VERSION
48
48
  - lib/madmimi.rb
49
49
  - madmimi.gemspec
50
- - mimi_test.rb
51
50
  - pkg/madmimi-1.0.0.gem
52
51
  - pkg/madmimi-1.0.1.gem
53
52
  - pkg/madmimi-1.0.3.gem
@@ -1,10 +0,0 @@
1
- require './lib/madmimi'
2
-
3
- mimi = MadMimi.new('nicholas@nicholaswyoung.com', 'f745b56de62ab9b46f613173a10806fb')
4
-
5
- opt = { 'promotion_name' => 'Test Plaintext', 'recipients' => 'nicholas young <nicholas@madmimi.com>', 'from' => 'mad mimi <rubyclass@madmimi.com>',
6
- 'subject' => 'rock and roll!' }
7
-
8
- plaintext = 'this is my plaintext [[unsubscribe]]'
9
-
10
- mimi.send_plaintext(opt, plaintext)