dragonfly 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of dragonfly might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e466fa10768e501d79f3b6239d45b22d2e5a076
4
- data.tar.gz: 72fde21f3ab21c60720fab09cfc7548de18bfd1e
3
+ metadata.gz: afe5f948bd5e670d97c683750532bb5612d5f754
4
+ data.tar.gz: 9d267698e7df156ccae311e7ab79b66989d89343
5
5
  SHA512:
6
- metadata.gz: d0243d1ce6216d43b2449ac5d4e6296ee82d291c32501a1f3b0540b41d1906f9795a58ef1383df52b2fae6e14086debbc0368724a1b6c7a6e487e5f0cc17b709
7
- data.tar.gz: f18f63bd5c9e1b2f0e0fc3609eaced84d22efb4689267d27f9ff944c3ec168e90e477b86cef9f953e6e068435e030dc23bcc8d38b8a155be663e1b5aa62437d4
6
+ metadata.gz: e3e76e51825eb12335a794e48c017d86f695ee9b43164c048f0dde267da4ac9b5c9a8bf0c6e9936f3daa4c6f12255257933b3148664e8d66973ff403d72e9cd1
7
+ data.tar.gz: 9f256720478cc17ae88e32a3264db632b439283cedb8d3deb2989f1b6ec3802fbfa11acc521cfed55ba23af90f229c72e00b4558b564c9b8b24f3d0ce0a69410
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.0.3 (2014-01-28)
2
+ ===================
3
+ Fixes
4
+ -----
5
+ - changing meta on a job (e.g. `fetch('blah').encode('jpg')`) was interfering with meta on its parent job (e.g. `fetch('blah')`)
6
+
1
7
  1.0.2 (2013-12-20)
2
8
  ===================
3
9
  Fixes
data/README.md CHANGED
@@ -54,7 +54,7 @@ Installation
54
54
 
55
55
  or in your Gemfile
56
56
  ```ruby
57
- gem 'dragonfly', '~> 1.0.2'
57
+ gem 'dragonfly', '~> 1.0.3'
58
58
  ```
59
59
 
60
60
  Require with
@@ -27,6 +27,11 @@ module Dragonfly
27
27
  update(obj, meta)
28
28
  end
29
29
 
30
+ # Used by 'dup' and 'clone'
31
+ def initialize_copy(other)
32
+ self.meta = meta.dup
33
+ end
34
+
30
35
  attr_reader :app
31
36
  def_delegators :app,
32
37
  :analyser, :generator, :processor, :shell, :datastore, :env
@@ -1,3 +1,3 @@
1
1
  module Dragonfly
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
@@ -35,6 +35,15 @@ describe Dragonfly::Content do
35
35
  content.add_meta('wassup' => 'guys?').should == content
36
36
  content.meta.should == {'hello' => 'there', 'wassup' => 'guys?'}
37
37
  end
38
+
39
+ it "doesn't interfere with other content meta" do
40
+ content.meta = {'test' => 'one'}
41
+ content2 = content.dup
42
+ content2.meta['test'] = 'two'
43
+
44
+ content.meta['test'].should == 'one'
45
+ content2.meta['test'].should == 'two'
46
+ end
38
47
  end
39
48
 
40
49
  describe "name" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dragonfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-20 00:00:00.000000000 Z
11
+ date: 2014-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack