jekyll-s3 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,10 @@
2
2
 
3
3
  This project uses [Semantic Versioning](http://semver.org).
4
4
 
5
+ ## 3.1.1
6
+
7
+ * Pass the file reference to each thread
8
+
5
9
  ## 3.1.0
6
10
 
7
11
  * Upload files in parallel
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "jekyll-s3"
6
- s.version = "3.1.0"
6
+ s.version = "3.1.1"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Philippe Creux", "Lauri Lehmijoki"]
9
9
  s.email = ["pcreux@gmail.com", "lauri.lehmijoki@iki.fi"]
@@ -61,7 +61,7 @@ module Jekyll
61
61
 
62
62
  def self.upload_in_parallel(files_to_upload, s3, config, site_dir)
63
63
  threads = files_to_upload.map do |f|
64
- Thread.new {
64
+ Thread.new(f) { |f|
65
65
  upload_file(f, s3, config, site_dir)
66
66
  }
67
67
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: