dot_notation 1.0.0 → 1.0.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: 14e6c6373bdb4aeb50cdb10f4989a2daf2ea9194
4
- data.tar.gz: 05861f1351dc654cf6836310bae609d29bf070ec
3
+ metadata.gz: 5a0c0678519b297b308733a496bd2d9973ffad3b
4
+ data.tar.gz: 4405ff0310c869240c4a5ec48ad0831615ed14df
5
5
  SHA512:
6
- metadata.gz: 0e3973461173426201bc08415238479a71d9e494870c6b70cd7d7304a19a0e40fce1df58042a1e00d2bfcb6527ce60e3c953b01e46ee9fd0e27f416ac0f7f18e
7
- data.tar.gz: 0588a40a12e7b5790fdb514a530762fc7202cbb005db9549b68ec35ee3866b5ef2b69668c5fce51d74ac6df338404804e566f67fea886f169f21d7f8174ea2bd
6
+ metadata.gz: a044b54ecba660ce64f0a6ed1ca50738a1953e6a63700b7686e5911c0c5f6c397e7488f62c58cf37e7492edc5743febc338addd375cbdee7812b62afaa8b1338
7
+ data.tar.gz: 11b7d139da98e572c096969b4fd12e5a758eac90bd58d8f76e49b149b1323491600acc221f25a512215dea9253d91e8aa21c85f1dbcaeaf0ee66c1814fb0a52a
data/README.md CHANGED
@@ -6,6 +6,7 @@ If you have a hash or an array or something that quacks like one, you can do stu
6
6
  example:
7
7
 
8
8
  ```ruby
9
+ require 'dot_notation'
9
10
  h = {a: {b: {c: [{d: 'hi'}]}}}
10
11
  h.extend(DotNotation)
11
12
  h.dot('a.b.c.0.d')
@@ -12,14 +12,16 @@ Gem::Specification.new do |spec|
12
12
  spec.description = %q{Simple-ish enumberable-simplifier. Useful for APIs like Twitter, etc
13
13
 
14
14
  If you have a hash or an array or something that quacks like one, you can do stuff
15
+
15
16
  example:
17
+ require 'dot_notation'
16
18
  h = {a: {b: {c: [{d: 'hi'}]}}}
17
19
  h.extend(DotNotation)
18
20
  h.dot('a.b.c.0.d')
19
21
  #=> 'hi'
20
22
  h.dot('a.b.c.foo.bar.bz.whatever.124.whocares')
21
23
  #=> nil}
22
- spec.homepage = ""
24
+ spec.homepage = "https://github.com/joshsz/dot_notation"
23
25
  spec.license = "MIT"
24
26
 
25
27
  spec.files = `git ls-files -z`.split("\x0")
@@ -1,3 +1,3 @@
1
1
  module DotNotation
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dot_notation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Szmajda
@@ -42,7 +42,9 @@ description: |-
42
42
  Simple-ish enumberable-simplifier. Useful for APIs like Twitter, etc
43
43
 
44
44
  If you have a hash or an array or something that quacks like one, you can do stuff
45
+
45
46
  example:
47
+ require 'dot_notation'
46
48
  h = {a: {b: {c: [{d: 'hi'}]}}}
47
49
  h.extend(DotNotation)
48
50
  h.dot('a.b.c.0.d')
@@ -63,7 +65,7 @@ files:
63
65
  - dot_notation.gemspec
64
66
  - lib/dot_notation.rb
65
67
  - lib/dot_notation/version.rb
66
- homepage: ''
68
+ homepage: https://github.com/joshsz/dot_notation
67
69
  licenses:
68
70
  - MIT
69
71
  metadata: {}