master_data_tool 0.21.1 → 0.22.0

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: e3b637e96ac2000aeea49efd8a638384ebe87d750798dfc6e7f87e0d6be5f5d0
4
- data.tar.gz: 2845294e3da24330a05b9f25c8d4bbf9fa0b9d17e12277dbb5cfe75be73b0d63
3
+ metadata.gz: f9f7536e73b11752d8c35e86e416f24076e7872641a2c6a4b0e56ef107aed56f
4
+ data.tar.gz: 2f1f3fe58965dc6310a082556d5b1fc84fc3508b4c2ad990f2e65d54eb0133cd
5
5
  SHA512:
6
- metadata.gz: 5363243ee6f1a9e3210b97f31e88eaf4add3f2e452348cc79e27987b9d735947e2c2ffec45076dbad7c2a0d38b434d5ee04bb0de6d460a25b123a85ab54a2ced
7
- data.tar.gz: 5a665a846fd443010e83a99236436bf0e32c68a65185945eeb919415f7f5c2b3b686c993f329eff2ab6f0445abd41b0a40d58744b0136b029418a21c30ca2423
6
+ metadata.gz: b5148d6a465c4df3d7380a2a16a5f25a4e4dc028c2e874e2ebdde5de42cc030facce89216ea19c26fb0ad10fa052b30a835936de7fb5a329f4e6dc98546424bc
7
+ data.tar.gz: 953dadca59bffae777c0c623d6039d2e030eb0eefc99674db55a4802a4f98fb13a0b0d544ecce7c90b064c4f7fe1751c392a08bb96b2832b093dc85df8c7ea91
data/exe/master_data_tool CHANGED
@@ -22,7 +22,7 @@ module MasterDataTool
22
22
  option :delete_all_ignore_foreign_key, default: nil, type: :boolean
23
23
  desc 'import', 'import'
24
24
  def import
25
- spec_config = MasterDataTool.config.spec_config(options['spec_name'])
25
+ spec_config = MasterDataTool.config.spec_config(options[:spec_name])
26
26
  new_options = config.default_import_options.with_indifferent_access.merge(options)
27
27
  new_options[:spec_config] = spec_config
28
28
 
@@ -57,7 +57,7 @@ module MasterDataTool
57
57
  ignore_column_names = options[:ignore_column_names]
58
58
  only_tables = options[:only_tables]
59
59
  verbose = options[:verbose]
60
- spec_config = MasterDataTool.config.spec_config(options['spec_name'])
60
+ spec_config = MasterDataTool.config.spec_config(options[:spec_name])
61
61
 
62
62
  executor = MasterDataTool::Dump::Executor.new(
63
63
  spec_config: spec_config,
@@ -13,7 +13,7 @@ module MasterDataTool
13
13
  end
14
14
 
15
15
  def spec_config(spec_name)
16
- spec_configs.detect { |c| c.spec_name == spec_name }
16
+ spec_configs.detect { |c| c.spec_name.to_s == spec_name.to_s }
17
17
  end
18
18
 
19
19
  def csv_dir_for(spec_name, override_identifier = nil)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MasterDataTool
4
- VERSION = "0.21.1"
4
+ VERSION = "0.22.0"
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.1
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-07 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubygems_version: 3.3.7
235
+ rubygems_version: 3.4.10
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: マスタデータの管理ツール