holywarez-mpt 0.1.3.2 → 0.1.3.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.
Files changed (5) hide show
  1. data/CHANGELOG +1 -0
  2. data/install_gem.bat +1 -1
  3. data/lib/event.rb +4 -0
  4. data/mpt.gemspec +4 -4
  5. metadata +5 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,4 @@
1
+ v0.1.3.3 Added remove_event_chain support
1
2
  v0.1.3.2 Added new example
2
3
  v0.1.3.1 Added dependencies for gem
3
4
  v0.1.3 Wrap helpers support added
@@ -1,5 +1,5 @@
1
1
  call rake manifest
2
2
  call rake install
3
3
  cd pkg
4
- call gem install mpt-0.1.3.2.gem
4
+ call gem install mpt-0.1.3.3.gem
5
5
  cd ..
@@ -63,6 +63,10 @@ module MPT
63
63
  def trigger(event_name, *args)
64
64
  trigger_with_object(event_name, nil, *args)
65
65
  end
66
+
67
+ def clear_event_chain(event_name)
68
+ @@mpt_subscribers.delete(event_name)
69
+ end
66
70
  end # end of static section
67
71
  end # end of class Event
68
72
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{mpt}
5
- s.version = "0.1.3.2"
5
+ s.version = "0.1.3.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Anatoly Lapshin"]
9
- s.date = %q{2009-07-05}
9
+ s.date = %q{2009-07-31}
10
10
  s.description = %q{Monkey Patching Toolkit}
11
11
  s.email = %q{}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "lib/event.rb", "lib/mpt.rb", "lib/system.rb", "lib/wrap.rb", "LICENSE", "README"]
@@ -16,12 +16,12 @@ Gem::Specification.new do |s|
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Mpt", "--main", "README"]
17
17
  s.require_paths = ["lib"]
18
18
  s.rubyforge_project = %q{mpt}
19
- s.rubygems_version = %q{1.3.1}
19
+ s.rubygems_version = %q{1.3.2}
20
20
  s.summary = %q{Monkey Patching Toolkit}
21
21
 
22
22
  if s.respond_to? :specification_version then
23
23
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
- s.specification_version = 2
24
+ s.specification_version = 3
25
25
 
26
26
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
27
27
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holywarez-mpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3.2
4
+ version: 0.1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Lapshin
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-05 00:00:00 -07:00
12
+ date: 2009-07-31 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -68,6 +68,7 @@ files:
68
68
  - run_examples.bat
69
69
  has_rdoc: true
70
70
  homepage: ""
71
+ licenses:
71
72
  post_install_message:
72
73
  rdoc_options:
73
74
  - --line-numbers
@@ -93,9 +94,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
94
  requirements: []
94
95
 
95
96
  rubyforge_project: mpt
96
- rubygems_version: 1.2.0
97
+ rubygems_version: 1.3.5
97
98
  signing_key:
98
- specification_version: 2
99
+ specification_version: 3
99
100
  summary: Monkey Patching Toolkit
100
101
  test_files: []
101
102