txcatcher 0.1.73 → 0.1.74

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: 483593f92c1e8b650fe1a3d2ec4ba03a0b49c5f1
4
- data.tar.gz: 496f1a17eda64bfd6c3741847f970f55167c7d2c
3
+ metadata.gz: 92936b57477c0542131d557f44821198ccf5c457
4
+ data.tar.gz: 4386bca28f25372e778571847f0fb01e37f5bea0
5
5
  SHA512:
6
- metadata.gz: d8717aeb9dbf47aec7b505864c815d1638f88e2a7e7281ca8bbc4eca727b120f77b9850d280907b1866089d13aa9d12710558e88f01d7e5931365869d1bfba2c
7
- data.tar.gz: b4b5bd85583e4c8b8f4ee5a9f6c0f0c4c9fc3d7422e3fa116b5daf7ab73d69271c04e979053a73c2b4b506d846a46581a3c613a51aea62ed656dca00accbb71d
6
+ metadata.gz: 1ead00c396df098d2d36adda908fd3b65726362a02f0a1ec626359e63e5759fb704bed8fc35716a5b2ef489de6388edb48a809b267bea8c986cecd98915ec8a7
7
+ data.tar.gz: 64c0a5ee8ad9a0b2fe75d830b796b75eef9c59273edf7238b2d2cbda5e429c7a75c2905f110800fba20411ea41701cecd3dfc2cf83215671f0170d77b5e9db35
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.73
1
+ 0.1.74
@@ -26,7 +26,8 @@ module TxCatcher
26
26
  elsif path.start_with? "/feerate"
27
27
  feerate(params["blocks_target"] || 2)
28
28
  elsif path == "/" || path.empty?
29
- [200, {}, "TxCatcher server, #{TxCatcher::Config.rpcnode["name"]}, current_block_height: #{TxCatcher.current_block_height}"]
29
+ version = File.read(File.expand_path(File.dirname(__FILE__) + "../../../VERSION"))
30
+ [200, {}, "TxCatcher server v#{version.strip}, #{TxCatcher::Config.rpcnode["name"]}, current_block_height: #{TxCatcher.current_block_height}"]
30
31
  else
31
32
  [404, {}, { error: "404, not found" }.to_json]
32
33
  end
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.73 ruby lib
5
+ # stub: txcatcher 0.1.74 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "txcatcher"
9
- s.version = "0.1.73"
9
+ s.version = "0.1.74"
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"]
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.73
4
+ version: 0.1.74
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Snitko