hscode 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 2055736969d0ddddb095352ed20239b6fb0c42a9
4
- data.tar.gz: 97ba8fe2b210fb928ba6af8601938b47a64a4824
3
+ metadata.gz: a277d28d6132a0415c01cfc8b34c1fd236ec6650
4
+ data.tar.gz: 80107dbdbe3569c6af08d8a31a337a07cb9c02cd
5
5
  SHA512:
6
- metadata.gz: ee15ec11297adb2b110f6850f10c2bd2433623b33a84ba43b8e938d7999d6aa5ac4846c385fcb8f8cd6bed7eaaf08056161aed869c3e2562be7fca7f916cbffd
7
- data.tar.gz: 1f4a8618bc3979adb4154a91e746905ac0c11d0d8d7a08dc64c35fa09a83e02db3190c7e4e3e2e798ae4ec4d1c72e8ebd8ffb84de5aba4974c9cf33cdf6c2356
6
+ metadata.gz: c235ef44e741370fd0e5aea54b146615ddd61962140151e4afecfda38df0f5c177a4e66c4f4a17884e17bf9b14486fa947e2716309a851b19e931b574d3f65b9
7
+ data.tar.gz: 6e02f4426fc6e10d7392a17479215b5dfc0764c9a66b38b95d6aded5e430b291c2227bd51b1abb03e194ef9c5496b3e79bc7efe3782e6bcd78a1fee06842d4e6
data/.travis.yml CHANGED
@@ -9,4 +9,6 @@ deploy:
9
9
  provider: rubygems
10
10
  api_key:
11
11
  secure: cd9ccxc+uEbo+ibEVEsDdgbFEjjoWrNfh6JJmtVvkJW25pyNj/kUhUcguCGobUH5o/3HqYBAQMggiT1haV3fzOA+Lp1NEu1EfECtqh9+JNZBqjx1EXn7EGV/M2I5rsxiaWtn6mtPHiKOC6DZMsgZZ1t/n8E9W5w91eqSeSBfsA0lE5juAbNJN4hjB9vFa9/VO0ZcfI9NDyhjYTzZdE058TZ0PANO773k8g252qdtUYDpx7g8TrUlNZzDEcP/Dodq46doNUxJvxz/TI4YyOJ2gA+SkyA93gHcW73ZddR5A7dwOq1DTHvJqlk9Xg5OAF5UqItvYkYlCYyUmFvmcy7HNVEPiImxmvV07W3O/inTiYqn4h8VYyHrYIRdK8T3hSKqocUGbboTclZ7wPUfBKvW9L3AXNLk7OGMclET0zAgXGETJnbPSApqFG9Y36IN+pRfCjrnqrzopb37lc0qai+PzN/VoKWyNqnbO7iYlnuFeGr4+gV3GBN73xkmJEa/hD6G5IOCtFK1cLVTATIiDNBE3NU06n6LD2z9geCpLYHBdswcFAb7CGhgTTxsU1sgcnu3uBOJDxBjGtb42bt54XX90aR2HCgQbarlA22xq+sXvjpvF1382j/fhqNnZyYH91+dHM9qVde7Yiw8waIdZP347BrUZmLRDo3AOhNuDj9b2pw=
12
+ on:
13
+ tags: true
12
14
  gem: hscode
data/README.md CHANGED
@@ -1,14 +1,16 @@
1
- [![codebeat badge](https://codebeat.co/badges/b4067adc-06cb-4142-a985-519555be3070)](https://codebeat.co/projects/github-com-akabiru-hscode) [![Dependency Status](https://gemnasium.com/badges/github.com/akabiru/hscode.svg)](https://gemnasium.com/github.com/akabiru/hscode) [![Inline docs](http://inch-ci.org/github/akabiru/hscode.svg?branch=master)](http://inch-ci.org/github/akabiru/hscode) [![Coverage Status](https://coveralls.io/repos/github/akabiru/hscode/badge.svg?branch=master)](https://coveralls.io/github/akabiru/hscode?branch=master) [![Build Status](https://travis-ci.org/akabiru/hscode.svg?branch=master)](https://travis-ci.org/akabiru/hscode)
1
+ [![codebeat badge](https://codebeat.co/badges/b4067adc-06cb-4142-a985-519555be3070)](https://codebeat.co/projects/github-com-akabiru-hscode) [![Dependency Status](https://gemnasium.com/badges/github.com/akabiru/hscode.svg)](https://gemnasium.com/github.com/akabiru/hscode) [![Inline docs](http://inch-ci.org/github/akabiru/hscode.svg?branch=master)](http://inch-ci.org/github/akabiru/hscode) [![Coverage Status](https://coveralls.io/repos/github/akabiru/hscode/badge.svg?branch=master)](https://coveralls.io/github/akabiru/hscode?branch=master) [![Build Status](https://travis-ci.org/akabiru/hscode.svg?branch=master)](https://travis-ci.org/akabiru/hscode) [![Gem Version](https://badge.fury.io/rb/hscode.svg)](https://badge.fury.io/rb/hscode)
2
2
 
3
3
  # Hscode
4
4
 
5
- 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/hscode`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
- TODO: Delete this and the text above, and describe your gem
5
+ Hscode is a simple `HTTP` status code lookup tool. Lookup that status code at the comfort of your own terminal.😎
8
6
 
9
7
  ## Installation
10
8
 
11
- Add this line to your application's Gemfile:
9
+ Install it yourself as:
10
+
11
+ $ gem install hscode
12
+
13
+ Or Add this line to your application's Gemfile:
12
14
 
13
15
  ```ruby
14
16
  gem 'hscode'
@@ -18,23 +20,31 @@ And then execute:
18
20
 
19
21
  $ bundle
20
22
 
21
- Or install it yourself as:
23
+ ## Usage
22
24
 
23
- $ gem install hscode
25
+ Run a quick lookup
24
26
 
25
- ## Usage
27
+ $ hscode -c 200
28
+
29
+ For a more comprehensive description, run verbosely.
30
+
31
+ $ hscode -c 200 -v
32
+
33
+ List all status codes
34
+
35
+ $ hscode -l
26
36
 
27
- TODO: Write usage instructions here
37
+ In case you forget something; run help.
28
38
 
29
- ## Development
39
+ $ hscode -h
30
40
 
31
- 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.
32
41
 
33
- 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).
42
+ ## Screencast
43
+ [![asciicast](https://asciinema.org/a/9vjzetmxefd86dxymbr969et2.png)](https://asciinema.org/a/9vjzetmxefd86dxymbr969et2)
34
44
 
35
45
  ## Contributing
36
46
 
37
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hscode. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
47
+ Bug reports and pull requests are welcome on GitHub at https://github.com/akabiru/hscode. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
38
48
 
39
49
 
40
50
  ## License
data/bin/console CHANGED
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
3
  require 'hscode'
5
4
 
6
5
  require 'pry'
data/bin/hscode CHANGED
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
3
  require 'hscode'
5
4
 
6
5
  Hscode::CliController.call(ARGV)
data/hscode.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = %q{A HTTP status code lookup command line tool.}
14
14
  spec.description = %q{Quickly look up any status code without leaving your terminal.}
15
- spec.homepage = 'https://github.com/akabiru/hscode'
15
+ spec.homepage = 'https://akabiru.github.io/hscode/'
16
16
  spec.license = 'MIT'
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -1,3 +1,3 @@
1
1
  module Hscode
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hscode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Herbert Kagumba
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-13 00:00:00.000000000 Z
12
+ date: 2017-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -207,7 +207,7 @@ files:
207
207
  - lib/hscode/input_parser.rb
208
208
  - lib/hscode/pretty_print.rb
209
209
  - lib/hscode/version.rb
210
- homepage: https://github.com/akabiru/hscode
210
+ homepage: https://akabiru.github.io/hscode/
211
211
  licenses:
212
212
  - MIT
213
213
  metadata: {}