jekyll_post_files 1.0.6 → 1.1.0

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: 39b89f540cf4a14a9fc32554b5a722cb42a34609
4
- data.tar.gz: 7f54ea0a7e3bc3ea7509cad6b1e87d13125c31d8
3
+ metadata.gz: 1937a42342e35cb281db5e6a2407910f59f1f0a5
4
+ data.tar.gz: 226740ebccd2e10e372fbe9b7ff028aca1ab3636
5
5
  SHA512:
6
- metadata.gz: d326ea21df2357db1ef1edb7897ba4cb5a7af6a904a85b8e7d0165bf207faee58b27839a15328a3b58737374c8d4edf50e13eb04e8da9e34d4072b6d502e12f4
7
- data.tar.gz: 2183d253aa913f849ab9101156cfdf08a3ee6907355db91739a3e60ef94f5883ae8ba99d3d7571e4351cc587de2f8895f296432f902ed7620c15c23efcd1f7b4
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
  [![Gem Version](https://badge.fury.io/rb/jekyll_post_files.svg)](https://badge.fury.io/rb/jekyll_post_files)
4
+ [![Gem Downloads](https://img.shields.io/gem/dt/jekyll_post_files.svg?style=flat)](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
 
@@ -0,0 +1,11 @@
1
+ #!/bin/sh
2
+ # https://github.com/svenfuchs/gem-release
3
+
4
+ if [ -z "$1" ]; then
5
+ echo "Usage: provide the release type (patch, minor, major)."
6
+ exit -1
7
+ else
8
+ release_type="$@"
9
+ fi
10
+
11
+ gem bump --version "$release_type" --tag --release
@@ -19,4 +19,5 @@ Gem::Specification.new do |spec|
19
19
 
20
20
  spec.add_development_dependency "bundler", "~> 1.12"
21
21
  spec.add_development_dependency "rake", "~> 10.0"
22
+ spec.add_development_dependency "rubocop", "~> 0.42"
22
23
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module JekyllPostFiles
2
- VERSION = "1.0.6"
2
+ VERSION = "1.1.0"
3
3
  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.6
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-06-29 00:00:00.000000000 Z
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
- - bin/console
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
@@ -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
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here