emoja 0.1.1 → 0.1.2
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/.github/dependabot.yml +7 -0
- data/.github/workflows/release.yml +52 -0
- data/.github/workflows/test.yml +9 -12
- data/.gitignore +1 -0
- data/README.md +4 -0
- data/emoja.gemspec +1 -2
- data/lib/emoja/version.rb +1 -1
- metadata +7 -23
- data/Gemfile.lock +0 -35
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49b1b35738fe4221d3d7d1f4409b75eb09cf2d6a8147c494f2219f5db94ea3f8
|
|
4
|
+
data.tar.gz: 5cafe7effc975c0fa85cb7122cc675651afc00f0c4d6e6b9a048f15f2bd33a65
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f9bf13166cf001270a41a627102e037c70d8b955ff8799954663d824fb215d7a83174d3fd7d839ed3876a2990ebed013d64779ba0680e6b7a501317ade2dc56
|
|
7
|
+
data.tar.gz: eb5c2f315ae6a4862a5a867e00264338b9451173649e1a3478f18b15f77cc72d3c791a8e9966fda76ae5ed001416554a5af72ffe36d7af15c0cd9ee9368a738a
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
bump:
|
|
7
|
+
description: "Version bump type"
|
|
8
|
+
required: true
|
|
9
|
+
type: choice
|
|
10
|
+
options:
|
|
11
|
+
- patch
|
|
12
|
+
- minor
|
|
13
|
+
- major
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
release:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@v6
|
|
24
|
+
|
|
25
|
+
- name: Set up Ruby
|
|
26
|
+
uses: ruby/setup-ruby@v1
|
|
27
|
+
with:
|
|
28
|
+
ruby-version: ruby
|
|
29
|
+
bundler-cache: true
|
|
30
|
+
|
|
31
|
+
- name: Install gem-release
|
|
32
|
+
run: gem install gem-release
|
|
33
|
+
|
|
34
|
+
- name: Configure git
|
|
35
|
+
run: |
|
|
36
|
+
git config user.name "github-actions[bot]"
|
|
37
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
38
|
+
|
|
39
|
+
- name: Bump version, commit, tag, push
|
|
40
|
+
id: version
|
|
41
|
+
run: |
|
|
42
|
+
gem bump --version ${{ inputs.bump }} --tag --push
|
|
43
|
+
new=$(ruby -r ./lib/emoja/version -e 'print Emoja::VERSION')
|
|
44
|
+
echo "tag=v${new}" >> "$GITHUB_OUTPUT"
|
|
45
|
+
|
|
46
|
+
- name: Create GitHub Release
|
|
47
|
+
run: gh release create "${{ steps.version.outputs.tag }}" --generate-notes
|
|
48
|
+
env:
|
|
49
|
+
GH_TOKEN: ${{ github.token }}
|
|
50
|
+
|
|
51
|
+
- name: Publish gem to RubyGems
|
|
52
|
+
uses: rubygems/release-gem@v1
|
data/.github/workflows/test.yml
CHANGED
|
@@ -7,17 +7,14 @@ jobs:
|
|
|
7
7
|
runs-on: ubuntu-latest
|
|
8
8
|
strategy:
|
|
9
9
|
matrix:
|
|
10
|
-
ruby: [
|
|
10
|
+
ruby: ["3.3", "3.4", "4.0"]
|
|
11
11
|
|
|
12
12
|
steps:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
bundle update --bundler
|
|
22
|
-
bundle install --jobs 4 --retry 3
|
|
23
|
-
bundle exec rake
|
|
13
|
+
- uses: actions/checkout@v6
|
|
14
|
+
- name: Set up Ruby
|
|
15
|
+
uses: ruby/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
ruby-version: ${{ matrix.ruby }}
|
|
18
|
+
bundler-cache: true
|
|
19
|
+
- name: Build and test with Rake
|
|
20
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/README.md
CHANGED
data/emoja.gemspec
CHANGED
|
@@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
|
|
|
32
32
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
33
33
|
spec.require_paths = ["lib"]
|
|
34
34
|
|
|
35
|
-
spec.add_development_dependency "
|
|
36
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
|
35
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
|
37
36
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
38
37
|
end
|
data/lib/emoja/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,43 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: emoja
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daiki Matoba
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: bundler
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - "~>"
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '1.17'
|
|
20
|
-
type: :development
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - "~>"
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '1.17'
|
|
27
12
|
- !ruby/object:Gem::Dependency
|
|
28
13
|
name: rake
|
|
29
14
|
requirement: !ruby/object:Gem::Requirement
|
|
30
15
|
requirements:
|
|
31
16
|
- - "~>"
|
|
32
17
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
18
|
+
version: '13.0'
|
|
34
19
|
type: :development
|
|
35
20
|
prerelease: false
|
|
36
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
22
|
requirements:
|
|
38
23
|
- - "~>"
|
|
39
24
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
25
|
+
version: '13.0'
|
|
41
26
|
- !ruby/object:Gem::Dependency
|
|
42
27
|
name: rspec
|
|
43
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -59,12 +44,13 @@ executables: []
|
|
|
59
44
|
extensions: []
|
|
60
45
|
extra_rdoc_files: []
|
|
61
46
|
files:
|
|
47
|
+
- ".github/dependabot.yml"
|
|
48
|
+
- ".github/workflows/release.yml"
|
|
62
49
|
- ".github/workflows/test.yml"
|
|
63
50
|
- ".gitignore"
|
|
64
51
|
- ".rspec"
|
|
65
52
|
- ".travis.yml"
|
|
66
53
|
- Gemfile
|
|
67
|
-
- Gemfile.lock
|
|
68
54
|
- LICENSE.txt
|
|
69
55
|
- README.md
|
|
70
56
|
- Rakefile
|
|
@@ -82,7 +68,6 @@ metadata:
|
|
|
82
68
|
homepage_uri: https://github.com/d-mato/emoja
|
|
83
69
|
source_code_uri: https://github.com/d-mato/emoja
|
|
84
70
|
changelog_uri: https://github.com/d-mato/emoja
|
|
85
|
-
post_install_message:
|
|
86
71
|
rdoc_options: []
|
|
87
72
|
require_paths:
|
|
88
73
|
- lib
|
|
@@ -97,8 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
82
|
- !ruby/object:Gem::Version
|
|
98
83
|
version: '0'
|
|
99
84
|
requirements: []
|
|
100
|
-
rubygems_version:
|
|
101
|
-
signing_key:
|
|
85
|
+
rubygems_version: 4.0.6
|
|
102
86
|
specification_version: 4
|
|
103
87
|
summary: ''
|
|
104
88
|
test_files: []
|
data/Gemfile.lock
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
emoja (0.1.1)
|
|
5
|
-
|
|
6
|
-
GEM
|
|
7
|
-
remote: https://rubygems.org/
|
|
8
|
-
specs:
|
|
9
|
-
diff-lcs (1.3)
|
|
10
|
-
rake (10.5.0)
|
|
11
|
-
rspec (3.9.0)
|
|
12
|
-
rspec-core (~> 3.9.0)
|
|
13
|
-
rspec-expectations (~> 3.9.0)
|
|
14
|
-
rspec-mocks (~> 3.9.0)
|
|
15
|
-
rspec-core (3.9.1)
|
|
16
|
-
rspec-support (~> 3.9.1)
|
|
17
|
-
rspec-expectations (3.9.0)
|
|
18
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
19
|
-
rspec-support (~> 3.9.0)
|
|
20
|
-
rspec-mocks (3.9.1)
|
|
21
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
22
|
-
rspec-support (~> 3.9.0)
|
|
23
|
-
rspec-support (3.9.2)
|
|
24
|
-
|
|
25
|
-
PLATFORMS
|
|
26
|
-
ruby
|
|
27
|
-
|
|
28
|
-
DEPENDENCIES
|
|
29
|
-
bundler (~> 1.17)
|
|
30
|
-
emoja!
|
|
31
|
-
rake (~> 10.0)
|
|
32
|
-
rspec (~> 3.0)
|
|
33
|
-
|
|
34
|
-
BUNDLED WITH
|
|
35
|
-
1.17.2
|