kokki 0.2.5 → 0.2.6

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: 5c2c83c5f3ff4759a6f79d02d164a11b56773e15ca13396150856486ce7e2685
4
- data.tar.gz: a3dd417445e9724a640875ce2b1ab55a30835387fb51c75166d96c300b16f3c6
3
+ metadata.gz: b386b0bba0359f86e9cac5c2979328fbd407ba6cf9f7db463c9dbf8c55d8e687
4
+ data.tar.gz: 28f43469a8909cb1173468e9091634339fc774f6299c8b15abd7faa5b9b5d96c
5
5
  SHA512:
6
- metadata.gz: b8fb83e290ac1b2c2987d257539bcb33e715c9bad2716f9836f73efc16262cab862603ff6d5dd52d6dbefbee1164cb8d0684fcf176e60e173a86cf3834f47517
7
- data.tar.gz: 578ac0d77f752558f47612017c21e7ff92a25e421d13099ab1b3e3f903e4b96a4c1a8cfd9707c89fada1d210335916160693fd0eeb3f658a315f30181f884c6b
6
+ metadata.gz: 02e1694e13899513fbbafb9a8e62be7c6cb154731f3b37eae23e6438ce6a5d9d56e548050f2e4a2fe3c842586fb6a2061048c69a42ce0996d46b89e8d9eb8241
7
+ data.tar.gz: 2b21283ce46f881013991c1319c5f1f042f0fd975be5fde1d6431716884ffbfa611eda8aa7d5749d8b37b1a905cd7e4c63df5406ce8ee5eaa0e53d563cec4648
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # kokki
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/kokki.svg)](https://badge.fury.io/rb/kokki)
4
- [![Build Status](https://travis-ci.org/ninoseki/kokki.svg?branch=master)](https://travis-ci.org/ninoseki/kokki)
4
+ [![Build Status](https://travis-ci.com/ninoseki/kokki.svg?branch=master)](https://travis-ci.com/ninoseki/kokki)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ninoseki/kokki/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/kokki?branch=master)
6
6
  [![CodeFactor](https://www.codefactor.io/repository/github/ninoseki/kokki/badge)](https://www.codefactor.io/repository/github/ninoseki/kokki)
7
7
 
@@ -11,6 +11,8 @@ A Ruby gem for converting a country name / code & IP address to an emoji flag.
11
11
 
12
12
  ```bash
13
13
  gem install kokki
14
+ # or
15
+ docker pull ninoseki/kokki
14
16
  ```
15
17
 
16
18
  ## Usage
@@ -31,6 +33,10 @@ $ kokki 1.1.1[.]1
31
33
  🇦🇺
32
34
  $ kokki "1.1.1(.)1"
33
35
  🇦🇺
36
+
37
+ # or
38
+ $ docker run --rm ninoseki/kokki Japan
39
+ 🇯🇵
34
40
  ```
35
41
 
36
42
  ### As a library
data/exe/kokki CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "bundler/setup"
4
+ $LOAD_PATH.unshift("#{__dir__}/../lib")
5
+
5
6
  require "kokki"
6
7
 
7
8
  input = ARGV.first || gets
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency "bundler", "~> 2.0"
28
28
  spec.add_development_dependency "coveralls", "~> 0.8"
29
- spec.add_development_dependency "rake", "~> 12.3"
30
- spec.add_development_dependency "rspec", "~> 3.8"
29
+ spec.add_development_dependency "rake", "~> 13.0"
30
+ spec.add_development_dependency "rspec", "~> 3.9"
31
31
  spec.add_development_dependency "vcr", "~> 5.0"
32
32
  spec.add_development_dependency "webmock", "~> 3.7"
33
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kokki
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
5
5
  end
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.2.5
4
+ version: 0.2.6
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-09-28 00:00:00.000000000 Z
11
+ date: 2019-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '12.3'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '12.3'
54
+ version: '13.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '3.8'
61
+ version: '3.9'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '3.8'
68
+ version: '3.9'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: vcr
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.0.4
145
+ rubygems_version: 3.0.3
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Convert a country name / code & IP address to an emoji flag