dannysmith_coolpay 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4684bc0115ceea0c16d258bbe4af1b65b558df7
4
- data.tar.gz: 190853d26a27f611f5ccc8efc9f683365d3947e7
3
+ metadata.gz: 6fac9b1ff67c565358e0256ee23b3ce65b9f727e
4
+ data.tar.gz: 8fe0fb195eb6cc45fb72e8489892fa6203e624e0
5
5
  SHA512:
6
- metadata.gz: cd650c5be23ae6cf828eda4472c7313803a8adb22bb0b1bbc6453f80ee6ffbf75d6cbf10cc2a1a3a880573ed73967b3abd09d8c08f21035aa57ca047b264aee0
7
- data.tar.gz: bd125c8167c2b67d5cdb0d6f1ffeb7867a300ffbdf5f20bb79456522d3234dd8031bf017f9f659585dc1753c90053ae93352b3b265cfe23e42b150342a53994e
6
+ metadata.gz: 283933893bb8b652f10c3be502ffd5dc12aff45b9d883dbe04e1b32300ab5ef103d2f72cebfb23dad4983a85338609acde275781583720d9f7313c7999220a56
7
+ data.tar.gz: be2200b6d67d6e3e76e03b632138bd7ae6684b9ad5e84f9ff76d75a3148d892e8c36de9b5032a4ebf99f8d8fdb7722fd550f7392ab1d2839857b5ec4d70dcb68
data/.gitignore CHANGED
@@ -5,6 +5,7 @@
5
5
  /coverage/
6
6
  /doc/
7
7
  /pkg/
8
+ /spec/vcr_cassettes/
8
9
  /spec/reports/
9
10
  /tmp/
10
11
  .tags
data/README.md CHANGED
@@ -46,13 +46,13 @@ COOLPAY_API_KEY=ABC12345678
46
46
  COOLPAY_API_ENDPOINT_URL=https://coolpay.herokuapp.com/api
47
47
  ```
48
48
 
49
- Then run `rake spec`.
49
+ Then run `rake spec`. On the first run, [VCR](https://github.com/vcr/vcr) will record most of the API calls and use the stored requests/responses for subsequent test runs. There is one test that will always hit the live API, though.
50
50
 
51
51
  ## Stuff this should have in it if it wasn't an exercise
52
52
 
53
- * [ ] Cleaner tests.
54
53
  * [ ] More sensible tests for `Connection#payments` and `Connection#recipients`.
55
- * [ ] A way of reauthorizing, in case the tokens time out.
54
+ * [ ] A way of reauthorizing, in case the token times out.
55
+ * [ ] A bunch of refactoring for brevity.
56
56
 
57
57
  ## Development
58
58
 
@@ -60,7 +60,7 @@ module Coolpay
60
60
  private
61
61
 
62
62
  def url(path)
63
- "#{@api_endpoint_url}/#{path}"
63
+ "#{@api_endpoint_url}#{path}"
64
64
  end
65
65
 
66
66
  # Required parameters: method
@@ -1,3 +1,3 @@
1
1
  module Coolpay
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dannysmith_coolpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Smith