slack_alphabetter 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -1
- data/lib/slack_alphabetter/version.rb +1 -1
- data/slack_alphabetter.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47cbe4883d47d4651923d9a31939d300d726b930f1be7b5bf39215b2eb72a045
|
4
|
+
data.tar.gz: 03dfda52ca32b3cce96318cd3e3707aaefc21c60f159e9b26ced05a2392623db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60dd81d4141ca5e68755115bf94792c7f1fef59ec9d85bde18e2bc2410531ff9012e8596764f8800540eae4cd3ddd354c149ff3ff802f922777c24f05ef1c7d0
|
7
|
+
data.tar.gz: 7221556905d1bbea9ac37b6921cfd9be013e2706118d1f3b7a883dcb2f32389a2ecee1b738e8f27ced3a5b3cf299424307628454b20b73c977defdd1e5bea2ea
|
data/README.md
CHANGED
@@ -22,7 +22,27 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
Specify the string to be converted as the argument of the slack_alphabetter command and execute it.
|
26
|
+
|
27
|
+
```
|
28
|
+
% slack_alphabetter "hello world"
|
29
|
+
:alphabet-white-h::alphabet-white-e::alphabet-white-l::alphabet-white-l::alphabet-white-o: :alphabet-white-w::alphabet-white-o::alphabet-white-r::alphabet-white-l::alphabet-white-d:
|
30
|
+
```
|
31
|
+
|
32
|
+
Then, copy and paste the output into slack. The result will be a nice Emoji.
|
33
|
+
|
34
|
+
<img width="350" alt="スクリーンショット 2020-12-14 13 22 18" src="https://user-images.githubusercontent.com/1496543/102040193-667f9180-3e0f-11eb-9606-6a58d4e82712.png">
|
35
|
+
|
36
|
+
|
37
|
+
If you want yellow text, specify it with the `--yellow` option.
|
38
|
+
|
39
|
+
```
|
40
|
+
% slack_alphabetter --yellow "hello world"
|
41
|
+
:alphabet-yellow-h::alphabet-yellow-e::alphabet-yellow-l::alphabet-yellow-l::alphabet-yellow-o: :alphabet-yellow-w::alphabet-yellow-o::alphabet-yellow-r::alphabet-yellow-l::alphabet-yellow-d:
|
42
|
+
```
|
43
|
+
|
44
|
+
<img width="313" alt="スクリーンショット 2020-12-14 13 26 52" src="https://user-images.githubusercontent.com/1496543/102040396-09d0a680-3e10-11eb-8073-9b19d619ab29.png">
|
45
|
+
|
26
46
|
|
27
47
|
## Development
|
28
48
|
|
data/slack_alphabetter.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.description = %q{ Converts alphabetic characters to slack emoji in a nice way. }
|
11
11
|
spec.homepage = "https://github.com/pocari/slack_alphabetter"
|
12
12
|
spec.license = "MIT"
|
13
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
|
14
14
|
|
15
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
16
16
|
spec.metadata["source_code_uri"] = spec.homepage
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack_alphabetter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pocari
|
@@ -45,7 +45,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
46
46
|
- - ">="
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
48
|
+
version: 1.9.3
|
49
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|