sqlbible 1.3.1 → 1.3.2

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: 683a8988da2881cbfa8ab92eaad608d55f0c616c6ea77969fa018f41efb1adb7
4
- data.tar.gz: 3b1db7c4d26616d9a1096f9086cc17379e489fa21fa96ad5c2f7c9e8d1c170c7
3
+ metadata.gz: b8eddf93d395b8029d0de33f4f87e68c719612675e808aa135d583e7d5448f95
4
+ data.tar.gz: 5ecefd2dff29958e4dd5714a1f07385508478c05381bbed70d12317d3392cae5
5
5
  SHA512:
6
- metadata.gz: e58320e7522c21546bdc46fc11dd1313aafab31b88bcf3a82d23dcfec73e8c77ddc7863963795737769813f4bfad94c388c574c1db69c16645d77c5c76b4d6d6
7
- data.tar.gz: 021e848f7a346d6c06ba2abe14409479ca2ed6006c846ada3b7dc34d3e82d78c60d3feff73a5edaaf403165a8f328b2770f94e6248fd4060c244e6224c2e5e22
6
+ metadata.gz: 9ad3995f53208bab47b42b75007661f849664855665e066a154cc271891dc195b6aca2057d529839e86309e8da9df39300e3519eecbebe2cad50fb374d1772d6
7
+ data.tar.gz: e5b669d1610f13f753106e2dba8f530e8b715f4456eafcca974475109fe99ce80a696d6fe0fd948064dcf5e70399f04bd5b6d9ea0a85aae752635cad9b2ddc74
data/bin/sqlbible CHANGED
@@ -7,7 +7,7 @@ require 'scripref'
7
7
  require 'sqlbible'
8
8
 
9
9
  result = OptimistXL.options do
10
- synopsis 'Usage: sqlbible [options] [<command> [suboptions] <filename>]'
10
+ synopsis 'Usage: sqlbible <command> [options] [filename]?'
11
11
  subcmd :convert, 'Convert a bible from OSIS-XML to Sqlbible format' do
12
12
  opt :bible, 'Name of the converted bible module or output filename of the generated .sqlbible file', type: String, required: true
13
13
  opt :overwrite, 'Overwrite existing module or output file if exist', type: :Boolean, default: false
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  class Sqlbible
5
- VERSION = '1.3.1'
5
+ VERSION = '1.3.2'
6
6
  end
data/lib/sqlbible.rb CHANGED
@@ -85,9 +85,7 @@ class Sqlbible
85
85
 
86
86
  # Get a list of the names of the bibles in bibles_dir
87
87
  def bible_names
88
- Dir.chdir bibles_dir do
89
- Dir['*.sqlbible'].map {|fn| fn.sub(/\.sqlbible$/, '')}.sort
90
- end
88
+ Dir[File.join(bibles_dir, '*.sqlbible')].map {|fn| File.basename(fn, '.sqlbible')}.sort
91
89
  end
92
90
 
93
91
  # Get an array of the major and minor version of the database schema of the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqlbible
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  original_platform: ''
7
7
  authors:
8
8
  - Jan Friedrich
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-17 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri