hoe-reek 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gemtest ADDED
File without changes
data/History.txt ADDED
@@ -0,0 +1,6 @@
1
+ === 1.0.0 / 2011-02-05
2
+
3
+ * 1 major enhancement
4
+
5
+ * Birthday!
6
+
data/Manifest.txt ADDED
@@ -0,0 +1,6 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ lib/hoe/reek.rb
6
+ test/test_hoe_reek.rb
data/README.txt ADDED
@@ -0,0 +1,60 @@
1
+ = hoe-reek
2
+
3
+ * http://github.com/erikh/hoe-reek
4
+
5
+ == DESCRIPTION:
6
+
7
+ Tasks to integrate the reek code smell engine into your hoe projects.
8
+
9
+ == FEATURES/PROBLEMS:
10
+
11
+ * Use reek in hoe!
12
+
13
+ == SYNOPSIS:
14
+
15
+ In your rakefile:
16
+
17
+ Hoe.plugin :reek
18
+
19
+ == REQUIREMENTS:
20
+
21
+ * hoe
22
+ * reek
23
+
24
+ == INSTALL:
25
+
26
+ * gem install hoe-reek
27
+
28
+ == DEVELOPERS:
29
+
30
+ After checking out the source, run:
31
+
32
+ $ rake newb
33
+
34
+ This task will install any missing dependencies, run the tests/specs,
35
+ and generate the RDoc.
36
+
37
+ == LICENSE:
38
+
39
+ (The MIT License)
40
+
41
+ Copyright (c) 2011 Erik Hollensbe
42
+
43
+ Permission is hereby granted, free of charge, to any person obtaining
44
+ a copy of this software and associated documentation files (the
45
+ 'Software'), to deal in the Software without restriction, including
46
+ without limitation the rights to use, copy, modify, merge, publish,
47
+ distribute, sublicense, and/or sell copies of the Software, and to
48
+ permit persons to whom the Software is furnished to do so, subject to
49
+ the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be
52
+ included in all copies or substantial portions of the Software.
53
+
54
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
55
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
56
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
57
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
58
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
59
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
60
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+
6
+ Hoe.plugins.delete :rubyforge
7
+ Hoe.plugin :git
8
+ Hoe.plugin :rcov
9
+
10
+ spec = Hoe.spec 'hoe-reek' do
11
+ developer('Erik Hollensbe', 'erik@hollensbe.org')
12
+
13
+ self.rubyforge_name = nil
14
+
15
+ extra_deps << [ 'hoe' ]
16
+ extra_deps << [ 'reek' ]
17
+ end
18
+
19
+ task :install => [:gem] do
20
+ sh "gem install pkg/#{spec.name}-#{spec.version}.gem"
21
+ end
22
+
23
+ # vim: syntax=ruby
data/lib/hoe/reek.rb ADDED
@@ -0,0 +1,13 @@
1
+ module Hoe::Reek
2
+ VERSION = "1.0.0"
3
+
4
+ def initialize_reek
5
+ require 'reek/rake/task'
6
+ end
7
+
8
+ def define_reek_tasks
9
+ Reek::Rake::Task.new do |t|
10
+ t.reek_opts << '-q'
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,6 @@
1
+ require "test/unit"
2
+ require 'hoe'
3
+ require 'hoe/reek'
4
+
5
+ class TestHoeReek < Test::Unit::TestCase
6
+ end
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hoe-reek
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.0
6
+ platform: ruby
7
+ authors:
8
+ - Erik Hollensbe
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-02-05 00:00:00 -05:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: hoe
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: "0"
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: reek
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: "0"
36
+ type: :runtime
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: hoe
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.9.0
47
+ type: :development
48
+ version_requirements: *id003
49
+ description: Tasks to integrate the reek code smell engine into your hoe projects.
50
+ email:
51
+ - erik@hollensbe.org
52
+ executables: []
53
+
54
+ extensions: []
55
+
56
+ extra_rdoc_files:
57
+ - History.txt
58
+ - Manifest.txt
59
+ - README.txt
60
+ files:
61
+ - History.txt
62
+ - Manifest.txt
63
+ - README.txt
64
+ - Rakefile
65
+ - lib/hoe/reek.rb
66
+ - test/test_hoe_reek.rb
67
+ - .gemtest
68
+ has_rdoc: true
69
+ homepage: http://github.com/erikh/hoe-reek
70
+ licenses: []
71
+
72
+ post_install_message:
73
+ rdoc_options:
74
+ - --main
75
+ - README.txt
76
+ require_paths:
77
+ - lib
78
+ required_ruby_version: !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: "0"
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: "0"
90
+ requirements: []
91
+
92
+ rubyforge_project:
93
+ rubygems_version: 1.5.0
94
+ signing_key:
95
+ specification_version: 3
96
+ summary: Tasks to integrate the reek code smell engine into your hoe projects.
97
+ test_files:
98
+ - test/test_hoe_reek.rb