ccls-common_lib 4.0.1 → 4.0.2
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 +4 -4
- data/lib/common_lib/action_view_extension/base.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c5c950f8cc1b824b24040adacb64c6582abd1b4
|
|
4
|
+
data.tar.gz: 8dca6c8b602fd17aa0c69ea675983d50a16a5981
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 ) ||
|