jeokkarak 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.textile +2 -2
  2. data/Rakefile +1 -1
  3. data/lib/jeokkarak.rb +1 -0
  4. metadata +2 -2
data/README.textile CHANGED
@@ -13,9 +13,9 @@ Jeokkarak and Hashi makes the perfect couple for this task: given a hash (parsed
13
13
 
14
14
  In any of those cases, Jeokkarak will let your server evolve their schema, without requiring you to add new fields to your type.
15
15
 
16
- h1. Jeokkarak
16
+ h1. Jeokkarak (箸)
17
17
 
18
- Jeokkarak is the korean version of hashis. In our case, Jeokkarak is used to support
18
+ Jeokkarak (箸) is the korean version of hashis. In our case, Jeokkarak is used to support
19
19
  evolution-ready schemas and loosely coupled systems in the web.
20
20
  By creating your own class only with the attributes you require:
21
21
 
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "jeokkarak"
8
- GEM_VERSION = "1.0.1"
8
+ GEM_VERSION = "1.0.2"
9
9
  SUMMARY = "Hash to object helper methods for schema evolution forward-compatible services."
10
10
  AUTHOR = "Guilherme Silveira, Jose Donizetti"
11
11
  EMAIL = "guilherme.silveira@caelum.com.br"
data/lib/jeokkarak.rb CHANGED
@@ -22,6 +22,7 @@ module Jeokkarak
22
22
 
23
23
  # creates an instance of this type based on this hash
24
24
  def from_hash(h)
25
+ h = {} if h.nil? # nasty required check
25
26
  h = h.dup
26
27
  result = self.new
27
28
  result._internal_hash = h
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeokkarak
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Silveira, Jose Donizetti
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-02 00:00:00 -02:00
12
+ date: 2009-12-03 00:00:00 -02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15