turkish_id 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4684fceace032af39d2544af388d2fdf0ab924a222c1a0e270d0e6aa85e017a
4
- data.tar.gz: f60561764a5b5e51509a1347556ae0ef3783769e298362299506a4407839741b
3
+ metadata.gz: 9eac3dadfaa10f0b48b0711567c152be43e1a52a2b1d6aae7081bb9d0b3d4300
4
+ data.tar.gz: 70be70362c86c833bd7df4bd29a5812d2716d94e2971108857b3ebcd2aaabc15
5
5
  SHA512:
6
- metadata.gz: 3b0430b78f2e136a35f3a260a5b392aecc73a288fd7aeea4c67030d95723977776abc12fc9ab72a13972598e2aaf320fe6cc5667419ce666b8298c8f560445f5
7
- data.tar.gz: 8320d6109db78d527919c117be76a9ea52642f467f41ddcc80cd56f182859fbfbaf2aecf512958b7e1c04628aa68ac0770100c6a8573068c2314114dc0ecbde0
6
+ metadata.gz: 8674f6ce16945bb0babb282683bfd4c9c89a1b30b12df7e13ebf4a430c313f843801ee109bfccd9eb0a16cd1c4de43c0db64cbdfd985f7dc52e194874eb134ee
7
+ data.tar.gz: 77ffc3abbb20c1ffaba1dc12ae06fcbf0be19eef9f962b58483e7c10dad448fabf6eee7293752d094aa91360935ca328c881723f8882178bc25e6e37bf4a0917
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.5.1
1
+ ruby-2.6.0
data/.travis.yml CHANGED
@@ -1,17 +1,19 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - ruby-head
4
+ - 2.6.0
5
+ - 2.5.3
4
6
  - 2.5.1
7
+ - 2.4.5
5
8
  - 2.4.4
6
9
  - 2.3.7
7
10
  - 2.2.10
8
11
  - 2.1.8
9
12
  - 1.9.3
10
13
  before_install:
11
- - gem update --system
12
- - gem --version
13
- - gem install bundler
14
-
14
+ - 'if [[ `ruby -v` =~ 2.2.10 ]]; gem update --system; then gem update --system; else gem update --system 2.7.8; fi'
15
+ - 'gem --version'
16
+ - 'gem install bundler'
15
17
  env:
16
18
  global:
17
19
  - CC_TEST_REPORTER_ID=92655ba2c8b47200f80e996afb80c410b9491514845d414d7517108ad35a5178
data/Gemfile CHANGED
@@ -5,8 +5,7 @@ gemspec
5
5
 
6
6
  group :test do
7
7
  gem 'rake'
8
- gem 'bundler', '~> 1.10'
9
- gem 'rspec', '~> 3.4'
10
- gem 'simplecov', '~> 0.16.1'
11
- gem 'simplecov-console', '~> 0.4.2'
8
+ gem 'bundler'
9
+ gem 'rspec'
10
+ gem 'simplecov'
12
11
  end
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Turkish ID
1
+ # Turkish ID 🔖
2
2
 
3
3
  [![Build Status](https://travis-ci.org/krmbzds/turkish_id.svg?branch=master)](https://travis-ci.org/krmbzds/turkish_id) [![Gem](https://img.shields.io/gem/v/turkish_id.svg)](https://github.com/krmbzds/turkish_id) [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://rubygems.org/gems/turkish_id) [![Gem](https://img.shields.io/gem/dt/turkish_id.svg)](https://rubygems.org/gems/turkish_id) [![Code Climate](https://codeclimate.com/github/krmbzds/turkish_id/badges/gpa.svg)](https://codeclimate.com/github/krmbzds/turkish_id) [![Test Coverage](https://codeclimate.com/github/krmbzds/turkish_id/badges/coverage.svg)](https://codeclimate.com/github/krmbzds/turkish_id/coverage)
4
4
 
@@ -94,24 +94,25 @@ Remember that a valid identification number does not imply the existence of an I
94
94
 
95
95
  ## Support
96
96
 
97
- This gem is used in production and tested against the following Ruby versions: `ruby-head`,  `2.5.1`, `2.4.4`, `2.3.7`, `2.2.10`, `2.1.8`, `1.9.3`. It has no dependencies and will likely work in any Ruby version above `1.9.3`. To make sure there are no breaking changes add it to your Gemfile using the pessimistic operator: `gem 'turkish_id', '~> 0.5.0'`.
98
-
97
+ This gem is used in production and tested against the following Ruby versions: `ruby-head`, `2.6.0`, `2.5.3`, `2.5.1`, `2.4.5`, `2.4.4`, `2.3.7`, `2.2.10`, `2.1.8`, `1.9.3`. It has no dependencies and will likely work in any Ruby version above `1.9.3`. To make sure there are no breaking changes add it to your Gemfile using the pessimistic operator: `gem 'turkish_id', '~> 0.6.0'`.
99
98
 
100
99
  ## Development
101
100
 
102
101
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
103
102
 
104
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
103
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org][RubyGems].
105
104
 
106
105
  ## Contributing
107
106
 
108
- 1. Fork it ( http://github.com/krmbzds/turkish_id/fork )
107
+ 1. [Fork the repository][Fork]
109
108
  2. Create your feature branch (`git checkout -b my-new-feature`)
110
109
  3. Commit your changes (`git commit -am 'Add some feature'`)
111
110
  4. Push to the branch (`git push origin my-new-feature`)
112
111
  5. Create new Pull Request
113
112
 
114
- Bug reports and pull requests are welcome on GitHub at https://github.com/krmbzds/turkish_id.
113
+ ### Donations ❤️
114
+
115
+ You can donate me at [Librepay][Donation]. Thanks! ☕️
115
116
 
116
117
  ## Is it any good?
117
118
 
@@ -119,6 +120,12 @@ Yes.
119
120
 
120
121
  ## License
121
122
 
122
- Copyright © 2015 [Kerem Bozdaş](http://kerembozdas.com/)
123
+ Copyright © 2019 [Kerem Bozdas][Personal Webpage]
124
+
125
+ This gem is available under the terms of the [MIT License][License].
123
126
 
124
- This gem is available under the terms of the [MIT License](https://github.com/krmbzds/turkish_id/blob/master/LICENSE.txt).
127
+ [Donation]: https://liberapay.com/krmbzds/donate
128
+ [Fork]: https://github.com/krmbzds/turkish_id/fork
129
+ [License]: https://kerem.mit-license.org
130
+ [Personal Webpage]: https://kerembozdas.com
131
+ [RubyGems]: https://rubygems.org
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
 
4
4
  RSpec::Core::RakeTask.new(:spec)
data/bin/console CHANGED
@@ -1,14 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "bundler/setup"
4
- require "turkish_id"
3
+ require 'bundler/setup'
4
+ require 'turkish_id'
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
8
8
 
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
9
+ require 'irb'
14
10
  IRB.start
data/lib/turkish_id.rb CHANGED
@@ -1,4 +1,4 @@
1
- require "turkish_id/version"
1
+ require 'turkish_id/version'
2
2
 
3
3
  class TurkishId
4
4
  attr_reader :id_number, :checksum, :elder_relative, :younger_relative
@@ -1,3 +1,3 @@
1
1
  class TurkishId
2
- VERSION = "0.5.0"
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turkish_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kerem Bozdas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-26 00:00:00.000000000 Z
11
+ date: 2019-01-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Validate Turkish Identification Numbers and More!
14
14
  email:
@@ -53,8 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
- rubyforge_project:
57
- rubygems_version: 2.7.6
56
+ rubygems_version: 3.0.1
58
57
  signing_key:
59
58
  specification_version: 4
60
59
  summary: Validate Turkish Identification Numbers and More!