Skip to content

Commit

Permalink
Merge pull request #87 from rightscale/OPS-3243_change_location_of_te…
Browse files Browse the repository at this point in the history
…mplate_load

Ops 3243 change location of template load
  • Loading branch information
Marc committed Aug 18, 2016
2 parents f5965f6 + 2f074b2 commit c7b5fb4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,7 @@ Reverted bad release
Version 2.1.20
--------------
* Bugfix: We now correctly report the correct number of tasks waiting, in the json interface

Version 2.1.21
--------------
* Bugfix: Pull the correct path whenever loading up the erb template in webui.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
right_chimp (2.1.20)
right_chimp (2.1.21)
highline (~> 1.7.2)
nokogiri (~> 1.6.7.1)
progressbar (~> 0.11.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/right_chimp/daemon/ChimpDaemon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def do_GET(req, resp)
# First determine the path to the files to serve
#
if ENV['CHIMP_TEST'] != 'TRUE'
template_path = File.join(Gem.dir, 'gems', 'right_chimp-' + VERSION, 'lib/right_chimp/templates')
template_path = File.expand_path('../templates', __dir__)
else
template_path = 'lib/right_chimp/templates'
end
Expand Down
2 changes: 1 addition & 1 deletion lib/right_chimp/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Chimp
VERSION = "2.1.20"
VERSION = "2.1.21"
end

0 comments on commit c7b5fb4

Please sign in to comment.