dry-file 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aab62a88d9b5e6f2b96b3c04e6abcef3a5102c906e964fa1e5213cddd4040c05
4
- data.tar.gz: 516533d465f28edb4af9b681c9faaa17dfae85c8454aa779412dae09a14e16bc
3
+ metadata.gz: 2a883549eade781c80813ca23a4c30e815f370f812c6a1f3d2a88c59d9689764
4
+ data.tar.gz: 96ff7db47c422bccab7369439e10e59ac0d8f83938e02d77cbef803c71826cc9
5
5
  SHA512:
6
- metadata.gz: 9344018342aa9ac959d9992167e2e23b45c98b95c32b20e0e5e973a1dadc7f1e9d514c7295bb48645ab82508d0d08f093904d9f3111a7d8971c3fec3bccce050
7
- data.tar.gz: 0a4f945e1acbcfa50169a75cbce00187c871e3d697f64e142d3a5371a513a5e084699b5265fa331bbd8fe5f76dac15a9e2c2797cd61dbf43d912b7262f6e4d06
6
+ metadata.gz: d5a8779022a7c96b0ad9b4d9f06edc1ba2faa442d6bf6df008f36a4b9a895981642b13623baa2130455e6cbf21f7498c66c7504de7e198362089a40ce1ccc93e
7
+ data.tar.gz: e43abe9421f3b19c16a0c0aa1887a556952d49ba8d35b7d4db64657754bf809cc006cab53335c3f50b31b14762f9f36296eca2b42b1ba363f6993a22f8a6849d
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module File
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
data/lib/dry-file.rb CHANGED
@@ -22,6 +22,6 @@ module Dry
22
22
  end
23
23
  end
24
24
  file_out.close
25
- FileUtils.mv(file_out.path, "dry-#{file}")
25
+ FileUtils.mv(file_out.path, File.join(File.dirname(file), "dry-#{File.basename(file)}"))
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-file
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Romero