gitmoji-regex 0.1.2 → 1.0.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: 9a8cb80c16bdeb35eb864505aa3bbadf6d7b4a2b02e3019784d6c7eef5102936
4
- data.tar.gz: 7ddd10ec342a925fdf9400862d9a476afc8fd417dedc61a88f05543bf1162df3
3
+ metadata.gz: fb4fcd5c0d99432f3c7227dc3594291be1e093c3bddebbfde4436545f4957bc5
4
+ data.tar.gz: ba10c648fe83f4ec72666422f05db7de7155adcbf68f5ca0fdc1ecb3b50f9761
5
5
  SHA512:
6
- metadata.gz: 1a227ae750d1275ca7a0870714e48f71e2c5d6238cc1b0ca7cd29ae6f500032f4291c65e91a4e6885b9a101f65ab549b05c70ea2a0111742f02abe991f3c5146
7
- data.tar.gz: ef95cfad6de02f76d5f2599206b4a410758f6862211dac7cb2fe0b5a495f415f717b9a8427a43a14247762e31b6b5f2668108c91ab1d1c7ab2deff9d25d557be
6
+ metadata.gz: e263107eee4a1ab73f2480539e0869a2c1b6b7e4fe03b6f1b027c689731ec73581a65262f5ac7f7f136f69959022dd528c5923040a9490dc881cf3482ec8409d
7
+ data.tar.gz: 76fe3089cadefcc1e45d799df46200783194a350261ac23dbc153b5b23c189f8dae98296039999b453dea2ca651ab781f6eca1c943f005ec655eeb098598beb1
data/CHANGELOG.md CHANGED
@@ -13,6 +13,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
+ ## [1.0.1] - 2022-06-24
17
+ ### Added
18
+ - bin stubs for development
19
+ - Improved contributing guidelines
20
+ ### Fixed
21
+ - Updated Template `src/regex.rb`
22
+ - CI Build improvements
23
+
24
+ ## [1.0.0] - 2022-06-24
25
+ ### Added
26
+ - New gitmoji "💸"
27
+ - Gitmoji::Regex::Version is introspectable
28
+
29
+ ### Changed
30
+ - Gitmoji::Regex::VERSION is now Gitmoji::Regex::Version::VERSION
31
+
32
+ ## [0.1.3] - 2022-03-30
33
+ ### Added
34
+ - Documentation
35
+ - Badges
36
+
37
+ ### Fixed
38
+ - Code Coverage
39
+ - Changelog URLs
40
+
16
41
  ## [0.1.2] - 2022-03-29
17
42
  ### Added
18
43
  - Badges and Logos
@@ -25,7 +50,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
50
  ### Added
26
51
  - Initial release
27
52
 
28
- [Unreleased]: https://github.com/oauth-xx/oauth2/compare/.v0.1.2...HEAD
29
- [0.1.2]: https://github.com/pboling//compare/v0.1.1...v0.1.2
30
- [0.1.1]: https://github.com/pboling//compare/v0.1.0...v0.1.1
31
- [0.1.0]: https://github.com/oauth-xx/oauth2/compare/e71c6c3dad5bfd59ae2509531eaea3a16e21cb63...v0.1.0
53
+ [Unreleased]: https://github.com/pboling/gitmoji-regex/compare/.v0.1.3...HEAD
54
+ [0.1.3]: https://github.com/pboling/gitmoji-regex/compare/v0.1.2...v0.1.3
55
+ [0.1.2]: https://github.com/pboling/gitmoji-regex/compare/v0.1.1...v0.1.2
56
+ [0.1.1]: https://github.com/pboling/gitmoji-regex/compare/v0.1.0...v0.1.1
57
+ [0.1.0]: https://github.com/pboling/gitmoji-regex/compare/e71c6c3dad5bfd59ae2509531eaea3a16e21cb63...v0.1.0
data/CONTRIBUTING.md CHANGED
@@ -6,6 +6,26 @@ the [code of conduct][conduct].
6
6
 
7
7
  To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request!
8
8
 
9
+ ## Detailed instructions on Submitting a Pull Request
10
+
11
+ 1. [Fork the repository.][fork]
12
+ 2. [Create a topic branch.][branch]
13
+ 3. Add specs for your unimplemented feature or bug fix.
14
+ 4. Run `bundle exec rake spec`. If your specs pass, return to step 3.
15
+ 5. Implement your feature or bug fix.
16
+ 6. Run `bundle exec rake`. If your specs fail, return to step 5.
17
+ 7. Run `open coverage/index.html`. If your changes are not completely covered
18
+ by your tests, return to step 3.
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]
24
+
25
+ [fork]: http://help.github.com/fork-a-repo/
26
+ [branch]: http://learn.github.com/p/branching.html
27
+ [pr]: http://help.github.com/send-pull-requests/
28
+
9
29
  ## Contributors
10
30
 
11
31
  [![Contributors](https://contrib.rocks/image?repo=pboling/gitmoji-regex)][contributors]
data/README.md CHANGED
@@ -14,8 +14,6 @@
14
14
 
15
15
  This gem provides a regex that allows Ruby code to test a string for a [Gitmoji](https://github.com/carloscuesta/gitmoji) character. Gitmoji is a [subset](https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json) of the Unicode Emoji character set. This gem is _not_ a fork of, but was **inspired** by, the wonderful [emoji_regex](https://github.com/ticky/ruby-emoji-regex) gem.
16
16
 
17
- This gem has no runtime dependencies.
18
-
19
17
  <!--
20
18
  Numbering rows and badges in each row as a visual "database" lookup,
21
19
  as the table is extremely dense, and it can be very difficult to find anything
@@ -38,17 +36,20 @@ badge #s:
38
36
  🖐
39
37
  🧮
40
38
  📗
39
+
40
+ appended indicators:
41
+ ♻️ - URL needs to be updated from SASS integration. Find / Replace is insufficient.
41
42
  -->
42
43
 
43
- | | Project | bundle add gitmoji-regex |
44
- |:----|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
45
- | 1️⃣ | name, license, docs | [![RubyGems.org][⛳️name-img]][⛳️gem] [![License: MIT][🖇src-license-img]][🖇src-license] <!--[![FOSSA][🏘fossa-img]][🏘fossa]--> [![RubyDoc.info][🚎yard-img]][🚎yard] <!--[![InchCI][🖐inch-ci-img]][🚎yard]--> |
46
- | 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]--> |
47
- | 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] |
48
- | 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]--> |
49
- | 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] |
50
- | 6️⃣ | resources | [![Discussion][⛳gh-discussions-img]][⛳gh-discussions] [![Get help on Codementor][🖇codementor-img]][🖇codementor] [![Chat][🏘chat-img]][🏘chat] [![Blog][🚎blog-img]][🚎blog] [![Blog][🖐wiki-img]][🖐wiki] |
51
- | 7️⃣ | spread 💖 | [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay] [![Sponsor Me][🖇sponsor-img]][🖇sponsor] [![Tweet @ Peter][🏘tweet-img]][🏘tweet] [🌏][aboutme] [👼][angelme] [💻][coderme] [🌹][politicme] |
44
+ | | Project | bundle add gitmoji-regex |
45
+ |:----|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
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
+ | 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]--> |
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
+ | 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
53
 
53
54
  <!--
54
55
  The link tokens in the following sections should be kept ordered by the row and badge numbering scheme
@@ -63,7 +64,11 @@ The link tokens in the following sections should be kept ordered by the row and
63
64
  [🏘fossa-img]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpboling%2Fgitmoji-regex.svg?type=shield
64
65
  [🚎yard]: https://www.rubydoc.info/github/pboling/gitmoji-regex
65
66
  [🚎yard-img]: https://img.shields.io/badge/documentation-rubydoc-brightgreen.svg?style=flat
66
- [🖐inch-ci-img]: http://inch-ci.org/github/pboling/gitmoji-regex.png
67
+ [🖐gitmoji]: https://gitmoji.dev
68
+ [🖐gitmoji-img]: https://img.shields.io/badge/gitmoji-3.9.0-FFDD67.svg?style=flat
69
+ [🧮semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
70
+ [📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
71
+ [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
67
72
 
68
73
  <!-- 2️⃣ version & activity -->
69
74
  [⛳️version-img]: http://img.shields.io/gem/v/gitmoji-regex.svg
@@ -80,11 +85,11 @@ The link tokens in the following sections should be kept ordered by the row and
80
85
 
81
86
  <!-- 3️⃣ maintanence & linting -->
82
87
  [⛳cclim-maint]: https://codeclimate.com/github/pboling/gitmoji-regex/maintainability
83
- [⛳cclim-maint-img]: https://api.codeclimate.com/v1/badges/688c612528ff90a46955/maintainability
88
+ [⛳cclim-maint-img♻️]: https://api.codeclimate.com/v1/badges/f32e1d1148e8bad58197/maintainability
84
89
  [🖇triage-help]: https://www.codetriage.com/pboling/gitmoji-regex
85
90
  [🖇triage-help-img]: https://www.codetriage.com/pboling/gitmoji-regex/badges/users.svg
86
- [🏘depfu]: https://depfu.com/github/pboling/gitmoji-regex?project_id=4445
87
- [🏘depfu-img]: https://badges.depfu.com/badges/6d34dc1ba682bbdf9ae2a97848241743/count.svg
91
+ [🏘depfu♻️]: https://depfu.com/github/pboling/gitmoji-regex?project_id=34924
92
+ [🏘depfu-img♻️]: https://badges.depfu.com/badges/300630ab4b7c2efea20806d13d1ef41f/count.svg
88
93
  [🚎contributors]: https://github.com/pboling/gitmoji-regex/graphs/contributors
89
94
  [🚎contributors-img]: https://img.shields.io/github/contributors-anon/pboling/gitmoji-regex
90
95
  [🖐style-wf]: https://github.com/pboling/gitmoji-regex/actions/workflows/style.yml
@@ -110,8 +115,8 @@ The link tokens in the following sections should be kept ordered by the row and
110
115
 
111
116
  <!-- 5️⃣ coverage & security -->
112
117
  [⛳cclim-cov]: https://codeclimate.com/github/pboling/gitmoji-regex/test_coverage
113
- [⛳cclim-cov-img]: https://api.codeclimate.com/v1/badges/688c612528ff90a46955/test_coverage
114
- [🖇codecov-img]: https://codecov.io/gh/pboling/gitmoji-regex/branch/main/graph/badge.svg?token=bNqSzNiuo2
118
+ [⛳cclim-cov-img♻️]: https://api.codeclimate.com/v1/badges/f32e1d1148e8bad58197/test_coverage
119
+ [🖇codecov-img♻️]: https://codecov.io/gh/pboling/gitmoji-regex/branch/main/graph/badge.svg?token=EJCOr0hsPq
115
120
  [🖇codecov]: https://codecov.io/gh/pboling/gitmoji-regex
116
121
  [🏘coveralls]: https://coveralls.io/github/pboling/gitmoji-regex?branch=main
117
122
  [🏘coveralls-img]: https://coveralls.io/repos/github/pboling/gitmoji-regex/badge.svg?branch=main
@@ -148,8 +153,6 @@ The link tokens in the following sections should be kept ordered by the row and
148
153
  [aboutme]: https://about.me/peter.boling
149
154
  [angelme]: https://angel.co/peter-boling
150
155
  [coderme]:http://coderwall.com/pboling
151
- [politicme]: https://nationalprogressiveparty.org
152
-
153
156
 
154
157
  ## Installation
155
158
 
@@ -176,6 +179,11 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
176
179
 
177
180
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
178
181
 
182
+ To update the cached `src/gitmojis.json` load the console with `bin/console`, and run:
183
+ ```ruby
184
+ Gitmoji::Regex::Reference.instance.write_json
185
+ ```
186
+
179
187
  ## Contributing
180
188
 
181
189
  See [CONTRIBUTING.md][contributing]
@@ -213,9 +221,13 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
213
221
  For example:
214
222
 
215
223
  ```ruby
216
- spec.add_dependency "gitmoji-regex", "~> 0.1"
224
+ spec.add_dependency "gitmoji-regex", "~> 1.0"
217
225
  ```
218
226
 
227
+ ## Security
228
+
229
+ See [SECURITY.md](https://github.com/pboling/gitmoji-regex/blob/main/SECURITY.md).
230
+
219
231
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
220
232
 
221
233
  [gh_discussions]: https://github.com/pboling/gitmoji-regex/discussions
data/SECURITY.md CHANGED
@@ -2,12 +2,13 @@
2
2
 
3
3
  ## Supported Versions
4
4
 
5
- | Version | Supported |
6
- | ------- | ------------------ |
7
- | 0.x | :white_check_mark: |
5
+ | Version | Supported |
6
+ |----------|-----------|
7
+ | 1.latest | |
8
+ | 0.latest | ⛔️ |
8
9
 
9
10
  ## Reporting a Vulnerability
10
11
 
11
12
  Peter Boling is the primary maintainer of this gem. Please find a way
12
13
  to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
13
- possible.
14
+ possible.
@@ -2,6 +2,8 @@
2
2
 
3
3
  module Gitmoji
4
4
  module Regex
5
- VERSION = "0.1.2"
5
+ module Version
6
+ VERSION = "1.0.1"
7
+ end
6
8
  end
7
9
  end
data/lib/gitmoji/regex.rb CHANGED
@@ -1,9 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "regex/version"
3
+ require "version_gem"
4
+
5
+ require "gitmoji/regex/version"
6
+ require "gitmoji/regex/reference"
4
7
 
5
8
  module Gitmoji
6
9
  module Regex
7
- REGEX = Regexp.new("(?-mix:🎨|⚡️|🔥|🐛|🚑️|✨|📝|🚀|💄|🎉|✅|🔒️|🔐|🔖|🚨|🚧|💚|⬇️|⬆️|📌|👷|📈|♻️|➕|➖|🔧|🔨|🌐|✏️|💩|⏪️|🔀|📦️|👽️|🚚|📄|💥|🍱|♿️|💡|🍻|💬|🗃️|🔊|🔇|👥|🚸|🏗️|📱|🤡|🥚|🙈|📸|⚗️|🔍️|🏷️|🌱|🚩|🥅|💫|🗑️|🛂|🩹|🧐|⚰️|🧪|👔|🩺|🧱|🧑‍💻)")
10
+ REGEX = Regexp.new("(?-mix:🎨|⚡️|🔥|🐛|🚑️|✨|📝|🚀|💄|🎉|✅|🔒️|🔐|🔖|🚨|🚧|💚|⬇️|⬆️|📌|👷|📈|♻️|➕|➖|🔧|🔨|🌐|✏️|💩|⏪️|🔀|📦️|👽️|🚚|📄|💥|🍱|♿️|💡|🍻|💬|🗃️|🔊|🔇|👥|🚸|🏗️|📱|🤡|🥚|🙈|📸|⚗️|🔍️|🏷️|🌱|🚩|🥅|💫|🗑️|🛂|🩹|🧐|⚰️|🧪|👔|🩺|🧱|🧑‍💻|💸)")
8
11
  end
9
12
  end
13
+
14
+ Gitmoji::Regex::Version.class_eval do
15
+ extend VersionGem::Basic
16
+ end
@@ -10,7 +10,7 @@ RSpec.describe Gitmoji::Regex::Reference do
10
10
  "👽️", "🚚", "📄", "💥", "🍱", "♿️", "💡", "🍻", "💬", "🗃️", "🔊",
11
11
  "🔇", "👥", "🚸", "🏗️", "📱", "🤡", "🥚", "🙈", "📸", "⚗️", "🔍️",
12
12
  "🏷️", "🌱", "🚩", "🥅", "💫", "🗑️", "🛂", "🩹", "🧐", "⚰️", "🧪",
13
- "👔", "🩺", "🧱", "🧑‍💻"])
13
+ "👔", "🩺", "🧱", "🧑‍💻", "💸"])
14
14
  end
15
15
 
16
16
  describe "#compare_src" do
@@ -0,0 +1,5 @@
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,10 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  RSpec.describe Gitmoji::Regex do
4
- it "has a version number" do
5
- expect(Gitmoji::Regex::VERSION).not_to be_nil
6
- end
7
-
8
4
  GITMOJI_REF.to_a.each do |gitmoji|
9
5
  it "matches #{gitmoji}" do
10
6
  expect(gitmoji).to match(Gitmoji::Regex::REGEX)
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "version_gem/rspec"
4
+
3
5
  DEBUG = ENV["DEBUG"] == "true"
4
6
 
5
7
  ruby_version = Gem::Version.new(RUBY_VERSION)
@@ -20,7 +22,28 @@ if DEBUG
20
22
  end
21
23
  end
22
24
 
23
- require "simplecov" if RUN_COVERAGE
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
24
47
 
25
48
  # This gem
26
49
  require "gitmoji/regex"
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitmoji-regex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-29 00:00:00.000000000 Z
11
+ date: 2022-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: version_gem
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.1'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: http
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -106,6 +120,26 @@ dependencies:
106
120
  - - "~>"
107
121
  - !ruby/object:Gem::Version
108
122
  version: '1.0'
123
+ - !ruby/object:Gem::Dependency
124
+ name: rubocop-lts
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '12.0'
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 12.0.1
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '12.0'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 12.0.1
109
143
  - !ruby/object:Gem::Dependency
110
144
  name: yard
111
145
  requirement: !ruby/object:Gem::Requirement
@@ -138,6 +172,7 @@ files:
138
172
  - lib/gitmoji/regex/version.rb
139
173
  - spec/config/rspec/rspec_core.rb
140
174
  - spec/gitmoji/regex/reference_spec.rb
175
+ - spec/gitmoji/regex/version_spec.rb
141
176
  - spec/gitmoji/regex_spec.rb
142
177
  - spec/spec_helper.rb
143
178
  homepage: https://github.com/pboling/gitmoji-regex
@@ -145,13 +180,13 @@ licenses:
145
180
  - MIT
146
181
  metadata:
147
182
  homepage_uri: https://github.com/pboling/gitmoji-regex
148
- source_code_uri: https://github.com/pboling/gitmoji-regex/tree/v0.1.2
149
- changelog_uri: https://github.com/pboling/gitmoji-regex/blob/v0.1.2/CHANGELOG.md
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
150
185
  bug_tracker_uri: https://github.com/pboling/gitmoji-regex/issues
151
- documentation_uri: https://www.rubydoc.info/gems/gitmoji-regex/0.1.2
186
+ documentation_uri: https://www.rubydoc.info/gems/gitmoji-regex/1.0.1
152
187
  wiki_uri: https://github.com/pboling/gitmoji-regex/wiki
153
188
  rubygems_mfa_required: 'true'
154
- post_install_message:
189
+ post_install_message:
155
190
  rdoc_options: []
156
191
  require_paths:
157
192
  - lib
@@ -166,12 +201,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
201
  - !ruby/object:Gem::Version
167
202
  version: '0'
168
203
  requirements: []
169
- rubygems_version: 3.3.10
170
- signing_key:
204
+ rubygems_version: 3.3.16
205
+ signing_key:
171
206
  specification_version: 4
172
207
  summary: A regular expression for Gitmoji symbols
173
208
  test_files:
209
+ - spec/spec_helper.rb
174
210
  - spec/config/rspec/rspec_core.rb
175
- - spec/gitmoji/regex/reference_spec.rb
176
211
  - spec/gitmoji/regex_spec.rb
177
- - spec/spec_helper.rb
212
+ - spec/gitmoji/regex/version_spec.rb
213
+ - spec/gitmoji/regex/reference_spec.rb