hoe-reek 1.1.8 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.autotest DELETED
@@ -1,25 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require "autotest/restart"
4
-
5
- # Autotest.add_hook :initialize do |at|
6
- # at.testlib = "minitest/unit"
7
- #
8
- # at.extra_files << "../some/external/dependency.rb"
9
- #
10
- # at.libs << ":../some/external"
11
- #
12
- # at.add_exception "vendor"
13
- #
14
- # at.add_mapping(/dependency.rb/) do |f, _|
15
- # at.files_matching(/test_.*rb$/)
16
- # end
17
- #
18
- # %w(TestA TestB).each do |klass|
19
- # at.extra_class_map[klass] = "test/test_misc.rb"
20
- # end
21
- # end
22
-
23
- # Autotest.add_hook :run_command do |at|
24
- # system "rake build"
25
- # end
@@ -1,8 +0,0 @@
1
- # Save as .codeclimate.yml (note leading .) in project root directory
2
- languages:
3
- Ruby: true
4
- #JavaScript: true
5
- #PHP: true
6
- #Python: true
7
- # exclude_paths:
8
- # - "foo/bar.rb"
@@ -1,2 +0,0 @@
1
- repo_token: PBMrbss5TPT8xsxCU16G19qszURqj5z7h
2
- service_name: travis-ci
@@ -1,5 +0,0 @@
1
- # api_endpoint: http://private-77f5-gemnasium.apiary-mock.com
2
- api_key: 0f4473f5825f325227eb7a3a9a3425af # You personal (secret) API key. Get it at https://gemnasium.com/settings/api_access
3
- project_name: hoe-reek # A name to remember your project.
4
- project_slug: saigkill/hoe-reek # Unique slug for this project. Get it on the "project settings" page.
5
- project_branch: master # /!\ If you don't use git, remove this line
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format progress
@@ -1,39 +0,0 @@
1
- AllCops:
2
-
3
- Include:
4
- - 'lib/**/*.rb'
5
- - 'spec/**/*.rb'
6
-
7
- Exclude:
8
- - 'Rakefile'
9
-
10
- DisplayCopNames: true
11
-
12
- Metrics/LineLength:
13
- Enabled: true
14
- Max: 80
15
-
16
- Metrics/CyclomaticComplexity:
17
- Severity: warning
18
-
19
- Style/PerlBackrefs:
20
- AutoCorrect: true
21
-
22
- Metrics/ParameterLists:
23
- Max: 10
24
- CountKeywordArgs: true
25
-
26
- Metrics/ClassLength:
27
- CountComments: false # count full line comments?
28
- Max: 150
29
-
30
- Metrics/ModuleLength:
31
- CountComments: false # count full line comments?
32
- Max: 190
33
-
34
- Metrics/MethodLength:
35
- CountComments: false # count full line comments?
36
- Max: 20
37
-
38
- Style/RedundantReturn:
39
- Enabled: false
@@ -1,21 +0,0 @@
1
- build:
2
- environment:
3
- ruby: '2.2.3'
4
-
5
- checks:
6
- ruby:
7
- code_rating: true
8
- duplicate_code: true
9
- style_while_until_do: true
10
- style_signal_exception:
11
- enforced_style: semantic
12
- style_redundant_exception: true
13
- style_raise_args:
14
- enforced_style: exploded
15
- style_predicate_name: true
16
- style_comment_annotation: true
17
- rails_output: true
18
-
19
- filter:
20
- excluded_paths:
21
- - 'spec/*'
@@ -1,30 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.0
4
- - 2.2.1
5
- - 2.2.2
6
- - 2.2.3
7
-
8
- dist: trusty
9
- sudo: required
10
-
11
- os:
12
- - linux
13
-
14
- env:
15
- global:
16
- - JRUBY_OPTS=-Xcext.enabled=true
17
- - CI=true
18
- - TRAVIS=true
19
- - LANG=en_US.UTF-8
20
- - LC_ALL=en_US.UTF-8
21
-
22
- before_install:
23
- - gem install bundler
24
-
25
- after_success:
26
- - CI=true TRAVIS=true coveralls --verbose
27
-
28
- notifications:
29
- email:
30
- - Sascha.Manns@mailbox.org
@@ -1,17 +0,0 @@
1
- # @markup markdown
2
- # @title Code of Conduct
3
- # @author Sascha Manns
4
-
5
- # Contributor Code of Conduct
6
-
7
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
8
-
9
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
10
-
11
- Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
12
-
13
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
14
-
15
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
16
-
17
- This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
@@ -1,33 +0,0 @@
1
- # Contributing
2
-
3
- ## Branches
4
-
5
- ### `master` branch
6
-
7
- The master branch is the current stable released version.
8
-
9
- ### `develop` branch
10
-
11
- The develop branch is the current edge of development.
12
-
13
- ## Forking
14
-
15
- 1. Fork it
16
- 2. Create your feature branch (`git checkout -b my-new-feature`)
17
- 3. Commit your changes (`git commit -am 'Add some feature'`)
18
- 4. Push to the branch (`git push origin my-new-feature`)
19
- 5. Create new Pull Request
20
-
21
- ## Pull requests
22
-
23
- * https://github.com/saigkill/hoe-reek/pulls
24
-
25
- Please base all pull requests off the `develop` branch. Merges to
26
- `master` only occur through the `develop` branch. Pull requests
27
- based on `master` will likely be cherry picked.
28
-
29
- ## Issues
30
-
31
- Need to report an issue? Use that issue tracker:
32
-
33
- * https://github.com/saigkill/hoe-reek/issues
@@ -1,11 +0,0 @@
1
- # Maintenance Policy
2
-
3
- I'm following the [Semantic Versioning](http://semver.org/) for its releases: `(Major).(Minor).(Patch)`.
4
-
5
- - **Major version**: Whenever there is something significant or any backwards incompatible changes.
6
- - **Minor version**: When new, backwards compatible functionality is introduced a minor feature is introduced, or when a set of smaller features is rolled out.
7
- - **Patch number**: When backwards compatible bug fixes are introduced that fix incorrect behavior.
8
-
9
- The current stable release will receive security patches and bug fixes (eg. `5.0` -> `5.0.1`). Feature releases will mark the next supported stable release where the minor version is increased numerically by increments of one (eg. `5.0 -> 5.1`).
10
-
11
- I encourage everyone to run the latest stable release to ensure that you can easily upgrade to the most secure and feature rich experience. In order to make sure you can easily run the most recent stable release, we are working hard to keep the update process simple and reliable.
@@ -1,111 +0,0 @@
1
- ---
2
- Attribute:
3
- enabled: false
4
- exclude: []
5
- BooleanParameter:
6
- enabled: true
7
- exclude: []
8
- ClassVariable:
9
- enabled: true
10
- exclude: []
11
- ControlParameter:
12
- enabled: true
13
- exclude: []
14
- DataClump:
15
- enabled: true
16
- exclude: []
17
- max_copies: 2
18
- min_clump_size: 2
19
- DuplicateMethodCall:
20
- enabled: true
21
- exclude: []
22
- max_calls: 3
23
- allow_calls: []
24
- FeatureEnvy:
25
- enabled: true
26
- exclude: []
27
- IrresponsibleModule:
28
- enabled: true
29
- exclude: []
30
- LongParameterList:
31
- enabled: true
32
- exclude: []
33
- max_params: 3
34
- overrides:
35
- initialize:
36
- max_params: 5
37
- LongYieldList:
38
- enabled: true
39
- exclude: []
40
- max_params: 3
41
- ModuleInitialize:
42
- enabled: true
43
- exclude: []
44
- NestedIterators:
45
- enabled: true
46
- exclude: []
47
- max_allowed_nesting: 1
48
- ignore_iterators: []
49
- NilCheck:
50
- enabled: true
51
- exclude: []
52
- PrimaDonnaMethod:
53
- enabled: true
54
- exclude: []
55
- RepeatedConditional:
56
- enabled: true
57
- exclude: []
58
- max_ifs: 2
59
- TooManyInstanceVariables:
60
- enabled: true
61
- exclude: []
62
- max_instance_variables: 9
63
- TooManyMethods:
64
- enabled: true
65
- exclude: []
66
- max_methods: 25
67
- TooManyStatements:
68
- enabled: true
69
- exclude:
70
- - initialize
71
- max_statements: 15
72
- UncommunicativeMethodName:
73
- enabled: true
74
- exclude: []
75
- reject:
76
- - !ruby/regexp /^[a-z]$/
77
- - !ruby/regexp /[0-9]$/
78
- - !ruby/regexp /[A-Z]/
79
- accept: []
80
- UncommunicativeModuleName:
81
- enabled: true
82
- exclude: []
83
- reject:
84
- - !ruby/regexp /^.$/
85
- - !ruby/regexp /[0-9]$/
86
- accept:
87
- - Inline::C
88
- UncommunicativeParameterName:
89
- enabled: true
90
- exclude: []
91
- reject:
92
- - !ruby/regexp /^.$/
93
- - !ruby/regexp /[0-9]$/
94
- - !ruby/regexp /[A-Z]/
95
- - !ruby/regexp /^_/
96
- accept: []
97
- UncommunicativeVariableName:
98
- enabled: true
99
- exclude: []
100
- reject:
101
- - !ruby/regexp /^.$/
102
- - !ruby/regexp /[0-9]$/
103
- - !ruby/regexp /[A-Z]/
104
- accept:
105
- - _
106
- UnusedParameters:
107
- enabled: true
108
- exclude: []
109
- UtilityFunction:
110
- enabled: true
111
- exclude: []