runc 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +35 -34
  4. data/lib/runc/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d837fafcbecec72450d914077c27381577e9fc41276c1588a51c2e077a84049
4
- data.tar.gz: 1a132676d6085787317563410e25bb4f8ba4bd44e2b4c265adaac07fee3e17e0
3
+ metadata.gz: a0a24175e03440ea410f16a858abdcb0c9c4c081f9b67f9b1510a84994269f2f
4
+ data.tar.gz: 7ceb92c4e998b82ade9b90cc7ff4fa1a65bfd1442730f5e45e6a42336fe2ba2e
5
5
  SHA512:
6
- metadata.gz: 72242f3c2615694312c2245fbcbe72bcb543e53b158283a19089952666d56c0e7e58e60d857d809d673e8a1ea8c5634a9952fe2eca5f5dd97b2d4fc51f2b6ee1
7
- data.tar.gz: 1a29413451f55062ac4a6576627873ecdd466f205442d8373c33293e671194d4df80fc43aa357d80fb758b6c9e7f05d7ff7544ad2835be408787318e6a28973a
6
+ metadata.gz: 1e5fcf6bb79d73389c123463a00499a8263debab70eec8e6eb34c68323daab97e904e7a3b29345184a2da509387619b5e87eee6cabd53c7cd19d8f77d0ea2b80
7
+ data.tar.gz: 852665497b518679b0e044f444c70b71a7ff84268921ce0788a7c54554a8d1c54511f03cd6bc8734dd596a93c9bd5f204f436efa6152126ae747d46f15758116
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runc (0.1.7)
4
+ runc (0.1.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,40 +1,41 @@
1
1
  # Runc
2
2
 
3
- 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/runc`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'runc'
3
+ [Runc] (pronounced "runk") is a network communication repl inspired by netcat and curl. In contrast to those tools, runc is simpler and faster to use:
4
+
5
+ ```bash
6
+ $ runc -h
7
+ -B, --no-body discard the response body
8
+ -H, --no-header discard the response header
9
+ -h, --help print this message
10
+ -n, --host host name (default 'localhost')
11
+ -p, --port port (default 8000)
12
+ -v, --version print runc version
13
+
14
+ $ runc -B -p 443 -n sergioro.mx
15
+ header>
16
+ request>
17
+ > host: sergioro.mx
18
+ >
19
+ < HTTP/1.1 200 OK
20
+ < date: Mon, 27 Apr 2020 06:08:17 GMT
21
+ < ...
22
+ <
23
+ header> host: localhost, port: 8000
24
+ request> get /index.html
25
+ > host: localhost
26
+ >
27
+ < HTTP/1.1 200 OK
28
+ < content-type: text/html
29
+ < ...
30
+ <
13
31
  ```
14
32
 
15
- And then execute:
16
-
17
- $ bundle install
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install runc
22
-
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- 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).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/runc.
36
-
33
+ Features and ProTips:
37
34
 
38
- ## License
35
+ - Runc relies on standard library features and has zero external dependencies.
36
+ - The default request is `GET /`.
37
+ - An empty response/header fallbacks to it's previous value.
38
+ - Case-insensitive HTTP verbs.
39
+ - Runc stands for "run connection"
39
40
 
40
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
+ [runc]: https://rubygems.org/gems/runc
data/lib/runc/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class Runc
2
2
  # :nodoc
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - sergioro