middleman-gh_pages 0.1.0 → 0.2.0
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/README.md +5 -2
- data/lib/middleman/gh_pages.rb +1 -4
- data/lib/middleman/gh_pages/command.rb +3 -1
- data/lib/middleman/gh_pages/extension.rb +0 -2
- data/lib/middleman/gh_pages/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 621771c557a71ae4f2d06e983ae5fe9d8bfe5071
|
4
|
+
data.tar.gz: 905bb9cd3ac0508095f360f1d0bbff9befb48f8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ad36fc66b0ecb9999a8c5f9ce487e031e4d38c641b2a2bc9a7ebfc31f68524ffb2c7f844a9df32ca9cae4c3fdeb0b09fab01b5097381e5ef4cc14f3fa53c5b0
|
7
|
+
data.tar.gz: 2cd0f4eabcbafbbbc7f350eae38fa820b815978ca478b7b3401e45ca5c248ed39ff89b64da827e0c43064a96d687df37f2193118c3070ef2b7a6f7b4ed6cf48f
|
data/README.md
CHANGED
@@ -29,9 +29,12 @@ end
|
|
29
29
|
Adding an absolute remote name is a requirement, so we don't have to infer
|
30
30
|
where to deploy to.
|
31
31
|
|
32
|
-
The deploy is always one commit that is forced pushed into the gh-pages branch.
|
32
|
+
The deploy is always one commit that is forced pushed into the `gh-pages` branch.
|
33
33
|
You'll never run into merge conflicts, or an unemployable state. You can deploy
|
34
|
-
anything, as long as you can force push to
|
34
|
+
anything, as long as you can force push to `gh-pages`.
|
35
|
+
|
36
|
+
You can also deploy uncommitted changes as a new deploy commit is created on
|
37
|
+
every run of:
|
35
38
|
|
36
39
|
```
|
37
40
|
$ middleman gh_pages
|
data/lib/middleman/gh_pages.rb
CHANGED
@@ -25,7 +25,9 @@ module Middleman
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def method_missing(name, *args, &block)
|
28
|
-
|
28
|
+
unless ::Kernel.system(@cmd, name.to_s, *args.map(&:to_s))
|
29
|
+
::Kernel.raise Error
|
30
|
+
end
|
29
31
|
end
|
30
32
|
end
|
31
33
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genadi Samokovarov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|