merona 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/frame/log/2013.2.27.log +6 -0
- data/frame/merona.rb +11 -1
- metadata +1 -1
data/frame/log/2013.2.27.log
CHANGED
@@ -4,3 +4,9 @@
|
|
4
4
|
[2013:2:27:8:24:24] [LOG] : quit by user
|
5
5
|
[2013:2:27:8:24:34] [LOG] : Merona engine started
|
6
6
|
[2013:2:27:8:24:43] [LOG] : quit by user
|
7
|
+
[2013:2:27:8:27:36] [LOG] : Merona engine started
|
8
|
+
[2013:2:27:8:27:37] [LOG] : quit by user
|
9
|
+
[2013:2:27:8:27:55] [LOG] : Merona engine started
|
10
|
+
[2013:2:27:8:27:58] [LOG] : quit by user
|
11
|
+
[2013:2:27:8:29:30] [LOG] : Merona engine started
|
12
|
+
[2013:2:27:8:29:31] [LOG] : quit by user
|
data/frame/merona.rb
CHANGED
@@ -1,7 +1,17 @@
|
|
1
1
|
# Merona entry
|
2
|
-
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
|
5
|
+
path = Gem::bin_path('merona', 'merona')
|
6
|
+
path.reverse!
|
7
|
+
path = path.split("/", 3)[2]
|
8
|
+
path.reverse!
|
9
|
+
path += "/lib"
|
10
|
+
|
11
|
+
$LOAD_PATH << path
|
3
12
|
$LOAD_PATH << File.dirname(File.expand_path(__FILE__))
|
4
13
|
|
14
|
+
|
5
15
|
def import(_path)
|
6
16
|
if _path[_path.length-1] == '*'
|
7
17
|
path = "../lib/" + _path
|