jekyll_test_plugin 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -1
- data/Rakefile +0 -29
- data/jekyll_test_plugin.gemspec +1 -1
- data/lib/jekyll_test_plugin/version.rb +1 -1
- metadata +15 -15
- data/.github/workflows/backport.yml +0 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a1191e4387e0809a0c22b366b26ba5bfe906c6ae
|
4
|
+
data.tar.gz: 30d31f8a827bfec0636afff7f79dab2321c91d3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c29894d88f037eb418388d5468203ac0b7c9ea6f3816855b3f6ed003fb88ce149d10a68f46a70c061397a237af3fb674bcb5f69a366deff638d14688cd99ae64
|
7
|
+
data.tar.gz: c2f2066ae4daf9a5a0f4d7a0cd2bc3b723c9837a9390da10adfa6bf46e509362ec5d39d0dbf4353530b29bd03d1fc7a2788f6b7b943627a44aa28eb9f1b6b079
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,30 +1 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
-
|
3
|
-
namespace :project do
|
4
|
-
require "forwardable"
|
5
|
-
|
6
|
-
module Project
|
7
|
-
class Spec
|
8
|
-
extend Forwardable
|
9
|
-
|
10
|
-
def_delegators :@gemspec, :name, :version
|
11
|
-
|
12
|
-
def initialize(name)
|
13
|
-
gemspec_file = "#{name}.gemspec"
|
14
|
-
@gemspec = Bundler.load_gemspec(gemspec_file)
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
spec = Project::Spec.new("jekyll_test_plugin")
|
20
|
-
|
21
|
-
desc "Print basename of built gem."
|
22
|
-
task :gem_name do
|
23
|
-
puts "#{spec.name}-#{spec.version}"
|
24
|
-
end
|
25
|
-
|
26
|
-
desc "Print lib version prefixed with 'v'."
|
27
|
-
task :tag_version do
|
28
|
-
puts "v#{spec.version}"
|
29
|
-
end
|
30
|
-
end
|
data/jekyll_test_plugin.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler"
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
22
|
spec.add_development_dependency "rake"
|
23
23
|
spec.add_development_dependency "jekyll"
|
24
24
|
end
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll_test_plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jekyll
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: A test plugin for Jekyll's 'gem' config option
|
@@ -59,8 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
-
|
63
|
-
- ".gitignore"
|
62
|
+
- .gitignore
|
64
63
|
- Gemfile
|
65
64
|
- LICENSE.txt
|
66
65
|
- README.md
|
@@ -78,16 +77,17 @@ require_paths:
|
|
78
77
|
- lib
|
79
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
80
79
|
requirements:
|
81
|
-
- -
|
80
|
+
- - '>='
|
82
81
|
- !ruby/object:Gem::Version
|
83
82
|
version: '0'
|
84
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
84
|
requirements:
|
86
|
-
- -
|
85
|
+
- - '>='
|
87
86
|
- !ruby/object:Gem::Version
|
88
87
|
version: '0'
|
89
88
|
requirements: []
|
90
|
-
|
89
|
+
rubyforge_project:
|
90
|
+
rubygems_version: 2.0.14
|
91
91
|
signing_key:
|
92
92
|
specification_version: 4
|
93
93
|
summary: A test Jekyll plugin as a gem
|
@@ -1,52 +0,0 @@
|
|
1
|
-
name: Release Backport
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- "*-stable"
|
7
|
-
paths:
|
8
|
-
- "lib/**/version.rb"
|
9
|
-
|
10
|
-
jobs:
|
11
|
-
release:
|
12
|
-
if: "github.repository_owner == 'jekyll'"
|
13
|
-
name: "Release Backport (Ruby ${{ matrix.ruby_version }})"
|
14
|
-
runs-on: "ubuntu-latest"
|
15
|
-
strategy:
|
16
|
-
fail-fast: true
|
17
|
-
matrix:
|
18
|
-
ruby_version:
|
19
|
-
- 2.7
|
20
|
-
steps:
|
21
|
-
- name: Checkout Repository
|
22
|
-
uses: actions/checkout@v2
|
23
|
-
- name: "Set up Ruby ${{ matrix.ruby_version }}"
|
24
|
-
uses: ruby/setup-ruby@v1
|
25
|
-
with:
|
26
|
-
ruby-version: ${{ matrix.ruby_version }}
|
27
|
-
bundler-cache: true
|
28
|
-
- name: Extract Plugin Meta
|
29
|
-
id: plugin-meta
|
30
|
-
run: |
|
31
|
-
echo "::set-output name=tag_version::$(bundle exec rake project:tag_version)"
|
32
|
-
echo "::set-output name=gem_name::$(bundle exec rake project:gem_name)"
|
33
|
-
shell: bash
|
34
|
-
- name: "Build Gem (${{ steps.plugin-meta.outputs.gem_name }})"
|
35
|
-
run: bundle exec rake build
|
36
|
-
- name: Archive gem as artifact
|
37
|
-
uses: actions/upload-artifact@v2
|
38
|
-
with:
|
39
|
-
name: "${{ steps.plugin-meta.outputs.gem_name }}"
|
40
|
-
path: "pkg/${{ steps.plugin-meta.outputs.gem_name }}.gem"
|
41
|
-
retention-days: 5
|
42
|
-
- name: Release Gem via Rubygems.org
|
43
|
-
env:
|
44
|
-
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_GEM_PUSH_API_KEY }}
|
45
|
-
run: |
|
46
|
-
git config user.name "${{ github.actor }}"
|
47
|
-
git config user.email "${{ github.actor }}@users.noreply.github.com"
|
48
|
-
git tag ${{ steps.plugin-meta.outputs.tag_version }} \
|
49
|
-
-m "Release :gem: ${{ steps.plugin-meta.outputs.tag_version }}" \
|
50
|
-
${{ github.event.head_commit.id }}
|
51
|
-
git push origin ${{ steps.plugin-meta.outputs.tag_version }}
|
52
|
-
gem push pkg/${{ steps.plugin-meta.outputs.gem_name }}.gem
|