master_data_tool 0.21.0 → 0.21.1

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: 68cf2a10239a17aee6eacda8e54cbf2820adbb8202f5fb53ef458bcaf1acb9a6
4
- data.tar.gz: 23464ebf12f17ff06fe1dea8acc7e465510d00bbde75ba5baf00fd2a82362d4c
3
+ metadata.gz: e3b637e96ac2000aeea49efd8a638384ebe87d750798dfc6e7f87e0d6be5f5d0
4
+ data.tar.gz: 2845294e3da24330a05b9f25c8d4bbf9fa0b9d17e12277dbb5cfe75be73b0d63
5
5
  SHA512:
6
- metadata.gz: a0713903b340a14a89c174beabf12df1a7ba29212b7004ae9056c28fd123a885e069ef0f907635da12be1cce4a9d59527c6c11a22a365aa249e27094577391b3
7
- data.tar.gz: 7c395995163c9035fe5930415736a8d8bc5126e649a41490546d9c4483d0943f8d48a8f6f5c6296507b5514640a63c37b35f42a003bda595f2401a1ebe6b1443
6
+ metadata.gz: 5363243ee6f1a9e3210b97f31e88eaf4add3f2e452348cc79e27987b9d735947e2c2ffec45076dbad7c2a0d38b434d5ee04bb0de6d460a25b123a85ab54a2ced
7
+ data.tar.gz: 5a665a846fd443010e83a99236436bf0e32c68a65185945eeb919415f7f5c2b3b686c993f329eff2ab6f0445abd41b0a40d58744b0136b029418a21c30ca2423
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MasterDataTool
4
- VERSION = "0.21.0"
4
+ VERSION = "0.21.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: master_data_tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-08 00:00:00.000000000 Z
11
+ date: 2023-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -186,21 +186,9 @@ executables:
186
186
  extensions: []
187
187
  extra_rdoc_files: []
188
188
  files:
189
- - ".rspec"
190
- - Appraisals
191
- - Gemfile
192
189
  - LICENSE
193
190
  - README.md
194
- - Rakefile
195
- - bin/console
196
- - bin/setup
197
- - docker-compose.yml
198
191
  - exe/master_data_tool
199
- - gemfiles/.bundle/config
200
- - gemfiles/activerecord5.2.gemfile
201
- - gemfiles/activerecord6.0.gemfile
202
- - gemfiles/activerecord6.1.gemfile
203
- - gemfiles/activerecord7.0.gemfile
204
192
  - lib/generators/master_data_tool/install/install_generator.rb
205
193
  - lib/generators/master_data_tool/install/templates/create_master_data_statuses.rb.erb
206
194
  - lib/master_data_tool.rb
@@ -223,17 +211,13 @@ files:
223
211
  - lib/master_data_tool/report/verify_report.rb
224
212
  - lib/master_data_tool/spec_config.rb
225
213
  - lib/master_data_tool/version.rb
226
- - log/test.log
227
- - master_data_tool.gemspec
228
- - scripts/drop_db.sh
229
- - scripts/setup.sh
230
214
  - sig/master_data_tool.rbs
231
215
  homepage: https://github.com/taka0125/master_data_tool
232
216
  licenses: []
233
217
  metadata:
234
218
  homepage_uri: https://github.com/taka0125/master_data_tool
235
219
  source_code_uri: https://github.com/taka0125/master_data_tool
236
- post_install_message:
220
+ post_install_message:
237
221
  rdoc_options: []
238
222
  require_paths:
239
223
  - lib
@@ -249,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
233
  version: '0'
250
234
  requirements: []
251
235
  rubygems_version: 3.3.7
252
- signing_key:
236
+ signing_key:
253
237
  specification_version: 4
254
238
  summary: マスタデータの管理ツール
255
239
  test_files: []
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/Appraisals DELETED
@@ -1,17 +0,0 @@
1
- appraise 'activerecord5.2' do
2
- gem 'activerecord', '~> 5.2.0'
3
- end
4
-
5
- appraise 'activerecord6.0' do
6
- gem 'activerecord', '~> 6.0.0'
7
- end
8
-
9
- appraise 'activerecord6.1' do
10
- gem 'activerecord', '~> 6.1.0'
11
- end
12
-
13
- if RUBY_VERSION >= '2.7.0'
14
- appraise 'activerecord7.0' do
15
- gem 'activerecord', '~> 7.0.0'
16
- end
17
- end
data/Gemfile DELETED
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- # Specify your gem's dependencies in master_data_tool.gemspec
6
- gemspec
7
-
8
- gem "rake", "~> 13.0"
9
-
10
- gem "rspec", "~> 3.0"
data/Rakefile DELETED
@@ -1,8 +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
- task default: :spec
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "master_data_tool"
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require "irb"
15
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
data/docker-compose.yml DELETED
@@ -1,25 +0,0 @@
1
- version: '3.9'
2
-
3
- x-mysql: &mysql
4
- image: mysql:5.7
5
- container_name: master_data_tool_mysql57
6
- environment:
7
- MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-f3WpxNreVT2NgQry}
8
- platform: linux/x86_64
9
- ports:
10
- - 127.0.0.1:${DB_PORT:-33306}:3306
11
- volumes:
12
- - mysql:/var/lib/mysql
13
- command: >
14
- mysqld
15
- --sql-mode=NO_ENGINE_SUBSTITUTION
16
- --character-set-server=utf8mb4
17
- --innodb-file-per-table=1
18
- --innodb-large-prefix
19
-
20
- services:
21
- mysql:
22
- <<: *mysql
23
-
24
- volumes:
25
- mysql:
@@ -1,2 +0,0 @@
1
- ---
2
- BUNDLE_RETRY: "1"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rake", "~> 13.0"
6
- gem "rspec", "~> 3.0"
7
- gem "activerecord", "~> 5.2.0"
8
-
9
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rake", "~> 13.0"
6
- gem "rspec", "~> 3.0"
7
- gem "activerecord", "~> 6.0.0"
8
-
9
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rake", "~> 13.0"
6
- gem "rspec", "~> 3.0"
7
- gem "activerecord", "~> 6.1.0"
8
-
9
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rake", "~> 13.0"
6
- gem "rspec", "~> 3.0"
7
- gem "activerecord", "~> 7.0.0"
8
-
9
- gemspec path: "../"
data/log/test.log DELETED
File without changes
@@ -1,43 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/master_data_tool/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "master_data_tool"
7
- spec.version = MasterDataTool::VERSION
8
- spec.authors = ["Takahiro Ooishi"]
9
- spec.email = ["taka0125@gmail.com"]
10
-
11
- spec.summary = "マスタデータの管理ツール"
12
- spec.description = "システムが稼働する上で最初から必要なデータ(マスタデータ)を管理するツールです。"
13
- spec.homepage = "https://github.com/taka0125/master_data_tool"
14
- spec.required_ruby_version = ">= 2.6.0"
15
-
16
- spec.metadata["homepage_uri"] = spec.homepage
17
- spec.metadata["source_code_uri"] = spec.homepage
18
-
19
- # Specify which files should be added to the gem when it is released.
20
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
22
- `git ls-files -z`.split("\x0").reject do |f|
23
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
24
- end
25
- end
26
- spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
-
30
- spec.add_development_dependency 'rspec'
31
- spec.add_development_dependency 'mysql2'
32
- spec.add_development_dependency 'psych', '~> 3.1'
33
- spec.add_development_dependency 'appraisal'
34
- spec.add_development_dependency 'ridgepole'
35
- spec.add_development_dependency 'database_cleaner-active_record'
36
- spec.add_development_dependency 'standalone_activerecord_boot_loader', '>= 0.3 '
37
- spec.add_development_dependency 'simplecov'
38
-
39
- spec.add_dependency 'activerecord', '>= 5.1.7'
40
- spec.add_dependency 'activesupport'
41
- spec.add_dependency 'thor'
42
- spec.add_dependency 'activerecord-import'
43
- end
data/scripts/drop_db.sh DELETED
@@ -1,11 +0,0 @@
1
- #!/bin/bash
2
- set -ex
3
-
4
- CURRENT=$(cd $(dirname $0);pwd)
5
-
6
- mysql \
7
- -u ${DB_USERNAME} \
8
- -h ${DB_HOST} \
9
- -p${DB_PASSWORD} \
10
- --port ${DB_PORT} \
11
- -e "DROP DATABASE IF EXISTS ${DB_NAME}"
data/scripts/setup.sh DELETED
@@ -1,17 +0,0 @@
1
- #!/bin/bash
2
- set -ex
3
-
4
- CURRENT=$(cd $(dirname $0);pwd)
5
-
6
- mysql \
7
- -u ${DB_USERNAME} \
8
- -h ${DB_HOST} \
9
- -p${DB_PASSWORD} \
10
- --port ${DB_PORT} \
11
- -e "CREATE DATABASE IF NOT EXISTS ${DB_NAME}"
12
-
13
- bundle exec ridgepole \
14
- -c ${CURRENT}/../spec/dummy/config/database.yml \
15
- --apply \
16
- -f ${CURRENT}/../spec/dummy/db/Schemafile \
17
- -E test