Method: LibGems::Specification#original_name
- Defined in:
- lib/libgems/specification.rb
#original_name ⇒ Object
Returns the full name (name-version) of this gemspec using the original platform. For use with legacy gems.
587 588 589 590 591 592 593 |
# File 'lib/libgems/specification.rb', line 587 def original_name # :nodoc: if platform == LibGems::Platform::RUBY or platform.nil? then "#{@name}-#{@version}" else "#{@name}-#{@version}-#{@original_platform}" end end |