txcatcher 0.1.1 → 0.1.2

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: 905429921e61c985113797cc22de587a84bef52a
4
- data.tar.gz: 9d9ee7f15920b8d95b8a379931ee75cf3068e4d6
3
+ metadata.gz: 11084c5ac355e81c252a5151667475b65b925ea5
4
+ data.tar.gz: c073483dda858480552bbea59f0d3fd5085d94d9
5
5
  SHA512:
6
- metadata.gz: 2cb6117d68704c5007ad9ca2ce3663352b156c782b7d0331e52a11c613f764a345e3677b962897951141fc8aa9116368e630382d9c0a693fa02c1076cc32c512
7
- data.tar.gz: fca2fe045c48d8fa94d4a277bb7bdb3891d803dad52d7ba72279bd6767615ea546b58f631a54604562d1380fb3c9127f68523ebbecc878ed72379a37759ea9ca
6
+ metadata.gz: 3fffd79ad122d0390078dfaf8da77adf1c3582c2d36dcf8e451ca01633f140aefa2128e15ba90d728c2bb6224864578bf498610036969163ae4e83ad45beb54a
7
+ data.tar.gz: 577dd7a92a5eaae75c8603a862a4d16a4e5979deb5d3e6126c4951e4b7dabe092bccfec741c11a00884d4ee6632ea302389b78f87bd537b9860aa993d40068e4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/bin/goliath.log ADDED
@@ -0,0 +1,2 @@
1
+ [16007:INFO] 2017-09-23 23:23:59 :: Starting server on http://0.0.0.0:9498 in development mode. Watch out for stones.
2
+ [16007:INFO] 2017-09-23 23:24:49 :: Stopping server...
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
- set_server_port
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 set_server_port
83
+ def set_goliath_args
84
84
  # Setting default port to 9498
85
85
  unless ARGV.include?("-p")
86
86
  ARGV.push "-p"
87
- if Config.server_port
88
- ARGV.push Config.server_port.to_s
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.1 ruby lib
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.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.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