middleman-gh-pages 0.3.1 → 0.4.0

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
- SHA1:
3
- metadata.gz: adb5c7150dcdd0f1fdc29f2c0e8289eab0e8bda3
4
- data.tar.gz: 3b67d54ca5124d126da72fa0b7f5e432bcf8e21a
2
+ SHA256:
3
+ metadata.gz: bc20da421154937cd9f7a11c27b56c65c6a4557764dd7b0f3f7964facf0a3541
4
+ data.tar.gz: 6be08bdd637f5c19ee4e9b4d95162e7ab982909367e5b38bc811298e37dfea64
5
5
  SHA512:
6
- metadata.gz: e3395ac1fe438c30df45afaf64b9be929f1c71ef5e5e092b0c945d29acd27081cfd4986c35fae9de89f67cb13e110ae33e95850f7052899b62bec682e25b9a6b
7
- data.tar.gz: dd876b64d01011b357fc8891eb470017b66d846f3965156b4d005a89b9fe53ff377a88629c904459ae422af8c50f314a48fd40a24fa65aa4e38b87a859c26cec
6
+ metadata.gz: a98021db10924ad079a88143a40595107535aa1045758c437e6425451b572e61df8d99d52a1282de7ac396279cddf0a88e148a3f277ecd987d02d45611093439
7
+ data.tar.gz: 544e60c38d90172309dd792a2dc24fb16f0b9da0b449738c8d2ddd7a88a3a8b5a2a7cd2ce447a8bc85c2f7b3ebdf8d9072fdf3e84ecf7554fa199278d344a0fd
@@ -39,7 +39,7 @@ file GH_PAGES_REF => BUILD_DIR do
39
39
  cd BUILD_DIR do
40
40
  sh "git init"
41
41
  sh "git remote add #{remote_name} #{repo_url}"
42
- sh "git fetch --depth 1 #{remote_name}"
42
+ sh "git fetch #{remote_name} #{branch_name}"
43
43
 
44
44
  if `git branch -r` =~ /#{branch_name}/
45
45
  sh "git checkout #{branch_name}"
@@ -59,7 +59,7 @@ task :prepare_build_dir => GH_PAGES_REF
59
59
  # Fetch upstream changes on gh-pages branch
60
60
  task :sync_build_dir => :prepare_build_dir do
61
61
  cd BUILD_DIR do
62
- sh "git fetch --depth 1 #{remote_name} #{branch_name}"
62
+ sh "git fetch #{remote_name} #{branch_name}"
63
63
  sh "git reset --hard #{remote_name}/#{branch_name}"
64
64
  end
65
65
  end
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module GithubPages
3
- VERSION = "0.3.1"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-gh-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam McCrea
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2018-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -59,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project:
62
- rubygems_version: 2.5.2
62
+ rubygems_version: 2.7.6
63
63
  signing_key:
64
64
  specification_version: 4
65
65
  summary: Easy deployment of Middleman sites to Github Pages