rails_responsive_images 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: 843b8ec2d4b097ea84360d505d967f80bc26eed4
4
- data.tar.gz: 00becd925cc066477f201671c119c0566e29fdb6
3
+ metadata.gz: 59ade105b571cef7d92a16d3d349ec52b4f2334f
4
+ data.tar.gz: 99f0e9086bf3d309aca45a906eace0138556ecfd
5
5
  SHA512:
6
- metadata.gz: eb312fc7220ea6e51af9d00f1e56dc3e54e1ad5b8b934ac833089cb6a26e20eff66d2506fa50388de44c0c1cc6f79ab0d5259e2e8b613c80688e4e559508bca1
7
- data.tar.gz: 07507cd44debe7ded4894ccffd313cc75758f26f788007d19de0700c790a4cf8f81e521f3cf064fbe6373df9bb5a5e2f64b1e456cbca49e8bbff3a6cb5a95b9f
6
+ metadata.gz: 93280611f078431d0683c57ec55a61a37ec887d07a8463d6806d9cccb30005870893ebc1ba3d127555aeb71e165d6b19108ebe1d5879e3d912e893513fa5a4a0
7
+ data.tar.gz: 52b11fbd9fa2f9358f89820c4a8008ae36ba9b04e82d46469d7fb984ba0f2b073a5e5cc86147c8be1a90096c700feb444ca4bdc3a2707174d4bda29024bddfd1
@@ -1,3 +1,3 @@
1
1
  module RailsResponsiveImages
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -17,14 +17,14 @@ namespace :rails_responsive_images do
17
17
  RakeFileUtils.verbose(false)
18
18
  start_time = Time.now
19
19
 
20
- file_list = FileList.new(Rails.root.join('app', 'assets', 'images/**/*.{gif,jpeg,jpg,png}').to_s) do |f|
20
+ file_list = ::FileList.new(Rails.root.join('app', 'assets', 'images/**/*.{gif,jpeg,jpg,png}').to_s) do |f|
21
21
  f.exclude(/(responsive_images_)\d+/)
22
22
  end
23
23
 
24
24
  puts "\nResize #{ file_list.size } image files."
25
25
 
26
26
  ::RailsResponsiveImages.configuration.image_sizes.each do |size|
27
- file_list.split(' ').first.each do |original_filepath|
27
+ file_list.to_a.each do |original_filepath|
28
28
  filepath = original_filepath.gsub(Rails.root.join('app', 'assets', 'images').to_s, '')
29
29
  responsive_filepath = Rails.root.join('app', 'assets', 'images', "responsive_images_#{size}", filepath.sub(/\A\//, ''))
30
30
  ::RailsResponsiveImages::Image.instance.create_responsive_folder!(responsive_filepath)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_responsive_images
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
  - Christoph Chilian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-20 00:00:00.000000000 Z
11
+ date: 2015-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler