imgix-rails 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/imgix/rails/version.rb +1 -1
- data/lib/imgix/rails/view_helper.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6368a63259f9b90026ec4c6bc2c746f7255ceff
|
4
|
+
data.tar.gz: ed8f3e587ba83d81b8dd051bb8564e280e93fd11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e6010428c6dc3826689aa3f3cdd4ad66d31e55953ba280a973002eb00e2c23a0ec7725a8eba3c954fbbe3fbda7b855c631a63b672dddffc46bcf6092ddfc7f1
|
7
|
+
data.tar.gz: 2266b84e7e98ddba03c67a9165bc328b183d5ab110f46abdbe7b8a17b0a99e3a0b8113ad307dbe66c48dc89abb2e25fc40d76060527a0672ef76d0682295d65a
|
data/lib/imgix/rails/version.rb
CHANGED
@@ -62,7 +62,8 @@ module Imgix
|
|
62
62
|
opts = {
|
63
63
|
host: imgix[:source],
|
64
64
|
library_param: "rails",
|
65
|
-
library_version: Imgix::Rails::VERSION
|
65
|
+
library_version: Imgix::Rails::VERSION,
|
66
|
+
secure: true
|
66
67
|
}
|
67
68
|
|
68
69
|
if imgix[:secure_url_token].present?
|
@@ -73,6 +74,10 @@ module Imgix
|
|
73
74
|
opts[:include_library_param] = imgix[:include_library_param]
|
74
75
|
end
|
75
76
|
|
77
|
+
if imgix.has_key?(:secure)
|
78
|
+
opts[:secure] = imgix[:secure]
|
79
|
+
end
|
80
|
+
|
76
81
|
@client = ::Imgix::Client.new(opts)
|
77
82
|
end
|
78
83
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imgix-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kelly Sutton
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: imgix
|