soveran-drawer 0.0.4 → 0.0.5

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/drawer.rb +2 -0
  2. metadata +1 -1
data/lib/drawer.rb CHANGED
@@ -58,12 +58,14 @@ class Drawer
58
58
  end
59
59
 
60
60
  def self.open(file, &block)
61
+ file = File.expand_path(file)
61
62
  drawer = Drawer.new(file)
62
63
  yield drawer if block_given?
63
64
  drawer
64
65
  end
65
66
 
66
67
  def self.open!(file)
68
+ file = File.expand_path(file)
67
69
  create(file)
68
70
  open(file)
69
71
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soveran-drawer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Martens