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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c11e36bd61de0ee311944ba3ae40b073a0bdeee1
4
- data.tar.gz: 74613004b24ae423faaaa0655094629135c2bcc2
3
+ metadata.gz: d6368a63259f9b90026ec4c6bc2c746f7255ceff
4
+ data.tar.gz: ed8f3e587ba83d81b8dd051bb8564e280e93fd11
5
5
  SHA512:
6
- metadata.gz: 1a8935d342b487022b592ab9e6388ec54cd363ecf846a7d5787f9f0aa23f9c2538d21905e392f0f93a2f7e107ab9eec537ea06bc3d4fbfe135aad0a144a8875f
7
- data.tar.gz: 9f35f09986c3ad5acaf4e23a6ecca593d14c97eebbfdfe01ca7ff10c313e27f379ddd41f390d5a89430c9b93359469239401d0fdce27fd3e3b3c1ec2236e5e81
6
+ metadata.gz: 5e6010428c6dc3826689aa3f3cdd4ad66d31e55953ba280a973002eb00e2c23a0ec7725a8eba3c954fbbe3fbda7b855c631a63b672dddffc46bcf6092ddfc7f1
7
+ data.tar.gz: 2266b84e7e98ddba03c67a9165bc328b183d5ab110f46abdbe7b8a17b0a99e3a0b8113ad307dbe66c48dc89abb2e25fc40d76060527a0672ef76d0682295d65a
@@ -1,5 +1,5 @@
1
1
  module Imgix
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -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.1.1
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-01 00:00:00.000000000 Z
11
+ date: 2015-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: imgix