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 +4 -4
- data/.travis.yml +2 -0
- data/README.md +23 -13
- data/bin/console +0 -1
- data/bin/hscode +0 -1
- data/hscode.gemspec +1 -1
- data/lib/hscode/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a277d28d6132a0415c01cfc8b34c1fd236ec6650
|
4
|
+
data.tar.gz: 80107dbdbe3569c6af08d8a31a337a07cb9c02cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
[](https://codebeat.co/projects/github-com-akabiru-hscode) [](https://gemnasium.com/github.com/akabiru/hscode) [](http://inch-ci.org/github/akabiru/hscode) [](https://coveralls.io/github/akabiru/hscode?branch=master) [](https://travis-ci.org/akabiru/hscode)
|
1
|
+
[](https://codebeat.co/projects/github-com-akabiru-hscode) [](https://gemnasium.com/github.com/akabiru/hscode) [](http://inch-ci.org/github/akabiru/hscode) [](https://coveralls.io/github/akabiru/hscode?branch=master) [](https://travis-ci.org/akabiru/hscode) [](https://badge.fury.io/rb/hscode)
|
2
2
|
|
3
3
|
# Hscode
|
4
4
|
|
5
|
-
|
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
|
-
|
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
|
-
|
23
|
+
## Usage
|
22
24
|
|
23
|
-
|
25
|
+
Run a quick lookup
|
24
26
|
|
25
|
-
|
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
|
-
|
37
|
+
In case you forget something; run help.
|
28
38
|
|
29
|
-
|
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
|
-
|
42
|
+
## Screencast
|
43
|
+
[](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/
|
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
data/bin/hscode
CHANGED
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.
|
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)/}) }
|
data/lib/hscode/version.rb
CHANGED
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.
|
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:
|
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.
|
210
|
+
homepage: https://akabiru.github.io/hscode/
|
211
211
|
licenses:
|
212
212
|
- MIT
|
213
213
|
metadata: {}
|