churn 0.0.15 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +2 -18
  2. data/Gemfile.lock +26 -24
  3. data/Rakefile +2 -2
  4. data/VERSION +1 -1
  5. data/churn.gemspec +11 -38
  6. metadata +58 -133
data/Gemfile CHANGED
@@ -1,20 +1,4 @@
1
1
  source :rubygems
2
2
 
3
- gem 'arrayfields', '4.7.4'
4
- gem 'chronic', '>=0.2.3'
5
- gem 'fattr', '2.2.0'
6
- gem 'hirb', '0.5.0'
7
- gem 'jeweler', '1.6.4'
8
- gem 'json', '1.6.1'
9
- gem 'main', '>=4.6.0'
10
- gem 'map', '4.3.0'
11
- gem 'ruby_parser', '2.3.1'
12
- gem 'sexp_processor', '3.0.7'
13
-
14
- group :test do
15
- # bundler requires these gems while running tests
16
- gem "shoulda", '2.11.3'
17
- gem "test-construct", '1.2.0'
18
- gem "mocha", '0.10.0'
19
- gem 'rake', '0.8.7'
20
- end
3
+ gem 'rake'
4
+ gemspec
@@ -1,29 +1,39 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ churn (0.0.19)
5
+ chronic (>= 0.2.3)
6
+ hirb
7
+ json_pure
8
+ main
9
+ rake
10
+ ruby_parser (~> 2.3)
11
+ sexp_processor (~> 3.0)
12
+
1
13
  GEM
2
14
  remote: http://rubygems.org/
3
15
  specs:
4
16
  arrayfields (4.7.4)
5
- chronic (0.6.5)
17
+ chronic (0.6.6)
6
18
  fattr (2.2.0)
7
19
  git (1.2.5)
8
- hirb (0.5.0)
20
+ hirb (0.6.0)
9
21
  jeweler (1.6.4)
10
22
  bundler (~> 1.0)
11
23
  git (>= 1.2.5)
12
24
  rake
13
- json (1.6.1)
14
- main (4.8.0)
25
+ json_pure (1.6.4)
26
+ main (4.8.1)
15
27
  arrayfields (~> 4.7.4)
16
28
  chronic (~> 0.6.2)
17
29
  fattr (~> 2.2.0)
18
- map (~> 4.3.0)
19
- map (4.3.0)
20
- metaclass (0.0.1)
21
- mocha (0.10.0)
22
- metaclass (~> 0.0.1)
30
+ map (~> 5.1.0)
31
+ map (5.1.0)
32
+ mocha (0.9.12)
23
33
  rake (0.8.7)
24
34
  ruby_parser (2.3.1)
25
35
  sexp_processor (~> 3.0)
26
- sexp_processor (3.0.7)
36
+ sexp_processor (3.0.10)
27
37
  shoulda (2.11.3)
28
38
  test-construct (1.2.0)
29
39
 
@@ -31,17 +41,9 @@ PLATFORMS
31
41
  ruby
32
42
 
33
43
  DEPENDENCIES
34
- arrayfields (= 4.7.4)
35
- chronic (>= 0.2.3)
36
- fattr (= 2.2.0)
37
- hirb (= 0.5.0)
38
- jeweler (= 1.6.4)
39
- json (= 1.6.1)
40
- main (>= 4.6.0)
41
- map (= 4.3.0)
42
- mocha (= 0.10.0)
43
- rake (= 0.8.7)
44
- ruby_parser (= 2.3.1)
45
- sexp_processor (= 3.0.7)
46
- shoulda (= 2.11.3)
47
- test-construct (= 1.2.0)
44
+ churn!
45
+ jeweler (~> 1.6)
46
+ mocha (~> 0.9.5)
47
+ rake
48
+ shoulda
49
+ test-construct
data/Rakefile CHANGED
@@ -12,13 +12,13 @@ begin
12
12
  gem.homepage = "http://github.com/danmayer/churn"
13
13
  gem.authors = ["Dan Mayer"]
14
14
  gem.add_development_dependency "shoulda"
15
- gem.add_development_dependency "jeweler", '~> 1.6.0'
15
+ gem.add_development_dependency "jeweler", '~> 1.6'
16
16
  gem.add_development_dependency "test-construct"
17
17
  gem.add_development_dependency "mocha", '~> 0.9.5'
18
18
  gem.add_dependency "main"
19
19
  gem.add_dependency "json_pure"
20
20
  gem.add_dependency "chronic", '>= 0.2.3'
21
- gem.add_dependency "sexp_processor", '~> 3.0.3'
21
+ gem.add_dependency "sexp_processor", '~> 3.0'
22
22
  gem.add_dependency "ruby_parser", '~> 2.3'
23
23
  gem.add_dependency 'hirb'
24
24
  gem.executables = ['churn']
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.15
1
+ 0.0.19
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "churn"
8
- s.version = "0.0.15"
8
+ s.version = "0.0.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Mayer"]
12
- s.date = "2011-11-22"
12
+ s.date = "2012-01-12"
13
13
  s.description = "High method and class churn has been shown to have increased bug and error rates. This gem helps you know what is changing a lot so you can do additional testing, code review, or refactoring to try to tame the volatile code. "
14
14
  s.email = "dan@mayerdan.com"
15
15
  s.executables = ["churn"]
@@ -58,67 +58,40 @@ Gem::Specification.new do |s|
58
58
  s.specification_version = 3
59
59
 
60
60
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
61
- s.add_runtime_dependency(%q<arrayfields>, ["= 4.7.4"])
62
- s.add_runtime_dependency(%q<chronic>, [">= 0.2.3"])
63
- s.add_runtime_dependency(%q<fattr>, ["= 2.2.0"])
64
- s.add_runtime_dependency(%q<hirb>, ["= 0.5.0"])
65
- s.add_runtime_dependency(%q<jeweler>, ["= 1.6.4"])
66
- s.add_runtime_dependency(%q<json>, ["= 1.6.1"])
67
- s.add_runtime_dependency(%q<main>, [">= 4.6.0"])
68
- s.add_runtime_dependency(%q<map>, ["= 4.3.0"])
69
- s.add_runtime_dependency(%q<ruby_parser>, ["= 2.3.1"])
70
- s.add_runtime_dependency(%q<sexp_processor>, ["= 3.0.7"])
61
+ s.add_runtime_dependency(%q<rake>, [">= 0"])
71
62
  s.add_development_dependency(%q<shoulda>, [">= 0"])
72
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
73
63
  s.add_development_dependency(%q<test-construct>, [">= 0"])
74
64
  s.add_development_dependency(%q<mocha>, ["~> 0.9.5"])
65
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6"])
75
66
  s.add_runtime_dependency(%q<main>, [">= 0"])
76
67
  s.add_runtime_dependency(%q<json_pure>, [">= 0"])
77
68
  s.add_runtime_dependency(%q<chronic>, [">= 0.2.3"])
78
- s.add_runtime_dependency(%q<sexp_processor>, ["~> 3.0.3"])
69
+ s.add_runtime_dependency(%q<sexp_processor>, ["~> 3.0"])
79
70
  s.add_runtime_dependency(%q<ruby_parser>, ["~> 2.3"])
80
71
  s.add_runtime_dependency(%q<hirb>, [">= 0"])
81
72
  else
82
- s.add_dependency(%q<arrayfields>, ["= 4.7.4"])
83
- s.add_dependency(%q<chronic>, [">= 0.2.3"])
84
- s.add_dependency(%q<fattr>, ["= 2.2.0"])
85
- s.add_dependency(%q<hirb>, ["= 0.5.0"])
86
- s.add_dependency(%q<jeweler>, ["= 1.6.4"])
87
- s.add_dependency(%q<json>, ["= 1.6.1"])
88
- s.add_dependency(%q<main>, [">= 4.6.0"])
89
- s.add_dependency(%q<map>, ["= 4.3.0"])
90
- s.add_dependency(%q<ruby_parser>, ["= 2.3.1"])
91
- s.add_dependency(%q<sexp_processor>, ["= 3.0.7"])
73
+ s.add_dependency(%q<rake>, [">= 0"])
92
74
  s.add_dependency(%q<shoulda>, [">= 0"])
93
- s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
94
75
  s.add_dependency(%q<test-construct>, [">= 0"])
95
76
  s.add_dependency(%q<mocha>, ["~> 0.9.5"])
77
+ s.add_dependency(%q<jeweler>, ["~> 1.6"])
96
78
  s.add_dependency(%q<main>, [">= 0"])
97
79
  s.add_dependency(%q<json_pure>, [">= 0"])
98
80
  s.add_dependency(%q<chronic>, [">= 0.2.3"])
99
- s.add_dependency(%q<sexp_processor>, ["~> 3.0.3"])
81
+ s.add_dependency(%q<sexp_processor>, ["~> 3.0"])
100
82
  s.add_dependency(%q<ruby_parser>, ["~> 2.3"])
101
83
  s.add_dependency(%q<hirb>, [">= 0"])
102
84
  end
103
85
  else
104
- s.add_dependency(%q<arrayfields>, ["= 4.7.4"])
105
- s.add_dependency(%q<chronic>, [">= 0.2.3"])
106
- s.add_dependency(%q<fattr>, ["= 2.2.0"])
107
- s.add_dependency(%q<hirb>, ["= 0.5.0"])
108
- s.add_dependency(%q<jeweler>, ["= 1.6.4"])
109
- s.add_dependency(%q<json>, ["= 1.6.1"])
110
- s.add_dependency(%q<main>, [">= 4.6.0"])
111
- s.add_dependency(%q<map>, ["= 4.3.0"])
112
- s.add_dependency(%q<ruby_parser>, ["= 2.3.1"])
113
- s.add_dependency(%q<sexp_processor>, ["= 3.0.7"])
86
+ s.add_dependency(%q<rake>, [">= 0"])
114
87
  s.add_dependency(%q<shoulda>, [">= 0"])
115
- s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
116
88
  s.add_dependency(%q<test-construct>, [">= 0"])
117
89
  s.add_dependency(%q<mocha>, ["~> 0.9.5"])
90
+ s.add_dependency(%q<jeweler>, ["~> 1.6"])
118
91
  s.add_dependency(%q<main>, [">= 0"])
119
92
  s.add_dependency(%q<json_pure>, [">= 0"])
120
93
  s.add_dependency(%q<chronic>, [">= 0.2.3"])
121
- s.add_dependency(%q<sexp_processor>, ["~> 3.0.3"])
94
+ s.add_dependency(%q<sexp_processor>, ["~> 3.0"])
122
95
  s.add_dependency(%q<ruby_parser>, ["~> 2.3"])
123
96
  s.add_dependency(%q<hirb>, [">= 0"])
124
97
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: churn
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 57
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 15
10
- version: 0.0.15
9
+ - 19
10
+ version: 0.0.19
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Mayer
@@ -15,23 +15,21 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-22 00:00:00 Z
18
+ date: 2012-08-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
22
22
  none: false
23
23
  requirements:
24
- - - "="
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- hash: 43
26
+ hash: 3
27
27
  segments:
28
- - 4
29
- - 7
30
- - 4
31
- version: 4.7.4
28
+ - 0
29
+ version: "0"
32
30
  requirement: *id001
33
31
  prerelease: false
34
- name: arrayfields
32
+ name: rake
35
33
  type: :runtime
36
34
  - !ruby/object:Gem::Dependency
37
35
  version_requirements: &id002 !ruby/object:Gem::Requirement
@@ -39,146 +37,75 @@ dependencies:
39
37
  requirements:
40
38
  - - ">="
41
39
  - !ruby/object:Gem::Version
42
- hash: 17
40
+ hash: 3
43
41
  segments:
44
42
  - 0
45
- - 2
46
- - 3
47
- version: 0.2.3
43
+ version: "0"
48
44
  requirement: *id002
49
45
  prerelease: false
50
- name: chronic
46
+ name: churn
51
47
  type: :runtime
52
48
  - !ruby/object:Gem::Dependency
53
49
  version_requirements: &id003 !ruby/object:Gem::Requirement
54
50
  none: false
55
51
  requirements:
56
- - - "="
52
+ - - ">="
57
53
  - !ruby/object:Gem::Version
58
- hash: 7
54
+ hash: 3
59
55
  segments:
60
- - 2
61
- - 2
62
56
  - 0
63
- version: 2.2.0
57
+ version: "0"
64
58
  requirement: *id003
65
59
  prerelease: false
66
- name: fattr
67
- type: :runtime
60
+ name: shoulda
61
+ type: :development
68
62
  - !ruby/object:Gem::Dependency
69
63
  version_requirements: &id004 !ruby/object:Gem::Requirement
70
64
  none: false
71
65
  requirements:
72
- - - "="
66
+ - - ">="
73
67
  - !ruby/object:Gem::Version
74
- hash: 11
68
+ hash: 3
75
69
  segments:
76
70
  - 0
77
- - 5
78
- - 0
79
- version: 0.5.0
71
+ version: "0"
80
72
  requirement: *id004
81
73
  prerelease: false
82
- name: hirb
83
- type: :runtime
74
+ name: test-construct
75
+ type: :development
84
76
  - !ruby/object:Gem::Dependency
85
77
  version_requirements: &id005 !ruby/object:Gem::Requirement
86
78
  none: false
87
79
  requirements:
88
- - - "="
80
+ - - ~>
89
81
  - !ruby/object:Gem::Version
90
- hash: 7
82
+ hash: 49
91
83
  segments:
92
- - 1
93
- - 6
94
- - 4
95
- version: 1.6.4
84
+ - 0
85
+ - 9
86
+ - 5
87
+ version: 0.9.5
96
88
  requirement: *id005
97
89
  prerelease: false
98
- name: jeweler
99
- type: :runtime
90
+ name: mocha
91
+ type: :development
100
92
  - !ruby/object:Gem::Dependency
101
93
  version_requirements: &id006 !ruby/object:Gem::Requirement
102
94
  none: false
103
95
  requirements:
104
- - - "="
96
+ - - ~>
105
97
  - !ruby/object:Gem::Version
106
- hash: 13
98
+ hash: 3
107
99
  segments:
108
100
  - 1
109
101
  - 6
110
- - 1
111
- version: 1.6.1
102
+ version: "1.6"
112
103
  requirement: *id006
113
104
  prerelease: false
114
- name: json
115
- type: :runtime
105
+ name: jeweler
106
+ type: :development
116
107
  - !ruby/object:Gem::Dependency
117
108
  version_requirements: &id007 !ruby/object:Gem::Requirement
118
- none: false
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- hash: 39
123
- segments:
124
- - 4
125
- - 6
126
- - 0
127
- version: 4.6.0
128
- requirement: *id007
129
- prerelease: false
130
- name: main
131
- type: :runtime
132
- - !ruby/object:Gem::Dependency
133
- version_requirements: &id008 !ruby/object:Gem::Requirement
134
- none: false
135
- requirements:
136
- - - "="
137
- - !ruby/object:Gem::Version
138
- hash: 51
139
- segments:
140
- - 4
141
- - 3
142
- - 0
143
- version: 4.3.0
144
- requirement: *id008
145
- prerelease: false
146
- name: map
147
- type: :runtime
148
- - !ruby/object:Gem::Dependency
149
- version_requirements: &id009 !ruby/object:Gem::Requirement
150
- none: false
151
- requirements:
152
- - - "="
153
- - !ruby/object:Gem::Version
154
- hash: 1
155
- segments:
156
- - 2
157
- - 3
158
- - 1
159
- version: 2.3.1
160
- requirement: *id009
161
- prerelease: false
162
- name: ruby_parser
163
- type: :runtime
164
- - !ruby/object:Gem::Dependency
165
- version_requirements: &id010 !ruby/object:Gem::Requirement
166
- none: false
167
- requirements:
168
- - - "="
169
- - !ruby/object:Gem::Version
170
- hash: 9
171
- segments:
172
- - 3
173
- - 0
174
- - 7
175
- version: 3.0.7
176
- requirement: *id010
177
- prerelease: false
178
- name: sexp_processor
179
- type: :runtime
180
- - !ruby/object:Gem::Dependency
181
- version_requirements: &id011 !ruby/object:Gem::Requirement
182
109
  none: false
183
110
  requirements:
184
111
  - - ">="
@@ -187,28 +114,27 @@ dependencies:
187
114
  segments:
188
115
  - 0
189
116
  version: "0"
190
- requirement: *id011
117
+ requirement: *id007
191
118
  prerelease: false
192
119
  name: shoulda
193
120
  type: :development
194
121
  - !ruby/object:Gem::Dependency
195
- version_requirements: &id012 !ruby/object:Gem::Requirement
122
+ version_requirements: &id008 !ruby/object:Gem::Requirement
196
123
  none: false
197
124
  requirements:
198
125
  - - ~>
199
126
  - !ruby/object:Gem::Version
200
- hash: 15
127
+ hash: 3
201
128
  segments:
202
129
  - 1
203
130
  - 6
204
- - 0
205
- version: 1.6.0
206
- requirement: *id012
131
+ version: "1.6"
132
+ requirement: *id008
207
133
  prerelease: false
208
134
  name: jeweler
209
135
  type: :development
210
136
  - !ruby/object:Gem::Dependency
211
- version_requirements: &id013 !ruby/object:Gem::Requirement
137
+ version_requirements: &id009 !ruby/object:Gem::Requirement
212
138
  none: false
213
139
  requirements:
214
140
  - - ">="
@@ -217,12 +143,12 @@ dependencies:
217
143
  segments:
218
144
  - 0
219
145
  version: "0"
220
- requirement: *id013
146
+ requirement: *id009
221
147
  prerelease: false
222
148
  name: test-construct
223
149
  type: :development
224
150
  - !ruby/object:Gem::Dependency
225
- version_requirements: &id014 !ruby/object:Gem::Requirement
151
+ version_requirements: &id010 !ruby/object:Gem::Requirement
226
152
  none: false
227
153
  requirements:
228
154
  - - ~>
@@ -233,12 +159,12 @@ dependencies:
233
159
  - 9
234
160
  - 5
235
161
  version: 0.9.5
236
- requirement: *id014
162
+ requirement: *id010
237
163
  prerelease: false
238
164
  name: mocha
239
165
  type: :development
240
166
  - !ruby/object:Gem::Dependency
241
- version_requirements: &id015 !ruby/object:Gem::Requirement
167
+ version_requirements: &id011 !ruby/object:Gem::Requirement
242
168
  none: false
243
169
  requirements:
244
170
  - - ">="
@@ -247,12 +173,12 @@ dependencies:
247
173
  segments:
248
174
  - 0
249
175
  version: "0"
250
- requirement: *id015
176
+ requirement: *id011
251
177
  prerelease: false
252
178
  name: main
253
179
  type: :runtime
254
180
  - !ruby/object:Gem::Dependency
255
- version_requirements: &id016 !ruby/object:Gem::Requirement
181
+ version_requirements: &id012 !ruby/object:Gem::Requirement
256
182
  none: false
257
183
  requirements:
258
184
  - - ">="
@@ -261,12 +187,12 @@ dependencies:
261
187
  segments:
262
188
  - 0
263
189
  version: "0"
264
- requirement: *id016
190
+ requirement: *id012
265
191
  prerelease: false
266
192
  name: json_pure
267
193
  type: :runtime
268
194
  - !ruby/object:Gem::Dependency
269
- version_requirements: &id017 !ruby/object:Gem::Requirement
195
+ version_requirements: &id013 !ruby/object:Gem::Requirement
270
196
  none: false
271
197
  requirements:
272
198
  - - ">="
@@ -277,28 +203,27 @@ dependencies:
277
203
  - 2
278
204
  - 3
279
205
  version: 0.2.3
280
- requirement: *id017
206
+ requirement: *id013
281
207
  prerelease: false
282
208
  name: chronic
283
209
  type: :runtime
284
210
  - !ruby/object:Gem::Dependency
285
- version_requirements: &id018 !ruby/object:Gem::Requirement
211
+ version_requirements: &id014 !ruby/object:Gem::Requirement
286
212
  none: false
287
213
  requirements:
288
214
  - - ~>
289
215
  - !ruby/object:Gem::Version
290
- hash: 1
216
+ hash: 7
291
217
  segments:
292
218
  - 3
293
219
  - 0
294
- - 3
295
- version: 3.0.3
296
- requirement: *id018
220
+ version: "3.0"
221
+ requirement: *id014
297
222
  prerelease: false
298
223
  name: sexp_processor
299
224
  type: :runtime
300
225
  - !ruby/object:Gem::Dependency
301
- version_requirements: &id019 !ruby/object:Gem::Requirement
226
+ version_requirements: &id015 !ruby/object:Gem::Requirement
302
227
  none: false
303
228
  requirements:
304
229
  - - ~>
@@ -308,12 +233,12 @@ dependencies:
308
233
  - 2
309
234
  - 3
310
235
  version: "2.3"
311
- requirement: *id019
236
+ requirement: *id015
312
237
  prerelease: false
313
238
  name: ruby_parser
314
239
  type: :runtime
315
240
  - !ruby/object:Gem::Dependency
316
- version_requirements: &id020 !ruby/object:Gem::Requirement
241
+ version_requirements: &id016 !ruby/object:Gem::Requirement
317
242
  none: false
318
243
  requirements:
319
244
  - - ">="
@@ -322,7 +247,7 @@ dependencies:
322
247
  segments:
323
248
  - 0
324
249
  version: "0"
325
- requirement: *id020
250
+ requirement: *id016
326
251
  prerelease: false
327
252
  name: hirb
328
253
  type: :runtime