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 +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +6 -4
- data/Gemfile +3 -4
- data/README.md +15 -8
- data/Rakefile +1 -1
- data/bin/console +3 -7
- data/lib/turkish_id.rb +1 -1
- data/lib/turkish_id/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9eac3dadfaa10f0b48b0711567c152be43e1a52a2b1d6aae7081bb9d0b3d4300
|
|
4
|
+
data.tar.gz: 70be70362c86c833bd7df4bd29a5812d2716d94e2971108857b3ebcd2aaabc15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8674f6ce16945bb0babb282683bfd4c9c89a1b30b12df7e13ebf4a430c313f843801ee109bfccd9eb0a16cd1c4de43c0db64cbdfd985f7dc52e194874eb134ee
|
|
7
|
+
data.tar.gz: 77ffc3abbb20c1ffaba1dc12ae06fcbf0be19eef9f962b58483e7c10dad448fabf6eee7293752d094aa91360935ca328c881723f8882178bc25e6e37bf4a0917
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-2.
|
|
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
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Turkish ID
|
|
1
|
+
# Turkish ID 🔖
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/krmbzds/turkish_id) [](https://github.com/krmbzds/turkish_id) [](https://rubygems.org/gems/turkish_id) [](https://rubygems.org/gems/turkish_id) [](https://codeclimate.com/github/krmbzds/turkish_id) [](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`,
|
|
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]
|
|
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
|
|
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
|
-
|
|
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 ©
|
|
123
|
+
Copyright © 2019 [Kerem Bozdas][Personal Webpage]
|
|
124
|
+
|
|
125
|
+
This gem is available under the terms of the [MIT License][License].
|
|
123
126
|
|
|
124
|
-
|
|
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
data/bin/console
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
|
-
require
|
|
4
|
-
require
|
|
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
|
-
|
|
10
|
-
# require "pry"
|
|
11
|
-
# Pry.start
|
|
12
|
-
|
|
13
|
-
require "irb"
|
|
9
|
+
require 'irb'
|
|
14
10
|
IRB.start
|
data/lib/turkish_id.rb
CHANGED
data/lib/turkish_id/version.rb
CHANGED
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.
|
|
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:
|
|
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
|
-
|
|
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!
|