blumquist 0.5.1 → 0.6.0

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: f84d2a4e6b928cf36942d379b3ab5b6150ff81a9
4
- data.tar.gz: df2f57544abd446f73c4dffdd6b1790215d93ed3
3
+ metadata.gz: 11ba5173f0cf7e4d511587c0183b98577fbec9f7
4
+ data.tar.gz: 41c86c469189421fa8f6586897328e3fca28309f
5
5
  SHA512:
6
- metadata.gz: b21c80d08cd1d633467fa384549be02170229c2dd8e66271db3636d51db0829f7daf957e4edfa14330a528cb776cbc007ab9b484db32d00f811628f7caa277a7
7
- data.tar.gz: a9ebe5d7ed5fa53852f38f202c686cca5ee6ebc68b436615685006165406e591506b1c44226dffab634c6062b7083960d93331c323575c5d3054343b4ea03bb2
6
+ metadata.gz: 530d51062112f7f9c36de9c6bdd1371f27b0af5a887b2ba1c389b63f70e051f97e1a8358fb171429ab1f26e2dd200db1075b3e4e80ab5e01a0f97205b0945431
7
+ data.tar.gz: 9273ce2f23bbee2a5290ef98bd15c4070e693cbcc75d8e6063d8351fb5a3022ea3e28822c8e3d581edf269c8889910865312deddba4917c7e0d92de30fcc82b8
@@ -1,3 +1,6 @@
1
+ # 0.6.0
2
+ - Add marshalling support
3
+
1
4
  # 0.5.0
2
5
  - Make `Blumquist#to_s` do an `inspect`
3
6
 
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_runtime_dependency "activesupport"
23
- spec.add_runtime_dependency "json-schema"
23
+ spec.add_runtime_dependency "json-schema", "~> 2.0"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
@@ -0,0 +1,4 @@
1
+ machine:
2
+ ruby:
3
+ version:
4
+ ruby-2.3
@@ -22,6 +22,14 @@ class Blumquist
22
22
  inspect
23
23
  end
24
24
 
25
+ def marshal_dump
26
+ [@schema, @data, @validate]
27
+ end
28
+
29
+ def marshal_load(array)
30
+ @schema, @data, @validate = array
31
+ end
32
+
25
33
  private
26
34
 
27
35
  def validate_data
@@ -1,3 +1,3 @@
1
1
  class Blumquist
2
- VERSION = "0.5.1"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blumquist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-04 00:00:00.000000000 Z
11
+ date: 2016-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: json-schema
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -181,6 +181,7 @@ files:
181
181
  - README.md
182
182
  - Rakefile
183
183
  - blumquist.gemspec
184
+ - circle.yml
184
185
  - lib/blumquist.rb
185
186
  - lib/blumquist/error.rb
186
187
  - lib/blumquist/errors.rb
@@ -213,10 +214,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
213
214
  version: '0'
214
215
  requirements: []
215
216
  rubyforge_project:
216
- rubygems_version: 2.5.1
217
+ rubygems_version: 2.6.7
217
218
  signing_key:
218
219
  specification_version: 4
219
220
  summary: Turn some data and a json schema into an immutable object with getters from
220
221
  the schema
221
222
  test_files: []
222
- has_rdoc: