glueby 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/glueby.gemspec +1 -1
- data/lib/glueby/version.rb +1 -1
- data/lib/tasks/glueby/block_syncer.rake +6 -2
- data/lib/tasks/glueby/task_helper.rb +11 -0
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 148dcaba0e0a3a19cc2e6ad28fa34826ef6b0bf0cfb0d59ac2293214888945ec
|
4
|
+
data.tar.gz: 3f6f4330489b9795e3c9e8210688f8cb51d4986d4cdcdb418cb74a83b42c67dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b59f6d18713797dc5d829b38163080f930c722d5d43f3568302df8309220c82861d2c31a729fb35d438caed4107dfc33e55753f052e7bf6d9ddeae00e5b883ec
|
7
|
+
data.tar.gz: 1089a3a1e84ab49881ef37db97c4e0dfc1f0606ddb39196cb2b67d68998ad6d671e15e230deab67c25a44a50c77e563114c2f83ce959f910fdd9f4547be6997b
|
data/glueby.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_runtime_dependency 'tapyrus', '>= 0.3.1'
|
30
30
|
spec.add_runtime_dependency 'activerecord', '>= 7.0', '< 8.0'
|
31
31
|
spec.add_runtime_dependency 'kaminari'
|
32
|
-
spec.add_development_dependency 'sqlite3'
|
32
|
+
spec.add_development_dependency 'sqlite3', '~> 1.4'
|
33
33
|
spec.add_development_dependency 'mysql2'
|
34
34
|
spec.add_development_dependency 'rails', '>= 7.0', '< 8.0'
|
35
35
|
end
|
data/lib/glueby/version.rb
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
+
require 'tasks/glueby/task_helper'
|
2
|
+
|
3
|
+
extend TaskHelper
|
4
|
+
|
1
5
|
namespace :glueby do
|
2
6
|
namespace :contract do
|
3
7
|
namespace :block_syncer do
|
4
8
|
desc '[Deprecated use glueby:block_syncer:start instead] sync block into database'
|
5
9
|
task :start, [] => [:environment] do |_, _|
|
6
|
-
|
10
|
+
logger.info('[Deprecated] glueby:contract:block_syncer:start is deprecated. Use \'glueby:block_syncer:start\'')
|
7
11
|
Rake::Task['glueby:block_syncer:start'].execute
|
8
12
|
end
|
9
13
|
end
|
@@ -22,7 +26,7 @@ namespace :glueby do
|
|
22
26
|
Glueby::BlockSyncer.new(height).run
|
23
27
|
synced_block.update(info_value: height.to_s)
|
24
28
|
end
|
25
|
-
|
29
|
+
logger.info("success in synchronization (block height=#{height})")
|
26
30
|
end
|
27
31
|
end
|
28
32
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glueby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- azuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tapyrus
|
@@ -62,16 +62,16 @@ dependencies:
|
|
62
62
|
name: sqlite3
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '1.4'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '1.4'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: mysql2
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,6 +191,7 @@ files:
|
|
191
191
|
- lib/tasks/glueby/contract.rake
|
192
192
|
- lib/tasks/glueby/contract/timestamp.rake
|
193
193
|
- lib/tasks/glueby/fee_provider.rake
|
194
|
+
- lib/tasks/glueby/task_helper.rb
|
194
195
|
- lib/tasks/glueby/utxo_provider.rake
|
195
196
|
homepage: https://github.com/chaintope/glueby
|
196
197
|
licenses:
|
@@ -214,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
215
|
- !ruby/object:Gem::Version
|
215
216
|
version: '0'
|
216
217
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
218
|
+
rubygems_version: 3.5.3
|
218
219
|
signing_key:
|
219
220
|
specification_version: 4
|
220
221
|
summary: A Ruby library of smart contracts that can be used on Tapyrus.
|