ghpages_deploy 1.3.2 → 1.3.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 +4 -4
- data/.gitignore +0 -2
- data/lib/ghpages_deploy/deployer.rb +3 -3
- data/lib/ghpages_deploy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e80e951fdbc6e7c83c912caf98c861fd033560c6
|
|
4
|
+
data.tar.gz: 3c27c098e6f53bbb7b9dbc34a8c2265c86ba5bf1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1694b1ff4cea11b7d7a73ef08c2049786b494a73d2f766ae71da637ebb5c56aa7420861ac8b247430cd28e80291bdbc23d522625bc31e72509ab44ad7e30163
|
|
7
|
+
data.tar.gz: 3d2d965e5f9dabd8c47da8b24b9988f34286b08088ba16f6aef67fc7d933d3dc16345ce6b37c1b4402ff4effd25ea675b19f5e2a0a165dfaa82735e5ab9a2281
|
data/.gitignore
CHANGED
|
@@ -29,12 +29,12 @@ module GithubPages
|
|
|
29
29
|
|
|
30
30
|
# @return [Boolean] true if there were changes to the destination
|
|
31
31
|
def deploy_site_to(dest)
|
|
32
|
-
# create the full path to the destination
|
|
33
|
-
FileUtils.mkdir_p(dest)
|
|
34
|
-
|
|
35
32
|
# remove files that are already cached in the destination directory
|
|
36
33
|
@git.remove(*@git.ls_files(dest))
|
|
37
34
|
|
|
35
|
+
# create the full path to the destination
|
|
36
|
+
FileUtils.mkdir_p(dest)
|
|
37
|
+
|
|
38
38
|
# recursively copy all files from @source into dest
|
|
39
39
|
FileUtils.cp_r("#{@source}/.", dest)
|
|
40
40
|
|