ammu_socket_manager 0.0.1 → 0.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc0daf16402190820834924ceb1b01f79c107c0c
4
- data.tar.gz: 6c58e40c49c1b0b7b73c13aeb8b475f1372ce1a5
3
+ metadata.gz: 638b12e915d88271525088ca92b06b29513cdd30
4
+ data.tar.gz: fc836d53401e981f01ac88b2a2ac53de55ae917c
5
5
  SHA512:
6
- metadata.gz: a605f83b798842651d40b884280a092803c1564c7cf48a078bab5248ec49825e24f2729e0e097c2ea2da41a2db5dad3899984687b0e5d098db27409bfde1d329
7
- data.tar.gz: e0e2083adc01e061cc152d446e1189664fa3ac74a0e29b0f9563c1d8bd0863c7cf5f0cfd434d86e67b5acb6516b1cc3ec8730e80b04aa12395bf6106bbd8f08a
6
+ metadata.gz: 61e7fae93be543ce5d88850ccf065b11d68fd2e56ad409c307b0df2e908c45d5d0c31173173bbf5c4a7a3a39e9c213825f9240edca7f5bfad998256a26ddb415
7
+ data.tar.gz: 0f163ae78b2815d75c44746d43e0287e7e16c5a91dd9b70d699b1c4317451111db96da6c15d194adc1e2ee36fc058e56e208b01ac28b78d0bce96a181fbc4313
@@ -15,7 +15,7 @@ module AmmuSocketManager
15
15
  request = {
16
16
  :env => env,
17
17
  :connection => request_by_connection,
18
- :json_data => data
18
+ :json_data => data['payload']
19
19
  }
20
20
  self.send(@@event_map[data["event"].to_sym], request)
21
21
  end
@@ -29,7 +29,6 @@ module AmmuSocketManager
29
29
 
30
30
  ws.on :close do |event|
31
31
  self.handler.remove_client(env, event.current_target)
32
- puts "DELETED CLIENT"
33
32
  end
34
33
 
35
34
  ws.rack_response
@@ -1,3 +1,3 @@
1
1
  module AmmuSocketManager
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ammu_socket_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwijen Purohit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-29 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails