imgix-rails 0.1.0 → 0.1.1

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: 57076ae3e45e23986cf73972ab57e6f1ea9c3c4a
4
- data.tar.gz: 1f557d144e7cba2b5e2ed80f37a9fad560594604
3
+ metadata.gz: c11e36bd61de0ee311944ba3ae40b073a0bdeee1
4
+ data.tar.gz: 74613004b24ae423faaaa0655094629135c2bcc2
5
5
  SHA512:
6
- metadata.gz: b08a5cfa44532e6e8269326506fe0b42e013b90ad6c65e667b57713931cefe35e65d81ca4cef10f56f0d74b2ed9df71749016b056c6e29872b862a0be40cb05a
7
- data.tar.gz: c4f19d240009a659fb66ea47ad49347ea2548729353b7223ccaa9b5cf9b47d82809c36cb3ff55a6f361417c6652a3dbf47cb345478b3701f2c8e8a2fd04b41fb
6
+ metadata.gz: 1a8935d342b487022b592ab9e6388ec54cd363ecf846a7d5787f9f0aa23f9c2538d21905e392f0f93a2f7e107ab9eec537ea06bc3d4fbfe135aad0a144a8875f
7
+ data.tar.gz: 9f35f09986c3ad5acaf4e23a6ecca593d14c97eebbfdfe01ca7ff10c313e27f379ddd41f390d5a89430c9b93359469239401d0fdce27fd3e3b3c1ec2236e5e81
@@ -8,9 +8,10 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Imgix::Rails::VERSION
9
9
  spec.authors = ["Kelly Sutton"]
10
10
  spec.email = ["kelly@imgix.com"]
11
+ spec.licenses = ['MIT']
11
12
 
12
13
  spec.summary = %q{Makes integrating imgix into your Rails app easier. It builds on imgix-rb to offer a few Rails-specific interfaces.}
13
- spec.description = %q{Makes integrating imgix into your Rails app easier. It builds on imgix-rb to offer a few Rails-specific interfaces.}
14
+ spec.description = %q{Makes integrating imgix into your Rails app easier. It builds on imgix-rb to offer a few Rails-specific interfaces. Please see https://github.com/imgix/imgix-rails for more details.}
14
15
  spec.homepage = "https://github.com/imgix/imgix-rails"
15
16
 
16
17
  # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
@@ -1,5 +1,5 @@
1
1
  module Imgix
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -86,6 +86,7 @@ module Imgix
86
86
  end
87
87
 
88
88
  def srcset_for(source, options={})
89
+ source = replace_hostname(source)
89
90
  configured_resolutions.map do |resolution|
90
91
  srcset_options = options.slice(*available_parameters)
91
92
  srcset_options[:dpr] = resolution unless resolution == 1
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.0
4
+ version: 0.1.1
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-08-27 00:00:00.000000000 Z
11
+ date: 2015-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: imgix
@@ -87,7 +87,8 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  description: Makes integrating imgix into your Rails app easier. It builds on imgix-rb
90
- to offer a few Rails-specific interfaces.
90
+ to offer a few Rails-specific interfaces. Please see https://github.com/imgix/imgix-rails
91
+ for more details.
91
92
  email:
92
93
  - kelly@imgix.com
93
94
  executables: []
@@ -112,7 +113,8 @@ files:
112
113
  - lib/imgix/railtie.rb
113
114
  - vendor/parameters.json
114
115
  homepage: https://github.com/imgix/imgix-rails
115
- licenses: []
116
+ licenses:
117
+ - MIT
116
118
  metadata:
117
119
  allowed_push_host: https://rubygems.org
118
120
  post_install_message: