hoe-reek 1.0.11 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: ce50c7c9bbfeffddb4684c680544578dcc5abb885b19b27a38eb56c91f8c13f8
4
- data.tar.gz: 8b4ded368247ecef4a35582f243db442daac38eec00c9ecd5d4b92801d8e0470
2
+ SHA1:
3
+ metadata.gz: edd0822cc9dce80c82dfb159d123ef08b280348f
4
+ data.tar.gz: d3ddffc78490317e2e810cb96ba3cf52d40bb999
5
5
  SHA512:
6
- metadata.gz: 96fc29c2f4b0cb152363fa654432018b08f8d27f8987e01408c00630b04a5935f6f3f22045e59a07f51a8f3862961a70299f38b8c6dc8b2dfa50341f467cc9e3
7
- data.tar.gz: 83dd1b800de1aab383736313909f4b677f0d7f05ace5c58c2bb576a5cbc3af1399c59c058e7059173ac59b06036f3ef9ff2a1755010d8572a5c22c3ea2d2756b
6
+ metadata.gz: a57cad9cba3bb3ea5babbb1a5676a684207b08f200e8599a021adf608023d9b4c535a318159cd05ff79139b4f1aa3798c26a9c25a4edd83256a32b10e96d245b
7
+ data.tar.gz: b401c54accf2b588588d7056b917659076e2074ddc9c6b8842d389b59f7881655538fbce8fe5531118c4fceb3d10aba6c2a1128910870f8f991efee84ee3a440
Binary file
@@ -0,0 +1,2 @@
1
+ �W߀�"/��D����M0+)E*F:��M���B;����Th�
2
+ :d�� Lh߳��:U��C�(�p�?�a�sM�$�-ld�n�h�ztn�|:�s�H�m�P� �Tɝ�EL�l�f��Q4 k;����2E>�=D�y��N[�-p��.�J�w�3MJ ��a�w�0<"�Nʽ,G�lL�m$�.EHa'�^ʙ7���"�_���{���n����j��"�~��U�G6��A4��fs9� (u�bI�h�M��ȁϗG�
@@ -0,0 +1,25 @@
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
@@ -0,0 +1,8 @@
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"
@@ -0,0 +1,2 @@
1
+ repo_token: PBMrbss5TPT8xsxCU16G19qszURqj5z7h
2
+ service_name: travis-ci
@@ -0,0 +1,5 @@
1
+ # api_endpoint: http://private-77f5-gemnasium.apiary-mock.com
2
+ api_key: c916184c3e0892558476535b216f7442 # You personal (secret) API key. Get it at https://gemnasium.com/settings/api_access
3
+ project_name: hoe-manns # A name to remember your project.
4
+ project_slug: cb4a43002ba5a3b1d73d1775e8e3c5be # 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 ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
@@ -0,0 +1,39 @@
1
+ AllCops:
2
+
3
+ Include:
4
+ - 'lib/**/*.rb'
5
+ - 'test/**/*.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
@@ -0,0 +1,17 @@
1
+ checks:
2
+ ruby:
3
+ code_rating: true
4
+ duplicate_code: true
5
+ style_while_until_do: true
6
+ style_signal_exception:
7
+ enforced_style: semantic
8
+ style_redundant_exception: true
9
+ style_raise_args:
10
+ enforced_style: exploded
11
+ style_predicate_name: true
12
+ style_comment_annotation: true
13
+ rails_output: true
14
+
15
+ filter:
16
+ excluded_paths:
17
+ - 'test/*'
@@ -0,0 +1,29 @@
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
+
10
+ os:
11
+ - linux
12
+
13
+ env:
14
+ global:
15
+ - JRUBY_OPTS=-Xcext.enabled=true
16
+ - CI=true
17
+ - TRAVIS=true
18
+ - LANG=en_US.UTF-8
19
+ - LC_ALL=en_US.UTF-8
20
+
21
+ before_install:
22
+ - gem install bundler
23
+
24
+ after_success:
25
+ - CI=true TRAVIS=true coveralls --verbose
26
+
27
+ notifications:
28
+ email:
29
+ - samannsml@directbox.com
@@ -0,0 +1,17 @@
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,25 +1,33 @@
1
- # IDEAS:
2
-
3
- * Add ideas on: https://github.com/saigkill/hoe-rubocop/issues
4
-
5
- ## COOL HACKS:
6
-
7
- * Open a bugreport on https://github.com/saigkill/hoe-rubocop/issues.
8
- * Please use the -u flag when generating the patch as it makes the patch
9
- more readable.
10
- * Write a good explanation of what the patch does.
11
- * It is better to use git format-patch command: git format-patch HEAD^
12
-
13
- # STRUCTURE:
14
-
15
- ## BRANCHES:
16
-
17
- ### `master` BRANCH:
18
- The master branch is the last stable version.
19
-
20
- ### `develop` BRANCH:
21
- The develop branch is the current edge of development.
22
-
23
- ### PULL REQUESTS:
24
- Please base all Pullrequests off the `develop` branch. Merges to
25
- `X.X` only occur through the `develop` branch.
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://gitlab.com/saigkill/hoe-reek/merge_requests
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://gitlab.com/saigkill/hoe-reek/issues
data/Gemfile ADDED
@@ -0,0 +1,41 @@
1
+ # -*- ruby -*-
2
+
3
+ # DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4
+
5
+ source "https://rubygems.org/"
6
+
7
+ gem "bundler", "~>1.10"
8
+ gem "setup", "~>5.2"
9
+
10
+ gem "hoe-deveiate", "~>0.7", :group => [:development, :test]
11
+ gem "hoe-highline", "~>0.2", :group => [:development, :test]
12
+ gem "hoe-yard", ">=0.1.2", :group => [:development, :test]
13
+ gem "hoe-mercurial", "~>1.4", :group => [:development, :test]
14
+ gem "coveralls", "~>0.8", :group => [:development, :test]
15
+ gem "gem-release", "~>0.7", :group => [:development, :test]
16
+ gem "hoe-bundler", "~>1.2", :group => [:development, :test]
17
+ gem "hoe-doofus", "~>1.0", :group => [:development, :test]
18
+ gem "hoe-gemspec", "~>1.0", :group => [:development, :test]
19
+ gem "hoe-git", "~>1.6", :group => [:development, :test]
20
+ gem "hoe-manns", "~>1.0", :group => [:development, :test]
21
+ gem "hoe-reek", "~>1.0", :group => [:development, :test]
22
+ gem "hoe-rubocop", "~>0.1", :group => [:development, :test]
23
+ gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
24
+ gem "hoe-seattlerb", "~>1.3", :group => [:development, :test]
25
+ gem "hoe-travis", "~>1.2", :group => [:development, :test]
26
+ gem "hoe-version", "~>1.2", :group => [:development, :test]
27
+ gem "indexer", "~>0.3", :group => [:development, :test]
28
+ gem "minitest", "~>5.8.1", :group => [:development, :test]
29
+ gem "rake", "~>10.0", :group => [:development, :test]
30
+ gem "reek", "~>3.3", :group => [:development, :test]
31
+ gem "rspec", "~>3.3", :group => [:development, :test]
32
+ gem "rubocop", "~>0.34", :group => [:development, :test]
33
+ gem "simplecov", "~>0.10", :group => [:development, :test]
34
+ gem "test", "~>1.0.0", :group => [:development, :test]
35
+ gem "test-unit", "~>3.1.4", :group => [:development, :test]
36
+ gem "ZenTest", "~>4.11", :group => [:development, :test]
37
+ gem "bundler-audit", "~>0.4.0", :group => [:development, :test]
38
+ gem "manns_shared", "~>1.0.0", :group => [:development, :test]
39
+ gem "hoe", "~>3.14", :group => [:development, :test]
40
+
41
+ # vim: syntax=ruby
@@ -0,0 +1,217 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ RubyInline (3.12.4)
5
+ ZenTest (~> 4.3)
6
+ ZenTest (4.11.0)
7
+ abstract_type (0.0.7)
8
+ adamantium (0.2.0)
9
+ ice_nine (~> 0.11.0)
10
+ memoizable (~> 0.4.0)
11
+ arr-pm (0.0.10)
12
+ cabin (> 0)
13
+ ast (2.1.0)
14
+ astrolabe (1.3.1)
15
+ parser (~> 2.2)
16
+ backports (3.6.6)
17
+ bundler-audit (0.4.0)
18
+ bundler (~> 1.2)
19
+ thor (~> 0.18)
20
+ cabin (0.7.1)
21
+ childprocess (0.5.6)
22
+ ffi (~> 1.0, >= 1.0.11)
23
+ clamp (0.6.5)
24
+ concord (0.1.5)
25
+ adamantium (~> 0.2.0)
26
+ equalizer (~> 0.0.9)
27
+ coveralls (0.8.3)
28
+ json (~> 1.8)
29
+ rest-client (>= 1.6.8, < 2)
30
+ simplecov (~> 0.10.0)
31
+ term-ansicolor (~> 1.3)
32
+ thor (~> 0.19.1)
33
+ diff-lcs (1.2.5)
34
+ docile (1.1.5)
35
+ domain_name (0.5.24)
36
+ unf (>= 0.0.5, < 1.0.0)
37
+ equalizer (0.0.11)
38
+ ffi (1.9.10)
39
+ fpm (1.4.0)
40
+ arr-pm (~> 0.0.10)
41
+ backports (>= 2.6.2)
42
+ cabin (>= 0.6.0)
43
+ childprocess
44
+ clamp (~> 0.6)
45
+ ffi
46
+ json (>= 1.7.7)
47
+ gem-release (0.7.4)
48
+ hashr (0.0.22)
49
+ highline (1.7.7)
50
+ hoe (3.14.2)
51
+ rake (>= 0.8, < 11.0)
52
+ hoe-bundler (1.2.0)
53
+ hoe (>= 2.2.0)
54
+ hoe-deveiate (0.7.0)
55
+ hoe (~> 3.13)
56
+ hoe-highline (~> 0.2)
57
+ hoe-mercurial (~> 1.4)
58
+ mail (~> 2.6)
59
+ rdoc (~> 4.2)
60
+ rspec (~> 3.2)
61
+ hoe-doofus (1.0.0)
62
+ hoe-gemspec (1.0.0)
63
+ hoe (>= 2.2.0)
64
+ hoe-git (1.6.0)
65
+ hoe-highline (0.2.1)
66
+ highline (~> 1.6)
67
+ hoe (~> 3.11)
68
+ hoe-manns (1.1.0)
69
+ bundler-audit (~> 0.4.0)
70
+ fpm (~> 1.4.0)
71
+ parseconfig (~> 1.0)
72
+ setup (~> 5.2)
73
+ hoe-mercurial (1.4.1)
74
+ hoe (~> 3.9)
75
+ hoe-reek (1.0.0)
76
+ hoe
77
+ reek
78
+ hoe-rubocop (0.1.1)
79
+ RubyInline (~> 3.9)
80
+ setup (~> 5.2)
81
+ hoe-rubygems (1.0.0)
82
+ hoe-seattlerb (1.3.4)
83
+ hoe-travis (1.2)
84
+ hoe (~> 3.0)
85
+ travis-lint (~> 1.2)
86
+ hoe-version (1.2.0)
87
+ hoe-yard (0.1.2)
88
+ yard (>= 0.2.3.1)
89
+ http-cookie (1.0.2)
90
+ domain_name (~> 0.5)
91
+ ice_nine (0.11.1)
92
+ indexer (0.3.1)
93
+ json (1.8.3)
94
+ mail (2.6.3)
95
+ mime-types (>= 1.16, < 3)
96
+ manns_shared (1.0.0)
97
+ nokogiri (~> 1.6.6.2)
98
+ setup (~> 5.2)
99
+ memoizable (0.4.2)
100
+ thread_safe (~> 0.3, >= 0.3.1)
101
+ mime-types (2.6.2)
102
+ mini_portile (0.6.2)
103
+ minitest (5.8.1)
104
+ netrc (0.10.3)
105
+ nokogiri (1.6.6.2)
106
+ mini_portile (~> 0.6.0)
107
+ parseconfig (1.0.6)
108
+ parser (2.2.2.6)
109
+ ast (>= 1.1, < 3.0)
110
+ power_assert (0.2.4)
111
+ powerpack (0.1.1)
112
+ private_attr (1.1.0)
113
+ procto (0.0.2)
114
+ rainbow (2.0.0)
115
+ rake (10.4.2)
116
+ rdoc (4.2.0)
117
+ reek (3.5.0)
118
+ parser (~> 2.2.2.5)
119
+ private_attr (~> 1.1)
120
+ rainbow (~> 2.0)
121
+ unparser (~> 0.2.2)
122
+ rest-client (1.8.0)
123
+ http-cookie (>= 1.0.2, < 2.0)
124
+ mime-types (>= 1.16, < 3.0)
125
+ netrc (~> 0.7)
126
+ rspec (3.3.0)
127
+ rspec-core (~> 3.3.0)
128
+ rspec-expectations (~> 3.3.0)
129
+ rspec-mocks (~> 3.3.0)
130
+ rspec-core (3.3.2)
131
+ rspec-support (~> 3.3.0)
132
+ rspec-expectations (3.3.1)
133
+ diff-lcs (>= 1.2.0, < 2.0)
134
+ rspec-support (~> 3.3.0)
135
+ rspec-mocks (3.3.2)
136
+ diff-lcs (>= 1.2.0, < 2.0)
137
+ rspec-support (~> 3.3.0)
138
+ rspec-support (3.3.0)
139
+ rubocop (0.34.2)
140
+ astrolabe (~> 1.3)
141
+ parser (>= 2.2.2.5, < 3.0)
142
+ powerpack (~> 0.1)
143
+ rainbow (>= 1.99.1, < 3.0)
144
+ ruby-progressbar (~> 1.4)
145
+ ruby-progressbar (1.7.5)
146
+ rubytest (0.8.1)
147
+ safe_yaml (0.9.7)
148
+ setup (5.2.0)
149
+ simplecov (0.10.0)
150
+ docile (~> 1.1.0)
151
+ json (~> 1.8)
152
+ simplecov-html (~> 0.10.0)
153
+ simplecov-html (0.10.0)
154
+ term-ansicolor (1.3.2)
155
+ tins (~> 1.0)
156
+ test (1.0.0)
157
+ rubytest
158
+ test-unit (3.1.4)
159
+ power_assert
160
+ thor (0.19.1)
161
+ thread_safe (0.3.5)
162
+ tins (1.6.0)
163
+ travis-lint (1.8.0)
164
+ hashr (~> 0.0.22)
165
+ safe_yaml (~> 0.9.0)
166
+ unf (0.1.4)
167
+ unf_ext
168
+ unf_ext (0.0.7.1)
169
+ unparser (0.2.4)
170
+ abstract_type (~> 0.0.7)
171
+ adamantium (~> 0.2.0)
172
+ concord (~> 0.1.5)
173
+ diff-lcs (~> 1.2.5)
174
+ equalizer (~> 0.0.9)
175
+ parser (~> 2.2.2)
176
+ procto (~> 0.0.2)
177
+ yard (0.8.7.6)
178
+
179
+ PLATFORMS
180
+ ruby
181
+
182
+ DEPENDENCIES
183
+ ZenTest (~> 4.11)
184
+ bundler (~> 1.10)
185
+ bundler-audit (~> 0.4.0)
186
+ coveralls (~> 0.8)
187
+ gem-release (~> 0.7)
188
+ hoe (~> 3.14)
189
+ hoe-bundler (~> 1.2)
190
+ hoe-deveiate (~> 0.7)
191
+ hoe-doofus (~> 1.0)
192
+ hoe-gemspec (~> 1.0)
193
+ hoe-git (~> 1.6)
194
+ hoe-highline (~> 0.2)
195
+ hoe-manns (~> 1.0)
196
+ hoe-mercurial (~> 1.4)
197
+ hoe-reek (~> 1.0)
198
+ hoe-rubocop (~> 0.1)
199
+ hoe-rubygems (~> 1.0)
200
+ hoe-seattlerb (~> 1.3)
201
+ hoe-travis (~> 1.2)
202
+ hoe-version (~> 1.2)
203
+ hoe-yard (>= 0.1.2)
204
+ indexer (~> 0.3)
205
+ manns_shared (~> 1.0.0)
206
+ minitest (~> 5.8.1)
207
+ rake (~> 10.0)
208
+ reek (~> 3.3)
209
+ rspec (~> 3.3)
210
+ rubocop (~> 0.34)
211
+ setup (~> 5.2)
212
+ simplecov (~> 0.10)
213
+ test (~> 1.0.0)
214
+ test-unit (~> 3.1.4)
215
+
216
+ BUNDLED WITH
217
+ 1.10.6