Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
changed project/buildWrappers/ruby-proxy-object to */buildWrappers/ru…
Browse files Browse the repository at this point in the history
…by-proxy-object as we cannot speculate project is the root node, for example it could be maven2-moduleset
  • Loading branch information
Foglio, Daniel authored and Foglio, Daniel committed Feb 25, 2014
1 parent 48629b0 commit 778564d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -27,3 +27,7 @@ After updating RVM plugin, you *need to update* your project's configuration fil
```

The update script renames original configuration file to `<original file name>.bak` in case update fails.


Contributors:
[Daniel Foglio](https://github.com/danielfoglio)
2 changes: 1 addition & 1 deletion bin/convert.rb
Expand Up @@ -30,7 +30,7 @@ def convert(config_file)
new_config = nil
File.open(config_file, 'r') do |file|
doc = REXML::Document.new(file)
doc.elements.each('project/buildWrappers/ruby-proxy-object') do |proxy_object|
doc.elements.each('*/buildWrappers/ruby-proxy-object') do |proxy_object|
rewrite_proxy_class_name(proxy_object)
remove_unwanted_serialized_attributes(proxy_object)
end
Expand Down

0 comments on commit 778564d

Please sign in to comment.