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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e0353e0b497b6fe1d581c834d17c493e81f7297
4
- data.tar.gz: 8dd4675bbde609c47b8e3545c33fef45fb5de13e
3
+ metadata.gz: e80e951fdbc6e7c83c912caf98c861fd033560c6
4
+ data.tar.gz: 3c27c098e6f53bbb7b9dbc34a8c2265c86ba5bf1
5
5
  SHA512:
6
- metadata.gz: 23be5e71bbc20fada9cd68ad6d05cd56d9e45c0615556b29ce33b2d289101b58a083ed2af7f305cfc3b8431f57cc6401c3035e61eb97cd74a2dba2d16d7d0632
7
- data.tar.gz: 807898fc5b3312372ee2c58c991a4dacfaed6ccee3d50eca8fb8072424f891ffd4945bfa2e8298daec2839ddac8c14988b58b209bacd79790ee1653e73b36d7e
6
+ metadata.gz: e1694b1ff4cea11b7d7a73ef08c2049786b494a73d2f766ae71da637ebb5c56aa7420861ac8b247430cd28e80291bdbc23d522625bc31e72509ab44ad7e30163
7
+ data.tar.gz: 3d2d965e5f9dabd8c47da8b24b9988f34286b08088ba16f6aef67fc7d933d3dc16345ce6b37c1b4402ff4effd25ea675b19f5e2a0a165dfaa82735e5ab9a2281
data/.gitignore CHANGED
@@ -9,5 +9,3 @@ Gemfile*.lock
9
9
  /_yardoc/
10
10
 
11
11
  /coverage/
12
-
13
- /_site/
@@ -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
 
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2016 Nathan Currier
3
3
 
4
4
  module GithubPages
5
- VERSION = '1.3.2'.freeze
5
+ VERSION = '1.3.3'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghpages_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Currier