fastlane-plugin-dependency_manager_outdated 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/dependency_manager_outdated/actions/carthage_outdated_action.rb +12 -9
- data/lib/fastlane/plugin/dependency_manager_outdated/actions/cocoapods_outdated_action.rb +6 -2
- data/lib/fastlane/plugin/dependency_manager_outdated/helper/carthage_outdated_helper.rb +4 -1
- data/lib/fastlane/plugin/dependency_manager_outdated/helper/cocoapods_outdated_helper.rb +4 -1
- data/lib/fastlane/plugin/dependency_manager_outdated/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d60b129bb35b17f2ec997120528030cf9ee93cbafcf7e7738a84356f4c2c66d0
|
4
|
+
data.tar.gz: 292ce2481336351cad3c34634155e6a2740c294f7dec3c76c7aa0237e0c49fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38cbd4f05e4eb3308878da580f98e0a568247bf32aeb6e74807256c7cfbd51dd7acb6f201948a70710b78aeb48e57748d85a640851025e8da08a4e21ee3f982
|
7
|
+
data.tar.gz: 44b966c0143814d48b15b64ff1fce42a5dd6f6673142e1498641702edee04dd8b5b358e5434f4b375429e29a9d37f9d8ce26eede74e859861910f62edbbf3a18
|
@@ -21,17 +21,20 @@ module Fastlane
|
|
21
21
|
|
22
22
|
dependencies = Helper::CarthageOutdatedHelper.parse(result)
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
if dependencies.empty?
|
25
|
+
UI.success("All dependencies are up to date.")
|
26
|
+
else
|
27
|
+
repos = Helper::CarthageOutdatedHelper.resolved(params[:project_directory])
|
28
|
+
Actions.lane_context[SharedValues::CARTHAGE_REPOSITORY_LIST] = repos
|
29
|
+
|
30
|
+
dependencies.each do |lib|
|
31
|
+
if repository = repos[lib[:name]]
|
32
|
+
lib[:repository] = repository
|
33
|
+
end
|
30
34
|
end
|
35
|
+
Actions.lane_context[SharedValues::CARTHAGE_OUTDATED_LIST] = dependencies
|
36
|
+
Helper::CarthageOutdatedHelper.notify_slack(dependencies)
|
31
37
|
end
|
32
|
-
Actions.lane_context[SharedValues::CARTHAGE_OUTDATED_LIST] = dependencies
|
33
|
-
|
34
|
-
Helper::CarthageOutdatedHelper.notify_slack(dependencies)
|
35
38
|
end
|
36
39
|
|
37
40
|
#####################################################
|
@@ -21,9 +21,13 @@ module Fastlane
|
|
21
21
|
result = Actions.sh(cmd.join(' '))
|
22
22
|
|
23
23
|
dependencies = Helper::CocoapodsOutdatedHelper.parse(result)
|
24
|
-
Actions.lane_context[SharedValues::COCOAPODS_OUTDATED_LIST] = dependencies
|
25
24
|
|
26
|
-
|
25
|
+
if dependencies.empty?
|
26
|
+
UI.success("No pod updates are available.")
|
27
|
+
else
|
28
|
+
Actions.lane_context[SharedValues::COCOAPODS_OUTDATED_LIST] = dependencies
|
29
|
+
Helper::CocoapodsOutdatedHelper.notify_slack(dependencies)
|
30
|
+
end
|
27
31
|
end
|
28
32
|
|
29
33
|
#####################################################
|
@@ -27,10 +27,13 @@ module Fastlane
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def self.parse(str)
|
30
|
+
results = []
|
31
|
+
|
30
32
|
result = str.split(MESSAGE + "\n")[1]
|
33
|
+
return results unless result
|
34
|
+
|
31
35
|
libs = result.split("\n")
|
32
36
|
|
33
|
-
results = []
|
34
37
|
libs.each do |lib|
|
35
38
|
lib.match(PATTERN)
|
36
39
|
results << Dependency.new($1, $2, $3, $4)
|
@@ -24,10 +24,13 @@ module Fastlane
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def self.parse(str)
|
27
|
+
results = []
|
28
|
+
|
27
29
|
result = str.split(MESSAGE + "\n")[1]
|
30
|
+
return results unless result
|
31
|
+
|
28
32
|
libs = result.split("\n")
|
29
33
|
|
30
|
-
results = []
|
31
34
|
libs.each do |lib|
|
32
35
|
lib.match(PATTERN)
|
33
36
|
results << Dependency.new($1, $2, $3, $4)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-dependency_manager_outdated
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slack-notifier
|