cryptocoin_payable 1.0.0 → 1.0.1

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: '082e02924175a9102d410d319122b35c86e15704'
4
- data.tar.gz: '0936ed5dac497c1edd445782753dbfb47c03701c'
3
+ metadata.gz: c3867dfc765979dddbc44fcf5a30053f471617a7
4
+ data.tar.gz: cba3d5294ca03e57c77b33244347c15f17120ad2
5
5
  SHA512:
6
- metadata.gz: c5f7175563f7b3a5a9b9a5d9daf7f76c9515bec1abcc000b7bd0bf26a80cde297ff5a50c89dd5b56017319d407820c2405ff26d782dab40f15921bd678770a18
7
- data.tar.gz: de2df907054a5e3c1f1f35077c83cf52a432041a32c5e4cf5bbd57ae4e3924689051df78f6eb8a63f9895d5a2ddb6d47ed28c3e3eac83f06406e5654c8e1e3d9
6
+ metadata.gz: cc4d8b23700581add301880b52ccda3a8b82fd09d779b86d40b28921bdeaf5db2952f9148a80d0d7c5b883aebe6c8532b2fe0715672c0f166e64c3972e1e3b4e
7
+ data.tar.gz: 84c47803e89ee7f761fce0b33cdf0080a7f0d575064c31b4246eb7e2e08df6e63a5d52a17a39fc510704e8997df13c4c27666366d59fcc736e930d2bf0902973
data/.travis.yml ADDED
@@ -0,0 +1,17 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.0
5
+ - 2.1
6
+ - 2.2
7
+ - 2.3
8
+ - 2.4
9
+ - 2.5
10
+
11
+ notifications:
12
+ email: false
13
+
14
+ script:
15
+ - bundle exec cucumber features
16
+ - bundle exec rspec
17
+ - bundle exec rubocop
data/README.md CHANGED
@@ -1,12 +1,15 @@
1
+ [![Gem Version](https://badge.fury.io/rb/cryptocoin_payable.svg)](https://badge.fury.io/rb/cryptocoin_payable)
2
+
1
3
  # Cryptocoin Payable
2
4
 
3
5
  Forked from [Bitcoin Payable](https://github.com/Sailias/bitcoin_payable)
4
6
 
5
- A rails gem that enables any model to have crypto coin payments.
7
+ A rails gem that enables any model to have cryptocurrency payments.
6
8
  The polymorphic table coin_payments creates payments with unique addresses based on a BIP32 deterministic seed using https://github.com/GemHQ/money-tree and uses external APIs to check for payments:
7
9
 
8
10
  - https://etherscan.io
9
11
  - https://blockexplorer.com
12
+ - https://www.blockcypher.com
10
13
 
11
14
  Supported coins are:
12
15
 
@@ -27,13 +30,14 @@ No private keys needed, No bitcoind blockchain indexing on new servers, just add
27
30
 
28
31
  **Donations appreciated**
29
32
 
30
- `142WJW4Zzc9iV7uFdbei8Unpe8WcLhUgmE`
33
+ - `142WJW4Zzc9iV7uFdbei8Unpe8WcLhUgmE` (Jon Salis)
34
+ - `14xXZ6SFjwYZHATiywBE2durFknLePYqHS` (Maros Hluska)
31
35
 
32
36
  ## Installation
33
37
 
34
38
  Add this line to your application's Gemfile:
35
39
 
36
- gem 'cryptocoin_payable', git: 'https://github.com/Sailias/cryptocoin_payable', branch: 'master'
40
+ gem 'cryptocoin_payable'
37
41
 
38
42
  And then execute:
39
43
 
@@ -6,8 +6,8 @@ require 'cryptocoin_payable/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'cryptocoin_payable'
8
8
  spec.version = CryptocoinPayable::VERSION
9
- spec.authors = ['Jonathan Salis']
10
- spec.email = ['jsalis@bitcoinsultants.ca']
9
+ spec.authors = ['Jonathan Salis', 'Maros Hluska']
10
+ spec.email = ['jsalis@bitcoinsultants.ca', 'mhluska@gmail.com']
11
11
  spec.description = 'Cryptocurrency payment processor'
12
12
  spec.summary = 'Cryptocurrency payment processor'
13
13
  spec.homepage = ''
@@ -10,7 +10,7 @@ module CryptocoinPayable
10
10
  transactions.each do |tx|
11
11
  tx.symbolize_keys!
12
12
 
13
- transaction = payment.transactions.find_by_transaction_hash(tx[:txHash])
13
+ transaction = payment.transactions.find_by_transaction_hash(tx[:tx_hash])
14
14
  if transaction
15
15
  transaction.update(confirmations: tx[:confirmations])
16
16
  else
@@ -1,3 +1,3 @@
1
1
  module CryptocoinPayable
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,10 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptocoin_payable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Salis
8
+ - Maros Hluska
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
@@ -223,6 +224,7 @@ dependencies:
223
224
  description: Cryptocurrency payment processor
224
225
  email:
225
226
  - jsalis@bitcoinsultants.ca
227
+ - mhluska@gmail.com
226
228
  executables:
227
229
  - console
228
230
  - setup
@@ -232,6 +234,7 @@ files:
232
234
  - ".gitignore"
233
235
  - ".rspec"
234
236
  - ".rubocop.yml"
237
+ - ".travis.yml"
235
238
  - Gemfile
236
239
  - LICENSE.txt
237
240
  - README.md