cramp 0.9.1 → 0.10

Sign up to get free protection for your applications and to get access to all the features.
data/lib/cramp.rb CHANGED
@@ -9,5 +9,5 @@ require 'active_support/core_ext/kernel/reporting'
9
9
  require 'active_support/concern'
10
10
 
11
11
  module Cramp
12
- VERSION = '0.9.1'
12
+ VERSION = '0.10'
13
13
  end
@@ -50,7 +50,7 @@ module Cramp
50
50
  def _on_data_receive(data)
51
51
  data = data.slice(/\000([^\377]*)\377/).gsub(/^\x00|\xff$/, '')
52
52
 
53
- self.on_data_callbacks.each do |callback|
53
+ self.class.on_data_callbacks.each do |callback|
54
54
  EM.next_tick { send(callback, data) }
55
55
  end
56
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cramp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: "0.10"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pratik Naik
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-16 00:00:00 +00:00
12
+ date: 2010-02-19 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 3.0.beta
23
+ version: 3.0.0.beta
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activemodel
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - "="
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.beta
33
+ version: 3.0.0.beta
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: arel