viaduct-api 1.0.2 → 1.0.3

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: fd1088c8fe5bb15a57a33efb37506caef6e9f176
4
- data.tar.gz: 44b43f55ea356749e71a99dc5faafeecf6c317b2
3
+ metadata.gz: df9c90b5f70027eecbcd33f1986cbb2bbaaf44cf
4
+ data.tar.gz: 49376467e54c2311b20e424aef9de5822e12342c
5
5
  SHA512:
6
- metadata.gz: c167eb3faba2ff66f7d9dbae3af5ecd1d2b9000cbaa39d137c13dc897902a71c0e02e037d46b8026742b79bcf729d1a19d70ee9c2818c71f7f9e7984528428f2
7
- data.tar.gz: 28fff9aa2ebb821d0d29a5846c29ce2c4422ce9d2d0a519794b797eb06d0bab1965c0b9977d669b07151f0bac05211408939967bbec993886f75e0da8bb499a2
6
+ metadata.gz: e171f5effce4afcad3b15aea6f5d38a9671618d7ef6541a10a3746cf8fb1d80cc965a7f5b5ff810d6e525584407c929a3a2b630918985e9072af4a25d56ae0ba
7
+ data.tar.gz: e864dea784ed08bed2c8e23b677b861586812c236858c84bec4bd838235daf37217ade4fddf8a7d6000f1316dae9f3989c6be1bfc8fb7f6dfddb92f6a2e5d2cf
@@ -1,5 +1,5 @@
1
1
  module Viaduct
2
2
  module API
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
data/lib/viaduct/api.rb CHANGED
@@ -15,7 +15,7 @@ module Viaduct
15
15
  end
16
16
 
17
17
  def port
18
- @port || ENV['VIADUCT_API_PORT'] || (self.ssl? ? 443 : 80)
18
+ @port || ENV['VIADUCT_API_PORT'] || (self.ssl ? 443 : 80)
19
19
  end
20
20
 
21
21
  def application_token
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viaduct-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke