licensed 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/docs/sources/cocoapods.md +3 -1
- data/lib/licensed/sources/bundler/missing_specification.rb +2 -2
- data/lib/licensed/sources/cocoapods.rb +12 -5
- data/lib/licensed/version.rb +1 -1
- data/licensed.gemspec +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b570c99aa05e69aae2e75f5e661f1cb307c2031e30e0df440d1387f504cbb22
|
4
|
+
data.tar.gz: d5976f503706900355565f95edb7d0aa8502b2e1cde65d351d3b9bce5257a6c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bda6cf9e2df1df8854493763a70bbb876c40b070bec8dd30a8323e89435920ad6109616fb353720aa8d0c1533d9815c3476ca71ae43ff1883868fe162babb10a
|
7
|
+
data.tar.gz: 65f70a20f64c63c469a159d36d45dbc17d8c235bac9e2ceda8519227531ba37efb0aec5e1a0d298e71729f5f91a37e00fec35801e67de0398489d72bb5b96343
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## 4.0.3
|
10
|
+
|
11
|
+
### Changed
|
12
|
+
|
13
|
+
- Cocoapods dependency enumeration has been disabled (https://github.com/github/licensed/pull/616)
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
|
17
|
+
- Fixed method signature change in Bundler API with Bundler >= 2.4.4 (:tada: @CvX https://github.com/github/licensed/pull/614)
|
18
|
+
- Fixed installation dependency compatibility with Rails >= 7.0 (https://github.com/github/licensed/pull/616)
|
19
|
+
|
9
20
|
## 4.0.2
|
10
21
|
|
11
22
|
### Fixed
|
@@ -689,4 +700,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
689
700
|
|
690
701
|
Initial release :tada:
|
691
702
|
|
692
|
-
[Unreleased]: https://github.com/github/licensed/compare/4.0.
|
703
|
+
[Unreleased]: https://github.com/github/licensed/compare/4.0.3...HEAD
|
data/docs/sources/cocoapods.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
# CocoaPods
|
2
2
|
|
3
|
+
**NOTE!**: Enumerating Cocoapods dependencies is disabled until the cocoapods-core gem is compatible with Rails 7+. See https://github.com/CocoaPods/Core/pull/733
|
4
|
+
|
3
5
|
The cocoapods source will detect dependencies when `Podfile` and `Podfile.lock` are found at an app's `source_path`.
|
4
6
|
|
5
7
|
It uses the `pod` CLI commands to enumerate dependencies and gather metadata on each package.
|
6
8
|
|
7
|
-
|
9
|
+
## Evaluating dependencies from a specific target
|
8
10
|
|
9
11
|
The `cocoapods.targets` property is used to specify which targets to analyze dependencies from. By default, dependencies from all targets will be analyzed.
|
10
12
|
|
@@ -47,8 +47,8 @@ module Licensed
|
|
47
47
|
Licensed::Bundler::MissingSpecification.new(name: name, version: version, platform: platform, source: source)
|
48
48
|
end
|
49
49
|
|
50
|
-
def __materialize__(*args)
|
51
|
-
spec = super(*args)
|
50
|
+
def __materialize__(*args, **kwargs)
|
51
|
+
spec = super(*args, **kwargs)
|
52
52
|
return spec if spec
|
53
53
|
|
54
54
|
Licensed::Bundler::MissingSpecification.new(name: name, version: version, platform: platform, source: source)
|
@@ -2,15 +2,20 @@
|
|
2
2
|
require "json"
|
3
3
|
require "pathname"
|
4
4
|
require "uri"
|
5
|
-
|
5
|
+
|
6
|
+
# **NOTE** Cocoapods is disabled until cocoapods-core supports recent rails versions
|
7
|
+
# https://github.com/CocoaPods/Core/pull/733
|
8
|
+
# require "cocoapods-core"
|
6
9
|
|
7
10
|
module Licensed
|
8
11
|
module Sources
|
9
12
|
class Cocoapods < Source
|
10
13
|
def enabled?
|
11
|
-
|
14
|
+
false
|
15
|
+
|
16
|
+
# return unless Licensed::Shell.tool_available?("pod")
|
12
17
|
|
13
|
-
config.pwd.join("Podfile").exist? && config.pwd.join("Podfile.lock").exist?
|
18
|
+
# config.pwd.join("Podfile").exist? && config.pwd.join("Podfile.lock").exist?
|
14
19
|
end
|
15
20
|
|
16
21
|
def enumerate_dependencies
|
@@ -46,11 +51,13 @@ module Licensed
|
|
46
51
|
end
|
47
52
|
|
48
53
|
def lockfile
|
49
|
-
@lockfile
|
54
|
+
@lockfile = nil
|
55
|
+
# @lockfile ||= Pod::Lockfile.from_file(config.pwd.join("Podfile.lock"))
|
50
56
|
end
|
51
57
|
|
52
58
|
def podfile
|
53
|
-
@podfile
|
59
|
+
@podfile = nil
|
60
|
+
# @podfile ||= Pod::Podfile.from_file(config.pwd.join("Podfile"))
|
54
61
|
end
|
55
62
|
|
56
63
|
def dependency_path(name)
|
data/lib/licensed/version.rb
CHANGED
data/licensed.gemspec
CHANGED
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "parallel", "1.22.1"
|
32
32
|
spec.add_dependency "reverse_markdown", "2.1.1"
|
33
33
|
spec.add_dependency "json", "2.6.3"
|
34
|
-
spec.add_dependency "cocoapods-core", "1.11.3"
|
34
|
+
# spec.add_dependency "cocoapods-core", "1.11.3"
|
35
35
|
|
36
36
|
spec.add_development_dependency "rake", "13.0.6"
|
37
37
|
spec.add_development_dependency "minitest", "5.17.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: licensed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: licensee
|
@@ -122,20 +122,6 @@ dependencies:
|
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 2.6.3
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: cocoapods-core
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - '='
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: 1.11.3
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - '='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: 1.11.3
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: rake
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|