blobject 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -1,6 +1,6 @@
1
1
  ![](https://github.com/sjltaylor/blobject/raw/master/blobject.png)
2
2
 
3
- Provides a free flowing syntax for creating blobs of data.
3
+ Provides a fluent to create blobs of data for views, JSON etc.
4
4
 
5
5
  ## Examples
6
6
 
@@ -40,8 +40,9 @@ Provides a free flowing syntax for creating blobs of data.
40
40
  all of the above initialisation methods can be used in this way too.
41
41
 
42
42
  ### Object graphs can be as complex as necessary
43
- b = blobject
44
- b.very.deep.nesting.of.objects = 2
43
+
44
+ b = blobject
45
+ b.very.deep.nesting.of.objects = 2
45
46
 
46
47
  The intermediary blobjects are created automagically
47
48
 
@@ -71,8 +72,9 @@ The freeze method prevents the blobject from being extended or changed.
71
72
  b.name = 'hello'
72
73
  => Exception!
73
74
 
74
- ### `empty?` and `blank?`
75
- b = blobject
75
+ ### empty? and blank?
76
+
77
+ b = blobject
76
78
  b.empty? && b.blank?
77
79
  => true
78
80
  b.number = 123
@@ -1,3 +1,3 @@
1
1
  class Blobject
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: blobject
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.4
5
+ version: 0.1.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sam Taylor