dragonfly 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.md +6 -0
- data/README.md +1 -1
- data/lib/dragonfly/content.rb +5 -0
- data/lib/dragonfly/version.rb +1 -1
- data/spec/dragonfly/content_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afe5f948bd5e670d97c683750532bb5612d5f754
|
|
4
|
+
data.tar.gz: 9d267698e7df156ccae311e7ab79b66989d89343
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3e76e51825eb12335a794e48c017d86f695ee9b43164c048f0dde267da4ac9b5c9a8bf0c6e9936f3daa4c6f12255257933b3148664e8d66973ff403d72e9cd1
|
|
7
|
+
data.tar.gz: 9f256720478cc17ae88e32a3264db632b439283cedb8d3deb2989f1b6ec3802fbfa11acc521cfed55ba23af90f229c72e00b4558b564c9b8b24f3d0ce0a69410
|
data/History.md
CHANGED
data/README.md
CHANGED
data/lib/dragonfly/content.rb
CHANGED
data/lib/dragonfly/version.rb
CHANGED
|
@@ -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.
|
|
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:
|
|
11
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|