Skip to content

Commit

Permalink
fixing a path bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TwP committed Aug 14, 2009
1 parent 5d226dd commit d5c5ca6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions History.txt
@@ -1,3 +1,8 @@
== 1.0.1 / 2009-08-14

* 1 bug fix
* Using the wrong file extension for the File#basename call

== 1.0.0 / 2009-07-16

* 1 major enhancement
Expand Down
4 changes: 2 additions & 2 deletions lib/little-plugger.rb
Expand Up @@ -110,7 +110,7 @@
#
module LittlePlugger

VERSION = '1.0.0' # :nodoc:
VERSION = '1.0.1' # :nodoc:

# Returns the version string for the library.
#
Expand Down Expand Up @@ -173,7 +173,7 @@ def load_plugins
found = {}

Gem.find_files(File.join(plugin_path, '*.rb')).each do |path|
found[File.basename(path, '*.rb').to_sym] = path
found[File.basename(path, '.rb').to_sym] = path
end

:keep_on_truckin while found.map { |name, path|
Expand Down

0 comments on commit d5c5ca6

Please sign in to comment.