rails_best_practices 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/MIT_LICENSE +1 -1
- data/README.md +6 -11
- data/assets/result.html.erb +4 -1
- data/lib/rails_best_practices/command.rb +1 -1
- data/lib/rails_best_practices/version.rb +1 -1
- metadata +25 -26
- data/autotest/discover.rb +0 -1
data/Gemfile.lock
CHANGED
data/MIT_LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
rails_best_practices
|
2
2
|
====================
|
3
3
|
|
4
|
-
[![Build Status](https://secure.travis-ci.org/
|
4
|
+
[![Build Status](https://secure.travis-ci.org/railsbp/rails_best_practices.png)](http://travis-ci.org/railsbp/rails_best_practices)
|
5
5
|
|
6
6
|
[![Click here to lend your support to: rails-bestpractices.com and make a donation at www.pledgie.com !](https://www.pledgie.com/campaigns/12057.png?skin_name=chrome)](http://www.pledgie.com/campaigns/12057)
|
7
7
|
|
@@ -59,7 +59,7 @@ Resources
|
|
59
59
|
|
60
60
|
Homepage: <http://rails-bestpractices.com>
|
61
61
|
|
62
|
-
Github: <http://github.com/
|
62
|
+
Github: <http://github.com/railsbp/rails_best_practices>
|
63
63
|
|
64
64
|
RDoc: <http://rdoc.rails-bestpractices.com>
|
65
65
|
|
@@ -67,14 +67,9 @@ Team Blog <http://rails-bestpractices.com/blog/posts>
|
|
67
67
|
|
68
68
|
Google Group: <https://groups.google.com/group/rails_best_practices>
|
69
69
|
|
70
|
-
Wiki: <http://github.com/
|
70
|
+
Wiki: <http://github.com/railsbp/rails_best_practices/wiki>
|
71
71
|
|
72
|
-
Issue Tracker: <http://github.com/
|
73
|
-
|
74
|
-
Donating
|
75
|
-
--------
|
76
|
-
|
77
|
-
<a href='http://www.pledgie.com/campaigns/12057'>Support rails_best_practices at Pledgie</a>
|
72
|
+
Issue Tracker: <http://github.com/railsbp/rails_best_practices/issues>
|
78
73
|
|
79
74
|
Install
|
80
75
|
-------
|
@@ -230,10 +225,10 @@ We provide rails consulting services, you can contact us by twitter or email.
|
|
230
225
|
|
231
226
|
Follow us on twitter: <http://twitter.com/railsbp>
|
232
227
|
|
233
|
-
Send us email: <team@
|
228
|
+
Send us email: <team@railsbp.com>
|
234
229
|
|
235
230
|
|
236
231
|
Copyright © 2009 - 2011 Richard Huang (flyerhzm@gmail.com), released under the MIT license
|
237
232
|
|
238
233
|
|
239
|
-
[1]:https://github.com/
|
234
|
+
[1]:https://github.com/railsbp/rails_best_practices/wiki/How-to-write-your-own-check-list
|
data/assets/result.html.erb
CHANGED
@@ -65,7 +65,10 @@
|
|
65
65
|
</p>
|
66
66
|
<ul>
|
67
67
|
<% @error_types.each do |error_type| %>
|
68
|
-
<li
|
68
|
+
<li>
|
69
|
+
<input type="checkbox" id="<%= error_type.split(':').last %>" value="<%= error_type.split(':').last %>" />
|
70
|
+
<label for="<%= error_type.split(':').last%>"><%= error_type.split(':').last%></label>
|
71
|
+
</li>
|
69
72
|
<% end %>
|
70
73
|
</ul>
|
71
74
|
<table>
|
@@ -9,7 +9,7 @@ require 'optparse'
|
|
9
9
|
# --without-color only output plain text without color
|
10
10
|
# --with-textmate open file by textmate in html format
|
11
11
|
# --with-mvim open file by mvim in html format
|
12
|
-
# --with-github GITHUB_NAME open file on github in html format, GITHUB_NAME is like
|
12
|
+
# --with-github GITHUB_NAME open file on github in html format, GITHUB_NAME is like railsbp/rails-bestpractices.com
|
13
13
|
# --with-git display git commit and username, only support html format
|
14
14
|
# --with-hg display hg commit and username, only support html format
|
15
15
|
# --template TEMPLATE customize erb template
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_best_practices
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-28 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sexp_processor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70233747842020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70233747842020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: progressbar
|
27
|
-
requirement: &
|
27
|
+
requirement: &70233747840780 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70233747840780
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: colored
|
38
|
-
requirement: &
|
38
|
+
requirement: &70233747835040 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70233747835040
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: erubis
|
49
|
-
requirement: &
|
49
|
+
requirement: &70233747833880 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70233747833880
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: i18n
|
60
|
-
requirement: &
|
60
|
+
requirement: &70233747832640 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70233747832640
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: activesupport
|
71
|
-
requirement: &
|
71
|
+
requirement: &70233747831960 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70233747831960
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rake
|
82
|
-
requirement: &
|
82
|
+
requirement: &70233747831080 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70233747831080
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: rspec
|
93
|
-
requirement: &
|
93
|
+
requirement: &70233747830280 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70233747830280
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: haml
|
104
|
-
requirement: &
|
104
|
+
requirement: &70233747829320 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70233747829320
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: slim
|
115
|
-
requirement: &
|
115
|
+
requirement: &70233747828460 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70233747828460
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: bundler
|
126
|
-
requirement: &
|
126
|
+
requirement: &70233747827520 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,7 +131,7 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70233747827520
|
135
135
|
description: a code metric tool for rails codes, written in Ruby.
|
136
136
|
email:
|
137
137
|
- flyerhzm@gmail.com
|
@@ -155,7 +155,6 @@ files:
|
|
155
155
|
- README.md
|
156
156
|
- Rakefile
|
157
157
|
- assets/result.html.erb
|
158
|
-
- autotest/discover.rb
|
159
158
|
- bin/rails_best_practices
|
160
159
|
- install_supported_rubies.sh
|
161
160
|
- lib/rails_best_practices.rb
|
@@ -303,7 +302,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
303
302
|
version: '0'
|
304
303
|
segments:
|
305
304
|
- 0
|
306
|
-
hash:
|
305
|
+
hash: 539864756318375074
|
307
306
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
308
307
|
none: false
|
309
308
|
requirements:
|
data/autotest/discover.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Autotest.add_discovery { "rspec2" }
|