rake-jekyll 1.0.2 → 1.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: 9b24b1b646810e6d3ccfad8ae77f5e169936b1ae
4
- data.tar.gz: 6f954130217f2c8678edf4c1ca878eaf900527bf
3
+ metadata.gz: 34adea1c4aa6357e8735d2119bc6fc910874f103
4
+ data.tar.gz: 74368dd9521f0084fcc4bcb6dac9a54825035930
5
5
  SHA512:
6
- metadata.gz: c0be582d3f7ca2959c362cce605e3783e2ef75219c7b5ebf1e5c452c73502247c6f2496163ae494bf098a9a2945936a1a4bddd6d97181f6c688f5612aeccf8dd
7
- data.tar.gz: cf4cc0211472ba961570535003f6638fba566fdeca8e39bb10cf532d753760868343d53dce8207eb9d1f8fa11d79aa570c72ad581e72b2dad3987020eefb352d
6
+ metadata.gz: 62acbf2b7d729061c672eb7729799158937a7e2fbe8d38163cff4ba9e033a6de25f83a178c6fde53ced69ca42ae21b058d00a89ebd65fa54b4f4370e6883f215
7
+ data.tar.gz: 6a3eaaf4fff13b9973448f6f6e9a6ebc8dd6ef48b2f4b2361c690f171ae085c6fe92bca2356ff1dd079b27308cd47255641747e0c9410cf6bd20973c5c6ceb7b
@@ -104,6 +104,24 @@ Note: All options except `name` and `description` accepts both String and Proc a
104
104
 
105
105
  ==== Setup for GitHub Pages and Travis CI
106
106
 
107
+ You need two branches in your repository:
108
+
109
+ * **master**, for markup sources and configuration. This branch can be named anything you choose.
110
+ * **gh-pages**, for the generated static content produced by Travis CI. This branch will be created automatically for you when the task runs.
111
+
112
+ The goal is to configure a Travis CI job to listen for commits on the _master_ branch, automatically run the Jekyll build, and push the generated content to the _gh-pages_ branch.
113
+ After that, your site will be available at `http(s)://<username>.github.io/<projectname>`.
114
+
115
+ . Create or edit file `Gemfile` in your Jekyll repository:
116
+ +
117
+ [source, ruby]
118
+ ----
119
+ source 'https://rubygems.org'
120
+
121
+ gem 'jekyll'
122
+ gem 'rake'
123
+ gem 'rake-jekyll'
124
+ ----
107
125
  . Create or edit file `Rakefile` in your Jekyll repository:
108
126
  +
109
127
  [source, ruby]
@@ -150,11 +168,11 @@ env:
150
168
 
151
169
  == Contributing
152
170
 
153
- 1. Fork it.
154
- 2. Create your feature branch (`git checkout -b my-new-feature`).
155
- 3. Commit your changes (`git commit -am 'Add some feature'`).
156
- 4. Push to the branch (`git push origin my-new-feature`).
157
- 5. Create a new Pull Request.
171
+ . Fork it.
172
+ . Create your feature branch (`git checkout -b my-new-feature`).
173
+ . Commit your changes (`git commit -am 'Add some feature'`).
174
+ . Push to the branch (`git push origin my-new-feature`).
175
+ . Create a new Pull Request.
158
176
 
159
177
 
160
178
  == License
@@ -161,13 +161,13 @@ module Rake::Jekyll
161
161
  # @!attribute jekyll_build
162
162
  # Defines a function that executes Jekyll to build the site.
163
163
  # Defaults to:
164
- # sh "bundle exec jekyll build --destination #{dest_dir}"
164
+ # Rake.sh "bundle exec jekyll build --destination #{dest_dir}"
165
165
  #
166
166
  # @return [Proc] a Proc that accepts one argument; the destination
167
167
  # directory to generate the site into.
168
168
  #
169
169
  callable_attr :jekyll_build, ->(dest_dir) {
170
- system "bundle exec jekyll build --destination #{dest_dir}"
170
+ Rake.sh "bundle exec jekyll build --destination #{dest_dir}"
171
171
  }
172
172
 
173
173
  ##
@@ -191,7 +191,7 @@ module Rake::Jekyll
191
191
  ##
192
192
  # @!attribute [w] skip_commit
193
193
  # Whether to skip the commit and push phase.
194
- # Default is to return +false+ when env variable +TRAVIS_PULL_REQUEST+
194
+ # Default is to return +true+ when env variable +TRAVIS_PULL_REQUEST+
195
195
  # is an integer value greater than 0 or +SKIP_COMMIT+ represents truthy
196
196
  # (i.e. contains yes, y, true, or 1).
197
197
  #
@@ -1,5 +1,5 @@
1
1
  module Rake
2
2
  module Jekyll
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Jirutka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake