Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed: install directory. vendor/plugins -> plugins refs #1253

  • Loading branch information...
commit 4a379e5e68054cca9406ea7bc16f9a5a8eb36ac1 1 parent cd997c1
@suer suer authored
View
2  lib/redbrew/formula.rb
@@ -37,7 +37,7 @@ def exec(&p)
def run
# TODO check redmine_version
- fetcher = Fetcher.create(@type, @redmine_home.vendor_plugins, @uri)
+ fetcher = Fetcher.create(@type, @redmine_home.plugins_directory, @uri)
fetcher.fetch if fetcher
@proc.call if @proc
end
View
4 lib/redbrew/redmine_home.rb
@@ -32,8 +32,8 @@ def tmp
"#{@redmine_home_path}/tmp/"
end
- def vendor_plugins
- @redmine_home_path + '/vendor/plugins/'
+ def plugins_directory
+ @redmine_home_path + '/plugins/'
end
private
View
2  spec/redbrew/redmine_home_spec.rb
@@ -21,7 +21,7 @@
context 'run with current path' do
subject { Redbrew::RedmineHome.new }
- its(:vendor_plugins) { should == './vendor/plugins/' }
+ its(:plugins_directory) { should == './plugins/' }
its(:tmp) { should == './tmp/' }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.