ymdp 0.0.4 → 0.0.5
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/VERSION +1 -1
- data/lib/ymdp.rb +13 -10
- data/ymdp.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/lib/ymdp.rb
CHANGED
@@ -1,17 +1,20 @@
|
|
1
|
+
dir = File.dirname(__FILE__)
|
2
|
+
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
|
3
|
+
|
4
|
+
dir = File.expand_path("#{dir}/application_view")
|
5
|
+
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
|
6
|
+
|
1
7
|
# load application
|
2
8
|
#
|
3
|
-
Dir["lib/application_view/*.rb"].each do |path|
|
4
|
-
require path
|
5
|
-
end
|
6
9
|
|
7
|
-
#
|
8
|
-
|
9
|
-
Dir["
|
10
|
-
require path
|
10
|
+
require File.expand_path("#{dir}/tag_helper")
|
11
|
+
|
12
|
+
Dir["#{dir}/*.rb"].each do |path|
|
13
|
+
require File.expand_path(path)
|
11
14
|
end
|
12
15
|
|
13
|
-
# load
|
16
|
+
# load support
|
14
17
|
#
|
15
|
-
Dir["
|
16
|
-
require
|
18
|
+
Dir["#{dir}/support/*.rb"].each do |path|
|
19
|
+
require File.expand_path(path)
|
17
20
|
end
|
data/ymdp.gemspec
CHANGED