diff --git a/README.md b/README.md index c88656e..7e0785f 100644 --- a/README.md +++ b/README.md @@ -40,28 +40,12 @@ TcValidator.check_tc_id('xxxxxxxxxxx', 'Sadık', 'Ay', '19xx') ``` ```ruby -# if 'xxxxxxxxxxx' square with TC Kimlik No Algorithm and other parameters square with Faruk's infos +# if 'xxxxxxxxxxx' square with TC Kimlik No Algorithm and other parameters square with Kerim's infos # The below command returns true TcValidator.check_tc_id('xxxxxxxxxxx', 'Kerim Rıza', 'Karalı', '19xx') => true ``` -```ruby -# If TC ID doesn't square with TC Kimlik No Algorithm -# The above command returns 'Invalid TC ID' -TcValidator.check_tc_id('11111111111', 'Ekin', 'Kara', '19xx') -=> Invalid TC ID -``` - -## Development - -After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt -that will allow you to experiment. - -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` to create a git tag for the version, push git -commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). - ## Contributing 1. Fork it ( https://github.com/sadikay/tc_validator/fork ) diff --git a/tc_validator-0.1.2.gem b/tc_validator-0.1.2.gem new file mode 100644 index 0000000..d29c381 Binary files /dev/null and b/tc_validator-0.1.2.gem differ diff --git a/tc_validator.gemspec b/tc_validator.gemspec index c1acdd0..a397518 100644 --- a/tc_validator.gemspec +++ b/tc_validator.gemspec @@ -13,13 +13,7 @@ Gem::Specification.new do |spec| spec.description = %q{TcValidator can validate TR ID from https://tckimlik.nvi.gov.tr.} spec.homepage = "https://github.com/sadikay/tcvalidator" - # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or - # delete this section to allow pushing this gem to any host. - if spec.respond_to?(:metadata) - spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" - else - raise "RubyGems 2.0 or newer is required to protect against public gem pushes." - end + # spec.rubyforge_project = "tc_validator" spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = "exe" @@ -28,7 +22,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.9" spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "savon" spec.add_development_dependency "activesupport" spec.add_development_dependency "rspec"