Skip to content

Commit

Permalink
update documatation after pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikay committed Sep 3, 2015
1 parent 2d85886 commit c23860c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down
Binary file added tc_validator-0.1.2.gem
Binary file not shown.
9 changes: 1 addition & 8 deletions tc_validator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

Expand Down

0 comments on commit c23860c

Please sign in to comment.