Module: Pod
- Defined in:
- lib/cocoapods-core.rb,
lib/cocoapods-core/http.rb,
lib/cocoapods-core/github.rb,
lib/cocoapods-core/source.rb,
lib/cocoapods-core/vendor.rb,
lib/cocoapods-core/core_ui.rb,
lib/cocoapods-core/metrics.rb,
lib/cocoapods-core/podfile.rb,
lib/cocoapods-core/version.rb,
lib/cocoapods-core/lockfile.rb,
lib/cocoapods-core/platform.rb,
lib/cocoapods-core/build_type.rb,
lib/cocoapods-core/cdn_source.rb,
lib/cocoapods-core/dependency.rb,
lib/cocoapods-core/gem_version.rb,
lib/cocoapods-core/podfile/dsl.rb,
lib/cocoapods-core/requirement.rb,
lib/cocoapods-core/yaml_helper.rb,
lib/cocoapods-core/trunk_source.rb,
lib/cocoapods-core/specification.rb,
lib/cocoapods-core/source/manager.rb,
lib/cocoapods-core/standard_error.rb,
lib/cocoapods-core/source/acceptor.rb,
lib/cocoapods-core/source/metadata.rb,
lib/cocoapods-core/source/aggregate.rb,
lib/cocoapods-core/specification/dsl.rb,
lib/cocoapods-core/specification/set.rb,
lib/cocoapods-core/specification/json.rb,
lib/cocoapods-core/specification/linter.rb,
lib/cocoapods-core/source/health_reporter.rb,
lib/cocoapods-core/specification/consumer.rb,
lib/cocoapods-core/podfile/target_definition.rb,
lib/cocoapods-core/specification/dsl/attribute.rb,
lib/cocoapods-core/specification/linter/result.rb,
lib/cocoapods-core/specification/set/presenter.rb,
lib/cocoapods-core/specification/linter/analyzer.rb,
lib/cocoapods-core/specification/dsl/deprecations.rb,
lib/cocoapods-core/specification/dsl/platform_proxy.rb,
lib/cocoapods-core/specification/dsl/attribute_support.rb,
lib/cocoapods-core/specification/root_attribute_accessors.rb
Overview
The Pod modules name-spaces all the classes of CocoaPods.
Defined Under Namespace
Modules: CoreUI, GitHub, HTTP, Metrics, Vendor Classes: BuildType, CDNSource, DSLError, Dependency, Informative, Lockfile, PlainInformative, Platform, Podfile, Requirement, Source, Specification, StandardError, TrunkSource, Version, YAMLHelper
Constant Summary collapse
- Spec =
TODO: Fix
Specification
- CORE_VERSION =
The version of the cocoapods-core.
'1.16.2'.freeze
Validation collapse
-
._eval_podspec(string, path) ⇒ Object
private
Evaluates the given string in the namespace of the Pod module.
Class Method Details
._eval_podspec(string, path) ⇒ Object (private)
Evaluates the given string in the namespace of the Pod module.
843 844 845 846 847 848 849 850 851 852 853 |
# File 'lib/cocoapods-core/specification.rb', line 843 def self._eval_podspec(string, path) # rubocop:disable Security/Eval eval(string, nil, path.to_s) # rubocop:enable Security/Eval # rubocop:disable Lint/RescueException rescue Exception => e # rubocop:enable Lint/RescueException = "Invalid `#{path.basename}` file: #{e.}" raise DSLError.new(, path, e, string) end |