gemoji-cli 1.1.0 → 1.1.1
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/.rubocop.yml +26 -24
- data/.rubocop_todo.yml +14 -1
- data/CHANGELOG.md +8 -0
- data/README.md +33 -14
- data/lib/gemoji/cli/version.rb +1 -1
- data/mise.toml +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b91ef8ccf0c6d4e258cfc1ba0f534a2a6e3f327e8edd103910b11dc6e04ee155
|
|
4
|
+
data.tar.gz: 8e89138ad680b99c76a03dbbe541b2c601f2eb5921d90a92fa412a52a32dc78c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 217ad99e67c360650e88c811438861f8350aa27b774a2df284336ed6643639419751b2c81f54ba6611539904ecc8e6484230b4742423b2b6716ce042c6f6a4c2
|
|
7
|
+
data.tar.gz: a9885fceed92910a6c2f4940aeb7a707b504c019c865d5992f3176428fc031ec8b0699efbf8dc91a45287d7ad267c75b3d53f36c39300396ba0db9580841d719
|
data/.rubocop.yml
CHANGED
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
---
|
|
2
1
|
AllCops:
|
|
3
2
|
DisplayCopNames: true
|
|
4
3
|
DisplayStyleGuide: true
|
|
5
4
|
EnabledByDefault: true
|
|
6
5
|
Exclude:
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
- bin/**/*
|
|
7
|
+
- vendor/**/*
|
|
9
8
|
ExtraDetails: true
|
|
9
|
+
NewCops: enable
|
|
10
10
|
TargetRubyVersion: 3.2
|
|
11
11
|
UseCache: true
|
|
12
|
+
|
|
12
13
|
inherit_mode:
|
|
13
14
|
merge:
|
|
14
|
-
|
|
15
|
+
- Exclude
|
|
16
|
+
|
|
15
17
|
plugins:
|
|
16
|
-
- rubocop-performance
|
|
17
|
-
- rubocop-rake
|
|
18
|
-
- rubocop-rspec
|
|
19
|
-
- rubocop-thread_safety
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
- .rubocop/threadsafety.yml
|
|
18
|
+
- rubocop-performance
|
|
19
|
+
- rubocop-rake
|
|
20
|
+
- rubocop-rspec
|
|
21
|
+
- rubocop-thread_safety
|
|
22
|
+
|
|
23
|
+
inherit_gem:
|
|
24
|
+
docquet:
|
|
25
|
+
- config/cops/bundler.yml
|
|
26
|
+
- config/cops/gemspec.yml
|
|
27
|
+
- config/cops/layout.yml
|
|
28
|
+
- config/cops/lint.yml
|
|
29
|
+
- config/cops/metrics.yml
|
|
30
|
+
- config/cops/naming.yml
|
|
31
|
+
- config/cops/performance.yml
|
|
32
|
+
- config/cops/rake.yml
|
|
33
|
+
- config/cops/rspec.yml
|
|
34
|
+
- config/cops/security.yml
|
|
35
|
+
- config/cops/style.yml
|
|
36
|
+
- config/cops/thread_safety.yml
|
|
36
37
|
|
|
38
|
+
inherit_from: .rubocop_todo.yml
|
|
37
39
|
|
|
38
40
|
Style/DisableCopsWithinSourceCodeDirective:
|
|
39
41
|
AllowedCops:
|
data/.rubocop_todo.yml
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
2
|
# `rubocop --auto-gen-config --no-exclude-limit --no-offense-counts --no-auto-gen-timestamp`
|
|
3
|
-
# using RuboCop version 1.
|
|
3
|
+
# using RuboCop version 1.81.7.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
+
|
|
9
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
10
|
+
# Configuration parameters: AllowedCops.
|
|
11
|
+
Style/DisableCopsWithinSourceCodeDirective:
|
|
12
|
+
Exclude:
|
|
13
|
+
- 'lib/gemoji/cli/commands/list.rb'
|
|
14
|
+
|
|
15
|
+
# Configuration parameters: AllowedMethods, RequireForNonPublicMethods.
|
|
16
|
+
Style/DocumentationMethod:
|
|
17
|
+
Exclude:
|
|
18
|
+
- 'lib/gemoji/cli/commands/filter.rb'
|
|
19
|
+
- 'lib/gemoji/cli/commands/list.rb'
|
|
20
|
+
- 'lib/gemoji/cli/commands/version.rb'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [1.1.1] - 2025-11-02
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- Bump minimum version requirement of ruby to 3.2
|
|
7
|
+
|
|
8
|
+
### Development
|
|
9
|
+
- Use Trusted Publishing for RubyGems releases via GitHub Actions OIDC
|
|
10
|
+
|
|
3
11
|
## [1.1.0] - 2025-03-06
|
|
4
12
|
- Loosen version requirement of ruby to 3.2.7
|
|
5
13
|
|
data/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
:construction: **This project is under active development** :construction:
|
|
4
4
|
|
|
5
|
-
A command-line interface for
|
|
5
|
+
A command-line interface for converting emoji codes to Unicode characters and listing available emojis. Built on top of GitHub's [gemoji](https://github.com/github/gemoji) library, this tool provides an easy way to work with emojis in your terminal.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
|
-
- :
|
|
10
|
-
- :
|
|
9
|
+
- :arrows_counterclockwise: Convert GitHub-style emoji codes (`:emoji_name:`) to Unicode characters
|
|
10
|
+
- :page_facing_up: List all available emojis in Markdown or CSV format
|
|
11
11
|
- :computer: Cross-platform support
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
@@ -18,22 +18,16 @@ gem install gemoji-cli
|
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### Filter Emoji Codes
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Convert emoji codes in standard input to Unicode characters:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
|
|
26
|
+
echo "Hello :smile: :wave:" | gemoji filter
|
|
27
|
+
# Output: Hello 😊 👋
|
|
27
28
|
```
|
|
28
29
|
|
|
29
|
-
This will
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
😊 smile - smiling face with smiling eyes
|
|
33
|
-
😃 smiley - grinning face with big eyes
|
|
34
|
-
😄 smile_cat - grinning cat with smiling eyes
|
|
35
|
-
...
|
|
36
|
-
```
|
|
30
|
+
This will convert all valid emoji codes (`:emoji_name:`) to their corresponding Unicode characters. Custom emoji codes will remain unchanged.
|
|
37
31
|
|
|
38
32
|
### List All Emojis
|
|
39
33
|
|
|
@@ -43,6 +37,31 @@ Display all available emojis:
|
|
|
43
37
|
gemoji list
|
|
44
38
|
```
|
|
45
39
|
|
|
40
|
+
By default, this will output a Markdown-formatted table:
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
| Name | Raw |
|
|
44
|
+
|------|-----|
|
|
45
|
+
| :smile: | 😊 |
|
|
46
|
+
| :wave: | 👋 |
|
|
47
|
+
...
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
You can also get the output in CSV format:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
gemoji list --format=csv
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
This will output:
|
|
57
|
+
|
|
58
|
+
```csv
|
|
59
|
+
Name,Raw
|
|
60
|
+
:smile:,😊
|
|
61
|
+
:wave:,👋
|
|
62
|
+
...
|
|
63
|
+
```
|
|
64
|
+
|
|
46
65
|
## Development
|
|
47
66
|
|
|
48
67
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/gemoji/cli/version.rb
CHANGED
data/mise.toml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gemoji-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OZAWA Sakuro
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: csv
|
|
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
96
96
|
requirements:
|
|
97
97
|
- - ">="
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
|
-
version: 3.2.
|
|
99
|
+
version: 3.2.8
|
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
requirements:
|
|
102
102
|
- - ">="
|