osvt 1.5.0 → 1.8.0

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.
Files changed (3) hide show
  1. data/bin/osvt +2 -1
  2. data/lib/osvt.rb +1 -1
  3. metadata +1 -1
data/bin/osvt CHANGED
@@ -61,7 +61,8 @@ OSVT_D = File::join HOME, ".osvt"
61
61
  CONFIG_F = File::join OSVT_D, "osvt.conf"
62
62
 
63
63
 
64
- if Dir[OSVT_D] == nil
64
+ if ( !(File.exists?(OSVT_D) && File.directory?(OSVT_D)))
65
+
65
66
  FileUtils::mkdir_p OSVT_D, :mode => 0700 unless test ?d, OSVT_D
66
67
  test ?e, CONFIG_F
67
68
 
@@ -1,3 +1,3 @@
1
1
  class Osvt
2
- VERSION = '1.5.0'
2
+ VERSION = '1.8.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osvt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team FOSS