midwife-client 0.0.10 → 0.0.11

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.
@@ -87,10 +87,6 @@ module Midwife
87
87
  raise ArgumentError, "campaign_id is required"
88
88
  }
89
89
 
90
- unless attributes.has_key?(:list_id)
91
- raise ArgumentError, "list_id is required"
92
- end
93
-
94
90
  request "/campaigns/#{campaign_id}/deliver", attributes
95
91
  end
96
92
 
@@ -1,5 +1,5 @@
1
1
  module Midwife
2
2
  class Client
3
- VERSION = "0.0.10"
3
+ VERSION = "0.0.11"
4
4
  end
5
5
  end
@@ -108,14 +108,6 @@ describe Midwife::Client do
108
108
  }.to raise_error
109
109
  end
110
110
  end
111
-
112
- context 'when list id is missing' do
113
- it 'raises an error' do
114
- expect {
115
- client.deliver_campaign(:campaign_id => 42)
116
- }.to raise_error
117
- end
118
- end
119
111
  end
120
112
 
121
113
  describe '#unsubscribe' do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midwife-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 11
10
+ version: 0.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Guterl
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-14 00:00:00 -04:00
18
+ date: 2011-07-27 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  requirements: []
117
117
 
118
118
  rubyforge_project: midwife-client
119
- rubygems_version: 1.5.2
119
+ rubygems_version: 1.6.2
120
120
  signing_key:
121
121
  specification_version: 3
122
122
  summary: A ruby wrapper for the Midwife HTTP API