rest_shifter 0.0.21 → 0.0.22

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: 29db4962f990d5e07a04cc2f38baeccbab533323
4
- data.tar.gz: 2e2bccf67152a25f8e0bc3fbb87a5b859c50a87d
3
+ metadata.gz: 8c4241d92373da3d6500848b6f34ba3b06c69647
4
+ data.tar.gz: b3da4e6765b687e46f0938682dc2f56f4ae03c34
5
5
  SHA512:
6
- metadata.gz: 9bb60173eb93770da64a26449d2c1a68267223a25db041238c24a20c8cbed15745497c5ba52973c41c1742fd9fb670758a3ac26773c2a57141712ad7d9eb937c
7
- data.tar.gz: 95c0e75d7bbf9efd18c947634e60b62ed75a77b49b7a09c0a745f96e860a29a23bd4f317c3deff4c2aca0632fb8992621027c711045bac93aebba66d7e150db0
6
+ metadata.gz: e19998b977379a5b39215501dafe68dff0decbe92bc93144906ec4f0af6f3e82c0c5008948b165e5c0f4d48fd5b46ee8c7ad07c20cf02bc7cd709ac24ac7b756
7
+ data.tar.gz: 67f48c7f47ed5e39f189a97577d5336812809e44858a37c49bb3bf06804efe1990068816a1d0bbba002f17683cbf212fbea9c692498ebfe5a93840ad9b114da1
data/CHANGES CHANGED
@@ -1,4 +1,8 @@
1
1
 
2
+ ** 0.0.22
3
+ - Bugfix
4
+ -- Binding host. Access from outside of localhost is finally fixed.
5
+
2
6
  ** 0.0.21
3
7
  - Bugfix
4
8
  -- Adding bind to shifter class
@@ -10,7 +10,7 @@ class Shifter < Sinatra::Base
10
10
  def self.run_ssl! port, crt, key
11
11
  server_options = {
12
12
  :Port => port.to_i,
13
- :Bind => '0.0.0.0',
13
+ :Host => bind,
14
14
  :SSLEnable => true,
15
15
  :SSLCertificate => OpenSSL::X509::Certificate.new(File.open(crt).read),
16
16
  :SSLPrivateKey => OpenSSL::PKey::RSA.new(File.open(key).read),
@@ -1,3 +1,3 @@
1
1
  module RestShifter
2
- VERSION = "0.0.21"
2
+ VERSION = "0.0.22"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_shifter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camilo Ribeiro