txcatcher 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/goliath.log +2 -0
- data/bin/goliath_stdout.log +0 -0
- data/lib/txcatcher/initializer.rb +4 -7
- data/txcatcher.gemspec +5 -3
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11084c5ac355e81c252a5151667475b65b925ea5
|
|
4
|
+
data.tar.gz: c073483dda858480552bbea59f0d3fd5085d94d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fffd79ad122d0390078dfaf8da77adf1c3582c2d36dcf8e451ca01633f140aefa2128e15ba90d728c2bb6224864578bf498610036969163ae4e83ad45beb54a
|
|
7
|
+
data.tar.gz: 577dd7a92a5eaae75c8603a862a4d16a4e5979deb5d3e6126c4951e4b7dabe092bccfec741c11a00884d4ee6632ea302389b78f87bd537b9860aa993d40068e4
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/bin/goliath.log
ADDED
|
File without changes
|
|
@@ -50,7 +50,7 @@ module TxCatcher
|
|
|
50
50
|
connect_to_db
|
|
51
51
|
connect_to_rpc_node
|
|
52
52
|
run_migrations if migrations_pending?
|
|
53
|
-
|
|
53
|
+
set_goliath_args
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
def add_route(path, &block)
|
|
@@ -80,15 +80,12 @@ module TxCatcher
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
def
|
|
83
|
+
def set_goliath_args
|
|
84
84
|
# Setting default port to 9498
|
|
85
85
|
unless ARGV.include?("-p")
|
|
86
86
|
ARGV.push "-p"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
else
|
|
90
|
-
ARGV.push "9498"
|
|
91
|
-
end
|
|
87
|
+
Config.server_port ? ARGV.push(Config.server_port.to_s) : ARGV.push("9498")
|
|
88
|
+
Config.daemonize ? ARGV.push("-d") : ""
|
|
92
89
|
end
|
|
93
90
|
end
|
|
94
91
|
|
data/txcatcher.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
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.
|
|
5
|
+
# stub: txcatcher 0.1.2 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "txcatcher"
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.2"
|
|
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"]
|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
|
14
14
|
s.date = "2017-09-23"
|
|
15
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."
|
|
16
16
|
s.email = "roman.snitko@gmail.com"
|
|
17
|
-
s.executables = ["txcatcher"]
|
|
17
|
+
s.executables = ["goliath.log", "goliath_stdout.log", "txcatcher"]
|
|
18
18
|
s.extra_rdoc_files = [
|
|
19
19
|
"LICENSE.txt",
|
|
20
20
|
"README.md"
|
|
@@ -28,6 +28,8 @@ Gem::Specification.new do |s|
|
|
|
28
28
|
"README.md",
|
|
29
29
|
"Rakefile",
|
|
30
30
|
"VERSION",
|
|
31
|
+
"bin/goliath.log",
|
|
32
|
+
"bin/goliath_stdout.log",
|
|
31
33
|
"bin/txcatcher",
|
|
32
34
|
"db/migrations/001_create_transactions.rb",
|
|
33
35
|
"db/migrations/002_create_addresses.rb",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: txcatcher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roman Snitko
|
|
@@ -98,6 +98,8 @@ description: Ccurrently, the only job of this gem is to collect all new Bitcoin/
|
|
|
98
98
|
transactions, store them in a DB, index addresses.
|
|
99
99
|
email: roman.snitko@gmail.com
|
|
100
100
|
executables:
|
|
101
|
+
- goliath.log
|
|
102
|
+
- goliath_stdout.log
|
|
101
103
|
- txcatcher
|
|
102
104
|
extensions: []
|
|
103
105
|
extra_rdoc_files:
|
|
@@ -112,6 +114,8 @@ files:
|
|
|
112
114
|
- README.md
|
|
113
115
|
- Rakefile
|
|
114
116
|
- VERSION
|
|
117
|
+
- bin/goliath.log
|
|
118
|
+
- bin/goliath_stdout.log
|
|
115
119
|
- bin/txcatcher
|
|
116
120
|
- db/migrations/001_create_transactions.rb
|
|
117
121
|
- db/migrations/002_create_addresses.rb
|