dslkit 0.2.3 → 0.2.4

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/CHANGES CHANGED
@@ -1,3 +1,5 @@
1
+ 2007-11-29 (0.2.4)
2
+ * Fixed bug: use @@mutex instead of @mutex in cleanup handler, duh.
1
3
  2007-11-29 (0.2.3)
2
4
  * Now compatible to Ruby 1.9 (for the moment).
3
5
  2007-04-11 (0.2.2)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/lib/dslkit/polite.rb CHANGED
@@ -88,7 +88,7 @@ module DSLKit
88
88
 
89
89
  @@cleanup = lambda do |my_object_id|
90
90
  my_id = "__thread_local_#{my_object_id}__"
91
- @mutex.synchronize do
91
+ @@mutex.synchronize do
92
92
  for t in Thread.list
93
93
  t[my_id] = nil if t[my_id]
94
94
  end
@@ -1,6 +1,6 @@
1
1
  module DSLKit
2
2
  # DSLKit version
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
metadata CHANGED
@@ -1,33 +1,26 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: dslkit
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.2.3
7
- date: 2007-11-29 00:00:00 +01:00
8
- summary: Kit for building DSLs in Ruby
9
- require_paths:
10
- - lib
11
- email: flori@ping.de
12
- homepage: http://dslkit.rubyforge.org
13
- rubyforge_project: dslkit
14
- description: This library contains recurring patterns, that are useful in the creation of internal Domain Specific Languages (DSL) in Ruby.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.2.4
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Florian Frank
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-02-22 00:00:00 +01:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: This library contains recurring patterns, that are useful in the creation of internal Domain Specific Languages (DSL) in Ruby.
17
+ email: flori@ping.de
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files: []
23
+
31
24
  files:
32
25
  - install.rb
33
26
  - lib
@@ -56,17 +49,31 @@ files:
56
49
  - examples/let.rb
57
50
  - examples/multiply.reg
58
51
  - examples/mail.rb
59
- test_files:
60
- - tests/runner.rb
52
+ has_rdoc: true
53
+ homepage: http://dslkit.rubyforge.org
54
+ post_install_message:
61
55
  rdoc_options: []
62
56
 
63
- extra_rdoc_files: []
64
-
65
- executables: []
66
-
67
- extensions: []
68
-
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ version:
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: "0"
70
+ version:
69
71
  requirements: []
70
72
 
71
- dependencies: []
72
-
73
+ rubyforge_project: dslkit
74
+ rubygems_version: 1.0.1
75
+ signing_key:
76
+ specification_version: 2
77
+ summary: Kit for building DSLs in Ruby
78
+ test_files:
79
+ - tests/runner.rb