programmable-ventouse 0.0.7 → 0.0.8

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 (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