caesars 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +5 -0
- data/caesars.gemspec +1 -1
- data/lib/caesars.rb +12 -13
- metadata +2 -2
data/CHANGES.txt
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
CAESARS -- CHANGES
|
2
2
|
|
3
3
|
|
4
|
+
#### 0.6.3 (2009-05-04) ###############################
|
5
|
+
|
6
|
+
* FIXED: Bug in forced_hash, not creating some keys
|
7
|
+
|
8
|
+
|
4
9
|
#### 0.6.2 (2009-05-03) ###############################
|
5
10
|
|
6
11
|
* FIXED: When setting Caesars::Config.verbose it would get reset after a refresh.
|
data/caesars.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
@spec = Gem::Specification.new do |s|
|
2
2
|
s.name = "caesars"
|
3
3
|
s.rubyforge_project = "caesars"
|
4
|
-
s.version = "0.6.
|
4
|
+
s.version = "0.6.3"
|
5
5
|
s.specification_version = 1 if s.respond_to? :specification_version=
|
6
6
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
7
7
|
|
data/lib/caesars.rb
CHANGED
@@ -402,25 +402,24 @@ class Caesars
|
|
402
402
|
# the block, we'll create new entries in there.
|
403
403
|
@caesars_pointer = hash
|
404
404
|
|
405
|
-
if
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
405
|
+
if Caesars.chilled?(this_meth)
|
406
|
+
# We're done processing this_meth so we want to return the pointer
|
407
|
+
# to the level above.
|
408
|
+
@caesars_pointer = prev
|
409
|
+
@caesars_pointer[this_meth][caesars_name] = b
|
410
|
+
else
|
411
|
+
if b
|
412
412
|
# Since the pointer is pointing to the this_meth hash, all keys
|
413
413
|
# created in the block we be placed inside.
|
414
414
|
b.call
|
415
|
-
# We're done processing this_meth so we want to return the pointer
|
416
|
-
# to the level above.
|
417
|
-
@caesars_pointer = prev
|
418
|
-
@caesars_pointer[this_meth][caesars_name] = hash
|
419
415
|
end
|
416
|
+
# We're done processing this_meth so we want to return the pointer
|
417
|
+
# to the level above.
|
418
|
+
@caesars_pointer = prev
|
419
|
+
@caesars_pointer[this_meth][caesars_name] = hash
|
420
420
|
end
|
421
421
|
|
422
|
-
@caesars_pointer = prev
|
423
|
-
|
422
|
+
@caesars_pointer = prev
|
424
423
|
end
|
425
424
|
}
|
426
425
|
nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caesars
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delano Mandelbaum
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-04 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|