plugin_manager 1.2 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/plugin_manager.rb +1 -1
  2. metadata +2 -2
@@ -63,7 +63,7 @@ class PluginManager
63
63
  redcar_plugin_gem_names = all_gem_names.select {|n| n =~ /^redcar-/}
64
64
 
65
65
  definition_files = redcar_plugin_gem_names.map do |gem_name|
66
- [gem_name, ENV["GEM_HOME"] + "/gems/" + gem_name + "/plugin.rb"]
66
+ [gem_name, Gem.source_index.specification(gem_name).full_gem_path + "/plugin.rb"]
67
67
  end
68
68
 
69
69
  definition_files = definition_files.select do |name, definition_file|
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: plugin_manager
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "1.2"
5
+ version: "1.3"
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Lucraft
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-12 00:00:00 +01:00
13
+ date: 2011-06-14 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency