txcatcher 0.1.77 → 0.1.78

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: ea593fd4c78d12599cf600ead87517f52ef366d6
4
- data.tar.gz: 5a556ec49a48a22710db759452384713e10352c2
3
+ metadata.gz: 99e4aaec6941f2f625f57a6f416a14caa6ebadb2
4
+ data.tar.gz: 5655af47128349a7db07089e73d17a0a79b748d7
5
5
  SHA512:
6
- metadata.gz: ae503ebc27cdb2636f38e74501c53a5fa48956acef23a9e33168c75545b0a96a8e0055373b1aa45757c3b3f5c1b6d5cdf22810781633563bfb2c79ecbe08235f
7
- data.tar.gz: 48a1433e8e7461cb3147b5a31080b328455f99164a6535d39814682e7a67b4b32c85818540673c2dba1ddff06984374bd9117670e30f12d8b5390240beb9ad41
6
+ metadata.gz: 9b908cdb4da6b8ae54d72991d6bf3be00cef5841927fb2baff92be9920f7d416b3dacef8bd34970012d52567175f9d9b9bd5b06f0d559939c91b94c9823a9ba1
7
+ data.tar.gz: b23f6c941010887ac1faffc814b23b698357b590838c5c6293d8ee71f791cba8c4459f6b7c1a89db9b3807d6e464a8328e0e50ca56438b7f28404df4b467935c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.77
1
+ 0.1.78
@@ -50,10 +50,10 @@ module TxCatcher
50
50
  end
51
51
 
52
52
  def clean_transactions(n)
53
- transactions = Transaction.order("created_at ASC")
53
+ transactions = Transaction.order("id ASC")
54
54
  transactions.where(Sequel.~(protected: true)) if Config.protected_transactions
55
55
 
56
- (n/100).times do
56
+ (n/100+1).times do
57
57
  limit = n <= 100 ? n : 100
58
58
  transactions.limit(limit).each do |t|
59
59
  $stdout.puts "- Removing tx #{t.txid}"
data/txcatcher.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: txcatcher 0.1.77 ruby lib
5
+ # stub: txcatcher 0.1.78 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "txcatcher"
9
- s.version = "0.1.77"
9
+ s.version = "0.1.78"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Roman Snitko"]
14
14
  s.date = "2017-09-25"
15
- s.description = "Ccurrently, the only job of this gem is to collect all new Bitcoin/Litecoin transactions, store them in a DB, index addresses."
15
+ s.description = "Currently, the only job of this gem is to collect all new Bitcoin/Litecoin transactions, store them in a DB, index addresses."
16
16
  s.email = "roman.snitko@gmail.com"
17
17
  s.executables = ["goliath.log", "goliath_stdout.log", "txcatcher"]
18
18
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: txcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.77
4
+ version: 0.1.78
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Snitko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-19 00:00:00.000000000 Z
11
+ date: 2018-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: goliath