programmable-ventouse 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ventouse.rb +4 -0
  2. metadata +1 -1
data/lib/ventouse.rb CHANGED
@@ -26,4 +26,8 @@ class Ventouse
26
26
  end
27
27
  r
28
28
  end
29
+
30
+ def self.ensure_dir_exists dir
31
+ FileUtils.mkdir dir unless File.exist? dir and File.directory? dir
32
+ end
29
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: programmable-ventouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilia Ablamonov