stashify 1.0.2 → 1.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84f0655199b71b4079fc0405ed2bd68ccd65f0231f1531005c59f1ada5b88efe
4
- data.tar.gz: b8f4d4b7491ea3d51271579e455fcbe08e4e9a74040f3deba84581b2d1b02538
3
+ metadata.gz: e973c2f24b46e43537a97ef45788e7d01857acee21951387431256dd5c78e5ab
4
+ data.tar.gz: 5f5ec864ba95d82d669fc0682ecf7b57f248926eb7dd0599a2e7d07e9ed7f58a
5
5
  SHA512:
6
- metadata.gz: 623475feb2be6768f59519458108029af6b244396d36d67c3d3529e60bbf231f8164921d1cd334a6a7eebdd6059578083be2f841e50e4b7dc20327e3853707ef
7
- data.tar.gz: 33b63c2878050f49c35d24d00f81917f35503353019dc7b23c3f4f1a4fcfb7f95897b66d5dbb288012fcbd57b0a91bd162d8015b89802b70e7b81840222b77ed
6
+ metadata.gz: 3c48b8022c40151ead151db9cca51ae45cde5d8f921d17e544b46c3a90418818025d1fbf8748dd09f9814432d0b8e4b4cb75a555d400cc22980dd37208edd873
7
+ data.tar.gz: bb9c80f96a94b1484d4eb22627c11f5331b68e24765549ec95e1680cec022a80d87858bd11e2bcd17140c8ade63f18f19cf937d79c19010b770c74a00d9cefc3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stashify (1.0.2)
4
+ stashify (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -14,10 +14,8 @@ module Stashify
14
14
  end
15
15
 
16
16
  def write_directory(directory)
17
- path = path_of(directory.name)
18
- FileUtils.mkdir(path)
19
- subdir = Stashify::Directory::Local.new(path)
20
- directory.files.each { |file| subdir.write(file) }
17
+ FileUtils.mkdir(path_of(directory.name))
18
+ super
21
19
  end
22
20
 
23
21
  def write_file(file)
@@ -24,5 +24,10 @@ module Stashify
24
24
  write_file(file)
25
25
  end
26
26
  end
27
+
28
+ def write_directory(directory)
29
+ subdir = self.directory(directory.name)
30
+ directory.files.each { |file| subdir.write(file) }
31
+ end
27
32
  end
28
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stashify
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stashify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lambda Null