Skip to content

Commit

Permalink
Replace "spermy" with "approximate" to mirror the RubyGems change in …
Browse files Browse the repository at this point in the history
…terminology

in pull request rubygems/rubygems#124
  • Loading branch information
luisdelarosa committed Mar 30, 2014
1 parent 16b64c6 commit e16606f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cocoapods-core/vendor/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ module Pod::Vendor
# specify your dependency as ">= 2.0.0" then, you're good, right? What
# happens if fnord 3.0 comes out and it isn't backwards compatible
# with 2.y.z? Your stuff will break as a result of using ">=". The
# better route is to specify your dependency with a "spermy" version
# better route is to specify your dependency with a "approximate" version
# specifier. They're a tad confusing, so here is how the dependency
# specifiers work:
#
Expand Down Expand Up @@ -288,7 +288,7 @@ def segments # :nodoc:
##
# A recommended version for use with a ~> Requirement.

def spermy_recommendation
def approximate_recommendation
segments = self.segments.dup

segments.pop while segments.any? { |s| String === s }
Expand Down

0 comments on commit e16606f

Please sign in to comment.