forex 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -1
- data/README.md +43 -10
- data/features/step_definitions/tabular_rates_steps.rb +42 -13
- data/features/support/env.rb +1 -0
- data/features/tabular_rates.feature +9 -6
- data/forex.gemspec +2 -0
- data/lib/forex.rb +2 -1
- data/lib/forex/tabular_rates.rb +30 -31
- data/lib/forex/traders/jm/bns.rb +1 -1
- data/lib/forex/traders/jm/cok.rb +24 -0
- data/lib/forex/traders/jm/fgb.rb +1 -1
- data/lib/forex/traders/jm/fxtraders.rb +8 -3
- data/lib/forex/traders/jm/jmmb.rb +7 -2
- data/lib/forex/traders/jm/jnbs.rb +1 -2
- data/lib/forex/traders/jm/ncb.rb +1 -1
- data/lib/forex/traders/jm/sagicor.rb +3 -3
- data/lib/forex/version.rb +1 -1
- data/spec/rates/cok.yml +20 -0
- data/spec/rates/fxtraders.yml +26 -0
- data/spec/vcr/traders/cok.yml +681 -0
- data/spec/vcr/traders/{sagicore.yml → sagicor.yml} +1 -1
- metadata +39 -4
@@ -858,6 +858,6 @@ http_interactions:
|
|
858
858
|
KCcjZGxnSW5mb3JtYXRpb24nKS5kaWFsb2coeyd0aXRsZSc6JycsJ2F1dG9P
|
859
859
|
cGVuJzpmYWxzZSwnbW9kYWwnOnRydWUsJ3dpZHRoJzo3MjAsJ2hlaWdodCc6
|
860
860
|
NTgwfSk7Cn0pOwovKl1dPiovCjwvc2NyaXB0Pgo8L2JvZHk+CjwvaHRtbD4=
|
861
|
-
http_version:
|
861
|
+
http_version:
|
862
862
|
recorded_at: Thu, 05 Dec 2013 16:43:25 GMT
|
863
863
|
recorded_with: VCR 2.8.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcel Morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -108,6 +108,34 @@ dependencies:
|
|
108
108
|
- - '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: fivemat
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: bundler
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,6 +186,7 @@ files:
|
|
158
186
|
- lib/forex/tabular_rates.rb
|
159
187
|
- lib/forex/trader.rb
|
160
188
|
- lib/forex/traders/jm/bns.rb
|
189
|
+
- lib/forex/traders/jm/cok.rb
|
161
190
|
- lib/forex/traders/jm/fgb.rb
|
162
191
|
- lib/forex/traders/jm/fxtraders.rb
|
163
192
|
- lib/forex/traders/jm/jmmb.rb
|
@@ -165,7 +194,9 @@ files:
|
|
165
194
|
- lib/forex/traders/jm/ncb.rb
|
166
195
|
- lib/forex/traders/jm/sagicor.rb
|
167
196
|
- lib/forex/version.rb
|
197
|
+
- spec/rates/cok.yml
|
168
198
|
- spec/rates/fgb.yml
|
199
|
+
- spec/rates/fxtraders.yml
|
169
200
|
- spec/rates/jmmb.yml
|
170
201
|
- spec/rates/sagicore.yml
|
171
202
|
- spec/spec_helper.rb
|
@@ -173,12 +204,13 @@ files:
|
|
173
204
|
- spec/trader_spec.rb
|
174
205
|
- spec/traders_spec.rb
|
175
206
|
- spec/vcr/traders/bns.yml
|
207
|
+
- spec/vcr/traders/cok.yml
|
176
208
|
- spec/vcr/traders/fgb.yml
|
177
209
|
- spec/vcr/traders/fxtraders.yml
|
178
210
|
- spec/vcr/traders/jmmb.yml
|
179
211
|
- spec/vcr/traders/jnbs.yml
|
180
212
|
- spec/vcr/traders/ncb.yml
|
181
|
-
- spec/vcr/traders/
|
213
|
+
- spec/vcr/traders/sagicor.yml
|
182
214
|
homepage: https://github.com/mcmorgan/forex
|
183
215
|
licenses:
|
184
216
|
- MIT
|
@@ -207,7 +239,9 @@ test_files:
|
|
207
239
|
- features/step_definitions/tabular_rates_steps.rb
|
208
240
|
- features/support/env.rb
|
209
241
|
- features/tabular_rates.feature
|
242
|
+
- spec/rates/cok.yml
|
210
243
|
- spec/rates/fgb.yml
|
244
|
+
- spec/rates/fxtraders.yml
|
211
245
|
- spec/rates/jmmb.yml
|
212
246
|
- spec/rates/sagicore.yml
|
213
247
|
- spec/spec_helper.rb
|
@@ -215,9 +249,10 @@ test_files:
|
|
215
249
|
- spec/trader_spec.rb
|
216
250
|
- spec/traders_spec.rb
|
217
251
|
- spec/vcr/traders/bns.yml
|
252
|
+
- spec/vcr/traders/cok.yml
|
218
253
|
- spec/vcr/traders/fgb.yml
|
219
254
|
- spec/vcr/traders/fxtraders.yml
|
220
255
|
- spec/vcr/traders/jmmb.yml
|
221
256
|
- spec/vcr/traders/jnbs.yml
|
222
257
|
- spec/vcr/traders/ncb.yml
|
223
|
-
- spec/vcr/traders/
|
258
|
+
- spec/vcr/traders/sagicor.yml
|