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 +5 -5
- data/lib/middleman-gh-pages/tasks/gh-pages.rake +2 -2
- data/lib/middleman-gh-pages/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bc20da421154937cd9f7a11c27b56c65c6a4557764dd7b0f3f7964facf0a3541
|
4
|
+
data.tar.gz: 6be08bdd637f5c19ee4e9b4d95162e7ab982909367e5b38bc811298e37dfea64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
62
|
+
sh "git fetch #{remote_name} #{branch_name}"
|
63
63
|
sh "git reset --hard #{remote_name}/#{branch_name}"
|
64
64
|
end
|
65
65
|
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.
|
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:
|
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.
|
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
|