inkling_api 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/inkling_api.rb CHANGED
@@ -210,8 +210,8 @@ module InklingApi
210
210
  get("prices.xml", *args)
211
211
  end
212
212
 
213
- def positions
214
- get("positions.xml")
213
+ def positions(membership_id)
214
+ get("memberships/#{membership_id}/trades.xml")
215
215
  end
216
216
 
217
217
  def create_answer(answer, symbol, market_id)
@@ -1,3 +1,3 @@
1
1
  module InklingApi
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inkling_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,12 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-09-04 00:00:00.000000000Z
14
+ date: 2011-09-07 00:00:00.000000000 +00:00
15
+ default_executable:
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: faraday
18
- requirement: &12919920 !ruby/object:Gem::Requirement
19
+ requirement: &7967400 !ruby/object:Gem::Requirement
19
20
  none: false
20
21
  requirements:
21
22
  - - ~>
@@ -23,10 +24,10 @@ dependencies:
23
24
  version: 0.7.4
24
25
  type: :runtime
25
26
  prerelease: false
26
- version_requirements: *12919920
27
+ version_requirements: *7967400
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: faraday-stack
29
- requirement: &12918720 !ruby/object:Gem::Requirement
30
+ requirement: &7966900 !ruby/object:Gem::Requirement
30
31
  none: false
31
32
  requirements:
32
33
  - - ~>
@@ -34,10 +35,10 @@ dependencies:
34
35
  version: 0.1.3
35
36
  type: :runtime
36
37
  prerelease: false
37
- version_requirements: *12918720
38
+ version_requirements: *7966900
38
39
  - !ruby/object:Gem::Dependency
39
40
  name: hashie
40
- requirement: &12866380 !ruby/object:Gem::Requirement
41
+ requirement: &7966440 !ruby/object:Gem::Requirement
41
42
  none: false
42
43
  requirements:
43
44
  - - ~>
@@ -45,10 +46,10 @@ dependencies:
45
46
  version: 1.1.0
46
47
  type: :runtime
47
48
  prerelease: false
48
- version_requirements: *12866380
49
+ version_requirements: *7966440
49
50
  - !ruby/object:Gem::Dependency
50
51
  name: activesupport
51
- requirement: &12865920 !ruby/object:Gem::Requirement
52
+ requirement: &7965980 !ruby/object:Gem::Requirement
52
53
  none: false
53
54
  requirements:
54
55
  - - ~>
@@ -56,10 +57,10 @@ dependencies:
56
57
  version: 3.1.0.rc5
57
58
  type: :runtime
58
59
  prerelease: false
59
- version_requirements: *12865920
60
+ version_requirements: *7965980
60
61
  - !ruby/object:Gem::Dependency
61
62
  name: i18n
62
- requirement: &12865340 !ruby/object:Gem::Requirement
63
+ requirement: &7965520 !ruby/object:Gem::Requirement
63
64
  none: false
64
65
  requirements:
65
66
  - - ~>
@@ -67,10 +68,10 @@ dependencies:
67
68
  version: 0.6.0
68
69
  type: :runtime
69
70
  prerelease: false
70
- version_requirements: *12865340
71
+ version_requirements: *7965520
71
72
  - !ruby/object:Gem::Dependency
72
73
  name: builder
73
- requirement: &12864520 !ruby/object:Gem::Requirement
74
+ requirement: &7998320 !ruby/object:Gem::Requirement
74
75
  none: false
75
76
  requirements:
76
77
  - - ~>
@@ -78,10 +79,10 @@ dependencies:
78
79
  version: 3.0.0
79
80
  type: :runtime
80
81
  prerelease: false
81
- version_requirements: *12864520
82
+ version_requirements: *7998320
82
83
  - !ruby/object:Gem::Dependency
83
84
  name: rspec
84
- requirement: &12864060 !ruby/object:Gem::Requirement
85
+ requirement: &7997860 !ruby/object:Gem::Requirement
85
86
  none: false
86
87
  requirements:
87
88
  - - ~>
@@ -89,10 +90,10 @@ dependencies:
89
90
  version: 2.6.0
90
91
  type: :development
91
92
  prerelease: false
92
- version_requirements: *12864060
93
+ version_requirements: *7997860
93
94
  - !ruby/object:Gem::Dependency
94
95
  name: rspec-core
95
- requirement: &12862800 !ruby/object:Gem::Requirement
96
+ requirement: &7997400 !ruby/object:Gem::Requirement
96
97
  none: false
97
98
  requirements:
98
99
  - - ~>
@@ -100,10 +101,10 @@ dependencies:
100
101
  version: 2.6.0
101
102
  type: :development
102
103
  prerelease: false
103
- version_requirements: *12862800
104
+ version_requirements: *7997400
104
105
  - !ruby/object:Gem::Dependency
105
106
  name: json_spec
106
- requirement: &12862060 !ruby/object:Gem::Requirement
107
+ requirement: &7996940 !ruby/object:Gem::Requirement
107
108
  none: false
108
109
  requirements:
109
110
  - - ~>
@@ -111,10 +112,10 @@ dependencies:
111
112
  version: 0.6.0
112
113
  type: :development
113
114
  prerelease: false
114
- version_requirements: *12862060
115
+ version_requirements: *7996940
115
116
  - !ruby/object:Gem::Dependency
116
117
  name: shoulda
117
- requirement: &12861360 !ruby/object:Gem::Requirement
118
+ requirement: &7996480 !ruby/object:Gem::Requirement
118
119
  none: false
119
120
  requirements:
120
121
  - - ~>
@@ -122,10 +123,10 @@ dependencies:
122
123
  version: 2.11.3
123
124
  type: :development
124
125
  prerelease: false
125
- version_requirements: *12861360
126
+ version_requirements: *7996480
126
127
  - !ruby/object:Gem::Dependency
127
128
  name: ruby-debug19
128
- requirement: &12860720 !ruby/object:Gem::Requirement
129
+ requirement: &7996100 !ruby/object:Gem::Requirement
129
130
  none: false
130
131
  requirements:
131
132
  - - ! '>='
@@ -133,7 +134,7 @@ dependencies:
133
134
  version: '0'
134
135
  type: :development
135
136
  prerelease: false
136
- version_requirements: *12860720
137
+ version_requirements: *7996100
137
138
  description:
138
139
  email:
139
140
  - david@isotope11.com
@@ -181,6 +182,7 @@ files:
181
182
  - lib/inkling_api/version.rb
182
183
  - spec/inkling_api_spec.rb
183
184
  - spec/spec_helper.rb
185
+ has_rdoc: true
184
186
  homepage: http://www.isotope11.com/
185
187
  licenses: []
186
188
  post_install_message:
@@ -201,10 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
203
  version: '0'
202
204
  requirements: []
203
205
  rubyforge_project: inkling_api
204
- rubygems_version: 1.8.6
206
+ rubygems_version: 1.6.2
205
207
  signing_key:
206
208
  specification_version: 3
207
209
  summary: Gem to interact with inkling markets API
208
- test_files:
209
- - spec/inkling_api_spec.rb
210
- - spec/spec_helper.rb
210
+ test_files: []