danger-spm_version_updates 0.1.1 → 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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +5 -3
  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 +19 -97
  8. data/lib/spm_version_updates/xcode.rb +67 -0
  9. metadata +4 -27
  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 -501
  24. data/spec/spec_helper.rb +0 -61
  25. data/spec/spm_version_updates_spec.rb +0 -180
  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/UpToNextMajor.xcodeproj/project.pbxproj +0 -80
  31. data/spec/support/fixtures/UpToNextMajor.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  32. data/spec/support/fixtures/VersionRange.xcodeproj/project.pbxproj +0 -81
  33. data/spec/support/fixtures/VersionRange.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  34. data/spec/support/fixtures/github_pr.json +0 -268
data/.gitignore DELETED
@@ -1,136 +0,0 @@
1
- .DS_Store
2
-
3
- *.gem
4
- *.rbc
5
- /.config
6
- /coverage/
7
- /InstalledFiles
8
- /pkg/
9
- /spec/reports/
10
- /spec/examples.txt
11
- /test/tmp/
12
- /test/version_tmp/
13
- /tmp/
14
-
15
- # Used by dotenv library to load environment variables.
16
- # .env
17
-
18
- # Ignore Byebug command history file.
19
- .byebug_history
20
-
21
- ## Specific to RubyMotion:
22
- .dat*
23
- .repl_history
24
- build/
25
- *.bridgesupport
26
- build-iPhoneOS/
27
- build-iPhoneSimulator/
28
-
29
- ## Specific to RubyMotion (use of CocoaPods):
30
- #
31
- # We recommend against adding the Pods directory to your .gitignore. However
32
- # you should judge for yourself, the pros and cons are mentioned at:
33
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
34
- #
35
- # vendor/Pods/
36
-
37
- ## Documentation cache and generated files:
38
- /.yardoc/
39
- /_yardoc/
40
- /doc/
41
- /rdoc/
42
-
43
- ## Environment normalization:
44
- /.bundle/
45
- /vendor/bundle
46
- /lib/bundler/man/
47
-
48
- # for a library or gem, you might want to ignore these files since the code is
49
- # intended to run in multiple environments; otherwise, check them in:
50
- # Gemfile.lock
51
- # .ruby-version
52
- # .ruby-gemset
53
-
54
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
55
- .rvmrc
56
-
57
- # Used by RuboCop. Remote config files pulled in from inherit_from directive.
58
- .rubocop-https?--*
59
-
60
- # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
61
- # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
62
-
63
- # User-specific stuff
64
- .idea/**/workspace.xml
65
- .idea/**/tasks.xml
66
- .idea/**/usage.statistics.xml
67
- .idea/**/dictionaries
68
- .idea/**/shelf
69
-
70
- # AWS User-specific
71
- .idea/**/aws.xml
72
-
73
- # Generated files
74
- .idea/**/contentModel.xml
75
-
76
- # Sensitive or high-churn files
77
- .idea/**/dataSources/
78
- .idea/**/dataSources.ids
79
- .idea/**/dataSources.local.xml
80
- .idea/**/sqlDataSources.xml
81
- .idea/**/dynamic.xml
82
- .idea/**/uiDesigner.xml
83
- .idea/**/dbnavigator.xml
84
-
85
- # Gradle
86
- .idea/**/gradle.xml
87
- .idea/**/libraries
88
-
89
- # Gradle and Maven with auto-import
90
- # When using Gradle or Maven with auto-import, you should exclude module files,
91
- # since they will be recreated, and may cause churn. Uncomment if using
92
- # auto-import.
93
- # .idea/artifacts
94
- # .idea/compiler.xml
95
- # .idea/jarRepositories.xml
96
- # .idea/modules.xml
97
- # .idea/*.iml
98
- # .idea/modules
99
- # *.iml
100
- # *.ipr
101
-
102
- # CMake
103
- cmake-build-*/
104
-
105
- # Mongo Explorer plugin
106
- .idea/**/mongoSettings.xml
107
-
108
- # File-based project format
109
- *.iws
110
-
111
- # IntelliJ
112
- out/
113
-
114
- # mpeltonen/sbt-idea plugin
115
- .idea_modules/
116
-
117
- # JIRA plugin
118
- atlassian-ide-plugin.xml
119
-
120
- # Cursive Clojure plugin
121
- .idea/replstate.xml
122
-
123
- # SonarLint plugin
124
- .idea/sonarlint/
125
-
126
- # Crashlytics plugin (for Android Studio and IntelliJ)
127
- com_crashlytics_export_strings.xml
128
- crashlytics.properties
129
- crashlytics-build.properties
130
- fabric.properties
131
-
132
- # Editor-based Rest Client
133
- .idea/httpRequests
134
-
135
- # Android studio 3.1+ serialized cache file
136
- .idea/caches/build_file_checksums.ser
data/.idea/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- # Default ignored files
2
- /shelf/
3
- /workspace.xml
4
- # Editor-based HTTP Client requests
5
- /httpRequests/
6
- # Datasource local storage ignored files
7
- /dataSources/
8
- /dataSources.local.xml
@@ -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