jekyll-linkpreview 0.5.0 → 0.6.0.rc1

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
  SHA256:
3
- metadata.gz: 6145c1a65dbaab48f8d1ce4b96e819ab91a1c9ccc17ee677a345c89cf5c3c15a
4
- data.tar.gz: 0b6dea42bd3b46a9b3a4d5dd0ff5a4a9eac69221bc6f810ebcddedfe80d6d133
3
+ metadata.gz: 8c51945d7da1fdd7145948dffd3f991f1675a1c8dc0f64f3a44d19afc700fd3f
4
+ data.tar.gz: e18b2a9aa699e6d6208343790cf7e548fee7942f51cb197f87e8db36077b4394
5
5
  SHA512:
6
- metadata.gz: 5155c52c70a23ae14be7b650b8bd04b64458c2a2e3ffb076b339701a0f7042ab36452bdc1a68f80bf4b8a116e377c3162522c86a69268ab1afb1a17c68e30265
7
- data.tar.gz: 4ee825fc487c1b0f98e9f8696210730972918db867b4a5065d533f68ae0b958d81f539e54edb013d7107cd03f788204d360de28450a763916341044bfdaffe25
6
+ metadata.gz: b73fa9cdc4ef0ef09906df15b56563f7c048af2c5ade7e78a87d1938f4654022f3073d243a32b4d5d11a62ba50622d9914b26a0cabe14a98156e08285452e8ea
7
+ data.tar.gz: 654a1d448bc7c74785beba8c6cfb1e2d6303e7e4db63b341955ee029ec10309334cbc03297b93666b55d804d4a8e9540968041437c8825f656e1f60040f0814e
@@ -0,0 +1,53 @@
1
+ name: Release
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ jobs:
7
+ check-release:
8
+ container:
9
+ image: ruby:3.1
10
+ outputs:
11
+ release: ${{ steps.check-release.outputs.release }}
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v3
16
+ with:
17
+ fetch-depth: 2
18
+ - id: check-release
19
+ name: Decide whether to release
20
+ run: |
21
+ set +e
22
+ git diff --exit-code --quiet HEAD~1 -- lib/jekyll-linkpreview/version.rb
23
+ if [ $? = 1 ]; then
24
+ echo release=true >> ${GITHUB_OUTPUT}
25
+ else
26
+ echo release=false >> ${GITHUB_OUTPUT}
27
+ fi
28
+ release:
29
+ container:
30
+ image: ruby:3.1
31
+ if: needs.check-release.outputs.release == 'true'
32
+ needs: check-release
33
+ runs-on: ubuntu-latest
34
+ steps:
35
+ - name: Checkout
36
+ uses: actions/checkout@v3
37
+ - env:
38
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
39
+ name: Set credentials for RubyGems
40
+ run: |
41
+ mkdir ~/.gem
42
+ echo :rubygems_api_key: ${RUBYGEMS_API_KEY} > ~/.gem/credentials
43
+ chmod 0600 ~/.gem/credentials
44
+ - name: Configure git
45
+ run: |
46
+ git config --global user.email "yusuke.nishioka.0713@gmail..com"
47
+ git config --global user.name "Yusuke Nishioka"
48
+ - name: Install dependencies
49
+ run: bundle install
50
+ - env:
51
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
+ name: Make a new release
53
+ run: bundle exec rake release
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Linkpreview
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0.rc1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-linkpreview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke Nishioka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-04 00:00:00.000000000 Z
11
+ date: 2022-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -135,6 +135,7 @@ executables: []
135
135
  extensions: []
136
136
  extra_rdoc_files: []
137
137
  files:
138
+ - ".github/workflows/release.yaml"
138
139
  - ".github/workflows/test.yaml"
139
140
  - ".gitignore"
140
141
  - ".rspec"
@@ -165,9 +166,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
166
  version: '0'
166
167
  required_rubygems_version: !ruby/object:Gem::Requirement
167
168
  requirements:
168
- - - ">="
169
+ - - ">"
169
170
  - !ruby/object:Gem::Version
170
- version: '0'
171
+ version: 1.3.1
171
172
  requirements: []
172
173
  rubygems_version: 3.3.26
173
174
  signing_key: