synvert 1.6.0 → 1.6.1

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: 844839d591effeed2d6cbeef69febfaff95c309433169d5b723d1b2ebb09c8d8
4
- data.tar.gz: 754ce33af6aeae4bde2d5d3915e1d55a7b1cd239d3ea4bd3882985d64ffb52e6
3
+ metadata.gz: '013369fe45b0c15dc1298e1e30b2ff5d590db39d12466f85f7033d2a5174b838'
4
+ data.tar.gz: bef9660a67e33f43e0bd9478a537d823b811bac55c1a3b435e18cb00fdf7a244
5
5
  SHA512:
6
- metadata.gz: f5ba4fdb309bd1841ca750bdb094aad23243253296db56586bcf096efe2e3738b463ce73261492a2703c4d952cd02f8c8adc93d349f7a25ff8171768a9aeb259
7
- data.tar.gz: 6f278c1d8bc6c403fad992ee44e8f12af4f062c65b45a530e8f1598acead6960dd365293c9ecb7d8d1f12b01db58e1685cc60dbd0c61fdbd96e088edf5f618be
6
+ metadata.gz: 0660bfead366036630b23cab7120e65378ffc8aaf1111b96ec5e9661c372bd2f20b2bb278bf06dc1fd030240f3f24d6c285c716f4c2592aa952acaa2c9eb794a
7
+ data.tar.gz: 9c49f28e48fe0edfc27898a7c39e24fc647a19d0b9af77b8a535d2cc69507b54fb7bfa39189b5d2e0e31a098f9af0681ca0dca4da0cff665b0f0eff1fc73b3a0
@@ -8,7 +8,6 @@ on:
8
8
 
9
9
  jobs:
10
10
  test:
11
-
12
11
  runs-on: ubuntu-latest
13
12
  strategy:
14
13
  matrix:
@@ -0,0 +1,31 @@
1
+ name: Publish Docker Image
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+
8
+ jobs:
9
+ build-and-publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Check out the repository
13
+ uses: actions/checkout@v3
14
+
15
+ - name: Extract tag name
16
+ id: get_tag
17
+ run: echo "::set-output name=TAG_NAME::${GITHUB_REF#refs/tags/v}"
18
+
19
+ - name: Log in to Docker Hub
20
+ uses: docker/login-action@v2
21
+ with:
22
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
23
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
24
+
25
+ - name: Build and push Docker image
26
+ uses: docker/build-push-action@v3
27
+ with:
28
+ context: .
29
+ push: true
30
+ tags: xinminlabs/synvert-ruby:${{ steps.get_tag.outputs.TAG_NAME }}
31
+
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.6.1 (2024-01-10)
4
+
5
+ * Add `Dockerfile`
6
+ * Publish docker image on github actions
7
+
3
8
  ## 1.6.0 (2024-01-09)
4
9
 
5
10
  * Add `--loose` flag
data/Dockerfile ADDED
@@ -0,0 +1,5 @@
1
+ FROM ruby:3.3-alpine
2
+
3
+ RUN gem install synvert
4
+
5
+ ENTRYPOINT ["synvert-ruby"]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert (1.6.0)
4
+ synvert (1.6.1)
5
5
  synvert-core (>= 1.30.2)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Synvert
4
- VERSION = '1.6.0'
4
+ VERSION = '1.6.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Huang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-09 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: synvert-core
@@ -33,9 +33,11 @@ extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
35
  - ".github/workflows/main.yml"
36
+ - ".github/workflows/publish_docker_image.yml"
36
37
  - ".gitignore"
37
38
  - ".rspec"
38
39
  - CHANGELOG.md
40
+ - Dockerfile
39
41
  - Gemfile
40
42
  - Gemfile.lock
41
43
  - Guardfile