merona 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/frame/merona.rb +7 -7
  2. metadata +1 -1
@@ -2,19 +2,19 @@
2
2
 
3
3
  require 'rubygems'
4
4
 
5
- path = Gem::bin_path('merona', 'merona')
6
- path.reverse!
7
- path = path.split("/", 3)[2]
8
- path.reverse!
9
- path += "/lib"
5
+ meorna_path = Gem::bin_path('merona', 'merona')
6
+ meorna_path.reverse!
7
+ meorna_path = path.split("/", 3)[2]
8
+ meorna_path.reverse!
9
+ meorna_path += "/lib"
10
10
 
11
- $LOAD_PATH << path
11
+ $LOAD_PATH << meorna_path
12
12
  $LOAD_PATH << File.dirname(File.expand_path(__FILE__))
13
13
 
14
14
 
15
15
  def import(_path)
16
16
  if _path[_path.length-1] == '*'
17
- path = "../lib/" + _path
17
+ path = meorna_path + _path
18
18
  Dir[path[0..path.length-1] + "*.rb"].each {|file| require file }
19
19
  path = "./" + _path
20
20
  Dir[path[0..path.length-1] + "*.rb"].each {|file| require file }
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.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: