gitmoji-regex 1.0.1 → 1.0.2

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: fb4fcd5c0d99432f3c7227dc3594291be1e093c3bddebbfde4436545f4957bc5
4
- data.tar.gz: ba10c648fe83f4ec72666422f05db7de7155adcbf68f5ca0fdc1ecb3b50f9761
3
+ metadata.gz: fd15982178eb94bb5eda0441b0fa918ca0d64efbefc5ef64240c83ec83d60a56
4
+ data.tar.gz: 7cb82b2e636f59c69f1add50f6f3e0ea99a81eda9dd6f61df394c6ba5807e1c0
5
5
  SHA512:
6
- metadata.gz: e263107eee4a1ab73f2480539e0869a2c1b6b7e4fe03b6f1b027c689731ec73581a65262f5ac7f7f136f69959022dd528c5923040a9490dc881cf3482ec8409d
7
- data.tar.gz: 76fe3089cadefcc1e45d799df46200783194a350261ac23dbc153b5b23c189f8dae98296039999b453dea2ca651ab781f6eca1c943f005ec655eeb098598beb1
6
+ metadata.gz: 66a0cae527c77b42000632339ed8191174b47039285abfdf20551439a0e086432796c6e9a22fa227b0046c04f066b639958edf24a3f8846542eaf60fbc1a32d7
7
+ data.tar.gz: 47c514b5b9ead98b4ee0d8a19945a6ec86ce41952a73802abc86c98f584f7c4e63b3066a0b5c90293d06f5d9bef68f74503a6d1973b355c6b1acf5c60b9075ed
checksums.yaml.gz.sig ADDED
Binary file
data/CHANGELOG.md CHANGED
@@ -6,13 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
  ### Added
9
-
10
9
  ### Changed
11
-
12
10
  ### Fixed
13
-
14
11
  ### Removed
15
12
 
13
+ ## [1.0.2] - 2023-05-30
14
+ ### Added
15
+ - New gitmoji "🧵"
16
+ - New gitmoji "🦺"
17
+ - Releases are now signed
18
+ - Releases now include SHA256 and SHA512 checksums
19
+ ### Fixed
20
+ - 100% branch & line test coverage
21
+ ### Changed
22
+ - Primary source forge moved from GitHub to [Source Hut](https://git.sr.ht/~galtzo/gitmoji-regex)
23
+
16
24
  ## [1.0.1] - 2022-06-24
17
25
  ### Added
18
26
  - bin stubs for development
@@ -25,7 +33,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
33
  ### Added
26
34
  - New gitmoji "💸"
27
35
  - Gitmoji::Regex::Version is introspectable
28
-
29
36
  ### Changed
30
37
  - Gitmoji::Regex::VERSION is now Gitmoji::Regex::Version::VERSION
31
38
 
@@ -33,7 +40,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
33
40
  ### Added
34
41
  - Documentation
35
42
  - Badges
36
-
37
43
  ### Fixed
38
44
  - Code Coverage
39
45
  - Changelog URLs
@@ -50,7 +56,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
50
56
  ### Added
51
57
  - Initial release
52
58
 
53
- [Unreleased]: https://github.com/pboling/gitmoji-regex/compare/.v0.1.3...HEAD
59
+ [Unreleased]: https://github.com/pboling/gitmoji-regex/compare/v1.0.2...HEAD
60
+ [1.0.2]: https://github.com/pboling/gitmoji-regex/compare/v1.0.1...v1.0.2
61
+ [1.0.1]: https://github.com/pboling/gitmoji-regex/compare/v1.0.0...v1.0.1
62
+ [1.0.0]: https://github.com/pboling/gitmoji-regex/compare/v0.1.3...v1.0.0
54
63
  [0.1.3]: https://github.com/pboling/gitmoji-regex/compare/v0.1.2...v0.1.3
55
64
  [0.1.2]: https://github.com/pboling/gitmoji-regex/compare/v0.1.1...v0.1.2
56
65
  [0.1.1]: https://github.com/pboling/gitmoji-regex/compare/v0.1.0...v0.1.1
data/CONTRIBUTING.md CHANGED
@@ -17,15 +17,33 @@ To submit a patch, please fork the project and create a patch with tests. Once y
17
17
  7. Run `open coverage/index.html`. If your changes are not completely covered
18
18
  by your tests, return to step 3.
19
19
  8. Add documentation for your feature or bug fix.
20
- 9. Run `bundle exec rake verify_measurements`. If your changes are not 100%
21
- documented, go back to step 8.
22
- 10. Commit and push your changes.
23
- 11. [Submit a pull request.][pr]
20
+ 9. Commit and push your changes.
21
+ 10. [Submit a pull request.][pr]
24
22
 
25
23
  [fork]: http://help.github.com/fork-a-repo/
26
24
  [branch]: http://learn.github.com/p/branching.html
27
25
  [pr]: http://help.github.com/send-pull-requests/
28
26
 
27
+ ## Release
28
+
29
+ To release a new version:
30
+
31
+ 1. run `bin/refresh`, or `rake regenerate`, to update the regex to current gitmoji set
32
+ - Test `gitmoji/regex/reference_spec.rb` may fail showing new gitmojis
33
+ - These will need to be added to the test, and noted in the CHANGELOG
34
+ 2. update the version number in `version.rb`
35
+ 3. run `bin/setup && bin/rake` to update `Gemfile.lock`
36
+ 4. run `bundle exec rake build:checksum`
37
+ 5. move the built gem to project root
38
+ 6. run `bin/checksum` to create the missing SHA256 checksum
39
+ 7. move the built gem back to `pkg/`
40
+ 8. commit the changes
41
+ 9. run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org][rubygems].
42
+
43
+ NOTE: You will need to have a public key in `certs/`, and list your cert in the
44
+ `gemspec`, in order to sign the new release.
45
+ See: [RubyGems Security Guide][rubygems-security-guide]
46
+
29
47
  ## Contributors
30
48
 
31
49
  [![Contributors](https://contrib.rocks/image?repo=pboling/gitmoji-regex)][contributors]
data/README.md CHANGED
@@ -38,18 +38,18 @@ badge #s:
38
38
  📗
39
39
 
40
40
  appended indicators:
41
- ♻️ - URL needs to be updated from SASS integration. Find / Replace is insufficient.
41
+ ♻️ - URL needs to be updated from SAAS integration. Find / Replace is insufficient.
42
42
  -->
43
43
 
44
44
  | | Project | bundle add gitmoji-regex |
45
45
  |:----|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
46
46
  | 1️⃣ | name, license, docs, standards | [![RubyGems.org][⛳️name-img]][⛳️gem] [![License: MIT][🖇src-license-img]][🖇src-license] <!--[![FOSSA][🏘fossa-img]][🏘fossa]--> [![RubyDoc.info][🚎yard-img]][🚎yard] [![GitMoji][🖐gitmoji-img]][🖐gitmoji] [![SemVer 2.0.0][🧮semver-img]][semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] |
47
47
  | 2️⃣ | version & activity | [![Gem Version][⛳️version-img]][⛳️gem] [![Total Downloads][🖇DL-total-img]][⛳️gem] [![Download Rank][🏘DL-rank-img]][⛳️gem] [![Source Code][🚎src-home-img]][🚎src-home] [![Open PRs][🖐prs-o-img]][🖐prs-o] [![Closed PRs][🧮prs-c-img]][🧮prs-c] <!--[![Next Version][📗next-img]][📗next]--> |
48
- | 3️⃣ | maintanence & linting | [![Maintainability][⛳cclim-maint-img♻️]][⛳cclim-maint] [![Helpers][🖇triage-help-img]][🖇triage-help] [![Depfu][🏘depfu-img♻️]][🏘depfu♻️] [![Contributors][🚎contributors-img]][🚎contributors] [![Style][🖐style-wf-img]][🖐style-wf] [![Kloc Roll][🧮kloc-img]][🧮kloc] |
49
- | 4️⃣ | testing | [![Open Issues][⛳iss-o-img]][⛳iss-o] [![Closed Issues][🖇iss-c-img]][🖇iss-c] [![Supported][🏘sup-wf-img]][🏘sup-wf] [![Heads][🚎heads-wf-img]][🚎heads-wf] [![Unofficial Support][🖐uns-wf-img]][🖐uns-wf] <!--[![MacOS][🧮mac-wf-img]][🧮mac-wf] [![Windows][📗win-wf-img]][📗win-wf]--> |
48
+ | 3️⃣ | maintenance & linting | [![Maintainability][⛳cclim-maint-img♻️]][⛳cclim-maint] [![Helpers][🖇triage-help-img]][🖇triage-help] [![Depfu][🏘depfu-img♻️]][🏘depfu♻️] [![Contributors][🚎contributors-img]][🚎contributors] [![Style][🖐style-wf-img]][🖐style-wf] [![Kloc Roll][🧮kloc-img]][🧮kloc] |
49
+ | 4️⃣ | testing | [![Open Issues][⛳iss-o-img]][⛳iss-o] [![Closed Issues][🖇iss-c-img]][🖇iss-c] [![Supported][🏘sup-wf-img]][🏘sup-wf] [![Heads][🚎heads-wf-img]][🚎heads-wf] |
50
50
  | 5️⃣ | coverage & security | [![CodeClimate][⛳cclim-cov-img♻️]][⛳cclim-cov] [![CodeCov][🖇codecov-img♻️]][🖇codecov] [![Coveralls][🏘coveralls-img]][🏘coveralls] [![Security Policy][🚎sec-pol-img]][🚎sec-pol] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![Code Coverage][🧮cov-wf-img]][🧮cov-wf] |
51
51
  | 6️⃣ | resources | [![Discussion][⛳gh-discussions-img]][⛳gh-discussions] [![Get help on Codementor][🖇codementor-img]][🖇codementor] [![Chat][🏘chat-img]][🏘chat] [![Blog][🚎blog-img]][🚎blog] [![Wiki][🖐wiki-img]][🖐wiki] |
52
- | 7️⃣ | spread 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Tweet @ Peter][🏘tweet-img]][🏘tweet] [🌏][aboutme] [👼][angelme] [💻][coderme] |
52
+ | 7️⃣ | spread 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Tweet @ Peter][🏘tweet-img]][🏘tweet] [🌏][aboutme] [👼][angelme] |
53
53
 
54
54
  <!--
55
55
  The link tokens in the following sections should be kept ordered by the row and badge numbering scheme
@@ -83,7 +83,7 @@ The link tokens in the following sections should be kept ordered by the row and
83
83
  [📗next]: https://github.com/pboling/gitmoji-regex/milestone/1
84
84
  [📗next-img]: https://img.shields.io/github/milestones/progress/pboling/gitmoji-regex/1?label=Next%20Version
85
85
 
86
- <!-- 3️⃣ maintanence & linting -->
86
+ <!-- 3️⃣ maintenance & linting -->
87
87
  [⛳cclim-maint]: https://codeclimate.com/github/pboling/gitmoji-regex/maintainability
88
88
  [⛳cclim-maint-img♻️]: https://api.codeclimate.com/v1/badges/f32e1d1148e8bad58197/maintainability
89
89
  [🖇triage-help]: https://www.codetriage.com/pboling/gitmoji-regex
@@ -106,8 +106,6 @@ The link tokens in the following sections should be kept ordered by the row and
106
106
  [🏘sup-wf-img]: https://github.com/pboling/gitmoji-regex/actions/workflows/supported.yml/badge.svg
107
107
  [🚎heads-wf]: https://github.com/pboling/gitmoji-regex/actions/workflows/heads.yml
108
108
  [🚎heads-wf-img]: https://github.com/pboling/gitmoji-regex/actions/workflows/heads.yml/badge.svg
109
- [🖐uns-wf]: https://github.com/pboling/gitmoji-regex/actions/workflows/unsupported.yml
110
- [🖐uns-wf-img]: https://github.com/pboling/gitmoji-regex/actions/workflows/unsupported.yml/badge.svg
111
109
  [🧮mac-wf]: https://github.com/pboling/gitmoji-regex/actions/workflows/macos.yml
112
110
  [🧮mac-wf-img]: https://github.com/pboling/gitmoji-regex/actions/workflows/macos.yml/badge.svg
113
111
  [📗win-wf]: https://github.com/pboling/gitmoji-regex/actions/workflows/windows.yml
@@ -147,13 +145,6 @@ The link tokens in the following sections should be kept ordered by the row and
147
145
  [🏘tweet-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
148
146
  [🏘tweet]: http://twitter.com/galtzo
149
147
 
150
- <!-- Maintainer Contact Links -->
151
- [railsbling]: http://www.railsbling.com
152
- [peterboling]: http://www.peterboling.com
153
- [aboutme]: https://about.me/peter.boling
154
- [angelme]: https://angel.co/peter-boling
155
- [coderme]:http://coderwall.com/pboling
156
-
157
148
  ## Installation
158
149
 
159
150
  Install the gem and add to the application's Gemfile by executing:
@@ -206,7 +197,7 @@ NOTE: the [gitmoji project](https://github.com/carloscuesta/gitmoji) is also [MI
206
197
 
207
198
  ## Code of Conduct
208
199
 
209
- Everyone interacting in the Gitmoji::Regex project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/gitmoji-regex/blob/main/CODE_OF_CONDUCT.md).
200
+ Everyone interacting in the Gitmoji::Regex project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct][conduct].
210
201
 
211
202
  ## Versioning
212
203
 
@@ -226,66 +217,35 @@ spec.add_dependency "gitmoji-regex", "~> 1.0"
226
217
 
227
218
  ## Security
228
219
 
229
- See [SECURITY.md](https://github.com/pboling/gitmoji-regex/blob/main/SECURITY.md).
230
-
231
- [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
232
-
233
- [gh_discussions]: https://github.com/pboling/gitmoji-regex/discussions
234
-
235
- [conduct]: https://github.com/pboling/gitmoji-regex/blob/main/CODE_OF_CONDUCT.md
236
-
237
- [contributing]: https://github.com/pboling/gitmoji-regex/blob/main/CONTRIBUTING.md
238
-
239
- [security]: https://github.com/pboling/gitmoji-regex/blob/main/SECURITY.md
240
-
241
- [license]: https://github.com/pboling/gitmoji-regex/blob/main/LICENSE.txt
242
-
243
- [license-ref]: https://opensource.org/licenses/MIT
244
-
245
- [semver]: http://semver.org/
246
-
247
- [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
248
-
249
- [railsbling]: http://www.railsbling.com
250
-
251
- [peterboling]: http://www.peterboling.com
220
+ See [SECURITY.md][security].
252
221
 
253
222
  [aboutme]: https://about.me/peter.boling
254
-
255
- [angelme]: https://angel.co/peter-boling
256
-
257
- [coderme]:http://coderwall.com/pboling
258
-
259
- [followme-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
260
-
261
- [tweetme]: http://twitter.com/galtzo
262
-
263
- [politicme]: https://nationalprogressiveparty.org
264
-
265
- [documentation]: https://rubydoc.info/github/pboling/gitmoji-regex/main
266
-
267
- [source]: https://github.com/pboling/gitmoji-regex/
268
-
269
223
  [actions]: https://github.com/pboling/gitmoji-regex/actions
270
-
271
- [issues]: https://github.com/pboling/gitmoji-regex/issues
272
-
273
- [climate_maintainability]: https://codeclimate.com/github/pboling/gitmoji-regex/maintainability
274
-
275
- [climate_coverage]: https://codeclimate.com/github/pboling/gitmoji-regex/test_coverage
276
-
224
+ [angelme]: https://angel.co/peter-boling
225
+ [blogpage]: http://www.railsbling.com/tags/gitmoji-regex/
277
226
  [codecov_coverage]: https://codecov.io/gh/pboling/gitmoji-regex
278
-
279
227
  [code_triage]: https://www.codetriage.com/pboling/gitmoji-regex
280
-
281
- [blogpage]: http://www.railsbling.com/tags/gitmoji-regex/
282
-
283
- [rubygems]: https://rubygems.org/gems/gitmoji-regex
284
-
285
228
  [chat]: https://gitter.im/pboling/gitmoji-regex?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
286
-
287
- [maintenancee_policy]: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
288
-
289
- [liberapay_donate]: https://liberapay.com/pboling/donate
290
-
229
+ [climate_coverage]: https://codeclimate.com/github/pboling/gitmoji-regex/test_coverage
230
+ [climate_maintainability]: https://codeclimate.com/github/pboling/gitmoji-regex/maintainability
231
+ [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
232
+ [conduct]: https://gitlab.com/pboling/gitmoji-regex/-/blob/main/CODE_OF_CONDUCT.md
233
+ [contributing]: https://gitlab.com/pboling/gitmoji-regex/-/blob/main/CONTRIBUTING.md
234
+ [devto]: https://dev.to/galtzo
235
+ [documentation]: https://rubydoc.info/github/pboling/gitmoji-regex/main
236
+ [followme]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
237
+ [gh_discussions]: https://github.com/pboling/gitmoji-regex/discussions
291
238
  [gh_sponsors]: https://github.com/sponsors/pboling
239
+ [issues]: https://github.com/pboling/gitmoji-regex/issues
240
+ [liberapay_donate]: https://liberapay.com/pboling/donate
241
+ [license]: LICENSE.txt
242
+ [license-ref]: https://opensource.org/licenses/MIT
243
+ [license-img]: https://img.shields.io/badge/License-MIT-green.svg
244
+ [peterboling]: http://www.peterboling.com
245
+ [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
246
+ [railsbling]: http://www.railsbling.com
247
+ [rubygems]: https://rubygems.org/gems/gitmoji-regex
248
+ [security]: https://github.com/pboling/gitmoji-regex/blob/main/SECURITY.md
249
+ [semver]: http://semver.org/
250
+ [source]: https://github.com/pboling/gitmoji-regex/
251
+ [tweetme]: http://twitter.com/galtzo
@@ -10,7 +10,7 @@ module Gitmoji
10
10
  module Regex
11
11
  # Reference provides utility tools for maintaining and testing this gem
12
12
  class Reference
13
- GITMOJI_REFERENCE = "https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json"
13
+ GITMOJI_REFERENCE = "https://raw.githubusercontent.com/carloscuesta/gitmoji/master/packages/gitmojis/src/gitmojis.json"
14
14
  GITMOJI_PATH = "src/gitmojis.json"
15
15
  LIB_SRC = "lib/gitmoji/regex.rb"
16
16
  TEMPLATE_SRC = "src/regex.rb"
@@ -3,7 +3,7 @@
3
3
  module Gitmoji
4
4
  module Regex
5
5
  module Version
6
- VERSION = "1.0.1"
6
+ VERSION = "1.0.2"
7
7
  end
8
8
  end
9
9
  end
data/lib/gitmoji/regex.rb CHANGED
@@ -7,7 +7,7 @@ require "gitmoji/regex/reference"
7
7
 
8
8
  module Gitmoji
9
9
  module Regex
10
- REGEX = Regexp.new("(?-mix:🎨|⚡️|🔥|🐛|🚑️|✨|📝|🚀|💄|🎉|✅|🔒️|🔐|🔖|🚨|🚧|💚|⬇️|⬆️|📌|👷|📈|♻️|➕|➖|🔧|🔨|🌐|✏️|💩|⏪️|🔀|📦️|👽️|🚚|📄|💥|🍱|♿️|💡|🍻|💬|🗃️|🔊|🔇|👥|🚸|🏗️|📱|🤡|🥚|🙈|📸|⚗️|🔍️|🏷️|🌱|🚩|🥅|💫|🗑️|🛂|🩹|🧐|⚰️|🧪|👔|🩺|🧱|🧑‍💻|💸)")
10
+ REGEX = Regexp.new("(?-mix:🎨|⚡️|🔥|🐛|🚑️|✨|📝|🚀|💄|🎉|✅|🔒️|🔐|🔖|🚨|🚧|💚|⬇️|⬆️|📌|👷|📈|♻️|➕|➖|🔧|🔨|🌐|✏️|💩|⏪️|🔀|📦️|👽️|🚚|📄|💥|🍱|♿️|💡|🍻|💬|🗃️|🔊|🔇|👥|🚸|🏗️|📱|🤡|🥚|🙈|📸|⚗️|🔍️|🏷️|🌱|🚩|🥅|💫|🗑️|🛂|🩹|🧐|⚰️|🧪|👔|🩺|🧱|🧑‍💻|💸|🧵|🦺)")
11
11
  end
12
12
  end
13
13
 
@@ -0,0 +1,6 @@
1
+ module Gitmoji
2
+ module Regex
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
data/src/gitmojis.json ADDED
@@ -0,0 +1,589 @@
1
+ {
2
+ "$schema": "https://gitmoji.dev/api/gitmojis/schema",
3
+ "gitmojis": [
4
+ {
5
+ "emoji": "🎨",
6
+ "entity": "&#x1f3a8;",
7
+ "code": ":art:",
8
+ "description": "Improve structure / format of the code.",
9
+ "name": "art",
10
+ "semver": null
11
+ },
12
+ {
13
+ "emoji": "⚡️",
14
+ "entity": "&#x26a1;",
15
+ "code": ":zap:",
16
+ "description": "Improve performance.",
17
+ "name": "zap",
18
+ "semver": "patch"
19
+ },
20
+ {
21
+ "emoji": "🔥",
22
+ "entity": "&#x1f525;",
23
+ "code": ":fire:",
24
+ "description": "Remove code or files.",
25
+ "name": "fire",
26
+ "semver": null
27
+ },
28
+ {
29
+ "emoji": "🐛",
30
+ "entity": "&#x1f41b;",
31
+ "code": ":bug:",
32
+ "description": "Fix a bug.",
33
+ "name": "bug",
34
+ "semver": "patch"
35
+ },
36
+ {
37
+ "emoji": "🚑️",
38
+ "entity": "&#128657;",
39
+ "code": ":ambulance:",
40
+ "description": "Critical hotfix.",
41
+ "name": "ambulance",
42
+ "semver": "patch"
43
+ },
44
+ {
45
+ "emoji": "✨",
46
+ "entity": "&#x2728;",
47
+ "code": ":sparkles:",
48
+ "description": "Introduce new features.",
49
+ "name": "sparkles",
50
+ "semver": "minor"
51
+ },
52
+ {
53
+ "emoji": "📝",
54
+ "entity": "&#x1f4dd;",
55
+ "code": ":memo:",
56
+ "description": "Add or update documentation.",
57
+ "name": "memo",
58
+ "semver": null
59
+ },
60
+ {
61
+ "emoji": "🚀",
62
+ "entity": "&#x1f680;",
63
+ "code": ":rocket:",
64
+ "description": "Deploy stuff.",
65
+ "name": "rocket",
66
+ "semver": null
67
+ },
68
+ {
69
+ "emoji": "💄",
70
+ "entity": "&#ff99cc;",
71
+ "code": ":lipstick:",
72
+ "description": "Add or update the UI and style files.",
73
+ "name": "lipstick",
74
+ "semver": "patch"
75
+ },
76
+ {
77
+ "emoji": "🎉",
78
+ "entity": "&#127881;",
79
+ "code": ":tada:",
80
+ "description": "Begin a project.",
81
+ "name": "tada",
82
+ "semver": null
83
+ },
84
+ {
85
+ "emoji": "✅",
86
+ "entity": "&#x2705;",
87
+ "code": ":white_check_mark:",
88
+ "description": "Add, update, or pass tests.",
89
+ "name": "white-check-mark",
90
+ "semver": null
91
+ },
92
+ {
93
+ "emoji": "🔒️",
94
+ "entity": "&#x1f512;",
95
+ "code": ":lock:",
96
+ "description": "Fix security issues.",
97
+ "name": "lock",
98
+ "semver": "patch"
99
+ },
100
+ {
101
+ "emoji": "🔐",
102
+ "entity": "&#x1f510;",
103
+ "code": ":closed_lock_with_key:",
104
+ "description": "Add or update secrets.",
105
+ "name": "closed-lock-with-key",
106
+ "semver": null
107
+ },
108
+ {
109
+ "emoji": "🔖",
110
+ "entity": "&#x1f516;",
111
+ "code": ":bookmark:",
112
+ "description": "Release / Version tags.",
113
+ "name": "bookmark",
114
+ "semver": null
115
+ },
116
+ {
117
+ "emoji": "🚨",
118
+ "entity": "&#x1f6a8;",
119
+ "code": ":rotating_light:",
120
+ "description": "Fix compiler / linter warnings.",
121
+ "name": "rotating-light",
122
+ "semver": null
123
+ },
124
+ {
125
+ "emoji": "🚧",
126
+ "entity": "&#x1f6a7;",
127
+ "code": ":construction:",
128
+ "description": "Work in progress.",
129
+ "name": "construction",
130
+ "semver": null
131
+ },
132
+ {
133
+ "emoji": "💚",
134
+ "entity": "&#x1f49a;",
135
+ "code": ":green_heart:",
136
+ "description": "Fix CI Build.",
137
+ "name": "green-heart",
138
+ "semver": null
139
+ },
140
+ {
141
+ "emoji": "⬇️",
142
+ "entity": "⬇️",
143
+ "code": ":arrow_down:",
144
+ "description": "Downgrade dependencies.",
145
+ "name": "arrow-down",
146
+ "semver": "patch"
147
+ },
148
+ {
149
+ "emoji": "⬆️",
150
+ "entity": "⬆️",
151
+ "code": ":arrow_up:",
152
+ "description": "Upgrade dependencies.",
153
+ "name": "arrow-up",
154
+ "semver": "patch"
155
+ },
156
+ {
157
+ "emoji": "📌",
158
+ "entity": "&#x1F4CC;",
159
+ "code": ":pushpin:",
160
+ "description": "Pin dependencies to specific versions.",
161
+ "name": "pushpin",
162
+ "semver": "patch"
163
+ },
164
+ {
165
+ "emoji": "👷",
166
+ "entity": "&#x1f477;",
167
+ "code": ":construction_worker:",
168
+ "description": "Add or update CI build system.",
169
+ "name": "construction-worker",
170
+ "semver": null
171
+ },
172
+ {
173
+ "emoji": "📈",
174
+ "entity": "&#x1F4C8;",
175
+ "code": ":chart_with_upwards_trend:",
176
+ "description": "Add or update analytics or track code.",
177
+ "name": "chart-with-upwards-trend",
178
+ "semver": "patch"
179
+ },
180
+ {
181
+ "emoji": "♻️",
182
+ "entity": "&#x267b;",
183
+ "code": ":recycle:",
184
+ "description": "Refactor code.",
185
+ "name": "recycle",
186
+ "semver": null
187
+ },
188
+ {
189
+ "emoji": "➕",
190
+ "entity": "&#10133;",
191
+ "code": ":heavy_plus_sign:",
192
+ "description": "Add a dependency.",
193
+ "name": "heavy-plus-sign",
194
+ "semver": "patch"
195
+ },
196
+ {
197
+ "emoji": "➖",
198
+ "entity": "&#10134;",
199
+ "code": ":heavy_minus_sign:",
200
+ "description": "Remove a dependency.",
201
+ "name": "heavy-minus-sign",
202
+ "semver": "patch"
203
+ },
204
+ {
205
+ "emoji": "🔧",
206
+ "entity": "&#x1f527;",
207
+ "code": ":wrench:",
208
+ "description": "Add or update configuration files.",
209
+ "name": "wrench",
210
+ "semver": "patch"
211
+ },
212
+ {
213
+ "emoji": "🔨",
214
+ "entity": "&#128296;",
215
+ "code": ":hammer:",
216
+ "description": "Add or update development scripts.",
217
+ "name": "hammer",
218
+ "semver": null
219
+ },
220
+ {
221
+ "emoji": "🌐",
222
+ "entity": "&#127760;",
223
+ "code": ":globe_with_meridians:",
224
+ "description": "Internationalization and localization.",
225
+ "name": "globe-with-meridians",
226
+ "semver": "patch"
227
+ },
228
+ {
229
+ "emoji": "✏️",
230
+ "entity": "&#59161;",
231
+ "code": ":pencil2:",
232
+ "description": "Fix typos.",
233
+ "name": "pencil2",
234
+ "semver": "patch"
235
+ },
236
+ {
237
+ "emoji": "💩",
238
+ "entity": "&#58613;",
239
+ "code": ":poop:",
240
+ "description": "Write bad code that needs to be improved.",
241
+ "name": "poop",
242
+ "semver": null
243
+ },
244
+ {
245
+ "emoji": "⏪️",
246
+ "entity": "&#9194;",
247
+ "code": ":rewind:",
248
+ "description": "Revert changes.",
249
+ "name": "rewind",
250
+ "semver": "patch"
251
+ },
252
+ {
253
+ "emoji": "🔀",
254
+ "entity": "&#128256;",
255
+ "code": ":twisted_rightwards_arrows:",
256
+ "description": "Merge branches.",
257
+ "name": "twisted-rightwards-arrows",
258
+ "semver": null
259
+ },
260
+ {
261
+ "emoji": "📦️",
262
+ "entity": "&#1F4E6;",
263
+ "code": ":package:",
264
+ "description": "Add or update compiled files or packages.",
265
+ "name": "package",
266
+ "semver": "patch"
267
+ },
268
+ {
269
+ "emoji": "👽️",
270
+ "entity": "&#1F47D;",
271
+ "code": ":alien:",
272
+ "description": "Update code due to external API changes.",
273
+ "name": "alien",
274
+ "semver": "patch"
275
+ },
276
+ {
277
+ "emoji": "🚚",
278
+ "entity": "&#1F69A;",
279
+ "code": ":truck:",
280
+ "description": "Move or rename resources (e.g.: files, paths, routes).",
281
+ "name": "truck",
282
+ "semver": null
283
+ },
284
+ {
285
+ "emoji": "📄",
286
+ "entity": "&#1F4C4;",
287
+ "code": ":page_facing_up:",
288
+ "description": "Add or update license.",
289
+ "name": "page-facing-up",
290
+ "semver": null
291
+ },
292
+ {
293
+ "emoji": "💥",
294
+ "entity": "&#x1f4a5;",
295
+ "code": ":boom:",
296
+ "description": "Introduce breaking changes.",
297
+ "name": "boom",
298
+ "semver": "major"
299
+ },
300
+ {
301
+ "emoji": "🍱",
302
+ "entity": "&#1F371",
303
+ "code": ":bento:",
304
+ "description": "Add or update assets.",
305
+ "name": "bento",
306
+ "semver": "patch"
307
+ },
308
+ {
309
+ "emoji": "♿️",
310
+ "entity": "&#9855;",
311
+ "code": ":wheelchair:",
312
+ "description": "Improve accessibility.",
313
+ "name": "wheelchair",
314
+ "semver": "patch"
315
+ },
316
+ {
317
+ "emoji": "💡",
318
+ "entity": "&#128161;",
319
+ "code": ":bulb:",
320
+ "description": "Add or update comments in source code.",
321
+ "name": "bulb",
322
+ "semver": null
323
+ },
324
+ {
325
+ "emoji": "🍻",
326
+ "entity": "&#x1f37b;",
327
+ "code": ":beers:",
328
+ "description": "Write code drunkenly.",
329
+ "name": "beers",
330
+ "semver": null
331
+ },
332
+ {
333
+ "emoji": "💬",
334
+ "entity": "&#128172;",
335
+ "code": ":speech_balloon:",
336
+ "description": "Add or update text and literals.",
337
+ "name": "speech-balloon",
338
+ "semver": "patch"
339
+ },
340
+ {
341
+ "emoji": "🗃️",
342
+ "entity": "&#128451;",
343
+ "code": ":card_file_box:",
344
+ "description": "Perform database related changes.",
345
+ "name": "card-file-box",
346
+ "semver": "patch"
347
+ },
348
+ {
349
+ "emoji": "🔊",
350
+ "entity": "&#128266;",
351
+ "code": ":loud_sound:",
352
+ "description": "Add or update logs.",
353
+ "name": "loud-sound",
354
+ "semver": null
355
+ },
356
+ {
357
+ "emoji": "🔇",
358
+ "entity": "&#128263;",
359
+ "code": ":mute:",
360
+ "description": "Remove logs.",
361
+ "name": "mute",
362
+ "semver": null
363
+ },
364
+ {
365
+ "emoji": "👥",
366
+ "entity": "&#128101;",
367
+ "code": ":busts_in_silhouette:",
368
+ "description": "Add or update contributor(s).",
369
+ "name": "busts-in-silhouette",
370
+ "semver": null
371
+ },
372
+ {
373
+ "emoji": "🚸",
374
+ "entity": "&#128696;",
375
+ "code": ":children_crossing:",
376
+ "description": "Improve user experience / usability.",
377
+ "name": "children-crossing",
378
+ "semver": "patch"
379
+ },
380
+ {
381
+ "emoji": "🏗️",
382
+ "entity": "&#1f3d7;",
383
+ "code": ":building_construction:",
384
+ "description": "Make architectural changes.",
385
+ "name": "building-construction",
386
+ "semver": null
387
+ },
388
+ {
389
+ "emoji": "📱",
390
+ "entity": "&#128241;",
391
+ "code": ":iphone:",
392
+ "description": "Work on responsive design.",
393
+ "name": "iphone",
394
+ "semver": "patch"
395
+ },
396
+ {
397
+ "emoji": "🤡",
398
+ "entity": "&#129313;",
399
+ "code": ":clown_face:",
400
+ "description": "Mock things.",
401
+ "name": "clown-face",
402
+ "semver": null
403
+ },
404
+ {
405
+ "emoji": "🥚",
406
+ "entity": "&#129370;",
407
+ "code": ":egg:",
408
+ "description": "Add or update an easter egg.",
409
+ "name": "egg",
410
+ "semver": "patch"
411
+ },
412
+ {
413
+ "emoji": "🙈",
414
+ "entity": "&#8bdfe7;",
415
+ "code": ":see_no_evil:",
416
+ "description": "Add or update a .gitignore file.",
417
+ "name": "see-no-evil",
418
+ "semver": null
419
+ },
420
+ {
421
+ "emoji": "📸",
422
+ "entity": "&#128248;",
423
+ "code": ":camera_flash:",
424
+ "description": "Add or update snapshots.",
425
+ "name": "camera-flash",
426
+ "semver": null
427
+ },
428
+ {
429
+ "emoji": "⚗️",
430
+ "entity": "&#128248;",
431
+ "code": ":alembic:",
432
+ "description": "Perform experiments.",
433
+ "name": "alembic",
434
+ "semver": "patch"
435
+ },
436
+ {
437
+ "emoji": "🔍️",
438
+ "entity": "&#128269;",
439
+ "code": ":mag:",
440
+ "description": "Improve SEO.",
441
+ "name": "mag",
442
+ "semver": "patch"
443
+ },
444
+ {
445
+ "emoji": "🏷️",
446
+ "entity": "&#127991;",
447
+ "code": ":label:",
448
+ "description": "Add or update types.",
449
+ "name": "label",
450
+ "semver": "patch"
451
+ },
452
+ {
453
+ "emoji": "🌱",
454
+ "entity": "&#127793;",
455
+ "code": ":seedling:",
456
+ "description": "Add or update seed files.",
457
+ "name": "seedling",
458
+ "semver": null
459
+ },
460
+ {
461
+ "emoji": "🚩",
462
+ "entity": "&#x1F6A9;",
463
+ "code": ":triangular_flag_on_post:",
464
+ "description": "Add, update, or remove feature flags.",
465
+ "name": "triangular-flag-on-post",
466
+ "semver": "patch"
467
+ },
468
+ {
469
+ "emoji": "🥅",
470
+ "entity": "&#x1F945;",
471
+ "code": ":goal_net:",
472
+ "description": "Catch errors.",
473
+ "name": "goal-net",
474
+ "semver": "patch"
475
+ },
476
+ {
477
+ "emoji": "💫",
478
+ "entity": "&#x1f4ab;",
479
+ "code": ":dizzy:",
480
+ "description": "Add or update animations and transitions.",
481
+ "name": "animation",
482
+ "semver": "patch"
483
+ },
484
+ {
485
+ "emoji": "🗑️",
486
+ "entity": "&#x1F5D1;",
487
+ "code": ":wastebasket:",
488
+ "description": "Deprecate code that needs to be cleaned up.",
489
+ "name": "wastebasket",
490
+ "semver": "patch"
491
+ },
492
+ {
493
+ "emoji": "🛂",
494
+ "entity": "&#x1F6C2;",
495
+ "code": ":passport_control:",
496
+ "description": "Work on code related to authorization, roles and permissions.",
497
+ "name": "passport-control",
498
+ "semver": "patch"
499
+ },
500
+ {
501
+ "emoji": "🩹",
502
+ "entity": "&#x1FA79;",
503
+ "code": ":adhesive_bandage:",
504
+ "description": "Simple fix for a non-critical issue.",
505
+ "name": "adhesive-bandage",
506
+ "semver": "patch"
507
+ },
508
+ {
509
+ "emoji": "🧐",
510
+ "entity": "&#x1F9D0;",
511
+ "code": ":monocle_face:",
512
+ "description": "Data exploration/inspection.",
513
+ "name": "monocle-face",
514
+ "semver": null
515
+ },
516
+ {
517
+ "emoji": "⚰️",
518
+ "entity": "&#x26B0;",
519
+ "code": ":coffin:",
520
+ "description": "Remove dead code.",
521
+ "name": "coffin",
522
+ "semver": null
523
+ },
524
+ {
525
+ "emoji": "🧪",
526
+ "entity": "&#x1F9EA;",
527
+ "code": ":test_tube:",
528
+ "description": "Add a failing test.",
529
+ "name": "test-tube",
530
+ "semver": null
531
+ },
532
+ {
533
+ "emoji": "👔",
534
+ "entity": "&#128084;",
535
+ "code": ":necktie:",
536
+ "description": "Add or update business logic.",
537
+ "name": "necktie",
538
+ "semver": "patch"
539
+ },
540
+ {
541
+ "emoji": "🩺",
542
+ "entity": "&#x1FA7A;",
543
+ "code": ":stethoscope:",
544
+ "description": "Add or update healthcheck.",
545
+ "name": "stethoscope",
546
+ "semver": null
547
+ },
548
+ {
549
+ "emoji": "🧱",
550
+ "entity": "&#x1f9f1;",
551
+ "code": ":bricks:",
552
+ "description": "Infrastructure related changes.",
553
+ "name": "bricks",
554
+ "semver": null
555
+ },
556
+ {
557
+ "emoji": "🧑‍💻",
558
+ "entity": "&#129489;&#8205;&#128187;",
559
+ "code": ":technologist:",
560
+ "description": "Improve developer experience.",
561
+ "name": "technologist",
562
+ "semver": null
563
+ },
564
+ {
565
+ "emoji": "💸",
566
+ "entity": "&#x1F4B8;",
567
+ "code": ":money_with_wings:",
568
+ "description": "Add sponsorships or money related infrastructure.",
569
+ "name": "money-with-wings",
570
+ "semver": null
571
+ },
572
+ {
573
+ "emoji": "🧵",
574
+ "entity": "&#x1F9F5;",
575
+ "code": ":thread:",
576
+ "description": "Add or update code related to multithreading or concurrency.",
577
+ "name": "thread",
578
+ "semver": null
579
+ },
580
+ {
581
+ "emoji": "🦺",
582
+ "entity": "&#x1F9BA;",
583
+ "code": ":safety_vest:",
584
+ "description": "Add or update code related to validation.",
585
+ "name": "safety-vest",
586
+ "semver": null
587
+ }
588
+ ]
589
+ }
data.tar.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ �NeE
2
+ �x���]�"㌎����� -��L�4"��x��n�d��E]Y��Hc�� ����ץ>ūv�k\/O�8w���b���mѮ�Ó��z�|O�� � ?�T%j޿ Uv�㙷0$��'�-�*����~���hA�n�Q� �����G�~��ko�W��f� ƃ���uR�������T��Rrs+t)d����?�z��#�h��%��|X�g`�p1i��Ƈ��ٰۗs�"��A�f�3\0@�s�ƎR;u���D�����c� 6�e�&����JS�@xzg5�Tq�X�I;���pB��zG��'0ˁ��
metadata CHANGED
@@ -1,14 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitmoji-regex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
- cert_chain: []
11
- date: 2022-06-24 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
14
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
15
+ A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
16
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
17
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
18
+ 8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
19
+ 0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
20
+ LA5EawH+Lh4xqrkkPjdffsmLk7TaCig/vlmNvnzxXKBdey/X/aEJZXzzBiWRfVdh
21
+ O1fmMbVKyieGv9HK7+pLotIoT08bjDv8NP6V7zZslwQRqW27bQc6cqC2LGIbTYO3
22
+ 3jt1kQxfMWmhOictS6SzG9VtKSrXf0L4Neq0Gh7CLBZBvJFWJYZPfb92YNITDbd8
23
+ emPOAQlXXNMN4mMXsEqtEhCPZRMnmwO+fOk/cC4AyglKi9lnQugCQoFV1XDMZST/
24
+ CYbzdQyadOdPDInTntG6V+Uw51d2QGXZ6PDDfrx9+toc/3sl5h68rCUGgE6Q3jPz
25
+ srinqmBsxv2vTpmd4FjmiAtEnwH5/ooLpQYL8UdAjEoeysxS3AwIh+5dAgMBAAGj
26
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQWU6D156a2cle+
27
+ lb5RBfvVXlxTwjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
28
+ A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
29
+ ggGBAJ4SqhPlgUiLYIrphGXIaxXScHyvx4kixuvdrwhI4VoQV2qXvO7R6ZjOXVwX
30
+ f/z84BWPiTZ8lzThPbt1UV/BGwkvLw9I4RjOdzvUz3J42j9Ly6q63isall07bo3F
31
+ QWe/OBvIMBF1IbjC3q5vKPg4rq8+TkNRJNoE86U2gfR+PkW3jYYs9uiy0GloHDCP
32
+ k5xgaj0vSL0Uy5mTOPdk3K6a/sUGZyYniWK05zdhIi956ynhfGaFO988FFdVw5Jq
33
+ LHtXfIpAU8F7ES04syZSslxOluw7VlcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
34
+ hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
35
+ 2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
36
+ gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
37
+ 4/bR9A==
38
+ -----END CERTIFICATE-----
39
+ date: 2023-05-30 00:00:00.000000000 Z
12
40
  dependencies:
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: version_gem
@@ -126,20 +154,28 @@ dependencies:
126
154
  requirements:
127
155
  - - "~>"
128
156
  - !ruby/object:Gem::Version
129
- version: '12.0'
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: 12.0.1
157
+ version: '12.1'
133
158
  type: :development
134
159
  prerelease: false
135
160
  version_requirements: !ruby/object:Gem::Requirement
136
161
  requirements:
137
162
  - - "~>"
138
163
  - !ruby/object:Gem::Version
139
- version: '12.0'
140
- - - ">="
164
+ version: '12.1'
165
+ - !ruby/object:Gem::Dependency
166
+ name: rubocop-packaging
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '0.5'
172
+ type: :development
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - "~>"
141
177
  - !ruby/object:Gem::Version
142
- version: 12.0.1
178
+ version: '0.5'
143
179
  - !ruby/object:Gem::Dependency
144
180
  name: yard
145
181
  requirement: !ruby/object:Gem::Requirement
@@ -170,23 +206,21 @@ files:
170
206
  - lib/gitmoji/regex.rb
171
207
  - lib/gitmoji/regex/reference.rb
172
208
  - lib/gitmoji/regex/version.rb
173
- - spec/config/rspec/rspec_core.rb
174
- - spec/gitmoji/regex/reference_spec.rb
175
- - spec/gitmoji/regex/version_spec.rb
176
- - spec/gitmoji/regex_spec.rb
177
- - spec/spec_helper.rb
178
- homepage: https://github.com/pboling/gitmoji-regex
209
+ - sig/gitmoji/regex.rbs
210
+ - src/gitmojis.json
211
+ homepage: https://git.sr.ht/~galtzo/gitmoji-regex
179
212
  licenses:
180
213
  - MIT
181
214
  metadata:
182
- homepage_uri: https://github.com/pboling/gitmoji-regex
183
- source_code_uri: https://github.com/pboling/gitmoji-regex/tree/v1.0.1
184
- changelog_uri: https://github.com/pboling/gitmoji-regex/blob/v1.0.1/CHANGELOG.md
185
- bug_tracker_uri: https://github.com/pboling/gitmoji-regex/issues
186
- documentation_uri: https://www.rubydoc.info/gems/gitmoji-regex/1.0.1
187
- wiki_uri: https://github.com/pboling/gitmoji-regex/wiki
215
+ source_code_uri: https://git.sr.ht/~galtzo/gitmoji-regex
216
+ changelog_uri: https://git.sr.ht/~galtzo/gitmoji-regex
217
+ bug_tracker_uri: https://todo.sr.ht/~galtzo/gitmoji-regex
218
+ documentation_uri: https://www.rubydoc.info/gems/gitmoji-regex/1.0.2
219
+ wiki_uri: https://man.sr.ht/~galtzo/gitmoji-regex/
220
+ funding_uri: https://liberapay.com/pboling
221
+ mailing_list_uri: https://lists.sr.ht/~galtzo/gitmoji-regex-devel
188
222
  rubygems_mfa_required: 'true'
189
- post_install_message:
223
+ post_install_message:
190
224
  rdoc_options: []
191
225
  require_paths:
192
226
  - lib
@@ -201,13 +235,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
235
  - !ruby/object:Gem::Version
202
236
  version: '0'
203
237
  requirements: []
204
- rubygems_version: 3.3.16
205
- signing_key:
238
+ rubygems_version: 3.4.13
239
+ signing_key:
206
240
  specification_version: 4
207
241
  summary: A regular expression for Gitmoji symbols
208
- test_files:
209
- - spec/spec_helper.rb
210
- - spec/config/rspec/rspec_core.rb
211
- - spec/gitmoji/regex_spec.rb
212
- - spec/gitmoji/regex/version_spec.rb
213
- - spec/gitmoji/regex/reference_spec.rb
242
+ test_files: []
metadata.gz.sig ADDED
Binary file
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- RSpec.configure do |config|
4
- # Enable flags like --only-failures and --next-failure
5
- config.example_status_persistence_file_path = ".rspec_status"
6
-
7
- # Disable RSpec exposing methods globally on `Module` and `main`
8
- config.disable_monkey_patching!
9
-
10
- config.expect_with :rspec do |c|
11
- c.syntax = :expect
12
- end
13
- end
@@ -1,73 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- RSpec.describe Gitmoji::Regex::Reference do
4
- subject(:instance) { described_class.instance }
5
-
6
- it "Cached reference has all gitmoji" do
7
- expect(instance.to_a).to eq(["🎨", "⚡️", "🔥", "🐛", "🚑️", "✨", "📝", "🚀", "💄", "🎉", "✅",
8
- "🔒️", "🔐", "🔖", "🚨", "🚧", "💚", "⬇️", "⬆️", "📌", "👷", "📈",
9
- "♻️", "➕", "➖", "🔧", "🔨", "🌐", "✏️", "💩", "⏪️", "🔀", "📦️",
10
- "👽️", "🚚", "📄", "💥", "🍱", "♿️", "💡", "🍻", "💬", "🗃️", "🔊",
11
- "🔇", "👥", "🚸", "🏗️", "📱", "🤡", "🥚", "🙈", "📸", "⚗️", "🔍️",
12
- "🏷️", "🌱", "🚩", "🥅", "💫", "🗑️", "🛂", "🩹", "🧐", "⚰️", "🧪",
13
- "👔", "🩺", "🧱", "🧑‍💻", "💸"])
14
- end
15
-
16
- describe "#compare_src" do
17
- it "Cached source is current" do
18
- expect(instance.compare_src).to be(true)
19
- end
20
-
21
- it "detects change" do
22
- allow(File).to receive(:read).and_return("a", "b")
23
- expect(instance.compare_src).to be(false)
24
- end
25
-
26
- it "reads files" do
27
- allow(File).to receive(:read).and_return("a", "b")
28
- instance.compare_src
29
- expect(File).to have_received(:read).twice
30
- end
31
- end
32
-
33
- it "Cached source is current" do
34
- expect(instance.current_src).to eq(instance.next_src)
35
- end
36
-
37
- it "Cached pattern is current" do
38
- expect(instance.cached_pattern).to eq(instance.fetched_pattern)
39
- end
40
-
41
- describe "#compare_json" do
42
- it "Cached reference is current" do
43
- expect(instance.compare_json).to be(true)
44
- end
45
-
46
- it "detects change" do
47
- allow(Regexp).to receive(:union).and_return("a", "b")
48
- expect(instance.compare_json).to be(false)
49
- end
50
-
51
- it "calls pattern" do
52
- allow(Regexp).to receive(:union).and_return("a", "b")
53
- instance.compare_json
54
- expect(Regexp).to have_received(:union).twice
55
- end
56
- end
57
-
58
- describe "#write_json" do
59
- it "writes" do
60
- allow(File).to receive(:write).with(described_class::GITMOJI_PATH, anything)
61
- instance.write_json
62
- expect(File).to have_received(:write)
63
- end
64
- end
65
-
66
- describe "#write_src" do
67
- it "writes" do
68
- allow(File).to receive(:write).with(described_class::LIB_SRC, anything)
69
- instance.write_src
70
- expect(File).to have_received(:write)
71
- end
72
- end
73
- end
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- RSpec.describe Gitmoji::Regex::Version do
4
- it_behaves_like "a Version module", described_class
5
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- RSpec.describe Gitmoji::Regex do
4
- GITMOJI_REF.to_a.each do |gitmoji|
5
- it "matches #{gitmoji}" do
6
- expect(gitmoji).to match(Gitmoji::Regex::REGEX)
7
- end
8
- end
9
-
10
- describe "regex.rb source template" do
11
- let(:template_file) { File.read(described_class::Reference::TEMPLATE_SRC) }
12
-
13
- it "has the template token" do
14
- expect(template_file).to include("REGEX = Regexp.new(\"% gitmojiRegex %\")")
15
- end
16
- end
17
- end
data/spec/spec_helper.rb DELETED
@@ -1,59 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "version_gem/rspec"
4
-
5
- DEBUG = ENV["DEBUG"] == "true"
6
-
7
- ruby_version = Gem::Version.new(RUBY_VERSION)
8
- minimum_version = ->(version, engine = "ruby") { ruby_version >= Gem::Version.new(version) && RUBY_ENGINE == engine }
9
- actual_version = lambda do |major, minor|
10
- actual = Gem::Version.new(ruby_version)
11
- major == actual.segments[0] && minor == actual.segments[1] && RUBY_ENGINE == "ruby"
12
- end
13
- debugging = minimum_version.call("2.7") && DEBUG
14
- RUN_COVERAGE = minimum_version.call("2.6") && (ENV["COVER_ALL"] || ENV["CI_CODECOV"] || ENV["CI"].nil?)
15
- ALL_FORMATTERS = actual_version.call(2, 7) && (ENV["COVER_ALL"] || ENV["CI_CODECOV"] || ENV["CI"])
16
-
17
- if DEBUG
18
- if debugging
19
- require "byebug"
20
- elsif minimum_version.call("2.7", "jruby")
21
- require "pry-debugger-jruby"
22
- end
23
- end
24
-
25
- if RUN_COVERAGE
26
- require "simplecov" # Config file `.simplecov` is run immediately when simplecov loads
27
- require "codecov"
28
- require "simplecov-json"
29
- require "simplecov-lcov"
30
- require "simplecov-cobertura"
31
- # This will override any formatter set in .simplecov
32
- if ALL_FORMATTERS
33
- SimpleCov::Formatter::LcovFormatter.config do |c|
34
- c.report_with_single_file = true
35
- c.single_report_path = "coverage/lcov.info"
36
- end
37
-
38
- SimpleCov.formatters = [
39
- SimpleCov::Formatter::HTMLFormatter,
40
- SimpleCov::Formatter::CoberturaFormatter, # XML for Jenkins
41
- SimpleCov::Formatter::LcovFormatter,
42
- SimpleCov::Formatter::JSONFormatter, # For CodeClimate
43
- SimpleCov::Formatter::Codecov # For CodeCov
44
- ]
45
- end
46
- end
47
-
48
- # This gem
49
- require "gitmoji/regex"
50
-
51
- # Not required by default, as it is not part of the gem's API, primarily for specs and maintainers
52
- require "gitmoji/regex/reference"
53
-
54
- # RSpec Configs
55
- require "config/rspec/rspec_core"
56
-
57
- # Support Files
58
-
59
- GITMOJI_REF = Gitmoji::Regex::Reference.instance