flattr 0.3.2 → 0.3.3

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.
@@ -35,7 +35,7 @@ module Flattr
35
35
  request.url(path, params)
36
36
  when :post, :put, :patch
37
37
  request.path = path
38
- req.headers['Content-Type'] = 'application/json'
38
+ request.headers['Content-Type'] = 'application/json'
39
39
  request.body = params unless params.empty?
40
40
  end
41
41
  end
@@ -2,7 +2,7 @@ require 'flattr/base'
2
2
 
3
3
  module Flattr
4
4
  class User < Flattr::Base
5
- lazy_attr_reader :username, :email, :firstname, :lastname, :city, :zip,
6
- :province, :cellphone, :avatar, :about, :country, :resource, :link
5
+ lazy_attr_reader :username, :email, :firstname, :lastname, :city,
6
+ :cellphone, :avatar, :about, :country, :resource, :link, :url
7
7
  end
8
8
  end
@@ -13,7 +13,7 @@ module Flattr
13
13
 
14
14
  # @return [Integer]
15
15
  def self.patch
16
- 2
16
+ 3
17
17
  end
18
18
 
19
19
  # @return [String, NilClass]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flattr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-30 00:00:00.000000000 Z
13
+ date: 2012-05-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday