rails_code_qa 0.1

Sign up to get free protection for your applications and to get access to all the features.
data/MIT_LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2010 Nathan Humbert
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README ADDED
@@ -0,0 +1,3 @@
1
+ RAQA -- Rails Automated Quality Assurance
2
+
3
+ Copyright (c) 2009-2010 Nathan Humbert, released under the MIT license
@@ -0,0 +1,5 @@
1
+ module RailsCodeQa
2
+
3
+ require 'rails_code_qa/railtie' if defined?(Rails)
4
+
5
+ end
@@ -0,0 +1,12 @@
1
+ require 'rails_code_qa'
2
+ require 'rails'
3
+ module RailsCodeQa
4
+ class Railtie < Rails::Railtie
5
+ railtie_name :rails_code_qa
6
+
7
+ rake_tasks do
8
+ load "tasks/rails_code_qa.rake"
9
+ end
10
+
11
+ end
12
+ end
@@ -0,0 +1,25 @@
1
+ desc 'Run all Rails Code QA tests'
2
+ task :rcqa do
3
+ tasks = %w(raqa:test)
4
+ errors = tasks.collect do |task|
5
+ begin
6
+ Rake::Task[task].invoke
7
+ nil
8
+ rescue => e
9
+ task
10
+ end
11
+ end.compact
12
+ abort "Errors running #{errors * ', '}!" if errors.any?
13
+ end
14
+
15
+
16
+ namespace :rcqa do
17
+ task :default => [:test]
18
+
19
+ desc "Run Rails Code QA tests"
20
+ task(:test) do
21
+ Rake::Task["test:units"].invoke
22
+ end
23
+
24
+
25
+ end
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_code_qa
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.1"
5
+ platform: ruby
6
+ authors:
7
+ - Nathan Humbert
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-02-11 00:00:00 -08:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: This gem uses several different methods to help QA the code in your rails app
17
+ email:
18
+ - nathan.humbert+rcqa@gmail.com
19
+ executables: []
20
+
21
+ extensions: []
22
+
23
+ extra_rdoc_files: []
24
+
25
+ files:
26
+ - README
27
+ - MIT_LICENSE
28
+ - lib/tasks/rails_code_qa.rake
29
+ - lib/rails_code_qa.rb
30
+ - lib/rails_code_qa/railtie.rb
31
+ has_rdoc: true
32
+ homepage: http://github.com/nathanhumbert/rails_code_qa
33
+ licenses: []
34
+
35
+ post_install_message:
36
+ rdoc_options: []
37
+
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: "0"
45
+ version:
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: "0"
51
+ version:
52
+ requirements: []
53
+
54
+ rubyforge_project:
55
+ rubygems_version: 1.3.5
56
+ signing_key:
57
+ specification_version: 3
58
+ summary: Rails Code QA
59
+ test_files: []
60
+