Skip to content

Commit

Permalink
Merge pull request #720 from ncooke3/patch-1
Browse files Browse the repository at this point in the history
Fix warnings in `dependency.rb`
  • Loading branch information
dnkoutso authored Mar 21, 2022
2 parents fdc8a5d + 704226d commit 90f1738
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

##### Bug Fixes

* None.
* Fix warnings in `dependency.rb`.
[Nick Cooke](https://github.com/ncooke3)
[#720](https://github.com/CocoaPods/Core/pull/720)


## 1.11.3 (2022-03-11)
Expand Down
4 changes: 3 additions & 1 deletion lib/cocoapods-core/dependency.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@ def initialize(name = nil, *requirements)
end
@name = name
@requirement = Requirement.create(requirements)
@specific_requirement ||= nil
@external_source ||= nil
end

# @return [Version] whether the dependency points to a specific version.
#
attr_accessor :specific_version
attr_reader :specific_version

# @return [Requirement] the requirement of this dependency (a set of
# one or more version restrictions).
Expand Down

0 comments on commit 90f1738

Please sign in to comment.