dvdvrconv 1.0.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e2d10d9271d41efbcd111cafd6fd2857c08fa46214eb392bb58c93146dc551e
4
- data.tar.gz: b42749f99ecf8fb55af4c1b9a7efc05cb0c79d503a09105eb5a1395cb0e444ec
3
+ metadata.gz: adaaa6ba49f992ba560e8a0c5baaaa056ffc24c662a261f9d2f243eeaaff4a52
4
+ data.tar.gz: b417fc7bea2d6b03df97c4b76b97e0f98f9497183cfcf2fcd1d5c635ed30c0a4
5
5
  SHA512:
6
- metadata.gz: de0350ed29feffd1af1b96ab3af41306694f27df93b1bc3ca155d6ca346f33f0b715273b2573be20c32f7274af3729947708ef2478744db1527aee558851198d
7
- data.tar.gz: f9c7100785925fb1b053a0d0bc29520561519fb33c02f8ad0594889a8fa1c4ee4c114d53252bfba60ceb1a6e5f0c4fef2a98b605abfe969244cfcb124f843099
6
+ metadata.gz: 31af91dcf73ac4497d5a613a0792c6cfd47c5b521447011fde554c9cb25679e71ec9949094852038ebf4b2c1916d7b56c4e8181cb01cf870381df8e893c2049b
7
+ data.tar.gz: f1f5c553b3f4a0a5d66d723c6773e07c9de05c19788a204b4e170a609266e9cd89cc0fb5ad425160e268f38de52409e0ab741ff1528afa1caa45f0e3e9fb4397
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Dvdvrconv
1
+ # Dvdvrconv [![Gem Version](https://badge.fury.io/rb/dvdvrconv.svg)](https://badge.fury.io/rb/dvdvrconv)
2
2
 
3
3
 
4
4
  Dvdvrconv extracts the `vob` file from the `vro` file on the dvd-vr format disc.
@@ -118,11 +118,16 @@ module Dvdvrconv
118
118
  def load_config(file)
119
119
  config = YAML.load(File.read(file))
120
120
 
121
- %w(vr_mangr_ifo vr_movie_vro dvd_vr_cmd).each do |file|
122
- if File.exist?(config[file])
123
- @options[file.to_sym] = config[file]
121
+ %w(vr_mangr_ifo vr_movie_vro dvd_vr_cmd).each do |key|
122
+ unless config.key?(key)
123
+ puts "[ #{key} ] does not exist in #{file} file."
124
+ exit
125
+ end
126
+
127
+ if File.exist?(config[key])
128
+ @options[key.to_sym] = config[key]
124
129
  else
125
- puts "File read error. No such file: #{config[file]}"
130
+ puts "File read error. No such file: #{config[key]}"
126
131
  end
127
132
  end
128
133
 
@@ -1,3 +1,3 @@
1
1
  module Dvdvrconv
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvdvrconv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - icm7216
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-21 00:00:00.000000000 Z
11
+ date: 2021-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit
@@ -71,7 +71,7 @@ homepage: https://github.com/icm7216/dvdvrconv
71
71
  licenses:
72
72
  - MIT
73
73
  metadata: {}
74
- post_install_message:
74
+ post_install_message:
75
75
  rdoc_options: []
76
76
  require_paths:
77
77
  - lib
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubygems_version: 3.1.4
90
- signing_key:
90
+ signing_key:
91
91
  specification_version: 4
92
92
  summary: DVD-VR utility
93
93
  test_files: []