master_data_tool 0.20.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/master_data_tool/config.rb +2 -2
- data/lib/master_data_tool/version.rb +1 -1
- metadata +5 -21
- data/.rspec +0 -3
- data/Appraisals +0 -17
- data/Gemfile +0 -10
- data/Rakefile +0 -8
- data/bin/console +0 -15
- data/bin/setup +0 -8
- data/docker-compose.yml +0 -25
- data/gemfiles/.bundle/config +0 -2
- data/gemfiles/activerecord5.2.gemfile +0 -9
- data/gemfiles/activerecord6.0.gemfile +0 -9
- data/gemfiles/activerecord6.1.gemfile +0 -9
- data/gemfiles/activerecord7.0.gemfile +0 -9
- data/log/test.log +0 -0
- data/master_data_tool.gemspec +0 -43
- data/scripts/drop_db.sh +0 -11
- data/scripts/setup.sh +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3b637e96ac2000aeea49efd8a638384ebe87d750798dfc6e7f87e0d6be5f5d0
|
4
|
+
data.tar.gz: 2845294e3da24330a05b9f25c8d4bbf9fa0b9d17e12277dbb5cfe75be73b0d63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5363243ee6f1a9e3210b97f31e88eaf4add3f2e452348cc79e27987b9d735947e2c2ffec45076dbad7c2a0d38b434d5ee04bb0de6d460a25b123a85ab54a2ced
|
7
|
+
data.tar.gz: 5a665a846fd443010e83a99236436bf0e32c68a65185945eeb919415f7f5c2b3b686c993f329eff2ab6f0445abd41b0a40d58744b0136b029418a21c30ca2423
|
@@ -18,8 +18,8 @@ module MasterDataTool
|
|
18
18
|
|
19
19
|
def csv_dir_for(spec_name, override_identifier = nil)
|
20
20
|
path = MasterDataTool.config.master_data_dir
|
21
|
-
path = path.join(spec_name) if spec_name.present?
|
22
|
-
path = path.join(override_identifier) if override_identifier.present?
|
21
|
+
path = path.join(spec_name.to_s) if spec_name.present?
|
22
|
+
path = path.join(override_identifier.to_s) if override_identifier.present?
|
23
23
|
path
|
24
24
|
end
|
25
25
|
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.
|
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:
|
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
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
data/Rakefile
DELETED
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
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:
|
data/gemfiles/.bundle/config
DELETED
data/log/test.log
DELETED
File without changes
|
data/master_data_tool.gemspec
DELETED
@@ -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
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
|