Paul Daigle
a8defe21d3
Bump gem version, add Changelog
2015-03-12 23:20:41 -04:00
Paul Daigle
25d6ebbcec
Fix github issue 40
...
Both post and get requests assumed that the response from the server
would include a "data" field, which is not the case. Moved handling of
the data element back into the invoice and pairing methods.
Also, this update will remove the refund functionality from branch 2.3,
it belongs in 2.4.
2015-03-12 18:55:29 -04:00
Paul Daigle
48d3c753ee
Refactor: create rest_connector module
...
The rest connector module moves most of the functionality of http
connection out of the client and into a module. The goal is to simplify
method calls and DRY up the code.
Changes include replacing all calls to send_request with calls to either
'get' or 'post'. process request now returns the "data" portion of the
JSON response from the server, as every method was retrieving that
separately.
removed some untested code.
2015-03-12 18:23:49 -04:00
Hamish Eisler
72487c9591
correct BTC validation
2015-03-12 18:23:02 -04:00
Paul Daigle
0de7d26cd1
bumped gem version
2015-02-23 15:12:35 -05:00
J. Paul Daigle
90c50762dd
Merge pull request #36 from philosodad/master
...
Removing refund functionality
2015-02-23 14:47:43 -05:00
Paul Daigle
ce31b96e3e
Removing refund functionality
...
Features need to be accompanied by functional tests.
2015-02-23 14:24:48 -05:00
J. Paul Daigle
8e6083431d
Merge pull request #33 from martindale/guide
...
Guide
2015-02-20 16:22:16 -05:00
Eric Martindale
9cee21268f
Split guide into appropriate location.
2015-02-20 15:50:46 -05:00
Eric Martindale
29e90a62ab
Merge branch 'master' of github.com:bitpay/ruby-client into guide
...
Conflicts:
README.md
2015-02-20 15:44:18 -05:00
Paul Daigle
ee3ec36d3d
bump the gem version
2015-02-19 11:04:46 -05:00
Paul Daigle
1296c3f3d0
Merge branch 'matugm-patch-1'
2015-02-17 09:45:58 -05:00
Paul Daigle
97df36429e
Merge branch 'patch-1' of https://github.com/matugm/ruby-client into matugm-patch-1
...
Conflicts:
spec/spec_helper.rb
2015-02-17 09:45:15 -05:00
J. Paul Daigle
aeaa979a21
Merge pull request #35 from philosodad/master
...
Hamish's changes for client initiated pairing
2015-02-16 19:51:45 -05:00
Paul Daigle
61f9312a5b
use trigger('click') for buttons'
2015-02-16 19:32:06 -05:00
Paul Daigle
55e4300f62
tweak timing and selection
2015-02-16 19:15:34 -05:00
Paul Daigle
762d31cf52
Change cucumbers to work with new dashboard
2015-02-16 18:26:45 -05:00
Paul Daigle
4c4e5e7210
Locking gemfile versions to test Travis Build
2015-02-16 18:20:42 -05:00
Hamish Eisler
c7dfbf249c
changes per Paul comments
2015-02-16 09:33:20 -08:00
matugm
2f40752a8d
Refactor claim code generation
...
This refactor makes the code much easier to understand and takes advantage of **rand(Range)** and **Array.new** with a block.
2015-02-15 15:20:54 +01:00
Eric Martindale
0b30b7b1ab
add GUIDE.md
2015-02-12 16:36:26 -05:00
Eric Martindale
b7c73eece7
Reformat Code Samples
...
This add syntax highlighting to the README.
2015-02-11 19:41:34 -05:00
Hamish Eisler
953848bfde
increase sleep for travis reliability
2015-02-06 13:05:05 -08:00
Hamish Eisler
b3b4eddbc6
reduce invoice amounts to work with tier 0 accounts
2015-02-05 16:23:21 -08:00
Hamish Eisler
0e373b589b
add env setup to travis
2015-02-05 15:11:18 -08:00
Hamish Eisler
e0dd445b44
migrate from rspec features to cucumbers
2015-02-04 23:34:27 -08:00
Hamish Eisler
f43ab470b8
update tests for new dashboard
2015-02-04 23:30:35 -08:00
Hamish Eisler
bf428ba0ba
update tests
2015-01-30 00:27:50 +00:00
Hamish Eisler
3feb5e5805
documentation updates
2015-01-29 22:28:04 +00:00
Hamish Eisler
36e928209d
refactor refund method signatures
2015-01-29 22:22:44 +00:00
Hamish Eisler
58cffd70b8
add refund methods and tests
2015-01-27 05:55:29 +00:00
Hamish Eisler
7abd514397
client-initiated pairing changes
2015-01-21 23:57:36 -08:00
J. Paul Daigle
e1cffb375a
Update README.md
2015-01-07 15:31:40 -05:00
Alexander Leitner
e97137df4e
Merge pull request #31 from philosodad/master
...
Change namespace of Client to SDK::Client
2015-01-07 11:10:04 -05:00
Paul Daigle
ad3a68e009
Change namespace of Client to SDK::Client
...
And bumps gem version, deletes redundant files, removes redundant
requires.
2015-01-07 10:46:46 -05:00
Paul Daigle
42a6a604f5
bump gem version
2015-01-06 06:45:55 -05:00
J. Paul Daigle
95dcd1a7c6
Merge pull request #30 from philosodad/master
...
Housekeeping: renaming the gem
2015-01-06 06:37:44 -05:00
Paul Daigle
7f26b781ff
Removing all persistance/environment attributes
...
The core code should not have environmental expectations.
gitignore update
2015-01-05 19:47:32 -05:00
Paul Daigle
df063e35a2
Modified name of gemfile to bitpay-sdk
...
bitpay-client will be used for the command line tool that requires this
gem, and the name 'bitpay' was already taken by a dead project.
2015-01-05 16:04:35 -05:00
Paul Daigle
b7117c65dd
Merge pull request#29 'philosodad-separated_client'
2014-12-29 17:35:39 -05:00
Paul Daigle
ec0d5c4780
Merge branch 'separated_client' of https://github.com/philosodad/ruby-client into philosodad-separated_client
...
Conflicts:
README.md
lib/bitpay/client.rb
2014-12-29 17:23:11 -05:00
Paul Daigle
c95945e710
Remove bitpay client.
...
Bitpay client removed, bitpay bin for client removed.
Features modified to run with local token/key saved or not.
Rake task to clean up local files if created.
Rake task to run all tests, cucumbers, and clean up.
Move local file constants to the cucumber helper
2014-12-29 17:06:28 -05:00
Rich Morgan
3a0ed03bdf
Merge pull request #28 from philosodad/master
...
Added some error handling
2014-12-21 23:24:56 -05:00
Paul Daigle
4c06edc030
Added some error handling
...
Connection Refused error when pairing
Invalid pairing code if pairing code malformed
2014-12-19 16:52:54 -05:00
J. Paul Daigle
9cc0fc78d5
Update README.md
2014-12-15 16:11:46 -05:00
J. Paul Daigle
1863ece600
Update README.md
2014-12-15 16:04:23 -05:00
Paul Daigle
3b692398e0
Modified rake task to clear everything
...
Both before and after cucumbers.
Improved token clearance to use mongo
Rather than relying on capybara, deletes rather than revokes.
2014-12-13 18:18:24 -05:00
Paul Daigle
558a8530b6
Add cucumber testing to bitpay library
...
Work done simultaneously with removing the client from the library
removed 'id' as an argument, no longer valid
2014-12-13 17:30:44 -05:00
Paul Daigle
6e80e47ee0
Added some error handling
...
Connection Refused error when pairing
Invalid pairing code if pairing code malformed
2014-12-09 16:26:58 -05:00
J. Paul Daigle
9be4cfbf7d
Update README.md
...
Better test running explanation.
2014-12-02 13:45:20 -05:00