dbd 0.1.0 → 0.1.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed47e26ab5f04fb2e7fa450d5b860ab378d45fda
|
|
4
|
+
data.tar.gz: 115189a8d9c1ac840184197596a9f177962e68a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74e8bbaa0cf891b3107c7c2c65df45c373caa609a953f56d53f890bd3d34dd282498207ac3c752a960ea40ce986b5f87e67029d5391d0961ca5b38c2f0a8aad8
|
|
7
|
+
data.tar.gz: 3848ac56a31c28e161adac74c1fc0b7229e33b536f4fb8d20b99a68a907d94b576078b5e5c30411720001912b74bd647938cb2eaa2221c38f880157514e59bd0
|
data/HISTORY.txt
CHANGED
|
@@ -131,3 +131,8 @@
|
|
|
131
131
|
* Graph#subjects method removed
|
|
132
132
|
* Graph#resource_subjects and Graph#Fact::Context.context_subjects added
|
|
133
133
|
* Graph#resources and Graph#contexts added
|
|
134
|
+
|
|
135
|
+
0.1.1 (26 Oct 2013)
|
|
136
|
+
=====
|
|
137
|
+
|
|
138
|
+
* Collection.freeze (included in Graph, Resource, etc.)
|
data/lib/dbd/version.rb
CHANGED
|
@@ -83,6 +83,14 @@ module Dbd
|
|
|
83
83
|
subject.last.should be_nil
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
|
+
|
|
87
|
+
describe 'after freeze' do
|
|
88
|
+
it 'adding an element raise error' do
|
|
89
|
+
subject << element_1
|
|
90
|
+
subject.freeze
|
|
91
|
+
lambda{ subject << element_2 }.should raise_error(RuntimeError, /frozen/)
|
|
92
|
+
end
|
|
93
|
+
end
|
|
86
94
|
end
|
|
87
95
|
end
|
|
88
96
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dbd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Vandenabeele
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|