wikk_json 0.1.0 → 0.1.1

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: e1a676d87f911cb97f550e1f5a67eede337f7a8b
4
- data.tar.gz: 25984707a985be9e798fd228e8d541af787fdc7f
3
+ metadata.gz: fddf1465099d5b74a2d71973d62523eb83de3b69
4
+ data.tar.gz: f2c42c0479c250b56bd0b67aaf80711fcdbf2279
5
5
  SHA512:
6
- metadata.gz: 4c678427fde5959b00d5c6aa93ba2d8f678f27718af9c8b418e359aade3edb7ffcc2b9e68ff279259b14cc5eda36e0fdd3da7ee857f0837986052acbd18b9902
7
- data.tar.gz: 50ccc1df5dcf0d2ea30c5e9e77a5b59e3ba0e2cbce0210aa2bdd06b1f6b096ebc1c3d287c6567124dc5906c2ee7fd6e632f08b680af631e3367a79fe7f76df06
6
+ metadata.gz: 63014854e255bccc09da1455d6fc64705ae93486c6c7bd43a512d24f450502d909fd7765e2554ef98397c75b65d1966b50dc87ba314c3f5caf82e83717ee5318
7
+ data.tar.gz: 4a88a4dcfb61263018c9d4759f5ad006adce2192a85f47fe4893f7eec9cfcb3b33eed8a3361c8681f2e493960642b114d129b260818eff287afa50197235a504
data/Manifest.txt CHANGED
@@ -5,6 +5,7 @@ Rakefile
5
5
  bin/wikk_json
6
6
  lib/wikk_json.rb
7
7
  lib/array.rb
8
+ lib/boolean.rb
8
9
  lib/hash.rb
9
10
  lib/nil.rb
10
11
  lib/numeric.rb
data/lib/boolean.rb ADDED
@@ -0,0 +1,14 @@
1
+ class TrueClass
2
+ # @return [String] Json for the String, which is quoted self.
3
+ def to_j(indent=0)
4
+ " "*indent + "true"
5
+ end
6
+ end
7
+
8
+ class FalseClass
9
+ # @return [String] Json for the String, which is quoted self.
10
+ def to_j(indent=0)
11
+ " "*indent + "false"
12
+ end
13
+ end
14
+
data/lib/wikk_json.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module WIKK
2
2
  class Wikk_Json
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
 
6
6
  require 'json'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wikk_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Burrowes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-19 00:00:00.000000000 Z
11
+ date: 2016-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hoe-yard
@@ -56,6 +56,7 @@ files:
56
56
  - Rakefile
57
57
  - bin/wikk_json
58
58
  - lib/array.rb
59
+ - lib/boolean.rb
59
60
  - lib/hash.rb
60
61
  - lib/nil.rb
61
62
  - lib/numeric.rb