ccls-common_lib 4.0.1 → 4.0.2

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: 9c5934e4ece97a6567e092bd547b2ae3e44e7303
4
- data.tar.gz: 26589f9dabf0336ef79fbb0655c2a3dca0955f5e
3
+ metadata.gz: 2c5c950f8cc1b824b24040adacb64c6582abd1b4
4
+ data.tar.gz: 8dca6c8b602fd17aa0c69ea675983d50a16a5981
5
5
  SHA512:
6
- metadata.gz: f67d10bd315d3516b0d68fe55e4b9143bb1973a94c75b80c349d4f5a2a8651453a73adbe59631176681a3391257ce54fcc3a84bd22bc714c686b42370718e51f
7
- data.tar.gz: fdb94ec90840ac18c67b5e4f5a461654dc2f7838a883045ceab501b4939b98dd66340fe10315eea8d01169b06a092c507f440f4fd961d6901028d96ef6520ac6
6
+ metadata.gz: 4197016b80cb37db4f132ab0a105456822c75af97d9eab1475840e2bf1e27d689bbc2df82ade46d9b4be0b857bdc5f3cbe30b866c164fa99109f1bd7cf3b416a
7
+ data.tar.gz: 2b0d004a20c4f8c23936efb0519592545098f939ce021745d5851add56c416050312021d5bcddba856ef883963d98289194adda1a58b5921c5b930e43c3f4e03
@@ -192,7 +192,10 @@ module CommonLib::ActionViewExtension::Base
192
192
  def aws_image_tag(image,options={})
193
193
  # in console @controller is nil
194
194
  # rails 4 this seems to be controller not @controller now
195
- protocol = controller.try(:request).try(:protocol) || 'http://'
195
+ # protocol = controller.try(:request).try(:protocol) || 'http://'
196
+ # production returns http:// even when it is clearly https:// ?
197
+ # double slash seems to make everyone happy
198
+ protocol = '//' #controller.try(:request).try(:protocol) || '//'
196
199
  host = 's3.amazonaws.com/'
197
200
  # bucket = ( defined?(RAILS_APP_NAME) && RAILS_APP_NAME ) || 'ccls'
198
201
  bucket = ( defined?(RAILS_APP_NAME) && RAILS_APP_NAME ) ||
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ccls-common_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - George 'Jake' Wendt