merona 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/frame/log/2013.2.27.log +6 -0
  2. data/frame/merona.rb +11 -1
  3. metadata +1 -1
@@ -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
@@ -1,7 +1,17 @@
1
1
  # Merona entry
2
- $LOAD_PATH << "../lib"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merona
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: