iremix-ruby 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- iremix-ruby (0.0.1)
4
+ iremix-ruby (0.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/iremix/user.rb CHANGED
@@ -3,7 +3,7 @@ module Iremix
3
3
  class << self
4
4
  def current(token)
5
5
  response = token.get('/api/v1/people/current.json',
6
- :params => { :access_token => token.access_token })
6
+ :params => { :access_token => token.token })
7
7
 
8
8
  response.parsed
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Iremix
2
2
  module Ruby
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -5,7 +5,7 @@ module Iremix
5
5
  describe User do
6
6
  describe ".current" do
7
7
  it "returns the parsed user" do
8
- token = OpenStruct.new(:access_token => '123abc')
8
+ token = OpenStruct.new(:token => '123abc')
9
9
  response = OpenStruct.new(:parsed => 'user_json_parsed')
10
10
 
11
11
  token.should_receive(:get)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iremix-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -16,7 +16,7 @@ date: 2012-05-04 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rspec
19
- requirement: &70329112328260 !ruby/object:Gem::Requirement
19
+ requirement: &70169057736440 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ! '>='
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: '0'
25
25
  type: :development
26
26
  prerelease: false
27
- version_requirements: *70329112328260
27
+ version_requirements: *70169057736440
28
28
  description: A ruby wrapper for the iRemix API
29
29
  email:
30
30
  - joe@neotericdesign.com