motion-firebase 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/firebase/firebase.rb +8 -0
- data/lib/firebase/version.rb +1 -1
- metadata +2 -2
data/lib/firebase/firebase.rb
CHANGED
@@ -79,6 +79,10 @@ class Firebase
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
+
def child(name)
|
83
|
+
childByAppendingPath(name)
|
84
|
+
end
|
85
|
+
|
82
86
|
def []=(key, value)
|
83
87
|
childByAppendingPath(key).set(value)
|
84
88
|
end
|
@@ -186,6 +190,10 @@ class Firebase
|
|
186
190
|
return self
|
187
191
|
end
|
188
192
|
|
193
|
+
def to_s
|
194
|
+
description
|
195
|
+
end
|
196
|
+
|
189
197
|
def inspect
|
190
198
|
"#<#{self.class}:0x#{self.object_id.to_s(16)}>"
|
191
199
|
end
|
data/lib/firebase/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-firebase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|