black_hole_struct 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/black_hole_struct.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1029935145064902197c9e3871ef53e7349a105e
|
|
4
|
+
data.tar.gz: ed7989a51275c4ded5c4d13a257e4e974dc4f1a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc6c4efeebdd672a4bb8c7f390cb0dd10e3a1a44ebd37c9586463a47f3dccda031d07465bb059c90983a675ab16342f67f2f42bdbac6f97ffa1178bcf7ef4333
|
|
7
|
+
data.tar.gz: 832aea4153ba5675ea78d1a252ab464085574c61dbbeb799dd0fd8c7c8969a32dd9be62a513740b06286212f9d0a01fb2628074364169904548c0a5e4e77bbb2
|
data/README.md
CHANGED
|
@@ -32,6 +32,6 @@ puts config.dashboard.time # #<BlackHoleStruct :from="now-1h" :to="now">
|
|
|
32
32
|
puts config.dashboard.time.from # "now-1h"
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
## Advanced usage
|
|
36
36
|
|
|
37
37
|
Check the [documentation](http://www.rubydoc.info/github/mickey/black-hole-struct/master/BlackHoleStruct).
|
data/lib/black_hole_struct.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# infinite chaining of attributes or [autovivification](https://en.wikipedia.org/wiki/Autovivification).
|
|
3
3
|
class BlackHoleStruct
|
|
4
4
|
# Current version
|
|
5
|
-
VERSION = "0.1.
|
|
5
|
+
VERSION = "0.1.1"
|
|
6
6
|
|
|
7
7
|
# BlackHoleStruct can be optionally initialized with a Hash
|
|
8
8
|
# @param [Hash] hash Initialize with a hash
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: black_hole_struct
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Bensoussan
|
|
@@ -49,7 +49,7 @@ files:
|
|
|
49
49
|
- README.md
|
|
50
50
|
- lib/black_hole_struct.rb
|
|
51
51
|
- test/black_hole_struct_test.rb
|
|
52
|
-
homepage: https://github.com/mickey/
|
|
52
|
+
homepage: https://github.com/mickey/black-hole-struct
|
|
53
53
|
licenses:
|
|
54
54
|
- MIT
|
|
55
55
|
metadata: {}
|