tanuki_emoji 0.7.0 → 0.8.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
  SHA256:
3
- metadata.gz: 31696b93726ca04628ec4659e4f0a0f41dafa4223791e1a51ec3ad08760c66af
4
- data.tar.gz: 9784c1d059e0a3cf8db903a97375636b5679e40ddb59dee450ceb721e0178a89
3
+ metadata.gz: 5e7bf9a9abf605fa2e3f868f206d9a0f7377534a6275b9a78b1a448a5c7f849c
4
+ data.tar.gz: 804bf6e8b0b050272faad1181d7c745db82ebf0e5801e7dc9f0b64c8b51d7c35
5
5
  SHA512:
6
- metadata.gz: df6ef5d255eef71dca9c1a17b2f67d01116d55cdc2c24ed1c26b62b04d9b8ac40c04c25b432d5cf64dd29043965457669906bbe57f57e9120e09a728b1011c35
7
- data.tar.gz: f2c23bfc342a090d801bd09d1e952cc9aa8cfdd9905b5fc6e3c7be96b75b16ccccd6b3e07cf5ccaf389775baaa34ecb801416d78beeb050441465a758454d4e5
6
+ metadata.gz: 051257a30fc6814b39022ce66a0cf0cd45918c6fbb4ed37a8e2a2a9b4e260350fb6b48eb8209ee75a671251ca0182a06c4de32d1a651186d45d4a2fefb15f918
7
+ data.tar.gz: 9f00f66143cffff45889229472a70f72543d5bf825ae1af5d77ffa2181005cc9eeb1fa850e51b1192adbe1d6dfaa41243cfec0c97e084a0b587e1c2b1709967a
data/.gitlab-ci.yml CHANGED
@@ -17,7 +17,7 @@ workflow:
17
17
  - bundle install -j $(nproc) # Install dependencies into ./vendor/ruby
18
18
  parallel:
19
19
  matrix:
20
- - RUBY_VERSION: ['2.7', '3.0', '3.1', '3.2']
20
+ - RUBY_VERSION: ['3.0', '3.1', '3.2']
21
21
  image: "ruby:$RUBY_VERSION"
22
22
  cache:
23
23
  paths:
@@ -79,7 +79,7 @@ secret_detection:
79
79
 
80
80
  update-changelog:
81
81
  stage: deploy
82
- image: ruby:2.7
82
+ image: ruby:3.0
83
83
  rules:
84
84
  - if: '$GITLAB_API_TOKEN == null'
85
85
  when: never
@@ -93,4 +93,4 @@ update-changelog:
93
93
  - |
94
94
  version=$(ruby -e "print Gem::Specification.load('${GEMSPEC_FILE}').version")
95
95
  [ -n "${version}" ] || (echo "VERSION could not be parsed in ${GEMSPEC_FILE}!" && exit 1)
96
- - 'curl -X POST --header "PRIVATE-TOKEN: ${GITLAB_API_TOKEN}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/repository/changelog?version=${version}&branch=${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"'
96
+ - 'curl --fail --request POST --header "PRIVATE-TOKEN: ${GITLAB_API_TOKEN}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/repository/changelog?version=${version}&branch=${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}"'
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7
2
+ TargetRubyVersion: 3.0
3
3
  Exclude:
4
4
  - '*.gemspec'
5
5
  - 'vendor/**/*'
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.5
1
+ 3.1.4
data/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 0.8.0 (2023-09-15)
8
+
9
+ ### Changed (1 change)
10
+
11
+ - [Bump Ruby version to 3.1.4](gitlab-org/ruby/gems/tanuki_emoji@c7853e7b6aa5000358a8c99e402614926d479ef8) ([merge request](gitlab-org/ruby/gems/tanuki_emoji!58))
12
+
13
+ ## 0.7.0 (2023-09-04)
14
+
15
+ ### Added (1 change)
16
+
17
+ - [Added EmojiData and EmojiDataParser](gitlab-org/ruby/gems/tanuki_emoji@8eba857db072e099fe10eeba6c93c6a7710e01a3) ([merge request](gitlab-org/ruby/gems/tanuki_emoji!2))
18
+
7
19
  ## 0.6.0 (2022-02-16)
8
20
 
9
21
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tanuki_emoji (0.7.0)
4
+ tanuki_emoji (0.8.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -97,9 +97,13 @@ To load an interactive console with the gem you can use `bin/console`.
97
97
  Before releasing a new gem, create a MR with the following changes:
98
98
 
99
99
  - Update the version number in `lib/tanuki_emoji/version.rb`.
100
+ - Run `bundle install` to update `Gemfile.lock` and commit it.
101
+ - Ensure that `CHANGELOG.md` is updated by the project bot in the MR.
100
102
 
101
- With that MR approved and merged, a [CI job](https://gitlab.com/gitlab-org/quality/pipeline-common/-/blob/master/ci/gem-release.yml) will
102
- create a new release, generate the changelog, generate a new `.gem` file and publish into [rubygems.org](https://rubygems.org).
103
+ With that MR approved and merged, a [CI job](https://gitlab.com/gitlab-org/quality/pipeline-common/-/blob/master/ci/gem-release.yml):
104
+ - Creates a [new release](https://gitlab.com/gitlab-org/ruby/gems/tanuki_emoji/-/releases)
105
+ - Generates the changelog on the release page
106
+ - Publishes new gem into [rubygems.org](https://rubygems.org)
103
107
 
104
108
  ## Contributing
105
109
 
@@ -8,8 +8,8 @@ module TanukiEmoji
8
8
  class Character
9
9
  IMAGE_PREFIX = 'emoji_u'
10
10
  IMAGE_EXTENSION = '.png'
11
- FLAG_REGEXP = /[🇦-🇿]{2}/u.freeze
12
- ALPHA_CODE_REGEXP = /:(?<alpha_text>[_+\-a-z0-9]+):/.freeze
11
+ FLAG_REGEXP = /[🇦-🇿]{2}/u
12
+ ALPHA_CODE_REGEXP = /:(?<alpha_text>[_+\-a-z0-9]+):/
13
13
 
14
14
  # This denotes a "color" or "emoji" version
15
15
  EMOJI_VARIATION_SELECTOR = 0xFE0F
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TanukiEmoji
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.0"
5
5
  end
data/tanuki_emoji.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = %q{Tanuki Emoji provides Emoji character information and metadata with support for Noto Emoji resources as fallback}
13
13
  spec.homepage = 'https://gitlab.com/gitlab-org/ruby/gems/tanuki_emoji'
14
14
  spec.licenses = %w[MIT Apache2]
15
- spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
15
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
16
16
 
17
17
  spec.metadata['homepage_uri'] = spec.homepage
18
18
  spec.metadata['source_code_uri'] = spec.homepage
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanuki_emoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Mazetto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-04 00:00:00.000000000 Z
11
+ date: 2023-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab-dangerfiles
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: 2.7.0
96
+ version: 3.0.0
97
97
  required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - ">="