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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/ymdp.rb +13 -10
  3. data/ymdp.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -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
- # load support
8
- #
9
- Dir["lib/application_view/support/*.rb"].each do |path|
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 everything in the lib directory
16
+ # load support
14
17
  #
15
- Dir["lib/**/*.rb"].each do |path|
16
- require path unless path == File.expand_path(__FILE__)
18
+ Dir["#{dir}/support/*.rb"].each do |path|
19
+ require File.expand_path(path)
17
20
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ymdp}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Coleman"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ymdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Coleman