~ubuntu-branches/ubuntu/trusty/jruby/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/ruby/site_ruby/1.8/rubygems/specification.rb

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Delafond
  • Date: 2009-12-10 12:34:42 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091210123442-df7t1v36qtfkj5df
Tags: 1.4.0-1
* New upstream release.
* Updated watch file.
* Updated copyright file to reflect addition of new third-party jars.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# See LICENSE.txt for permissions.
5
5
#++
6
6
 
7
 
require 'rubygems'
8
7
require 'rubygems/version'
9
8
require 'rubygems/requirement'
10
9
require 'rubygems/platform'
848
847
            'authors must be Array of Strings'
849
848
    end
850
849
 
851
 
    licenses.each{ |license|
 
850
    licenses.each { |license|
852
851
      if license.length > 64
853
852
        raise Gem::InvalidSpecificationException,
854
853
          "each license must be 64 characters or less"