emoji_flag 0.0.1 β†’ 0.0.2

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
- SHA1:
3
- metadata.gz: e3ecbf5458ed4f8bdb1a142d324ed43fb05665c6
4
- data.tar.gz: 3070d84906e3d9c815172e6ad1168196f0af57f6
2
+ SHA256:
3
+ metadata.gz: b3b0d4114ac680dbfb69df90dc8856c1dd1a58b14a7e17916060a121e1ef76ba
4
+ data.tar.gz: 5237c9e13a50c3a05291e8d6146bd3fb94e134142b2101e30164c3489dfddcca
5
5
  SHA512:
6
- metadata.gz: 7097b7cd6a9cdf2ecdad756ab94c30a8973c8d095a4e9f054440c0d554825c4e689b11338f030bad733be9503c330eca0d3be36f2e3677d8a66bcc6c8ef0e2d4
7
- data.tar.gz: 4842cc0fdb4827e0b210333194f1e763eb4b57b3202646a9b0788be8aa798a8918f29edf2f16615f00a789ad48b470617af4a4150ae0c84157e628f28d656dc9
6
+ metadata.gz: 7d371fbbb9e6157b806c41c57ca092fb67aafdd092c4e0ab80439b45acec8ae894c5890ddaa281f8190abb4751845d44f0202415ed896598d873ee04deb9e8b6
7
+ data.tar.gz: ff79245c57c5bf015c6defabdce9c144a0c3dd1d0464b529d3eef908c87274bcde95ef8fcc96d97190e428b42626ce954615ccdc1d4a6e53a46468c0cf3419c5
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.5.1
data/.travis.yml CHANGED
@@ -1,11 +1,21 @@
1
+ env:
2
+ global:
3
+ - CC_TEST_REPORTER_ID=5db559a56b2ea09902ff8bcb2ba495b5089c76205024362a798f9cf88d38db32
4
+
1
5
  language: ruby
2
6
 
7
+ cache: bundler
8
+
3
9
  rvm:
4
- - 2.1.10
5
- - 2.2.6
6
- - 2.3.1
7
- - 2.4.0
8
-
9
- addons:
10
- code_climate:
11
- repo_token: 5db559a56b2ea09902ff8bcb2ba495b5089c76205024362a798f9cf88d38db32
10
+ - 2.3.7
11
+ - 2.4.4
12
+ - 2.5.1
13
+
14
+ before_script:
15
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
16
+ - chmod +x ./cc-test-reporter
17
+ - ./cc-test-reporter before-build
18
+ script:
19
+ - bundle exec rake
20
+ after_script:
21
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
data/Gemfile CHANGED
@@ -1,8 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
5
- group :test do
6
- gem 'codeclimate-test-reporter', '~> 1.0.0'
7
- gem 'simplecov'
8
- end
data/Gemfile.lock CHANGED
@@ -6,8 +6,6 @@ PATH
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- codeclimate-test-reporter (1.0.6)
10
- simplecov
11
9
  coderay (1.1.1)
12
10
  docile (1.1.5)
13
11
  ffi (1.9.17)
@@ -59,7 +57,6 @@ PLATFORMS
59
57
  ruby
60
58
 
61
59
  DEPENDENCIES
62
- codeclimate-test-reporter (~> 1.0.0)
63
60
  emoji_flag!
64
61
  guard (~> 2.14)
65
62
  guard-minitest (~> 2.4)
@@ -67,4 +64,4 @@ DEPENDENCIES
67
64
  simplecov
68
65
 
69
66
  BUNDLED WITH
70
- 1.14.5
67
+ 1.16.2
data/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # EmojiFlag
2
2
 
3
- A simple gem to get the [emoji flag](http://emojipedia.org/flags/) for a [ISO 639-1 language code](http://www.loc.gov/standards/iso639-2/php/English_list.php) or locale id string (LCID).
3
+ A simple gem to get the [emoji flag](http://emojipedia.org/flags/) for an [ISO 639-1 language code](http://www.loc.gov/standards/iso639-2/php/English_list.php) or locale id string (LCID).
4
+
5
+ [![Build Status](https://travis-ci.org/richardvenneman/emoji_flag.svg?branch=master)](https://travis-ci.org/richardvenneman/emoji_flag)
6
+ [![Gem Version](https://badge.fury.io/rb/emoji_flag.svg)](https://badge.fury.io/rb/emoji_flag)
7
+ [![Maintainability](https://api.codeclimate.com/v1/badges/a89942c8e3aca31dfd6a/maintainability)](https://codeclimate.com/github/richardvenneman/emoji_flag/maintainability)
8
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/a89942c8e3aca31dfd6a/test_coverage)](https://codeclimate.com/github/richardvenneman/emoji_flag/test_coverage)
4
9
 
5
10
  ## Usage
6
11
 
@@ -11,7 +16,7 @@ EmojiFlag.new('nl_BE') # => πŸ‡§πŸ‡ͺ
11
16
  EmojiFlag.new('en_US') # => πŸ‡ΊπŸ‡Έ
12
17
  ```
13
18
 
14
- Also supports passing in a symbol language code, making it easy to integrate with Rails' `I18n.available_locale`:
19
+ Also supports passing in a symbol language code, making it easy to integrate with [Rails' `I18n.available_locales`](http://guides.rubyonrails.org/i18n.html]):
15
20
 
16
21
  ```ruby
17
22
  EmojiFlag.new(:de) # => πŸ‡©πŸ‡ͺ
data/emoji_flag.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.email = 'richardvenneman@me.com'
9
9
  s.homepage = 'https://github.com/richardvenneman/emoji_flag'
10
10
  s.summary = 'Emoji country flags for language codes.'
11
- s.description = 'Returns the emoji flag for a ISO 639-1 language code or LCID.'
11
+ s.description = 'Returns the emoji flag for an ISO 639-1 language code or LCID.'
12
12
 
13
13
  s.files = `git ls-files`.split("\n")
14
14
  s.test_files = Dir['test/**/*']
@@ -16,4 +16,5 @@ Gem::Specification.new do |s|
16
16
  s.add_development_dependency 'rake', '~> 12.0'
17
17
  s.add_development_dependency 'guard', '~> 2.14'
18
18
  s.add_development_dependency 'guard-minitest', '~> 2.4'
19
+ s.add_development_dependency 'simplecov'
19
20
  end
@@ -1,3 +1,3 @@
1
1
  module EmojiFlag
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
data/test/test_helper.rb CHANGED
@@ -1,12 +1,6 @@
1
- # Coverage
2
- if ENV['CODECLIMATE_REPO_TOKEN']
3
- require 'codeclimate-test-reporter'
4
- CodeClimate::TestReporter.start
5
- elsif ENV['COVERAGE']
6
- require 'simplecov'
7
- SimpleCov.start do
8
- add_group 'Libraries', 'lib'
9
- end
1
+ require 'simplecov'
2
+ SimpleCov.start do
3
+ add_group 'Libraries', 'lib'
10
4
  end
11
5
 
12
6
  # Source files
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emoji_flag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Venneman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-05 00:00:00.000000000 Z
11
+ date: 2018-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -52,7 +52,21 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.4'
55
- description: Returns the emoji flag for a ISO 639-1 language code or LCID.
55
+ - !ruby/object:Gem::Dependency
56
+ name: simplecov
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Returns the emoji flag for an ISO 639-1 language code or LCID.
56
70
  email: richardvenneman@me.com
57
71
  executables: []
58
72
  extensions: []
@@ -93,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
107
  version: '0'
94
108
  requirements: []
95
109
  rubyforge_project:
96
- rubygems_version: 2.5.1
110
+ rubygems_version: 2.7.6
97
111
  signing_key:
98
112
  specification_version: 4
99
113
  summary: Emoji country flags for language codes.