seh 0.0.2 → 0.0.3

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.
data/lib/seh.rb CHANGED
@@ -5,14 +5,17 @@ require "seh/event"
5
5
 
6
6
  module Seh
7
7
  class << self
8
+ # alias for Seh::EventType::And
8
9
  def and( *types )
9
10
  EventType::And.new *types
10
11
  end
11
12
 
13
+ # alias for Seh::EventType::Or
12
14
  def or( *types )
13
15
  EventType::Or.new *types
14
16
  end
15
17
 
18
+ # alias for Seh::EventType::Not
16
19
  def not( type )
17
20
  EventType::Not.new type
18
21
  end
@@ -1,7 +1,7 @@
1
1
  require 'ostruct'
2
2
 
3
3
  module Seh
4
- module Private
4
+ module Private # :nodoc: all
5
5
  START = 0
6
6
  BEFORE = 100
7
7
 
@@ -21,7 +21,7 @@ module Seh
21
21
  end
22
22
  end
23
23
 
24
- module Private
24
+ module Private # :nodoc: all
25
25
  class EventBind
26
26
  attr_reader :event_type, :block
27
27
 
@@ -1,3 +1,3 @@
1
1
  module Seh
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3" # :nodoc:
3
3
  end
@@ -25,4 +25,9 @@ Gem::Specification.new do |s|
25
25
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
26
26
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
27
27
  s.require_paths = ["lib"]
28
+
29
+ s.has_rdoc = true
30
+ s.rdoc_options << '--title' << 'Seh - Structured Event Handling' \
31
+ << '--main' << 'README.org'
32
+ s.extra_rdoc_files = ['README.org']
28
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-06-16 00:00:00.000000000Z
12
+ date: 2011-06-17 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ! 'Pure ruby event handling similar to w3c dom events. Lots of bells
15
15
  and whistles to support complex event handling as required by stuff like video games.
@@ -38,7 +38,8 @@ email:
38
38
  - ryan.berckmans@gmail.com
39
39
  executables: []
40
40
  extensions: []
41
- extra_rdoc_files: []
41
+ extra_rdoc_files:
42
+ - README.org
42
43
  files:
43
44
  - .gitignore
44
45
  - .rvmrc
@@ -55,7 +56,11 @@ files:
55
56
  homepage: https://github.com/ryanberckmans/seh
56
57
  licenses: []
57
58
  post_install_message:
58
- rdoc_options: []
59
+ rdoc_options:
60
+ - --title
61
+ - Seh - Structured Event Handling
62
+ - --main
63
+ - README.org
59
64
  require_paths:
60
65
  - lib
61
66
  required_ruby_version: !ruby/object:Gem::Requirement