net_http_unix 0.0.1 → 0.2.0

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: 4a6c35985d0dab716b4ae72f6f5c7cb3f0f3e8cf
4
- data.tar.gz: 7bc0ab8098ab7bdbf4741a677d6714d1ec4df1a3
3
+ metadata.gz: 0aae4a297c53e997ac27bbe65c348cf28e90fd92
4
+ data.tar.gz: 562f8a14c19f7920d97ae225ccd76bb52db965bc
5
5
  SHA512:
6
- metadata.gz: 2f613d08d9a0b7d0b643681494a863bed126236b0f70a8a74c558dd78c1e0795717dbb102911f65f787a455a760c233a64a3b0c907468987bf8726147bfa1619
7
- data.tar.gz: 7f99ce396046e0853a29bbfb457cb6d83365f1642b2d2ea860d29a0a14d9dbc394a74977d1de9346f1b30edb2b10666346d7a5e136aa5c788044dc776bc9c272
6
+ metadata.gz: d834b15006ec04e2f0430e456251043935b1cee3e126c1b6c8fe748381ef25e937e5254b56eaa1a36dab4dd6ffbf2588d44ec0faac5c795c9aa5e759a3af1d58
7
+ data.tar.gz: ee7e6b68aa60e81742a3aa7ff4c97608e2c66c1a8efc6f213fa8a8c781f117080209b186ed4c4b0f1c7c7016b09b6375d29651ef37d105cb4ae0eb766994601b
@@ -1,3 +1,10 @@
1
1
  language: ruby
2
+ bundler_args: --without development
3
+ script: "bundle exec rspec spec"
4
+ notifications:
5
+ email: false
2
6
  rvm:
3
7
  - 2.1.1
8
+ - 2.0.0
9
+ - 1.9.3
10
+ - 1.8.7-p374
data/Gemfile CHANGED
@@ -1,5 +1,9 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ group :test do
4
+ gem 'rspec'
5
+ end
6
+
3
7
  group :development do
4
8
  gem 'pry'
5
9
  gem 'guard'
data/README.md CHANGED
@@ -31,7 +31,7 @@ with `NetX::HTTPUnix.start` and `NetX::HTTPUnix.new`.
31
31
  For example a traditional SSL client works as expected:
32
32
 
33
33
  ```ruby
34
- require 'net_x/http_unix'
34
+ require 'net_http_unix'
35
35
  req = Net::HTTP::Get.new("/status.json")
36
36
  client = NetX::HTTPUnix.new('github.com', 443)
37
37
  client.use_ssl = true
@@ -44,7 +44,7 @@ puts resp.body
44
44
  And the corresponding `unix:///path/to/foo.sock` URI syntax:
45
45
 
46
46
  ```ruby
47
- require 'net_x/http_unix'
47
+ require 'net_http_unix'
48
48
  req = Net::HTTP::Get.new("/status.json")
49
49
  client = NetX::HTTPUnix.new('unix:///tmp/unicorn.sock')
50
50
  resp = client.request(req)
@@ -1,4 +1,5 @@
1
1
  require "net_http_unix/version"
2
+ require "net_x/http_unix"
2
3
  require "net/http"
3
4
 
4
5
  module NetHttpUnix
@@ -1,3 +1,3 @@
1
1
  module NetHttpUnix
2
- VERSION = "0.0.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net_http_unix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff McCune
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-15 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler