mysql_alter_monitoring 0.1.0 → 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
  SHA256:
3
- metadata.gz: 22f662537cec8e934e80799545292630642eb0062266f48bca2a669121cb7a04
4
- data.tar.gz: 5bb3d3069b2d221b36321528df3a7299bffa4e56c1808e28c89305fef7d81c21
3
+ metadata.gz: 36ad12e9d7703cc02804c81bc051abfdf2ffd543538c05125063b262398cc7d2
4
+ data.tar.gz: ec9d67bd136a2d4b20eafa8e6d4d97bed6ab35f3ded7706334f3c587d6b6874d
5
5
  SHA512:
6
- metadata.gz: d821d17de14ed007b75be479c1edf02fa401a09e040c6a922eb676212ed966d2f5734fb3bfefe987ad9a30e6c98bcb90a82857f5d580fb4965f1633c6e26144a
7
- data.tar.gz: cd6a171834427e6738814bc45a751cacbc67133512835af17947e62f54ac78309fbbe86da125c65966b62ea6a138dda1b90435310122446125195a9be27d5fb6
6
+ metadata.gz: 1bbdcd7ee29a0bc1ca87c6a15a6c3f573c2be2b95a228fa379c43d49ee07b61df63b8051ee59a7bac2e1fd239aa22bb71350619fc2c699520ddd91698acc3a8a
7
+ data.tar.gz: b80aebd43b1e7ef6ca8327ee983f6792d752dceb567d8243258e0228b85246904bada681ad62f9d0501937a0a6c56b887f618c86c325139a8004f8a233659673
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [Unreleased]
1
+ # CHANGELOG
2
+
3
+ ## [0.1.1] - 2023-02-14
4
+
5
+ - Specify files to include in gem with gemspec
2
6
 
3
7
  ## [0.1.0] - 2023-02-11
4
8
 
@@ -8,7 +8,7 @@ module MysqlAlterMonitoring
8
8
  # @param args [Array<String>]
9
9
  # @param io [::IO]
10
10
  # @return [void]
11
- def initialize(args, io: $stdout)
11
+ def initialize(args, io: $stdout.tap { _1.sync = true })
12
12
  @args = args
13
13
  @io = io
14
14
  @options = {}
@@ -2,5 +2,5 @@
2
2
 
3
3
  module MysqlAlterMonitoring
4
4
  # @return [String]
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.2'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql_alter_monitoring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akito Fujisaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2023-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.5.0
27
27
  description: Monitoring ALTER TABLE Progress for InnoDB Tables Using Performance Schema.
28
28
  email:
29
29
  - 52433677+akito-fujisaki@users.noreply.github.com
@@ -32,17 +32,9 @@ executables:
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - ".rspec"
36
- - ".rubocop.yml"
37
35
  - CHANGELOG.md
38
36
  - CODE_OF_CONDUCT.md
39
- - Dockerfile
40
- - Gemfile
41
- - Gemfile.lock
42
- - LICENSE.txt
43
37
  - README.md
44
- - Rakefile
45
- - compose.yml
46
38
  - exe/mysql-alter-monitoring
47
39
  - lib/mysql_alter_monitoring.rb
48
40
  - lib/mysql_alter_monitoring/cli.rb
@@ -52,7 +44,6 @@ files:
52
44
  - lib/mysql_alter_monitoring/monitor.rb
53
45
  - lib/mysql_alter_monitoring/performance_schema_setting.rb
54
46
  - lib/mysql_alter_monitoring/version.rb
55
- - mysql_alter_monitoring.gemspec
56
47
  homepage: https://github.com/akito-fujisaki/mysql_alter_monitoring
57
48
  licenses:
58
49
  - MIT
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,18 +0,0 @@
1
- require:
2
- - rubocop-performance
3
- - rubocop-rake
4
- - rubocop-rspec
5
- - rubocop-thread_safety
6
-
7
- AllCops:
8
- TargetRubyVersion: 2.6
9
- NewCops: enable
10
-
11
- Layout/LineLength:
12
- Max: 120
13
-
14
- RSpec/MultipleExpectations:
15
- Enabled: false
16
-
17
- RSpec/ExampleLength:
18
- Enabled: false
data/Dockerfile DELETED
@@ -1,18 +0,0 @@
1
- FROM ruby:3.2.0-slim
2
-
3
- RUN apt-get update && \
4
- apt-get install -y --no-install-recommends \
5
- build-essential \
6
- git \
7
- libmariadb-dev-compat \
8
- libmariadb-dev \
9
- mariadb-client && \
10
- apt-get clean
11
-
12
- WORKDIR /src
13
-
14
- COPY bin/setup ./bin/
15
- COPY Gemfile Gemfile.lock mysql_alter_monitoring.gemspec ./
16
- COPY lib/mysql_alter_monitoring/version.rb ./lib/mysql_alter_monitoring/
17
-
18
- RUN bundle install -j4
data/Gemfile DELETED
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in mysql_alter_monitoring.gemspec
6
- gemspec
7
-
8
- gem 'rake'
9
- gem 'rspec'
10
- gem 'rubocop'
11
- gem 'rubocop-performance'
12
- gem 'rubocop-rake'
13
- gem 'rubocop-rspec'
14
- gem 'rubocop-thread_safety'
15
- gem 'yard'
data/Gemfile.lock DELETED
@@ -1,80 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- mysql_alter_monitoring (0.1.0)
5
- mysql2
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- ast (2.4.2)
11
- diff-lcs (1.5.0)
12
- json (2.6.3)
13
- mysql2 (0.5.5)
14
- parallel (1.22.1)
15
- parser (3.2.1.0)
16
- ast (~> 2.4.1)
17
- rainbow (3.1.1)
18
- rake (13.0.6)
19
- regexp_parser (2.7.0)
20
- rexml (3.2.5)
21
- rspec (3.12.0)
22
- rspec-core (~> 3.12.0)
23
- rspec-expectations (~> 3.12.0)
24
- rspec-mocks (~> 3.12.0)
25
- rspec-core (3.12.1)
26
- rspec-support (~> 3.12.0)
27
- rspec-expectations (3.12.2)
28
- diff-lcs (>= 1.2.0, < 2.0)
29
- rspec-support (~> 3.12.0)
30
- rspec-mocks (3.12.3)
31
- diff-lcs (>= 1.2.0, < 2.0)
32
- rspec-support (~> 3.12.0)
33
- rspec-support (3.12.0)
34
- rubocop (1.45.1)
35
- json (~> 2.3)
36
- parallel (~> 1.10)
37
- parser (>= 3.2.0.0)
38
- rainbow (>= 2.2.2, < 4.0)
39
- regexp_parser (>= 1.8, < 3.0)
40
- rexml (>= 3.2.5, < 4.0)
41
- rubocop-ast (>= 1.24.1, < 2.0)
42
- ruby-progressbar (~> 1.7)
43
- unicode-display_width (>= 2.4.0, < 3.0)
44
- rubocop-ast (1.24.1)
45
- parser (>= 3.1.1.0)
46
- rubocop-capybara (2.17.0)
47
- rubocop (~> 1.41)
48
- rubocop-performance (1.16.0)
49
- rubocop (>= 1.7.0, < 2.0)
50
- rubocop-ast (>= 0.4.0)
51
- rubocop-rake (0.6.0)
52
- rubocop (~> 1.0)
53
- rubocop-rspec (2.18.1)
54
- rubocop (~> 1.33)
55
- rubocop-capybara (~> 2.17)
56
- rubocop-thread_safety (0.4.4)
57
- rubocop (>= 0.53.0)
58
- ruby-progressbar (1.11.0)
59
- unicode-display_width (2.4.2)
60
- webrick (1.7.0)
61
- yard (0.9.28)
62
- webrick (~> 1.7.0)
63
-
64
- PLATFORMS
65
- aarch64-linux
66
- arm64-darwin-21
67
-
68
- DEPENDENCIES
69
- mysql_alter_monitoring!
70
- rake
71
- rspec
72
- rubocop
73
- rubocop-performance
74
- rubocop-rake
75
- rubocop-rspec
76
- rubocop-thread_safety
77
- yard
78
-
79
- BUNDLED WITH
80
- 2.4.6
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2023 Akito Fujisaki
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/Rakefile DELETED
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- require 'rubocop/rake_task'
9
- RuboCop::RakeTask.new(:lint) do |t|
10
- t.options = %w[--parallel]
11
- end
12
- namespace :lint do
13
- desc 'Lint fix (Rubocop)'
14
- task fix: :autocorrect
15
- end
16
-
17
- desc 'Generate and Check code documents'
18
- task :doc do
19
- require 'yard'
20
- YARD::CLI::CommandParser.run
21
- output = `yard`.lines(chomp: true)
22
- exit(1) if output.first.include?('[warn]') || output.last.match(/\d+/)[0].to_i != 100
23
- end
24
-
25
- task default: %i[spec lint doc]
data/compose.yml DELETED
@@ -1,22 +0,0 @@
1
- version: "3"
2
-
3
- services:
4
- db:
5
- image: mysql:8.0
6
- environment:
7
- - MYSQL_ROOT_PASSWORD=pass
8
- volumes:
9
- - db-data:/var/lib/mysql
10
- gem:
11
- build: .
12
- image: mysql-alter-logging
13
- volumes:
14
- - .:/src
15
- environment:
16
- - DATABASE_URL=mysql2://root:pass@db
17
- depends_on:
18
- - db
19
-
20
- volumes:
21
- db-data:
22
- driver: local
@@ -1,34 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'lib/mysql_alter_monitoring/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'mysql_alter_monitoring'
7
- spec.version = MysqlAlterMonitoring::VERSION
8
- spec.authors = ['Akito Fujisaki']
9
- spec.email = ['52433677+akito-fujisaki@users.noreply.github.com']
10
-
11
- spec.summary = 'MySQL ALTER TABLE monitoring tool.'
12
- spec.description = 'Monitoring ALTER TABLE Progress for InnoDB Tables Using Performance Schema.'
13
- spec.homepage = 'https://github.com/akito-fujisaki/mysql_alter_monitoring'
14
- spec.license = 'MIT'
15
- spec.required_ruby_version = '>= 2.6.0'
16
-
17
- spec.metadata['homepage_uri'] = spec.homepage
18
- spec.metadata['source_code_uri'] = spec.homepage
19
- spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
20
-
21
- # Specify which files should be added to the gem when it is released.
22
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
- spec.files = Dir.chdir(__dir__) do
24
- `git ls-files -z`.split("\x0").reject do |f|
25
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
26
- end
27
- end
28
- spec.bindir = 'exe'
29
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
- spec.require_paths = ['lib']
31
-
32
- spec.add_dependency 'mysql2'
33
- spec.metadata['rubygems_mfa_required'] = 'true'
34
- end