dbd 0.1.1 → 0.1.2

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: ed47e26ab5f04fb2e7fa450d5b860ab378d45fda
4
- data.tar.gz: 115189a8d9c1ac840184197596a9f177962e68a9
3
+ metadata.gz: addb45f3d6507ba21e2e57dfd6944ad4967cbd3a
4
+ data.tar.gz: 4b55d219a8849a641b0ecaf4ad0bb6e37b67e0f4
5
5
  SHA512:
6
- metadata.gz: 74e8bbaa0cf891b3107c7c2c65df45c373caa609a953f56d53f890bd3d34dd282498207ac3c752a960ea40ce986b5f87e67029d5391d0961ca5b38c2f0a8aad8
7
- data.tar.gz: 3848ac56a31c28e161adac74c1fc0b7229e33b536f4fb8d20b99a68a907d94b576078b5e5c30411720001912b74bd647938cb2eaa2221c38f880157514e59bd0
6
+ metadata.gz: 09da0d26695087c4dfdd9a335c4b9bd68c819e9ff42e3f2811a620b1e5c59e8102dac0cd527408cde52aa0e2bd9616c69b446cb07d6bf04c29e9273e0d140601
7
+ data.tar.gz: a621476363769544eaa06cfb64299e3d1c0044df1ea5e6ebceb4030eb1625d3dcabd4bac41098ae2f73dc4b1c4de167b065dd3a5723bc91ca2db311e5b8090e2
@@ -135,4 +135,9 @@
135
135
  0.1.1 (26 Oct 2013)
136
136
  =====
137
137
 
138
- * Collection.freeze (included in Graph, Resource, etc.)
138
+ * Collection#freeze (included in Graph, Resource, etc.)
139
+
140
+ 0.1.2 (26 Oct 2013)
141
+ =====
142
+
143
+ * Collection#freeze returns self (like Object.freeze)
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'rb-fsevent'
25
25
  spec.add_development_dependency 'terminal-notifier-guard'
26
26
  spec.add_development_dependency 'yard'
27
- spec.add_runtime_dependency 'neography', '>= 1.1.3'
27
+ spec.add_runtime_dependency 'neography', '>= 1.2.2'
28
28
  spec.add_runtime_dependency 'rdf'
29
- spec.add_runtime_dependency 'ruby_peter_v', '>= 0.0.11'
29
+ spec.add_runtime_dependency 'ruby_peter_v', '>= 0.0.13'
30
30
  end
@@ -83,6 +83,7 @@ module Dbd
83
83
 
84
84
  def freeze
85
85
  @internal_collection.freeze
86
+ self
86
87
  end
87
88
 
88
89
  end
@@ -1,3 +1,3 @@
1
1
  module Dbd
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -90,6 +90,12 @@ module Dbd
90
90
  subject.freeze
91
91
  lambda{ subject << element_2 }.should raise_error(RuntimeError, /frozen/)
92
92
  end
93
+
94
+ it 'returns self' do
95
+ subject << element_1
96
+ original_object_id = subject.object_id
97
+ subject.freeze.object_id.should == original_object_id
98
+ end
93
99
  end
94
100
  end
95
101
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Vandenabeele
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - '>='
102
102
  - !ruby/object:Gem::Version
103
- version: 1.1.3
103
+ version: 1.2.2
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '>='
109
109
  - !ruby/object:Gem::Version
110
- version: 1.1.3
110
+ version: 1.2.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rdf
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - '>='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.0.11
131
+ version: 0.0.13
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '>='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.0.11
138
+ version: 0.0.13
139
139
  description: A data store that (almost) never forgets
140
140
  email:
141
141
  - peter@vandenabeele.com