method
abbreviate
v2_4_6 -
Show latest stable
- Class:
Gem::Specification
abbreviate()public
Abbreviate the spec for downloading. Abbreviated specs are only used for searching, downloading and related activities and do not need deployment specific information (e.g. list of files). So we abbreviate the spec, making it much smaller for quicker downloads.
# File lib/rubygems/specification.rb, line 1463
def abbreviate
self.files = []
self.test_files = []
self.rdoc_options = []
self.extra_rdoc_files = []
self.cert_chain = []
end Related methods
- Instance methods
- <=>
- ==
- _dump
- abbreviate
- activate
- activate_dependencies
- add_bindir
- add_dependency
- add_development_dependency
- add_runtime_dependency
- add_self_to_load_path
- author
- author=
- authors
- authors=
- base_dir
- bin_dir
- bin_file
- build_args
- build_extensions
- build_info_dir
- build_info_file
- bundled_gem_in_old_ruby?
- cache_dir
- cache_file
- conficts_when_loaded_with?
- conflicts
- date
- date=
- default_executable
- default_value
- dependencies
- dependent_gems
- dependent_specs
- description=
- development_dependencies
- doc_dir
- encode_with
- eql?
- executable
- executable=
- executables
- executables=
- extensions
- extensions=
- extra_rdoc_files
- extra_rdoc_files=
- file_name
- files
- files=
- for_cache
- full_name
- gem_dir
- gems_dir
- has_conflicts?
- has_rdoc
- has_rdoc=
- has_rdoc?
- has_unit_tests?
- hash
- init_with
- initialize_copy
- inspect
- installed_by_version
- installed_by_version=
- internal_init
- lib_files
- license
- license=
- licenses
- licenses=
- mark_version
- method_missing
- missing_extensions?
- name_tuple
- normalize
- original_name
- original_platform
- platform
- platform=
- pretty_print
- raise_if_conflicts
- raw_require_paths
- rdoc_options
- rdoc_options=
- require_path
- require_path=
- require_paths=
- required_ruby_version=
- required_rubygems_version=
- requirements
- requirements=
- reset_nil_attributes_to_default
- respond_to_missing?
- ri_dir
- runtime_dependencies
- sanitize
- sanitize_string
- satisfies_requirement?
- sort_obj
- source
- spec_dir
- spec_file
- spec_name
- stubbed?
- summary=
- test_file
- test_file=
- test_files
- test_files=
- to_ruby
- to_ruby_for_cache
- to_s
- to_spec
- to_yaml
- traverse
- validate
- validate_dependencies
- validate_permissions
- version=
- warning
- yaml_initialize
- Class methods
- _all
- _clear_load_cache
- _latest_specs
- _load
- _resort!
- add_spec
- add_specs
- all
- all=
- all_names
- array_attributes
- attribute_names
- dirs
- dirs=
- each
- each_gemspec
- each_spec
- find_active_stub_by_path
- find_all_by_name
- find_by_name
- find_by_path
- find_in_unresolved
- find_in_unresolved_tree
- find_inactive_by_path
- from_yaml
- latest_specs
- load
- load_defaults
- new
- non_nil_attributes
- normalize_yaml_input
- outdated
- outdated_and_latest_version
- remove_spec
- required_attribute?
- required_attributes
- reset
- stubs
- stubs_for
- unresolved_deps
- Private methods
-
default_stubs -
gemspec_stubs_in -
installed_stubs -
map_stubs -
sort_by! -
uniq_by -
add_dependency_with_type -
check_version_conflict -
find_all_satisfiers -
invalidate_memoized_attributes -
ruby_code -
same_attributes?