golos_cloud 1.1.1rc1 → 1.1.1
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/Gemfile.lock +13 -13
- data/README.md +2 -2
- data/Rakefile +11 -0
- data/lib/golos_cloud.rb +1 -0
- data/lib/golos_cloud/models/vo/producer_reward.rb +19 -0
- data/lib/golos_cloud/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e0f08f58941ad2e9886576a3c8242f464eef388
|
|
4
|
+
data.tar.gz: ed8caa4791f257d52bab8bfc5d4abbc37bf0b5c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6e1df569c033cfa84301187d2ae569b5e0d4fb15ad63db35179f6f8bf0d2318e84e4e4ad34d2ecce74480a93a23162b10161bf9e911fc879379d6442352fb13
|
|
7
|
+
data.tar.gz: 218578ab6e95138e8f71c948b966e6d866634c3722f065679ce703e22d9e06d5ffb8e8061e5be5eccf5dd2d1f103ea3a2bd4b917219a4844196828ec92d09d43
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
golos_cloud (1.1.
|
|
4
|
+
golos_cloud (1.1.1)
|
|
5
5
|
activerecord (>= 4, < 6)
|
|
6
6
|
activerecord-sqlserver-adapter (>= 4, < 6)
|
|
7
7
|
nokogiri (~> 1.8)
|
|
@@ -11,16 +11,16 @@ PATH
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
activemodel (5.1.
|
|
15
|
-
activesupport (= 5.1.
|
|
16
|
-
activerecord (5.1.
|
|
17
|
-
activemodel (= 5.1.
|
|
18
|
-
activesupport (= 5.1.
|
|
14
|
+
activemodel (5.1.5)
|
|
15
|
+
activesupport (= 5.1.5)
|
|
16
|
+
activerecord (5.1.5)
|
|
17
|
+
activemodel (= 5.1.5)
|
|
18
|
+
activesupport (= 5.1.5)
|
|
19
19
|
arel (~> 8.0)
|
|
20
20
|
activerecord-sqlserver-adapter (5.1.6)
|
|
21
21
|
activerecord (~> 5.1.0)
|
|
22
22
|
tiny_tds
|
|
23
|
-
activesupport (5.1.
|
|
23
|
+
activesupport (5.1.5)
|
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
25
25
|
i18n (~> 0.7)
|
|
26
26
|
minitest (~> 5.1)
|
|
@@ -32,15 +32,15 @@ GEM
|
|
|
32
32
|
unf (>= 0.0.5, < 1.0.0)
|
|
33
33
|
http-cookie (1.0.3)
|
|
34
34
|
domain_name (~> 0.5)
|
|
35
|
-
i18n (0.9.
|
|
35
|
+
i18n (0.9.5)
|
|
36
36
|
concurrent-ruby (~> 1.0)
|
|
37
37
|
mime-types (3.1)
|
|
38
38
|
mime-types-data (~> 3.2015)
|
|
39
39
|
mime-types-data (3.2016.0521)
|
|
40
40
|
mini_portile2 (2.3.0)
|
|
41
|
-
minitest (5.11.
|
|
41
|
+
minitest (5.11.3)
|
|
42
42
|
netrc (0.11.0)
|
|
43
|
-
nokogiri (1.8.
|
|
43
|
+
nokogiri (1.8.2)
|
|
44
44
|
mini_portile2 (~> 2.3.0)
|
|
45
45
|
rake (12.3.0)
|
|
46
46
|
rest-client (2.0.2)
|
|
@@ -50,11 +50,11 @@ GEM
|
|
|
50
50
|
thread_safe (0.3.6)
|
|
51
51
|
tiny_tds (1.3.0)
|
|
52
52
|
mini_portile2 (~> 2.0)
|
|
53
|
-
tzinfo (1.2.
|
|
53
|
+
tzinfo (1.2.5)
|
|
54
54
|
thread_safe (~> 0.1)
|
|
55
55
|
unf (0.1.4)
|
|
56
56
|
unf_ext
|
|
57
|
-
unf_ext (0.0.7.
|
|
57
|
+
unf_ext (0.0.7.5)
|
|
58
58
|
|
|
59
59
|
PLATFORMS
|
|
60
60
|
ruby
|
|
@@ -66,4 +66,4 @@ DEPENDENCIES
|
|
|
66
66
|
rake (~> 12.1, >= 12.1.0)
|
|
67
67
|
|
|
68
68
|
BUNDLED WITH
|
|
69
|
-
1.16.
|
|
69
|
+
1.16.1
|
data/README.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
### How To Use (Rails 4+)
|
|
6
6
|
- Add Gem to Gemfile
|
|
7
|
-
* `gem 'golos_cloud', '~> 1.
|
|
7
|
+
* `gem 'golos_cloud', '~> 1.1'`
|
|
8
8
|
- Bundle Install Gems
|
|
9
9
|
* `bundle install`
|
|
10
10
|
|
|
11
11
|
### How to Subscribe
|
|
12
12
|
|
|
13
|
-
As of 2018-01-23, [
|
|
13
|
+
As of 2018-01-23, [GolosSQL switches to subscription model](https://golos.io/golossql/@arcange/golossql-perekhodit-na-model-podpiski). To use this gem, you must subscribe to @golossql and store the credentials as environment variables.
|
|
14
14
|
|
|
15
15
|
### How To Use (Standalone)
|
|
16
16
|
- `gem install golos_cloud`
|
data/Rakefile
CHANGED
|
@@ -59,6 +59,17 @@ task :apps, [:app, :days_ago] do |t, args|
|
|
|
59
59
|
ap comments.count(:all)
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
+
desc 'Do all crosschecks of given account.'
|
|
63
|
+
task :crosscheck, [:account] do |t, args|
|
|
64
|
+
account = args[:account]
|
|
65
|
+
|
|
66
|
+
Rake::Task["crosscheck:powerdowns"].invoke(account)
|
|
67
|
+
Rake::Task["crosscheck:powerups"].invoke(account)
|
|
68
|
+
Rake::Task["crosscheck:transfers"].invoke(account)
|
|
69
|
+
Rake::Task["crosscheck:vesting_from"].invoke(account)
|
|
70
|
+
Rake::Task["crosscheck:vesting_to"].invoke(account)
|
|
71
|
+
end
|
|
72
|
+
|
|
62
73
|
namespace :crosscheck do
|
|
63
74
|
desc 'List of accounts grouped by transfer count crosschecked by memo of given account.'
|
|
64
75
|
task :transfers, [:account] do |t, args|
|
data/lib/golos_cloud.rb
CHANGED
|
@@ -44,6 +44,7 @@ require "golos_cloud/models/vo/fill_convert_request"
|
|
|
44
44
|
require "golos_cloud/models/vo/fill_order"
|
|
45
45
|
require "golos_cloud/models/vo/fill_vesting_withdraw"
|
|
46
46
|
require "golos_cloud/models/vo/interest"
|
|
47
|
+
require "golos_cloud/models/vo/producer_reward"
|
|
47
48
|
require "golos_cloud/models/vo/shutdown_witness"
|
|
48
49
|
|
|
49
50
|
module GolosCloud
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module GolosCloud
|
|
2
|
+
module Vo
|
|
3
|
+
class ProducerReward < GolosCloud::SqlBase
|
|
4
|
+
|
|
5
|
+
self.table_name = :VOProducerRewards
|
|
6
|
+
|
|
7
|
+
end
|
|
8
|
+
end
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Structure
|
|
12
|
+
#
|
|
13
|
+
# GolosCloud::Vo::ProducerReward(
|
|
14
|
+
# ID: integer,
|
|
15
|
+
# block_num: integer,
|
|
16
|
+
# timestamp: datetime,
|
|
17
|
+
# producer: varchar,
|
|
18
|
+
# vesting_shares: money
|
|
19
|
+
# )
|
data/lib/golos_cloud/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: golos_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anthony Martin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -210,6 +210,7 @@ files:
|
|
|
210
210
|
- lib/golos_cloud/models/vo/fill_order.rb
|
|
211
211
|
- lib/golos_cloud/models/vo/fill_vesting_withdraw.rb
|
|
212
212
|
- lib/golos_cloud/models/vo/interest.rb
|
|
213
|
+
- lib/golos_cloud/models/vo/producer_reward.rb
|
|
213
214
|
- lib/golos_cloud/models/vo/shutdown_witness.rb
|
|
214
215
|
- lib/golos_cloud/version.rb
|
|
215
216
|
- steem_source_docs.md
|
|
@@ -228,9 +229,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
228
229
|
version: '0'
|
|
229
230
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
231
|
requirements:
|
|
231
|
-
- - "
|
|
232
|
+
- - ">="
|
|
232
233
|
- !ruby/object:Gem::Version
|
|
233
|
-
version:
|
|
234
|
+
version: '0'
|
|
234
235
|
requirements: []
|
|
235
236
|
rubyforge_project:
|
|
236
237
|
rubygems_version: 2.6.14
|