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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_best_practices (1.7.1)
4
+ rails_best_practices (1.7.2)
5
5
  activesupport
6
6
  colored
7
7
  erubis
data/MIT_LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 - 2011 Richard Huang (flyerhzm@gmail.com)
1
+ Copyright (c) 2009 - 2012 Richard Huang (flyerhzm@gmail.com)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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/flyerhzm/rails_best_practices.png)](http://travis-ci.org/flyerhzm/rails_best_practices)
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/flyerhzm/rails_best_practices>
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/flyerhzm/rails_best_practices/wiki>
70
+ Wiki: <http://github.com/railsbp/rails_best_practices/wiki>
71
71
 
72
- Issue Tracker: <http://github.com/flyerhzm/rails_best_practices/issues>
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@rails-bestpractices.com>
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/flyerhzm/rails_best_practices/wiki/How-to-write-your-own-check-list
234
+ [1]:https://github.com/railsbp/rails_best_practices/wiki/How-to-write-your-own-check-list
@@ -65,7 +65,10 @@
65
65
  </p>
66
66
  <ul>
67
67
  <% @error_types.each do |error_type| %>
68
- <li><input type="checkbox" value="<%= error_type.split(':').last %>" /><%= error_type.split(':').last %></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 flyerhzm/rails-bestpractices.com
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
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module RailsBestPractices
3
- VERSION = "1.7.1"
3
+ VERSION = "1.7.2"
4
4
  end
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.1
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-17 00:00:00.000000000Z
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: &70129980375200 !ruby/object:Gem::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: *70129980375200
24
+ version_requirements: *70233747842020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: progressbar
27
- requirement: &70129980374200 !ruby/object:Gem::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: *70129980374200
35
+ version_requirements: *70233747840780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: colored
38
- requirement: &70129980372820 !ruby/object:Gem::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: *70129980372820
46
+ version_requirements: *70233747835040
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: erubis
49
- requirement: &70129980371640 !ruby/object:Gem::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: *70129980371640
57
+ version_requirements: *70233747833880
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: i18n
60
- requirement: &70129980371140 !ruby/object:Gem::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: *70129980371140
68
+ version_requirements: *70233747832640
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
- requirement: &70129980370380 !ruby/object:Gem::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: *70129980370380
79
+ version_requirements: *70233747831960
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rake
82
- requirement: &70129980369260 !ruby/object:Gem::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: *70129980369260
90
+ version_requirements: *70233747831080
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rspec
93
- requirement: &70129980368480 !ruby/object:Gem::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: *70129980368480
101
+ version_requirements: *70233747830280
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: haml
104
- requirement: &70129980367900 !ruby/object:Gem::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: *70129980367900
112
+ version_requirements: *70233747829320
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: slim
115
- requirement: &70129980367200 !ruby/object:Gem::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: *70129980367200
123
+ version_requirements: *70233747828460
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: bundler
126
- requirement: &70129980366380 !ruby/object:Gem::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: *70129980366380
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: -1979137183600671453
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" }