tumblr_wrapper 0.1.0 → 0.1.1

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.
@@ -18,6 +18,6 @@ class TumblrWrapper::Blog < TumblrWrapper::BlogResource
18
18
  # http://www.tumblr.com/docs/en/api/v2#posts
19
19
  def posts(parameters={})
20
20
  # for some reason the / is needed for this endpoint... -RH
21
- http_get('posts/', parameters)
21
+ http_get('posts/', {signed: false}, parameters)
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module TumblrWrapper
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/spec/blog_spec.rb CHANGED
@@ -32,13 +32,13 @@ describe TumblrWrapper::Blog do
32
32
 
33
33
  describe "posts" do
34
34
  it "makes an api request" do
35
- blog.should_receive(:http_get).with('posts/', {})
35
+ blog.should_receive(:http_get).with('posts/', {signed: false}, {})
36
36
 
37
37
  blog.posts
38
38
  end
39
39
 
40
40
  it "accepts type parameter" do
41
- blog.should_receive(:http_get).with('posts/', type: 'text')
41
+ blog.should_receive(:http_get).with('posts/', {signed: false}, type: 'text')
42
42
 
43
43
  blog.posts(type: 'text')
44
44
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - rheaton