niclasnilsson-json2objects 0.0.2 → 0.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.
data/lib/json2objects.rb CHANGED
@@ -5,12 +5,17 @@ require 'json'
5
5
  require 'facets'
6
6
 
7
7
  class Json2Objects
8
- VERSION = '0.0.2'
8
+ VERSION = '0.0.3'
9
9
 
10
10
  def create(json)
11
11
  data = JSON.parse(json)
12
12
  create_object data
13
13
  end
14
+
15
+ def to_json(o)
16
+
17
+ end
18
+
14
19
 
15
20
  private
16
21
 
data/spec/spec_helper.rb CHANGED
@@ -8,3 +8,4 @@ end
8
8
 
9
9
  $:.unshift(File.dirname(__FILE__) + '/../lib')
10
10
  require 'json2objects'
11
+ require 'objects2json'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: niclasnilsson-json2objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niclas Nilsson
@@ -49,7 +49,6 @@ files:
49
49
  - tasks/rspec.rake
50
50
  has_rdoc: false
51
51
  homepage: http://github.com/#{github_username}/#{project_name}
52
- licenses:
53
52
  post_install_message: PostInstall.txt
54
53
  rdoc_options:
55
54
  - --main
@@ -71,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
70
  requirements: []
72
71
 
73
72
  rubyforge_project: json2objects
74
- rubygems_version: 1.3.5
73
+ rubygems_version: 1.2.0
75
74
  signing_key:
76
75
  specification_version: 3
77
76
  summary: A gem for serializing and deserializing json to objects