wonkavision 0.5.0 → 0.5.1

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.
@@ -13,12 +13,16 @@ unless defined?(::TestEventHandler)
13
13
  event_namespace :vermicious
14
14
 
15
15
  handle :knid do |data,path|
16
+ puts "Handling #{path}. Before: #{TestEventHandler.knids.inspect}"
16
17
  TestEventHandler.knids << [data,path]
18
+ puts "After: #{TestEventHandler.knids.inspect}"
17
19
  end
18
20
 
19
21
  #handle events in the vermicious namespace
20
22
  handle "*" do |data,path|
23
+ puts "Handling #{path}. Before: #{TestEventHandler.knids.inspect}"
21
24
  TestEventHandler.knids << [data,path] if path !~ /.*knid/
25
+ puts "After: #{TestEventHandler.knids.inspect}"
22
26
  end
23
27
 
24
28
  #handle ALL events in any namespace
@@ -52,5 +56,5 @@ unless defined?(::TestEventHandler)
52
56
  string 'test_id'
53
57
  date 'event_time'
54
58
  end
55
-
56
- end
59
+
60
+ end
data/wonkavision.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wonkavision}
8
- s.version = "0.5.0"
8
+ s.version = "0.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Stults"]
12
- s.date = %q{2010-07-19}
12
+ s.date = %q{2010-07-20}
13
13
  s.description = %q{Wonkavision is a small gem that allows you to publish}
14
14
  s.email = %q{hereiam@sonic.net}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wonkavision
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathan Stults
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-19 00:00:00 -07:00
18
+ date: 2010-07-20 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency