danger-spm_version_updates 0.1.2 → 0.1.3

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +1 -1
  4. data/danger-spm_version_updates.gemspec +1 -1
  5. data/lib/spm_version_updates/gem_version.rb +1 -1
  6. data/lib/spm_version_updates/git.rb +56 -0
  7. data/lib/spm_version_updates/plugin.rb +14 -102
  8. data/lib/spm_version_updates/xcode.rb +67 -0
  9. metadata +4 -29
  10. data/.editorconfig +0 -15
  11. data/.github/workflows/docs.yml +0 -43
  12. data/.github/workflows/lint_and_test.yml +0 -32
  13. data/.github/workflows/push_gem.yml +0 -26
  14. data/.github/workflows/readme.yml +0 -21
  15. data/.gitignore +0 -136
  16. data/.idea/.gitignore +0 -8
  17. data/.idea/danger-plugin-spm-version-updates.iml +0 -130
  18. data/.idea/misc.xml +0 -4
  19. data/.idea/modules.xml +0 -8
  20. data/.idea/vcs.xml +0 -6
  21. data/.markdownlint.jsonc +0 -6
  22. data/.reek.yml +0 -129
  23. data/.rubocop.yml +0 -508
  24. data/spec/spec_helper.rb +0 -61
  25. data/spec/spm_version_updates_spec.rb +0 -194
  26. data/spec/support/fixtures/Branch.xcodeproj/project.pbxproj +0 -80
  27. data/spec/support/fixtures/Branch.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  28. data/spec/support/fixtures/ExactVersion.xcodeproj/project.pbxproj +0 -80
  29. data/spec/support/fixtures/ExactVersion.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  30. data/spec/support/fixtures/NoResolvedVersion.xcodeproj/project.pbxproj +0 -80
  31. data/spec/support/fixtures/NoResolvedVersion.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -256
  32. data/spec/support/fixtures/UpToNextMajor.xcodeproj/project.pbxproj +0 -80
  33. data/spec/support/fixtures/UpToNextMajor.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  34. data/spec/support/fixtures/VersionRange.xcodeproj/project.pbxproj +0 -81
  35. data/spec/support/fixtures/VersionRange.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  36. data/spec/support/fixtures/github_pr.json +0 -268
@@ -1,130 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="ModuleRunConfigurationManager">
4
- <shared />
5
- </component>
6
- <component name="NewModuleRootManager">
7
- <content url="file://$MODULE_DIR$">
8
- <sourceFolder url="file://$MODULE_DIR$/features" isTestSource="true" />
9
- <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
10
- <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
11
- </content>
12
- <orderEntry type="inheritedJdk" />
13
- <orderEntry type="sourceFolder" forTests="false" />
14
- <orderEntry type="library" scope="PROVIDED" name="CFPropertyList (v3.0.6, ruby-3.2.2-p53) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.5, ruby-3.2.2-p53) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.2, ruby-3.2.2-p53) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="atomos (v0.1.3, ruby-3.2.2-p53) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="base64 (v0.2.0, ruby-3.2.2-p53) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="bundler (v2.4.10, ruby-3.2.2-p53) [gem]" level="application" />
20
- <orderEntry type="library" scope="PROVIDED" name="claide (v1.1.0, ruby-3.2.2-p53) [gem]" level="application" />
21
- <orderEntry type="library" scope="PROVIDED" name="claide-plugins (v0.9.2, ruby-3.2.2-p53) [gem]" level="application" />
22
- <orderEntry type="library" scope="PROVIDED" name="coderay (v1.1.3, ruby-3.2.2-p53) [gem]" level="application" />
23
- <orderEntry type="library" scope="PROVIDED" name="colored2 (v3.1.2, ruby-3.2.2-p53) [gem]" level="application" />
24
- <orderEntry type="library" scope="PROVIDED" name="cork (v0.3.0, ruby-3.2.2-p53) [gem]" level="application" />
25
- <orderEntry type="library" scope="PROVIDED" name="danger (v9.4.0, ruby-3.2.2-p53) [gem]" level="application" />
26
- <orderEntry type="library" scope="PROVIDED" name="danger-plugin-api (v1.0.0, ruby-3.2.2-p53) [gem]" level="application" />
27
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.5.0, ruby-3.2.2-p53) [gem]" level="application" />
28
- <orderEntry type="library" scope="PROVIDED" name="faraday (v2.7.11, ruby-3.2.2-p53) [gem]" level="application" />
29
- <orderEntry type="library" scope="PROVIDED" name="faraday-http-cache (v2.5.0, ruby-3.2.2-p53) [gem]" level="application" />
30
- <orderEntry type="library" scope="PROVIDED" name="faraday-net_http (v3.0.2, ruby-3.2.2-p53) [gem]" level="application" />
31
- <orderEntry type="library" scope="PROVIDED" name="ffi (v1.16.3, ruby-3.2.2-p53) [gem]" level="application" />
32
- <orderEntry type="library" scope="PROVIDED" name="formatador (v1.1.0, ruby-3.2.2-p53) [gem]" level="application" />
33
- <orderEntry type="library" scope="PROVIDED" name="git (v1.18.0, ruby-3.2.2-p53) [gem]" level="application" />
34
- <orderEntry type="library" scope="PROVIDED" name="guard (v2.18.1, ruby-3.2.2-p53) [gem]" level="application" />
35
- <orderEntry type="library" scope="PROVIDED" name="guard-compat (v1.2.1, ruby-3.2.2-p53) [gem]" level="application" />
36
- <orderEntry type="library" scope="PROVIDED" name="guard-rspec (v4.7.3, ruby-3.2.2-p53) [gem]" level="application" />
37
- <orderEntry type="library" scope="PROVIDED" name="json (v2.6.3, ruby-3.2.2-p53) [gem]" level="application" />
38
- <orderEntry type="library" scope="PROVIDED" name="kramdown (v2.4.0, ruby-3.2.2-p53) [gem]" level="application" />
39
- <orderEntry type="library" scope="PROVIDED" name="kramdown-parser-gfm (v1.1.0, ruby-3.2.2-p53) [gem]" level="application" />
40
- <orderEntry type="library" scope="PROVIDED" name="kwalify (v0.7.2, ruby-3.2.2-p53) [gem]" level="application" />
41
- <orderEntry type="library" scope="PROVIDED" name="language_server-protocol (v3.17.0.3, ruby-3.2.2-p53) [gem]" level="application" />
42
- <orderEntry type="library" scope="PROVIDED" name="listen (v3.0.7, ruby-3.2.2-p53) [gem]" level="application" />
43
- <orderEntry type="library" scope="PROVIDED" name="lumberjack (v1.2.10, ruby-3.2.2-p53) [gem]" level="application" />
44
- <orderEntry type="library" scope="PROVIDED" name="method_source (v1.0.0, ruby-3.2.2-p53) [gem]" level="application" />
45
- <orderEntry type="library" scope="PROVIDED" name="nanaimo (v0.3.0, ruby-3.2.2-p53) [gem]" level="application" />
46
- <orderEntry type="library" scope="PROVIDED" name="nap (v1.1.0, ruby-3.2.2-p53) [gem]" level="application" />
47
- <orderEntry type="library" scope="PROVIDED" name="nenv (v0.3.0, ruby-3.2.2-p53) [gem]" level="application" />
48
- <orderEntry type="library" scope="PROVIDED" name="no_proxy_fix (v0.1.2, ruby-3.2.2-p53) [gem]" level="application" />
49
- <orderEntry type="library" scope="PROVIDED" name="notiffany (v0.1.3, ruby-3.2.2-p53) [gem]" level="application" />
50
- <orderEntry type="library" scope="PROVIDED" name="octokit (v7.2.0, ruby-3.2.2-p53) [gem]" level="application" />
51
- <orderEntry type="library" scope="PROVIDED" name="open4 (v1.3.4, ruby-3.2.2-p53) [gem]" level="application" />
52
- <orderEntry type="library" scope="PROVIDED" name="parallel (v1.23.0, ruby-3.2.2-p53) [gem]" level="application" />
53
- <orderEntry type="library" scope="PROVIDED" name="parser (v3.2.2.4, ruby-3.2.2-p53) [gem]" level="application" />
54
- <orderEntry type="library" scope="PROVIDED" name="pry (v0.14.2, ruby-3.2.2-p53) [gem]" level="application" />
55
- <orderEntry type="library" scope="PROVIDED" name="public_suffix (v5.0.3, ruby-3.2.2-p53) [gem]" level="application" />
56
- <orderEntry type="library" scope="PROVIDED" name="racc (v1.7.3, ruby-3.2.2-p53) [gem]" level="application" />
57
- <orderEntry type="library" scope="PROVIDED" name="rainbow (v3.1.1, ruby-3.2.2-p53) [gem]" level="application" />
58
- <orderEntry type="library" scope="PROVIDED" name="rake (v13.1.0, ruby-3.2.2-p53) [gem]" level="application" />
59
- <orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.11.2, ruby-3.2.2-p53) [gem]" level="application" />
60
- <orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.10.1, ruby-3.2.2-p53) [gem]" level="application" />
61
- <orderEntry type="library" scope="PROVIDED" name="rchardet (v1.8.0, ruby-3.2.2-p53) [gem]" level="application" />
62
- <orderEntry type="library" scope="PROVIDED" name="reek (v6.1.4, ruby-3.2.2-p53) [gem]" level="application" />
63
- <orderEntry type="library" scope="PROVIDED" name="regexp_parser (v2.8.2, ruby-3.2.2-p53) [gem]" level="application" />
64
- <orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.6, ruby-3.2.2-p53) [gem]" level="application" />
65
- <orderEntry type="library" scope="PROVIDED" name="rspec (v3.12.0, ruby-3.2.2-p53) [gem]" level="application" />
66
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.12.2, ruby-3.2.2-p53) [gem]" level="application" />
67
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.12.3, ruby-3.2.2-p53) [gem]" level="application" />
68
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.12.6, ruby-3.2.2-p53) [gem]" level="application" />
69
- <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.12.1, ruby-3.2.2-p53) [gem]" level="application" />
70
- <orderEntry type="library" scope="PROVIDED" name="rubocop (v1.57.2, ruby-3.2.2-p53) [gem]" level="application" />
71
- <orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v1.30.0, ruby-3.2.2-p53) [gem]" level="application" />
72
- <orderEntry type="library" scope="PROVIDED" name="rubocop-capybara (v2.19.0, ruby-3.2.2-p53) [gem]" level="application" />
73
- <orderEntry type="library" scope="PROVIDED" name="rubocop-factory_bot (v2.24.0, ruby-3.2.2-p53) [gem]" level="application" />
74
- <orderEntry type="library" scope="PROVIDED" name="rubocop-rake (v0.6.0, ruby-3.2.2-p53) [gem]" level="application" />
75
- <orderEntry type="library" scope="PROVIDED" name="rubocop-rspec (v2.25.0, ruby-3.2.2-p53) [gem]" level="application" />
76
- <orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.13.0, ruby-3.2.2-p53) [gem]" level="application" />
77
- <orderEntry type="library" scope="PROVIDED" name="sawyer (v0.9.2, ruby-3.2.2-p53) [gem]" level="application" />
78
- <orderEntry type="library" scope="PROVIDED" name="semantic (v1.6.1, ruby-3.2.2-p53) [gem]" level="application" />
79
- <orderEntry type="library" scope="PROVIDED" name="shellany (v0.0.1, ruby-3.2.2-p53) [gem]" level="application" />
80
- <orderEntry type="library" scope="PROVIDED" name="terminal-table (v3.0.2, ruby-3.2.2-p53) [gem]" level="application" />
81
- <orderEntry type="library" scope="PROVIDED" name="thor (v1.3.0, ruby-3.2.2-p53) [gem]" level="application" />
82
- <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v2.5.0, ruby-3.2.2-p53) [gem]" level="application" />
83
- <orderEntry type="library" scope="PROVIDED" name="xcodeproj (v1.23.0, ruby-3.2.2-p53) [gem]" level="application" />
84
- <orderEntry type="library" scope="PROVIDED" name="yard (v0.9.34, ruby-3.2.2-p53) [gem]" level="application" />
85
- </component>
86
- <component name="RakeTasksCache">
87
- <option name="myRootTask">
88
- <RakeTaskImpl id="rake">
89
- <subtasks>
90
- <RakeTaskImpl description="Build danger-spm_version_updates-0.0.4.gem into the pkg directory" fullCommand="build" id="build" />
91
- <RakeTaskImpl id="build">
92
- <subtasks>
93
- <RakeTaskImpl description="Generate SHA512 checksum if danger-spm_version_updates-0.0.4.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
94
- </subtasks>
95
- </RakeTaskImpl>
96
- <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
97
- <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
98
- <RakeTaskImpl description="Build and install danger-spm_version_updates-0.0.4.gem into system gems" fullCommand="install" id="install" />
99
- <RakeTaskImpl id="install">
100
- <subtasks>
101
- <RakeTaskImpl description="Build and install danger-spm_version_updates-0.0.4.gem into system gems without network access" fullCommand="install:local" id="local" />
102
- </subtasks>
103
- </RakeTaskImpl>
104
- <RakeTaskImpl description="Check for code smells" fullCommand="reek" id="reek" />
105
- <RakeTaskImpl description="Create tag v0.0.4 and build and push danger-spm_version_updates-0.0.4.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
106
- <RakeTaskImpl description="Run RuboCop on the lib/specs directory" fullCommand="rubocop" id="rubocop" />
107
- <RakeTaskImpl id="rubocop">
108
- <subtasks>
109
- <RakeTaskImpl description="Autocorrect RuboCop offenses (only when it's safe)" fullCommand="rubocop:autocorrect" id="autocorrect" />
110
- <RakeTaskImpl description="Autocorrect RuboCop offenses (safe and unsafe)" fullCommand="rubocop:autocorrect_all" id="autocorrect_all" />
111
- <RakeTaskImpl description="" fullCommand="rubocop:auto_correct" id="auto_correct" />
112
- </subtasks>
113
- </RakeTaskImpl>
114
- <RakeTaskImpl description="Ensure that the plugin passes `danger plugins lint`" fullCommand="spec_docs" id="spec_docs" />
115
- <RakeTaskImpl description="Run RSpec code examples" fullCommand="specs" id="specs" />
116
- <RakeTaskImpl description="" fullCommand="default" id="default" />
117
- <RakeTaskImpl description="" fullCommand="release" id="release" />
118
- <RakeTaskImpl id="release">
119
- <subtasks>
120
- <RakeTaskImpl description="" fullCommand="release:guard_clean" id="guard_clean" />
121
- <RakeTaskImpl description="" fullCommand="release:rubygem_push" id="rubygem_push" />
122
- <RakeTaskImpl description="" fullCommand="release:source_control_push" id="source_control_push" />
123
- </subtasks>
124
- </RakeTaskImpl>
125
- <RakeTaskImpl description="" fullCommand="spec" id="spec" />
126
- </subtasks>
127
- </RakeTaskImpl>
128
- </option>
129
- </component>
130
- </module>
data/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="ruby-3.2.2-p53" project-jdk-type="RUBY_SDK" />
4
- </project>
data/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/danger-plugin-spm-version-updates.iml" filepath="$PROJECT_DIR$/.idea/danger-plugin-spm-version-updates.iml" />
6
- </modules>
7
- </component>
8
- </project>
data/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>
data/.markdownlint.jsonc DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "MD013": false,
3
- "MD046": {
4
- "style": "fenced"
5
- }
6
- }
data/.reek.yml DELETED
@@ -1,129 +0,0 @@
1
- ---
2
- detectors:
3
- Attribute:
4
- enabled: false
5
- exclude: []
6
- BooleanParameter:
7
- enabled: true
8
- exclude: []
9
- ClassVariable:
10
- enabled: true
11
- exclude: []
12
- ControlParameter:
13
- enabled: true
14
- exclude: []
15
- DataClump:
16
- enabled: true
17
- exclude: []
18
- max_copies: 2
19
- min_clump_size: 2
20
- DuplicateMethodCall:
21
- enabled: true
22
- exclude: []
23
- max_calls: 1
24
- allow_calls: []
25
- FeatureEnvy:
26
- enabled: true
27
- exclude: []
28
- InstanceVariableAssumption:
29
- enabled: true
30
- exclude: []
31
- IrresponsibleModule:
32
- enabled: false
33
- exclude: []
34
- LongParameterList:
35
- enabled: true
36
- exclude: []
37
- max_params: 3
38
- overrides:
39
- initialize:
40
- max_params: 5
41
- LongYieldList:
42
- enabled: true
43
- exclude: []
44
- max_params: 3
45
- ManualDispatch:
46
- enabled: true
47
- exclude: []
48
- MissingSafeMethod:
49
- enabled: true
50
- exclude: []
51
- ModuleInitialize:
52
- enabled: true
53
- exclude: []
54
- NestedIterators:
55
- enabled: true
56
- exclude: []
57
- max_allowed_nesting: 1
58
- ignore_iterators:
59
- - tap
60
- NilCheck:
61
- enabled: true
62
- exclude: []
63
- RepeatedConditional:
64
- enabled: true
65
- exclude: []
66
- max_ifs: 2
67
- SubclassedFromCoreClass:
68
- enabled: true
69
- exclude: []
70
- TooManyConstants:
71
- enabled: true
72
- exclude: []
73
- max_constants: 5
74
- TooManyInstanceVariables:
75
- enabled: true
76
- exclude: []
77
- max_instance_variables: 4
78
- TooManyMethods:
79
- enabled: true
80
- exclude: []
81
- max_methods: 15
82
- TooManyStatements:
83
- enabled: true
84
- exclude:
85
- - initialize
86
- max_statements: 5
87
- UncommunicativeMethodName:
88
- enabled: true
89
- exclude: []
90
- reject:
91
- - "/^[a-z]$/"
92
- - "/[0-9]$/"
93
- - "/[A-Z]/"
94
- accept: []
95
- UncommunicativeModuleName:
96
- enabled: true
97
- exclude: []
98
- reject:
99
- - "/^.$/"
100
- - "/[0-9]$/"
101
- accept: []
102
- UncommunicativeParameterName:
103
- enabled: true
104
- exclude: []
105
- reject:
106
- - "/^.$/"
107
- - "/[0-9]$/"
108
- - "/[A-Z]/"
109
- - "/^_/"
110
- accept: []
111
- UncommunicativeVariableName:
112
- enabled: true
113
- exclude: []
114
- reject:
115
- - "/^.$/"
116
- - "/[0-9]$/"
117
- - "/[A-Z]/"
118
- accept:
119
- - "/^_$/"
120
- UnusedParameters:
121
- enabled: true
122
- exclude: []
123
- UnusedPrivateMethod:
124
- enabled: false
125
- exclude: []
126
- UtilityFunction:
127
- enabled: true
128
- exclude: []
129
- public_methods_only: false