Commit Graph

54 Commits

Author SHA1 Message Date
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
Paul Daigle
95a6f5c6a2 Bumped the gem version 2014-12-02 13:38:01 -05:00
J. Paul Daigle
c50b9012b5 Merge pull request #23 from heisler3030/better_errors
Better errors
2014-12-02 13:26:39 -05:00
Hamish Eisler
387006b616 more request DRYing 2014-11-26 15:22:05 -08:00
Hamish Eisler
316ce90d34 remove dead code 2014-11-26 11:54:28 -08:00
Hamish Eisler
746fd8737b DRY up HTTP request/error handling 2014-11-26 11:54:28 -08:00
Hamish Eisler
5281aff957 better passthrough of error messages, plus test 2014-11-26 11:54:28 -08:00
J. Paul Daigle
2e0e881fc3 Merge pull request #22 from heisler3030/fix_nil_pem
Fix hardcoding and PEM utility
2014-11-26 10:49:42 -05:00
Hamish Eisler
7cca6fa77d fix nil pem, add test, cleanup hardcoding 2014-11-18 15:04:57 -08:00
Hamish Eisler
b199f32c59 bug fix 2014-11-18 14:47:09 -08:00
Alexander Leitner
2a36db7d44 Merge pull request #19 from philosodad/master
Modified tests to fix breaks caused by changes in prod
2014-10-23 10:18:24 -04:00
Paul Daigle
43164f9539 Modified tests to fix breaks caused by changes in prod
We are having to pause between two clicks that are running javascript,
which is a little odd.

Had to add an ssl-protocol option to the phantomjs options.
2014-10-22 15:10:08 -04:00
J. Paul Daigle
648ac1a72e Merge pull request #18 from philosodad/master
specs no longer create extra files
2014-10-15 17:06:17 -04:00
Paul Daigle
8545afd982 specs no longer create extra files 2014-10-13 09:51:05 -04:00
J. Paul Daigle
2c0205d777 Merge pull request #16 from thoerner/patch-1
Update README.md (formatting)
2014-10-12 16:46:01 -04:00
thoerner
67c54f4b00 Update README.md (formatting)
Formatting fix for "Pairing with Bitpay.com" ordered list.
2014-10-11 11:19:02 -04:00
Paul Daigle
33025f2b8e Changes for the 2.0.0 version. Detailed changes are on the 2.0.0 branch.
The library now uses the crpytographically secure API.

more tests plus CLI enhancements

Library no longer supporting ruby 1.9.x

1.9.x will be deprecated in February of 2015, so there is little
incentive to write our new library to support it. 1.9.x users should
still be able to use V1 of the API.

This commit adds some changes, such as named arguments, that are
incompatible with 1.9.x.

Add Rake tasks to clear limiters

When many integration tests are run in a short period, the local bitpay server
will refuse to create new keys due to the rate limiting function. This
rake task clears the ratelimiters database.
2014-10-08 13:21:00 -04:00
Joshua Estes
2d4f17dd78 Update version.rb
https://github.com/bitpay/ruby-client/pull/14
2014-09-19 09:35:36 -04:00
Joshua Estes
9b3add2c94 Merge pull request #14 from arrtchiu/exception_handling
refactor request handling in bitpay client
2014-09-19 06:58:47 -04:00
arrtchiu
f5b01d4530 refactor request handling in bitpay client 2014-09-19 11:33:20 +08:00
Hamish Eisler
40e65d56fa Add documentation for testnet usage 2014-08-18 13:22:48 -07:00
Ryan X. Charles
4986f882cd Merge pull request #12 from heisler3030/master
Correct certificate validation
2014-07-30 17:59:31 -07:00
Hamish Eisler
69b725072b fix certificate validation 2014-07-30 14:10:43 -07:00
Hamish Eisler
22c9d94d64 Add gem build tasks 2014-07-30 14:10:43 -07:00
Ryan X. Charles
afb7aef70d Merge pull request #11 from kyledrake/contributors
Show contributors to project instead of authors
2014-06-27 19:00:41 -07:00
Kyle Drake
e0869e043e
Show contributors to project instead of authors 2014-06-27 19:10:34 -04:00
Kyle Drake
e3d2d75502 Merge pull request #10 from nmarley/plugin-info-header
remove hard-coded version string from req header
2014-06-16 17:03:26 -07:00
Nathan Marley
95bf92a818 remove hard-coded version string from req header
Use the gem version constant instead of the string existing in
multiple places. This will prevent confusion in case the client
version is bumped but the request header gets missed. This could lead
to potential confusion if Bitpay ever needs to debug version of Ruby
client used to access the API.
2014-05-18 12:19:41 -07:00
Ryan X. Charles
667b4c836d Merge pull request #9 from unChaz/patch-3
Update README.md
2014-04-14 17:35:56 -03:00
Chaz Ferguson
82ea11b985 Update README.md
Trying again..
2014-04-14 16:31:58 -04:00
Ryan X. Charles
f41a122ede Merge pull request #7 from unChaz/master
added plugin version header
2014-04-02 10:29:22 -04:00
Chaz Ferguson
2ed1fe5bd0 added plugin version header 2014-04-02 10:27:42 -04:00
Kyle Drake
71c96210eb Update Travis for Ruby 2x, pull jruby 2014-03-19 01:40:48 -07:00
Kyle Drake
722dcf32e6 0.1.2 (+ok @ryanxcharles) 2014-01-02 17:21:11 -08:00
Ryan X. Charles
68c781a46f Merge pull request #6 from kyledrake/master
Force JSON for post body
2014-01-02 16:37:30 -08:00
Kyle Drake
481beffa8e
missing client instantiation in README 2014-01-02 15:46:01 -08:00
Kyle Drake
060fc792a7 Force JSON for post body 2014-01-02 15:34:18 -08:00
Kyle Drake
9886a42614 pull rbx from travis for now 2013-11-29 06:34:25 -05:00
Kyle Drake
3e099d0102 Remove one more reference to test key. 0.1.1 2013-11-29 06:33:16 -05:00
Kyle Drake
dc846e1458 0.1.0 2013-11-29 06:28:40 -05:00