mack 0.0.6.1 → 0.0.6.2
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/CHANGELOG +5 -0
- data/core_extensions/module.rb +1 -1
- data/tasks/mack_tasks.rake +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
===0.0.6.2
|
2
|
+
* gem: thin 0.7.0
|
3
|
+
* gem: cachetastic 1.3.1
|
4
|
+
* Fixed 18487: #convert_security_of_methods ignores new_level param
|
5
|
+
|
1
6
|
===0.0.6
|
2
7
|
* rake generate:<generator_name>
|
3
8
|
* rake generate:plugin - will generate the stub of a plugin in the vendor/plugins directory.
|
data/core_extensions/module.rb
CHANGED
@@ -2,7 +2,7 @@ class Module
|
|
2
2
|
|
3
3
|
# Bulk converts the security level of methods in this Module from one level to another.
|
4
4
|
def convert_security_of_methods(old_level = :public, new_level = :protected)
|
5
|
-
eval("#{old_level}_instance_methods").each{ |meth| self.send(
|
5
|
+
eval("#{old_level}_instance_methods").each{ |meth| self.send(new_level, meth) }
|
6
6
|
self
|
7
7
|
end
|
8
8
|
|
data/tasks/mack_tasks.rake
CHANGED
@@ -10,7 +10,7 @@ task :console do
|
|
10
10
|
libs = []
|
11
11
|
libs << "-r irb/completion"
|
12
12
|
libs << "-r #{File.join(File.dirname(__FILE__), '..', 'mack')}"
|
13
|
-
libs << "-r #{File.join(File.dirname(__FILE__), '..', '
|
13
|
+
libs << "-r #{File.join(File.dirname(__FILE__), '..', 'initialization', 'console')}"
|
14
14
|
exec "irb #{libs.join(" ")} --simple-prompt"
|
15
15
|
end
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6.
|
4
|
+
version: 0.0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markbates
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-02-
|
12
|
+
date: 2008-02-29 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - "="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 1.3.
|
49
|
+
version: 1.3.1
|
50
50
|
version:
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: log4r
|