octopress 3.0.0.rc.6 → 3.0.0.rc.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -2
- data/README.md +8 -8
- data/Rakefile +1 -1
- data/assets/docs/{changelog/index.markdown → changelog.markdown} +12 -7
- data/assets/docs/index.markdown +8 -8
- data/lib/octopress/page.rb +1 -1
- data/lib/octopress/version.rb +1 -1
- data/octopress.gemspec +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59c785e8fc0a2c991a658c34c50f52da7b4b4ca0
|
4
|
+
data.tar.gz: ce63bf02022b52d310125846721207f010005a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50806cb6a15a804aa1ebd0051455671b69f6030e6b89d106431cd4c93e4e0786cb197576b54e4f3ea950efe049541cc4e699d80d598b083e9a63a3c0183ec42a
|
7
|
+
data.tar.gz: 2efc75fbf39e73fa9ccec8493c87d5d81e38d5715050d5a682a5334dd523060bf8459a4d21b1782df0bef9924dcd5e461ea5c249547416809110904bb13ab069
|
data/CHANGELOG.md
CHANGED
@@ -2,13 +2,18 @@
|
|
2
2
|
|
3
3
|
## Current released version
|
4
4
|
|
5
|
+
### 3.0.0 RC7 - 2014-03-24
|
6
|
+
|
7
|
+
- Fixed Time.parse with `--date` option on new posts and pages.
|
8
|
+
- Bumped Jekyll to 1.5.
|
9
|
+
|
10
|
+
## Past versions
|
11
|
+
|
5
12
|
### 3.0.0 RC6 - 2014-03-22
|
6
13
|
|
7
14
|
- Added support for octopress-ink documentation system.
|
8
15
|
- Added a `update_docs` Rake task to update docs from the readme and changelog.
|
9
16
|
|
10
|
-
## Past versions
|
11
|
-
|
12
17
|
### 3.0.0 RC5 - 2014-03-21
|
13
18
|
- Added octopress-docs to blessed gem list.
|
14
19
|
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Octopress
|
2
2
|
|
3
|
+
|
3
4
|
Octopress is an obsessively designed toolkit for writing and deploying Jekyll blogs. Pretty sweet, huh?
|
4
5
|
|
5
6
|
<!--[![Gem Version](https://badge.fury.io/rb/octopress.png)](http://badge.fury.io/rb/octopress)-->
|
@@ -67,7 +68,7 @@ titlecase: true
|
|
67
68
|
|
68
69
|
|
69
70
|
```sh
|
70
|
-
octopress init <PATH> [options]
|
71
|
+
$ octopress init <PATH> [options]
|
71
72
|
```
|
72
73
|
|
73
74
|
This will copy Octopress's scaffolding into the specified directory. Use the `--force` option to overwrite existing files. The scaffolding is pretty simple:
|
@@ -83,7 +84,7 @@ _templates/
|
|
83
84
|
|
84
85
|
This automates the creation of a new post.
|
85
86
|
|
86
|
-
```
|
87
|
+
```sh
|
87
88
|
$ octopress new post "My Title"
|
88
89
|
```
|
89
90
|
|
@@ -107,7 +108,7 @@ date: YYYY-MM-DDTHH:MM:SS-00:00
|
|
107
108
|
|
108
109
|
### New Page
|
109
110
|
|
110
|
-
```
|
111
|
+
```
|
111
112
|
$ octopress new page some-page # ./some-page.html
|
112
113
|
$ octopress new page docs/ # ./docs/index.html
|
113
114
|
$ octopress new page about.html # ./about.html
|
@@ -122,7 +123,7 @@ $ octopress new page about.html # ./about.html
|
|
122
123
|
|
123
124
|
### New Draft
|
124
125
|
|
125
|
-
```
|
126
|
+
```sh
|
126
127
|
$ octopress new draft "My Title"
|
127
128
|
```
|
128
129
|
|
@@ -137,7 +138,7 @@ This will create a new post in your `_drafts` directory.
|
|
137
138
|
|
138
139
|
### Publish draft
|
139
140
|
|
140
|
-
```
|
141
|
+
```sh
|
141
142
|
$ octopress publish _drafts/some-post.md
|
142
143
|
```
|
143
144
|
|
@@ -149,7 +150,6 @@ This will move your draft to the `_posts` directory and rename the file with the
|
|
149
150
|
| `--slug SLUG` | Change the slug for the new post. |
|
150
151
|
| `--dir DIR` | Create post at _posts/DIR/. |
|
151
152
|
| `--force` | Overwrite exsiting file. |
|
152
|
-
```
|
153
153
|
|
154
154
|
When publishing a draft, the new post will use the draft's date. Pass the option `--date now` to the publish command to set the new post date from your system clock. As usual, you can pass any compatible date string as well.
|
155
155
|
|
@@ -157,7 +157,7 @@ When publishing a draft, the new post will use the draft's date. Pass the option
|
|
157
157
|
|
158
158
|
Octopress post and page templates look like this.
|
159
159
|
|
160
|
-
```
|
160
|
+
```
|
161
161
|
---
|
162
162
|
layout: {{ layout }}
|
163
163
|
title: {{ title }}
|
@@ -169,7 +169,7 @@ date: {{ date }}
|
|
169
169
|
The YAML variables will be replaced with the correct content when you create a page or post. To modify this template create a `_templates/post` file and change it as you wish. You can add additional YAML front-matter or content, and you can even create multiple templates. Choose a custom template when creating a new post or page like this.
|
170
170
|
|
171
171
|
```sh
|
172
|
-
octopress new post --template _templates/linkpost
|
172
|
+
$ octopress new post --template _templates/linkpost
|
173
173
|
```
|
174
174
|
|
175
175
|
## Contributing
|
data/Rakefile
CHANGED
@@ -4,5 +4,5 @@ require "octopress-ink"
|
|
4
4
|
desc "Copy Readme and Changelog into docs"
|
5
5
|
task :update_docs do
|
6
6
|
Octopress::Ink.copy_doc 'README.md', 'assets/docs/index.markdown'
|
7
|
-
Octopress::Ink.copy_doc 'CHANGELOG.md', 'assets/docs/changelog
|
7
|
+
Octopress::Ink.copy_doc 'CHANGELOG.md', 'assets/docs/changelog.markdown', '/changelog/'
|
8
8
|
end
|
@@ -1,20 +1,25 @@
|
|
1
1
|
---
|
2
2
|
title: "Octopress Changelog"
|
3
|
+
permalink: /changelog/
|
3
4
|
---
|
4
5
|
|
5
|
-
|
6
|
+
## Current released version
|
6
7
|
|
7
|
-
|
8
|
-
- Added support for octopress-ink documentation system.
|
9
|
-
- Added a `update_docs` Rake task to update index/docs/index.markdown from README.md.
|
8
|
+
### 3.0.0 RC7 - 2014-03-24
|
10
9
|
|
11
|
-
|
10
|
+
- Fixed Time.parse with `--date` option on new posts and pages.
|
11
|
+
- Bumped Jekyll to 1.5.
|
12
|
+
|
13
|
+
## Past versions
|
14
|
+
|
15
|
+
### 3.0.0 RC6 - 2014-03-22
|
16
|
+
|
17
|
+
- Added support for octopress-ink documentation system.
|
18
|
+
- Added a `update_docs` Rake task to update docs from the readme and changelog.
|
12
19
|
|
13
20
|
### 3.0.0 RC5 - 2014-03-21
|
14
21
|
- Added octopress-docs to blessed gem list.
|
15
22
|
|
16
|
-
## Past versions
|
17
|
-
|
18
23
|
### 3.0.0 RC4 - 2014-03-18
|
19
24
|
- Updated mercenary. Fixed issue: #34
|
20
25
|
|
data/assets/docs/index.markdown
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
title: "Octopress"
|
3
3
|
---
|
4
4
|
|
5
|
+
|
5
6
|
Octopress is an obsessively designed toolkit for writing and deploying Jekyll blogs. Pretty sweet, huh?
|
6
7
|
|
7
8
|
<!--[![Gem Version](https://badge.fury.io/rb/octopress.png)](http://badge.fury.io/rb/octopress)-->
|
@@ -69,7 +70,7 @@ titlecase: true
|
|
69
70
|
|
70
71
|
|
71
72
|
```sh
|
72
|
-
octopress init <PATH> [options]
|
73
|
+
$ octopress init <PATH> [options]
|
73
74
|
```
|
74
75
|
|
75
76
|
This will copy Octopress's scaffolding into the specified directory. Use the `--force` option to overwrite existing files. The scaffolding is pretty simple:
|
@@ -85,7 +86,7 @@ _templates/
|
|
85
86
|
|
86
87
|
This automates the creation of a new post.
|
87
88
|
|
88
|
-
```
|
89
|
+
```sh
|
89
90
|
$ octopress new post "My Title"
|
90
91
|
```
|
91
92
|
|
@@ -109,7 +110,7 @@ date: YYYY-MM-DDTHH:MM:SS-00:00
|
|
109
110
|
|
110
111
|
### New Page
|
111
112
|
|
112
|
-
```
|
113
|
+
```
|
113
114
|
$ octopress new page some-page # ./some-page.html
|
114
115
|
$ octopress new page docs/ # ./docs/index.html
|
115
116
|
$ octopress new page about.html # ./about.html
|
@@ -124,7 +125,7 @@ $ octopress new page about.html # ./about.html
|
|
124
125
|
|
125
126
|
### New Draft
|
126
127
|
|
127
|
-
```
|
128
|
+
```sh
|
128
129
|
$ octopress new draft "My Title"
|
129
130
|
```
|
130
131
|
|
@@ -139,7 +140,7 @@ This will create a new post in your `_drafts` directory.
|
|
139
140
|
|
140
141
|
### Publish draft
|
141
142
|
|
142
|
-
```
|
143
|
+
```sh
|
143
144
|
$ octopress publish _drafts/some-post.md
|
144
145
|
```
|
145
146
|
|
@@ -151,7 +152,6 @@ This will move your draft to the `_posts` directory and rename the file with the
|
|
151
152
|
| `--slug SLUG` | Change the slug for the new post. |
|
152
153
|
| `--dir DIR` | Create post at _posts/DIR/. |
|
153
154
|
| `--force` | Overwrite exsiting file. |
|
154
|
-
```
|
155
155
|
|
156
156
|
When publishing a draft, the new post will use the draft's date. Pass the option `--date now` to the publish command to set the new post date from your system clock. As usual, you can pass any compatible date string as well.
|
157
157
|
|
@@ -159,7 +159,7 @@ When publishing a draft, the new post will use the draft's date. Pass the option
|
|
159
159
|
|
160
160
|
Octopress post and page templates look like this.
|
161
161
|
|
162
|
-
```
|
162
|
+
```
|
163
163
|
---
|
164
164
|
layout: {{ layout }}
|
165
165
|
title: {{ title }}
|
@@ -171,7 +171,7 @@ date: {{ date }}
|
|
171
171
|
The YAML variables will be replaced with the correct content when you create a page or post. To modify this template create a `_templates/post` file and change it as you wish. You can add additional YAML front-matter or content, and you can even create multiple templates. Choose a custom template when creating a new post or page like this.
|
172
172
|
|
173
173
|
```sh
|
174
|
-
octopress new post --template _templates/linkpost
|
174
|
+
$ octopress new post --template _templates/linkpost
|
175
175
|
```
|
176
176
|
|
177
177
|
## Contributing
|
data/lib/octopress/page.rb
CHANGED
@@ -74,7 +74,7 @@ module Octopress
|
|
74
74
|
@options['date'] = Time.now.iso8601
|
75
75
|
else
|
76
76
|
begin
|
77
|
-
Time.parse(date.to_s).iso8601
|
77
|
+
Time.parse(date.to_s, Time.now).iso8601
|
78
78
|
rescue => error
|
79
79
|
puts 'Could not parse date. Try formatting it like YYYY-MM-DD HH:MM'
|
80
80
|
abort error.message
|
data/lib/octopress/version.rb
CHANGED
data/octopress.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_runtime_dependency "mercenary", "~> 0.3.2"
|
22
|
-
spec.add_runtime_dependency "jekyll", "~> 1.
|
22
|
+
spec.add_runtime_dependency "jekyll", "~> 1.5", ">= 1.5.0"
|
23
23
|
|
24
24
|
spec.add_development_dependency "octopress-ink"
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.rc.
|
4
|
+
version: 3.0.0.rc.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mercenary
|
@@ -31,14 +31,20 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.
|
34
|
+
version: '1.5'
|
35
|
+
- - '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.5.0
|
35
38
|
type: :runtime
|
36
39
|
prerelease: false
|
37
40
|
version_requirements: !ruby/object:Gem::Requirement
|
38
41
|
requirements:
|
39
42
|
- - ~>
|
40
43
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.
|
44
|
+
version: '1.5'
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.5.0
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: octopress-ink
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,7 +118,7 @@ files:
|
|
112
118
|
- LICENSE
|
113
119
|
- README.md
|
114
120
|
- Rakefile
|
115
|
-
- assets/docs/changelog
|
121
|
+
- assets/docs/changelog.markdown
|
116
122
|
- assets/docs/index.markdown
|
117
123
|
- bin/octopress
|
118
124
|
- lib/octopress.rb
|