bitsy-bitcoin 0.2.0 → 0.2.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: 69731136aaba219d6340e7c69b9fccb67ae105a3
4
- data.tar.gz: 5ca72a140e548a493509c90132a677ea46efce9f
3
+ metadata.gz: c36890f633ebc3dada866f76325e501f00cc19f0
4
+ data.tar.gz: 294c155f1489ee04a618af14dbb011ccae0d7e9b
5
5
  SHA512:
6
- metadata.gz: a67445e06d2b25e68c53a18f6b279ba0b6a1dafd253a2cdab3f87c1074e6301a2694f7546e144fef7a04095a624ed2ca615503d182e4079c012b5ac6680ee1fd
7
- data.tar.gz: e85fe799479da643660a294f8bd83e16271a515e465dbef7aa464bcbc3ecfb301b2a1fbc3a1fa419f6e55b476c6e769d3f8686339e7b315e0a4d51525f37a477
6
+ metadata.gz: 043be2aa335f798f6aed28a20f94d8caa549c00665599c342ac52f5fe9ba38391c2aa70466856b847e1f48f59bfd2b0e610fd4edce10d39b2205d186df8ec533
7
+ data.tar.gz: 38218e606e4e72f9012f1fb046c476a90dcacdada9832445cc4ab75a3d84143a3926960d00c5c9adebf9523ab16a75d83eae31979905c7f5bf36c26f0888b5be
@@ -2,6 +2,7 @@ module Bitsy
2
2
  class BlockchainNotificationJob
3
3
 
4
4
  include Sidekiq::Worker
5
+ sidekiq_options retry: false
5
6
 
6
7
  def perform(blockchain_notification_id)
7
8
  blockchain_notification = BlockchainNotification.
@@ -2,6 +2,7 @@ module Bitsy
2
2
  class ForwardJob
3
3
 
4
4
  include Sidekiq::Worker
5
+ sidekiq_options retry: false
5
6
 
6
7
  def perform
7
8
  ForwardPayments.execute
data/lib/bitsy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bitsy
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -10,4 +10,8 @@ Bitsy.configure do |c|
10
10
 
11
11
  # How many confirmations are needed to consider a transaction as complete
12
12
  c.safe_confirmation_threshold = 0
13
+
14
+ # List of allowed secrets from Blockchain.info. The callback URL should look
15
+ # like this http://app.com/bitsy/v1/blockchain_notifications?secret=mysecret
16
+ c.blockchain_secrets = %w(secret)
13
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitsy-bitcoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-10 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails