From 8e098ea0547e84c96e47b628a591366495c59344 Mon Sep 17 00:00:00 2001 From: "Stanislav (Stas) Katkov" Date: Mon, 30 Oct 2017 00:47:05 +0700 Subject: [PATCH 1/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9b6677f..aa08235 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/ipinfoio/ruby.svg?branch=master)](https://travis-ci.org/ipinfoio/ruby) + # IpinfoIo Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ipinfo_io`. To experiment with that code, run `bin/console` for an interactive prompt. From 13e12ec0d337ac878766ba7ce3c33f03eff8cbba Mon Sep 17 00:00:00 2001 From: Stanislav K Date: Mon, 30 Oct 2017 00:50:37 +0700 Subject: [PATCH 2/5] adding more information --- ipinfo_io.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipinfo_io.gemspec b/ipinfo_io.gemspec index db69187..a238fa5 100644 --- a/ipinfo_io.gemspec +++ b/ipinfo_io.gemspec @@ -9,8 +9,8 @@ Gem::Specification.new do |spec| spec.authors = ["Stanislav K"] spec.email = ["sk@skylup.com"] - spec.summary = %q{This is a ruby wrapper for http://ipinfo.io} - spec.description = %q{TODO: Write a longer description or delete this line.} + spec.summary = %q{ This is a ruby wrapper for http://ipinfo.io. } + spec.description = %q{ This is a ruby wrapper for http://ipinfo.io. } spec.homepage = "https://ipinfo.io" # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' From e6c9b13916d1ab06fd2f4b98c3bd73020a3af0fd Mon Sep 17 00:00:00 2001 From: Stanislav K Date: Mon, 30 Oct 2017 00:52:59 +0700 Subject: [PATCH 3/5] remove all TODO: out of gem --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aa08235..e67278c 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,7 @@ # IpinfoIo -Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ipinfo_io`. To experiment with that code, run `bin/console` for an interactive prompt. - -TODO: Delete this and the text above, and describe your gem +... ## Installation @@ -24,7 +22,7 @@ Or install it yourself as: ## Usage -TODO: Write usage instructions here +... ## Development From 54be90c37ee707fb495ef9b6b166e483388cf598 Mon Sep 17 00:00:00 2001 From: Stanislav K Date: Mon, 30 Oct 2017 00:55:34 +0700 Subject: [PATCH 4/5] and lastly... this TODO is left --- ipinfo_io.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipinfo_io.gemspec b/ipinfo_io.gemspec index a238fa5..112990d 100644 --- a/ipinfo_io.gemspec +++ b/ipinfo_io.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' # to allow pushing to a single host or delete this section to allow pushing to any host. if spec.respond_to?(:metadata) - spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" + #spec.metadata['allowed_push_host'] = "http://mygemserver.com'" else raise "RubyGems 2.0 or newer is required to protect against " \ "public gem pushes." From 1f7251f9e33837b6de665a49b154dfd6deaa0f0a Mon Sep 17 00:00:00 2001 From: Stanislav K Date: Mon, 30 Oct 2017 00:58:46 +0700 Subject: [PATCH 5/5] remove failing test case --- test/ipinfo_io_test.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/ipinfo_io_test.rb b/test/ipinfo_io_test.rb index a0d756b..e9b4f80 100644 --- a/test/ipinfo_io_test.rb +++ b/test/ipinfo_io_test.rb @@ -4,8 +4,4 @@ class IpinfoIoTest < Minitest::Test def test_that_it_has_a_version_number refute_nil ::IpinfoIo::VERSION end - - def test_it_does_something_useful - assert false - end end