bitstamp 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -59,6 +59,14 @@ Returns an `Order` object.
59
59
  Bitstamp.orders.buy(amount: 1.0, price: 111)
60
60
  ```
61
61
 
62
+ ## Fetch your transactions
63
+
64
+ Returns an `Array` of `UserTransaction`.
65
+
66
+ ```ruby
67
+ Bitstamp.user_transactions.all
68
+ ```
69
+
62
70
  *To be continued!**
63
71
 
64
72
  # Tests
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.7
1
+ 0.2.8
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = "bitstamp"
8
- s.version = "0.2.7"
7
+ s.name = %q{bitstamp}
8
+ s.version = "0.2.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Jeffrey Wilcke"]
12
- s.date = "2013-06-25"
13
- s.description = "Ruby API for use with bitstamp."
14
- s.email = "stygeo@gmail.com"
11
+ s.authors = [%q{Jeffrey Wilcke}]
12
+ s.date = %q{2013-08-27}
13
+ s.description = %q{Ruby API for use with bitstamp.}
14
+ s.email = %q{stygeo@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.md"
@@ -39,11 +39,11 @@ Gem::Specification.new do |s|
39
39
  "spec/spec_helper.rb",
40
40
  "spec/transactions_spec.rb"
41
41
  ]
42
- s.homepage = "http://github.com/kojnapp/bitstamp"
43
- s.licenses = ["MIT"]
44
- s.require_paths = ["lib"]
45
- s.rubygems_version = "1.8.25"
46
- s.summary = "Bitstamp Ruby API"
42
+ s.homepage = %q{http://github.com/kojnapp/bitstamp}
43
+ s.licenses = [%q{MIT}]
44
+ s.require_paths = [%q{lib}]
45
+ s.rubygems_version = %q{1.8.0}
46
+ s.summary = %q{Bitstamp Ruby API}
47
47
 
48
48
  if s.respond_to? :specification_version then
49
49
  s.specification_version = 3
@@ -22,6 +22,6 @@ module Bitstamp
22
22
  end
23
23
 
24
24
  class UserTransaction < Bitstamp::Model
25
- attr_accessor :datetime, :id, :type, :usd, :btc, :fee, :order_id
25
+ attr_accessor :datetime, :id, :type, :usd, :btc, :fee, :order_id, :btc_usd
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitstamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-25 00:00:00.000000000 Z
12
+ date: 2013-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70137097362580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '3.1'
24
+ version_requirements: *70137097362580
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: activesupport
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70137097361960 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '3.1'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '3.1'
35
+ version_requirements: *70137097361960
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: curb
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70137097361180 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>'
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: 0.8.1
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>'
60
- - !ruby/object:Gem::Version
61
- version: 0.8.1
46
+ version_requirements: *70137097361180
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: rspec
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &70137097359980 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0'
70
55
  type: :development
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
57
+ version_requirements: *70137097359980
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: rdoc
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &70137097357360 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ~>
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '3.12'
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: '3.12'
68
+ version_requirements: *70137097357360
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: bundler
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &70137097113620 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ~>
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: 1.3.5
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- version: 1.3.5
79
+ version_requirements: *70137097113620
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: jeweler
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &70137097112260 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ~>
@@ -117,12 +87,7 @@ dependencies:
117
87
  version: 1.8.4
118
88
  type: :development
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: 1.8.4
90
+ version_requirements: *70137097112260
126
91
  description: Ruby API for use with bitstamp.
127
92
  email: stygeo@gmail.com
128
93
  executables: []
@@ -167,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
132
  version: '0'
168
133
  segments:
169
134
  - 0
170
- hash: -1399410324904363812
135
+ hash: -3653737601391442998
171
136
  required_rubygems_version: !ruby/object:Gem::Requirement
172
137
  none: false
173
138
  requirements:
@@ -176,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
141
  version: '0'
177
142
  requirements: []
178
143
  rubyforge_project:
179
- rubygems_version: 1.8.25
144
+ rubygems_version: 1.8.0
180
145
  signing_key:
181
146
  specification_version: 3
182
147
  summary: Bitstamp Ruby API