dir-to-xml 0.2.2 → 0.2.3

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/dir-to-xml.rb +2 -0
  2. metadata +2 -2
@@ -13,9 +13,11 @@ class DirToXML
13
13
 
14
14
  def initialize(path= '.')
15
15
  super()
16
+ old_path = Dir.pwd
16
17
  Dir.chdir path
17
18
 
18
19
  a = Dir.glob("*").sort
20
+ Dir.chdir old_path
19
21
  command = a.include?('dir.xml') ? 'run' : 'new_run'
20
22
  @doc, @status = self.send command, a
21
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dir-to-xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-06-19 00:00:00 +01:00
12
+ date: 2010-07-07 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency