aho 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/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/aho.gemspec +1 -1
- data/exe/aho +6 -5
- data/lib/aho/schema/parser.rb +1 -1
- data/lib/aho/version.rb +1 -1
- data/lib/aho.rb +1 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d93a28179434feaf3200bce31c7d59f485abc0f022b96cb9482f32a1c44cef3a
|
4
|
+
data.tar.gz: 9835711037d2ea542097648aa41217a4c57ab821afc388df25fad268d20b94e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c52ab0b387257371e8f3cde64f9aed5ec71bcdb5abec1c726534a5e63b4f80c837ec121fcf58508b9cf022bf02bdfc26cc83bbd33f7d3061a6b1e5702c26b30
|
7
|
+
data.tar.gz: 88515e06c4d939753d121682f1db5d8c3ba92b9e3abe1bd068390fdbf7a706a8e3256a7d9fb41c2ebd6d618586a3602ee73d2bf0fba9cbd262140234194fea1f
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.4.2
|
data/aho.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.description = 'Aho agent is responsible for collecting resource usage data of VM instances on \
|
13
13
|
individual Compute nodes within an Datamart Platform Studio deployment.'
|
14
14
|
spec.homepage = 'https://datamart.ru/aho'
|
15
|
-
spec.required_ruby_version = '>= 3.
|
15
|
+
spec.required_ruby_version = '>= 3.4.2'
|
16
16
|
|
17
17
|
spec.metadata['homepage_uri'] = spec.homepage
|
18
18
|
spec.metadata['source_code_uri'] = 'https://gitlab.datamart.ru/datamart/aho'
|
data/exe/aho
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
require 'bundler/setup'
|
4
|
+
# require 'bundler/setup'
|
5
5
|
require 'aho'
|
6
|
-
require 'rack/handler/puma'
|
7
|
-
require File.join(Aho.root_path, 'config', 'routes')
|
8
6
|
|
9
|
-
|
10
|
-
|
7
|
+
root_dir = File.expand_path('..', __dir__)
|
8
|
+
rackup_file = File.join(root_dir, 'config.ru')
|
9
|
+
puma_config = File.join(root_dir, 'config', 'puma.rb')
|
10
|
+
|
11
|
+
exec "puma -C #{puma_config} #{rackup_file}"
|
data/lib/aho/schema/parser.rb
CHANGED
data/lib/aho/version.rb
CHANGED
data/lib/aho.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aho
|
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
|
- Panasenkov A.
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: puma
|
@@ -139,7 +138,6 @@ metadata:
|
|
139
138
|
source_code_uri: https://gitlab.datamart.ru/datamart/aho
|
140
139
|
changelog_uri: https://gitlab.datamart.ru/datamart/aho/CHANGELOG.md
|
141
140
|
rubygems_mfa_required: 'true'
|
142
|
-
post_install_message:
|
143
141
|
rdoc_options: []
|
144
142
|
require_paths:
|
145
143
|
- lib
|
@@ -147,15 +145,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
145
|
requirements:
|
148
146
|
- - ">="
|
149
147
|
- !ruby/object:Gem::Version
|
150
|
-
version: 3.
|
148
|
+
version: 3.4.2
|
151
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
150
|
requirements:
|
153
151
|
- - ">="
|
154
152
|
- !ruby/object:Gem::Version
|
155
153
|
version: '0'
|
156
154
|
requirements: []
|
157
|
-
rubygems_version: 3.
|
158
|
-
signing_key:
|
155
|
+
rubygems_version: 3.7.1
|
159
156
|
specification_version: 4
|
160
157
|
summary: Aho agent for billing, monitoring and audit data from resources.
|
161
158
|
test_files: []
|