ddp-server 0.1.0 → 0.1.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: 2d646729580513ffa2a77c522b58986656316e38
4
- data.tar.gz: f0852db69edb241a9c691728f736d016cb7fcbeb
3
+ metadata.gz: bea09aff73c8b4d3a6c902f7655876a21b3fa0b3
4
+ data.tar.gz: a1bc3ea64efe95e99ddc72234d3ae93252783280
5
5
  SHA512:
6
- metadata.gz: 0731bfe5e51e1871840ea5cccd484a217af6b9c3a7bec5bdf73634cffe1c954b1b8a95adcf3fd6577eb3d2dd507c7d82d93f2e5aabf4f7b7b84308ec91a93304
7
- data.tar.gz: a2d49e26c08c6bcf97f57c8d3f7f331dd107b9b6f35888a111ff9222d06df46e5a9ca190f4342588b2f01cc4769b9b2373fbfb958d4d4e3edd980395b6ec77ef
6
+ metadata.gz: bc1f4362a5f92a148e69286d764544fb6858d16d0a956c46f442b62a6aaa36a84c32d1941391d608d758aa05acfbcb934e816642f8b9ffee3d5df0a7068554ca
7
+ data.tar.gz: 7be2fd599ddd69981021393f8b0c896042a36c8892232790d89d52eb66a6b8341e40197c2c0f582996350068cefeff507e7dffbf5c8d2daeb91fbde8ee8ffd6f
@@ -30,13 +30,11 @@ module DDP
30
30
 
31
31
  def subscription_update(id, old_value, new_value)
32
32
  subscription_name = @subscriptions[id].name
33
- new_value_id = new_value['id']
34
- old_value_id = old_value['id']
35
33
 
36
- return send_added(subscription_name, new_value_id, new_value) if old_value.nil?
37
- return send_removed(subscription_name, old_value_id) if new_value.nil?
34
+ return send_added(subscription_name, new_value['id'], new_value) if old_value.nil?
35
+ return send_removed(subscription_name, old_value['id']) if new_value.nil?
38
36
 
39
- send_changed(subscription_name, old_value_id, new_value, old_value.keys - new_value.keys)
37
+ send_changed(subscription_name, old_value['id'], new_value, old_value.keys - new_value.keys)
40
38
  end
41
39
 
42
40
  def handle_unsub(id)
@@ -1,6 +1,6 @@
1
1
  module DDP
2
2
  # We use semantic versioning
3
3
  module Server
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddp-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tinco Andringa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-14 00:00:00.000000000 Z
11
+ date: 2015-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler