tailor 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/Rakefile +3 -0
- data/lib/tailor/file_line.rb +3 -2
- data/lib/tailor.rb +1 -1
- metadata +31 -17
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -37,6 +37,9 @@ $hoe = Hoe.spec 'tailor' do
|
|
37
37
|
self.readme_file = 'README.rdoc'
|
38
38
|
self.history_file = 'History.txt'
|
39
39
|
self.rspec_options += ['--color', '--format', 'specdoc']
|
40
|
+
self.extra_deps += [
|
41
|
+
['term-ansicolor']
|
42
|
+
]
|
40
43
|
self.extra_dev_deps += [
|
41
44
|
['rspec'],
|
42
45
|
['yard', '>=0.5.3'],
|
data/lib/tailor/file_line.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
+
require 'logger'
|
2
|
+
require 'rubygems'
|
1
3
|
require 'tailor/spacing'
|
2
4
|
require 'tailor/indentation'
|
3
|
-
require 'logger'
|
4
5
|
require 'term/ansicolor'
|
5
6
|
|
6
7
|
module Tailor
|
@@ -145,7 +146,7 @@ module Tailor
|
|
145
146
|
return true
|
146
147
|
end
|
147
148
|
|
148
|
-
|
149
|
+
return false
|
149
150
|
end
|
150
151
|
|
151
152
|
##
|
data/lib/tailor.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tailor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve Loveless
|
@@ -15,13 +15,27 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-07-03 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
22
|
+
name: term-ansicolor
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: hoe-yard
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
25
39
|
none: false
|
26
40
|
requirements:
|
27
41
|
- - ">="
|
@@ -33,11 +47,11 @@ dependencies:
|
|
33
47
|
- 2
|
34
48
|
version: 0.1.2
|
35
49
|
type: :development
|
36
|
-
version_requirements: *
|
50
|
+
version_requirements: *id002
|
37
51
|
- !ruby/object:Gem::Dependency
|
38
52
|
name: rspec
|
39
53
|
prerelease: false
|
40
|
-
requirement: &
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
55
|
none: false
|
42
56
|
requirements:
|
43
57
|
- - ">="
|
@@ -47,11 +61,11 @@ dependencies:
|
|
47
61
|
- 0
|
48
62
|
version: "0"
|
49
63
|
type: :development
|
50
|
-
version_requirements: *
|
64
|
+
version_requirements: *id003
|
51
65
|
- !ruby/object:Gem::Dependency
|
52
66
|
name: yard
|
53
67
|
prerelease: false
|
54
|
-
requirement: &
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
55
69
|
none: false
|
56
70
|
requirements:
|
57
71
|
- - ">="
|
@@ -63,11 +77,11 @@ dependencies:
|
|
63
77
|
- 3
|
64
78
|
version: 0.5.3
|
65
79
|
type: :development
|
66
|
-
version_requirements: *
|
80
|
+
version_requirements: *id004
|
67
81
|
- !ruby/object:Gem::Dependency
|
68
82
|
name: hoe-yard
|
69
83
|
prerelease: false
|
70
|
-
requirement: &
|
84
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
71
85
|
none: false
|
72
86
|
requirements:
|
73
87
|
- - ">="
|
@@ -79,11 +93,11 @@ dependencies:
|
|
79
93
|
- 2
|
80
94
|
version: 0.1.2
|
81
95
|
type: :development
|
82
|
-
version_requirements: *
|
96
|
+
version_requirements: *id005
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: cucumber
|
85
99
|
prerelease: false
|
86
|
-
requirement: &
|
100
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
87
101
|
none: false
|
88
102
|
requirements:
|
89
103
|
- - ">="
|
@@ -95,11 +109,11 @@ dependencies:
|
|
95
109
|
- 3
|
96
110
|
version: 0.6.3
|
97
111
|
type: :development
|
98
|
-
version_requirements: *
|
112
|
+
version_requirements: *id006
|
99
113
|
- !ruby/object:Gem::Dependency
|
100
114
|
name: hoe
|
101
115
|
prerelease: false
|
102
|
-
requirement: &
|
116
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
103
117
|
none: false
|
104
118
|
requirements:
|
105
119
|
- - ">="
|
@@ -111,7 +125,7 @@ dependencies:
|
|
111
125
|
- 1
|
112
126
|
version: 2.6.1
|
113
127
|
type: :development
|
114
|
-
version_requirements: *
|
128
|
+
version_requirements: *id007
|
115
129
|
description: |+
|
116
130
|
tailor recursively parses Ruby files in a directory and checks them for bad
|
117
131
|
style. Rules for judging style are based on a number of style guides that are popular in the Ruby community. More on this
|
@@ -221,7 +235,7 @@ rdoc_options:
|
|
221
235
|
- - Manifest.txt
|
222
236
|
- History.txt
|
223
237
|
- --title
|
224
|
-
- tailor Documentation (0.1.
|
238
|
+
- tailor Documentation (0.1.1)
|
225
239
|
- --markup
|
226
240
|
- :rdoc
|
227
241
|
require_paths:
|