locomotivecms_coal 1.0.0.rc3 → 1.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f45c4ff56794a85dbe8029a523dd8dd3e57f1c3
4
- data.tar.gz: b9c1e60e71f162364287c86145edcc87227165d5
3
+ metadata.gz: 46ed6de97f26800c31fe0a7137910f5b4b29dbb6
4
+ data.tar.gz: acf6836a826bf001f345fb5da5b7d70c83bc386d
5
5
  SHA512:
6
- metadata.gz: 9485fcba5873f96b5a99ac0e3a9ee5d02ec9f0726c9ff3de2922b7ecdb47efb3687c27a5a843d897a4454866fd1be632c308a307d9b288bee1c5f20f36542bd1
7
- data.tar.gz: 393012c0bf3f155c09ad687b556890e9507cad4e183681cf6fb87a44f36048bef38f38104f5372306255dd1b53c9f5b2dde5e399d2bcbf7d2b27f55fae0fb8d4
6
+ metadata.gz: 51c084dd74900a89f7c1d51fed8857ffc377f4452006a30701cedc007c245c299a9548c8dcedf601717d65cbaedbc088392bb3e162896ce5be0f7b7735e9d029
7
+ data.tar.gz: dd823284f36754b5509b5b79dc4e6b2a07738367d7c4e0bff682e70c5d9ff4d0b2995d0b39eba341b02d4b4c03ecc4a90ff978fa80626b59ab3e5905a9519611
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- locomotivecms_coal (1.0.0.rc3)
4
+ locomotivecms_coal (1.0.0.rc4)
5
5
  activesupport (~> 4.2.3)
6
6
  faraday (~> 0.9.1)
7
7
  faraday_middleware (~> 0.10.0)
@@ -97,7 +97,10 @@ module Locomotive::Coal
97
97
  str = "http://#{str.to_s}" unless str.to_s =~ /^https?:\/\//
98
98
 
99
99
  URI(str).tap do |uri|
100
- uri.scheme = 'https' if ssl?
100
+ if ssl?
101
+ uri.scheme = 'https'
102
+ uri.port = 443 if uri.port = 80
103
+ end
101
104
 
102
105
  if uri.path == '/' || uri.path.blank?
103
106
  uri.merge!(uri_path)
@@ -3,6 +3,6 @@
3
3
  # 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
4
4
  module Locomotive
5
5
  module Coal
6
- VERSION = '1.0.0.rc3'
6
+ VERSION = '1.0.0.rc4'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotivecms_coal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc3
4
+ version: 1.0.0.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-04 00:00:00.000000000 Z
11
+ date: 2015-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: 1.3.1
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.5.0
184
+ rubygems_version: 2.4.5.1
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform