stencil-ruby 0.0.2 → 0.0.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/README.md +8 -0
- data/bin/stencil +3 -0
- data/lib/stencil/version.rb +1 -1
- data/stencil-ruby-0.0.2.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 557611114711f52300ccfb7545dae90fc167525f
|
|
4
|
+
data.tar.gz: 69e0447b3680573c1ac18fe82e3c62a3c58065c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d898a2fb4ddf9d197cb5c2f48ae21dff94d15dc51374370dbdf90b317fd95162cc17e019bae340165617e86aeb45ca826c0511d8f15d1ecb6fd6b099fefa2e9c
|
|
7
|
+
data.tar.gz: 4f63f5b2f6d564a546f9778efefef76815e34a14a0f7ba91296db3d11bd90994eecfc9a4609c990adec79fe9faa02fc220db7871026244bee1a9dd25b0043b76
|
data/README.md
CHANGED
|
@@ -37,6 +37,14 @@ Command: `stencil inline`
|
|
|
37
37
|
|
|
38
38
|
Run `stencil help` for a full list of commands.
|
|
39
39
|
|
|
40
|
+
### Deploy
|
|
41
|
+
|
|
42
|
+
Deploys the build folder to gh-pages. You can optionally pass through a
|
|
43
|
+
different remote, the default is origin.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
Command: `stencil deploy`
|
|
47
|
+
|
|
40
48
|
## Getting Started
|
|
41
49
|
|
|
42
50
|
#### New Project
|
data/bin/stencil
CHANGED
|
@@ -23,6 +23,7 @@ def help
|
|
|
23
23
|
Commands:
|
|
24
24
|
bootstrap Create the required folders in the current directory
|
|
25
25
|
build Renders HTML and CSS into the build directory
|
|
26
|
+
deploy Deploys the build folder to gh-pages
|
|
26
27
|
new Creates a new folder with the latest version of stencil
|
|
27
28
|
watch Watches for changes to SCSS and Liquid files and builds them
|
|
28
29
|
inline Inlines the CSS in all HTML files in the build directory
|
|
@@ -102,6 +103,8 @@ when 'inline'
|
|
|
102
103
|
when 'build'
|
|
103
104
|
puts "Starting compiler!"
|
|
104
105
|
build
|
|
106
|
+
when 'deploy'
|
|
107
|
+
system "git subtree push --prefix build #{ARGV[1] || 'origin'} gh-pages"
|
|
105
108
|
when 'new'
|
|
106
109
|
if ARGV[1]
|
|
107
110
|
system "git clone --depth=1 --branch=master git@github.com:micdijkstra/stencil.git #{ARGV[1]}"
|
data/lib/stencil/version.rb
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stencil-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Dijkstra
|
|
@@ -210,6 +210,7 @@ files:
|
|
|
210
210
|
- spec/templates/_head.liquid
|
|
211
211
|
- spec/templates/index.liquid
|
|
212
212
|
- stencil-ruby-0.0.1.gem
|
|
213
|
+
- stencil-ruby-0.0.2.gem
|
|
213
214
|
- stencil.gemspec
|
|
214
215
|
homepage: https://github.com/xxix/stencil-ruby
|
|
215
216
|
licenses:
|