Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/rubygems/specification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@
# Starting in RubyGems 2.0, a Specification can hold arbitrary
# metadata. See #metadata for restrictions on the format and size of metadata
# items you may add to a specification.
#
# Specifications must be deterministic, as in the example above. For instance,
# you cannot define attributes conditionally:
#
# # INVALID: do not do this.
# unless RUBY_ENGINE == "jruby"
# s.extensions << "ext/example/extconf.rb"
# end
#

class Gem::Specification < Gem::BasicSpecification
# REFACTOR: Consider breaking out this version stuff into a separate
Expand Down