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 CHANGED
@@ -34,7 +34,7 @@ here http://wiki.github.com/turboladen/tailor.
34
34
 
35
35
  == REQUIREMENTS:
36
36
 
37
- * None yet!
37
+ * Ruby 1.8.7 or 1.9.1 (haven't tested on others)
38
38
 
39
39
  == INSTALL:
40
40
 
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'],
@@ -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
- return false
149
+ return false
149
150
  end
150
151
 
151
152
  ##
data/lib/tailor.rb CHANGED
@@ -8,7 +8,7 @@ require 'tailor/file_line'
8
8
  require 'tailor/spacing'
9
9
 
10
10
  module Tailor
11
- VERSION = '0.1.0'
11
+ VERSION = '0.1.1'
12
12
 
13
13
  # These operators should always have 1 space around them
14
14
  OPERATORS = {
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
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-06-28 00:00:00 -07:00
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: hoe-yard
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: *id001
50
+ version_requirements: *id002
37
51
  - !ruby/object:Gem::Dependency
38
52
  name: rspec
39
53
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::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: *id002
64
+ version_requirements: *id003
51
65
  - !ruby/object:Gem::Dependency
52
66
  name: yard
53
67
  prerelease: false
54
- requirement: &id003 !ruby/object:Gem::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: *id003
80
+ version_requirements: *id004
67
81
  - !ruby/object:Gem::Dependency
68
82
  name: hoe-yard
69
83
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::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: *id004
96
+ version_requirements: *id005
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: cucumber
85
99
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::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: *id005
112
+ version_requirements: *id006
99
113
  - !ruby/object:Gem::Dependency
100
114
  name: hoe
101
115
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::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: *id006
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.0)
238
+ - tailor Documentation (0.1.1)
225
239
  - --markup
226
240
  - :rdoc
227
241
  require_paths: