motion-firebase 2.0.13 → 2.0.14

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: 8c0f4469915f65382c3b1a45f6f6c345e550ee57
4
- data.tar.gz: 83bd04d12af915d09f67e393ad65c6a5f85cab1b
3
+ metadata.gz: 6b64d014fb4ea9562f6db2cddc02d031630da000
4
+ data.tar.gz: 0c7d997132fee6155e375229534bd72468825e13
5
5
  SHA512:
6
- metadata.gz: 9928740e5bad2f92ab37c7bbc4a8d37104d0e1a012253ef93887f1c7fa143e2fd5825dc90835909520ddcd612ab130fdbae58591026e29e85ca8f6f5bc218e96
7
- data.tar.gz: f6add052649f31c0d975d51c0620433d1e59aff4d15c367b81b7f670802e2d3f44883f3e81cb6949dfba5fd1999d78b5925e3f4b1bab6ca1e510d3004c64beda
6
+ metadata.gz: 6b8c67ccd1d005a4548a85af51d3c3904464f13e701e23c935161e4d600ba956471114f9cf20d474d77f220cfa5e96890fc9978ce7a18275552025833501e462
7
+ data.tar.gz: 0dc0dd8e5cf908a797e280b5324b84ab86178d5ebc76233b1729e68655bce6502cb950c005c9caa9e7e5a1bf30f2cffe51c33dfeac76341c4c9abe9443289f4a
@@ -6,15 +6,15 @@ class Firebase
6
6
 
7
7
  def self.convert_event_type(event_type)
8
8
  case event_type
9
- when :child_added, :added
9
+ when :child_added, :added, FEventTypeChildAdded
10
10
  return FEventTypeChildAdded
11
- when :child_moved, :moved
12
- FEventTypeChildMoved
13
- when :child_changed, :changed
11
+ when :child_moved, :moved, FEventTypeChildMoved
12
+ return FEventTypeChildMoved
13
+ when :child_changed, :changed, FEventTypeChildChanged
14
14
  return FEventTypeChildChanged
15
- when :child_removed, :removed
15
+ when :child_removed, :removed, FEventTypeChildRemoved
16
16
  return FEventTypeChildRemoved
17
- when :value
17
+ when :value, FEventTypeValue
18
18
  return FEventTypeValue
19
19
  else
20
20
  NSLog("Unknown event type #{event_type.inspect}")
@@ -192,7 +192,7 @@ class Firebase
192
192
  onDisconnectSetValue(value, withCompletionBlock: and_then)
193
193
  end
194
194
  else
195
- if value == :remove
195
+ if value.nil?
196
196
  onDisconnectRemoveValue
197
197
  elsif NSDictionary === value
198
198
  onDisconnectUpdateChildValues(value)
@@ -1,5 +1,5 @@
1
1
  module Motion
2
2
  module Firebase
3
- Version = '2.0.13'
3
+ Version = '2.0.14'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-firebase
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.13
4
+ version: 2.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin T.A. Gray
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-23 00:00:00.000000000 Z
11
+ date: 2014-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec