mailercity 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mailercity/version.rb +1 -1
- data/lib/mailercity.rb +1 -1
- data/spec/mailercity_spec.rb +1 -1
- metadata +2 -2
data/lib/mailercity/version.rb
CHANGED
data/lib/mailercity.rb
CHANGED
data/spec/mailercity_spec.rb
CHANGED
@@ -6,7 +6,7 @@ Mailercity.api_key = "testkey"
|
|
6
6
|
|
7
7
|
describe Mailercity do
|
8
8
|
def stub_post(url, params, options={})
|
9
|
-
status = options.fetch(:status,
|
9
|
+
status = options.fetch(:status, 201)
|
10
10
|
api_key = options.fetch(:api_key, Mailercity.api_key)
|
11
11
|
stub_request(:post, url).with(:body => params, :headers => {'X-Api-Key' => api_key}).to_return(:status => status, :body => "", :headers => {})
|
12
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailercity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|