kokki 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -0
- data/exe/kokki +17 -0
- data/lib/kokki/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8ba825ca1cc842f7f6e6e832122f787a87006008dae07ae1474836358e5efcb
|
4
|
+
data.tar.gz: 60b4e83c2e3af33773e478ce48537bac9d9c0b4b1eb91a4043c550282fc7e377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 878baf28b473bca015f3e13732b24b1f4d2d5ac9d91e3f513d6f8d8c6081cb1df35d0b710a7169ff6eaa60e137ce0116f125a7e53f0e372a7616e49829319e83
|
7
|
+
data.tar.gz: c566a4284612228afeee8010126e514bfbc910d76c8427c3e7d803864bbc6757c9fa949574e1df01b32a5107de893010a7542014ee6367ea50929b8298238aa1
|
data/README.md
CHANGED
data/exe/kokki
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require "bundler/setup"
|
5
|
+
require "kokki"
|
6
|
+
|
7
|
+
input = ARGV.first
|
8
|
+
|
9
|
+
if input
|
10
|
+
begin
|
11
|
+
puts Kokki.flagize(input)
|
12
|
+
rescue Kokki::InvalidInputError => e
|
13
|
+
puts e.message
|
14
|
+
end
|
15
|
+
else
|
16
|
+
puts "Input not found: plase give a word to convert."
|
17
|
+
end
|
data/lib/kokki/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kokki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -111,7 +111,8 @@ dependencies:
|
|
111
111
|
description: Convert a country name / code & IP address to an emoji flag
|
112
112
|
email:
|
113
113
|
- manabu.niseki@gmail.com
|
114
|
-
executables:
|
114
|
+
executables:
|
115
|
+
- kokki
|
115
116
|
extensions: []
|
116
117
|
extra_rdoc_files: []
|
117
118
|
files:
|
@@ -124,6 +125,7 @@ files:
|
|
124
125
|
- Rakefile
|
125
126
|
- bin/console
|
126
127
|
- bin/setup
|
128
|
+
- exe/kokki
|
127
129
|
- kokki.gemspec
|
128
130
|
- lib/kokki.rb
|
129
131
|
- lib/kokki/converter.rb
|