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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a19244a08c6368b4f94807aee10ec7ce8009bbc442ff06bb859f5ed8b46fcf08
4
- data.tar.gz: 8e6d56f5be708fe91b79f76ebf6b7743c13ccd801a69c7decafdbd6916569e86
3
+ metadata.gz: 47cbe4883d47d4651923d9a31939d300d726b930f1be7b5bf39215b2eb72a045
4
+ data.tar.gz: 03dfda52ca32b3cce96318cd3e3707aaefc21c60f159e9b26ced05a2392623db
5
5
  SHA512:
6
- metadata.gz: b7fad67c0246d5b82b8842da071fd870f7b1f5bbed1ca61d8b3c7aeefb5f43f588d453c616557cdc4acb01d5eee3ec2b2ff69ceb9dc2d76a7b027bc34b6aac3d
7
- data.tar.gz: efa274d2600b2f27cfad8a0dce7e46baf6f693492236299e74d940b3c6817817fb6f13a964ddcf7dbaf01b4e7087af3fb34f157377fafda9015fc1b57bdd1aa9
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
- TODO: Write usage instructions here
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
 
@@ -1,3 +1,3 @@
1
1
  module SlackAlphabetter
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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(">= 2.0.0")
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.2
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: 2.0.0
48
+ version: 1.9.3
49
49
  required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="