jekyll_post_files 1.0.6 → 1.1.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 +1 -0
- data/_release.sh +11 -0
- data/jekyll_post_files.gemspec +1 -0
- data/lib/jekyll_post_files.rb +5 -0
- data/lib/jekyll_post_files/version.rb +1 -1
- metadata +17 -4
- data/bin/console +0 -14
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1937a42342e35cb281db5e6a2407910f59f1f0a5
|
4
|
+
data.tar.gz: 226740ebccd2e10e372fbe9b7ff028aca1ab3636
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01a87a7f02ebf57e8a4f2edb568e394c747b873b59d3b42e2b187f13f9cccdb92da249f82b5a582d1dfb9dd076b3342625a23dba9af6674f9373e602d36ff4a9
|
7
|
+
data.tar.gz: 55d2157a25e73160705492c3952ac2dd50cf93322bdeb3d434233cac455f32e7ba34e7ebc99d000fa5a9089a978c6df449cf5e7818535568c73159a7e42b9fd7
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# jekyll_post_files
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/jekyll_post_files)
|
4
|
+
[](http://rubygems.org/gems/jekyll_post_files)
|
4
5
|
|
5
6
|
## Easing the management of images (and other files) attached to Markdown posts
|
6
7
|
|
data/_release.sh
ADDED
data/jekyll_post_files.gemspec
CHANGED
data/lib/jekyll_post_files.rb
CHANGED
@@ -51,6 +51,11 @@ module Jekyll
|
|
51
51
|
|
52
52
|
# Generate content by copying files associated with each post.
|
53
53
|
def generate(site)
|
54
|
+
Jekyll.logger.warn(
|
55
|
+
"[jekyll_post_files]",
|
56
|
+
"The jekyll_post_files plugin is deprecated. \
|
57
|
+
Please use the jekyll-postfiles plugin instead."
|
58
|
+
)
|
54
59
|
site.posts.docs.each do |post|
|
55
60
|
copy_post_files(post)
|
56
61
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_post_files
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Hoizey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.42'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.42'
|
41
55
|
description: This plugin takes any file that is in posts folders, and copy them to
|
42
56
|
the folder in which the post HTML page will be created.
|
43
57
|
email:
|
@@ -51,8 +65,7 @@ files:
|
|
51
65
|
- LICENSE.txt
|
52
66
|
- README.md
|
53
67
|
- Rakefile
|
54
|
-
-
|
55
|
-
- bin/setup
|
68
|
+
- _release.sh
|
56
69
|
- jekyll_post_files.gemspec
|
57
70
|
- lib/jekyll_post_files.rb
|
58
71
|
- lib/jekyll_post_files/version.rb
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "jekyll_post_files"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|