Skip to content

Commit

Permalink
[build] removed obsolete monkey patches
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian committed Dec 18, 2014
1 parent 08ae077 commit 30dad24
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,6 @@ def version

project 'JRuby Lib Setup' do

# TODO move those to method to ruby-maven
class ::Java::JavaIo::File
def to_pathname
to_s.gsub( /\\/, '/' )
end
end
class ::Java::JavaLang::String
def to_pathname
to_s.gsub( /\\/, '/' )
end
end
class ::String
def to_pathname
self.gsub( /\\/, '/' )
end
end

version = File.read( File.join( basedir, '..', 'VERSION' ) ).strip

model_version '4.0.0'
Expand Down

0 comments on commit 30dad24

Please sign in to comment.