stencil-ruby 0.0.2 → 0.0.3

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
2
  SHA1:
3
- metadata.gz: 99b4058ec0b3dc57daa39a9d5a992733734fb0a5
4
- data.tar.gz: 279fa3cdf8b464a3d530501bf8ee651bb6f840ef
3
+ metadata.gz: 557611114711f52300ccfb7545dae90fc167525f
4
+ data.tar.gz: 69e0447b3680573c1ac18fe82e3c62a3c58065c2
5
5
  SHA512:
6
- metadata.gz: c672947fbaf1af0895440dd1918137540beeb2e3a0ceb9c88ac5fd73b9c71bc9e93f8bccb00d44a2f7cd2db4c4ab31cdb13289898d80f208d7c530c8e5ab3651
7
- data.tar.gz: 1ad60f8c860145cb3393ace2f0eb324993c95ed81ec77de5b17ced33f04c6e99724a3ec4f1c0128bcf6fa661ea4e85df75c0ba19b67d2e8ea52d7a30379cd201
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]}"
@@ -1,3 +1,3 @@
1
1
  module Stencil
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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: