sniff 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,7 +33,7 @@ end
33
33
  When /^the "(.*)" committee is calculated$/ do |committee_name|
34
34
  @decision ||= @activity.decisions[:emission]
35
35
  @committee = @decision.committees.find { |c| c.name.to_s == committee_name }
36
- args = [@characteristics]
36
+ args = [@activity, @characteristics]
37
37
  if @characteristics[:timeframe]
38
38
  args << [@characteristics[:timeframe]]
39
39
  else
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sniff
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 2
9
- - 7
10
- version: 0.2.7
8
+ - 8
9
+ version: 0.2.8
11
10
  platform: ruby
12
11
  authors:
13
12
  - Derek Kastner
@@ -15,230 +14,214 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-11-05 00:00:00 -07:00
17
+ date: 2010-11-06 00:00:00 -04:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: activerecord
23
- prerelease: false
24
22
  requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - ~>
28
26
  - !ruby/object:Gem::Version
29
- hash: 7
30
27
  segments:
31
28
  - 3
32
29
  - 0
33
30
  - 0
34
31
  version: 3.0.0
35
32
  type: :runtime
33
+ prerelease: false
36
34
  version_requirements: *id001
37
35
  - !ruby/object:Gem::Dependency
38
36
  name: activesupport
39
- prerelease: false
40
37
  requirement: &id002 !ruby/object:Gem::Requirement
41
38
  none: false
42
39
  requirements:
43
40
  - - ~>
44
41
  - !ruby/object:Gem::Version
45
- hash: 7
46
42
  segments:
47
43
  - 3
48
44
  - 0
49
45
  - 0
50
46
  version: 3.0.0
51
47
  type: :runtime
48
+ prerelease: false
52
49
  version_requirements: *id002
53
50
  - !ruby/object:Gem::Dependency
54
51
  name: aaronh-chronic
55
- prerelease: false
56
52
  requirement: &id003 !ruby/object:Gem::Requirement
57
53
  none: false
58
54
  requirements:
59
55
  - - ~>
60
56
  - !ruby/object:Gem::Version
61
- hash: 1
62
57
  segments:
63
58
  - 0
64
59
  - 3
65
60
  - 9
66
61
  version: 0.3.9
67
62
  type: :runtime
63
+ prerelease: false
68
64
  version_requirements: *id003
69
65
  - !ruby/object:Gem::Dependency
70
66
  name: common_name
71
- prerelease: false
72
67
  requirement: &id004 !ruby/object:Gem::Requirement
73
68
  none: false
74
69
  requirements:
75
70
  - - ~>
76
71
  - !ruby/object:Gem::Version
77
- hash: 17
78
72
  segments:
79
73
  - 0
80
74
  - 1
81
75
  - 5
82
76
  version: 0.1.5
83
77
  type: :runtime
78
+ prerelease: false
84
79
  version_requirements: *id004
85
80
  - !ruby/object:Gem::Dependency
86
81
  name: earth
87
- prerelease: false
88
82
  requirement: &id005 !ruby/object:Gem::Requirement
89
83
  none: false
90
84
  requirements:
91
85
  - - ~>
92
86
  - !ruby/object:Gem::Version
93
- hash: 27
94
87
  segments:
95
88
  - 0
96
89
  - 2
97
- - 6
98
- version: 0.2.6
90
+ - 7
91
+ version: 0.2.7
99
92
  type: :runtime
93
+ prerelease: false
100
94
  version_requirements: *id005
101
95
  - !ruby/object:Gem::Dependency
102
96
  name: fast_timestamp
103
- prerelease: false
104
97
  requirement: &id006 !ruby/object:Gem::Requirement
105
98
  none: false
106
99
  requirements:
107
100
  - - ~>
108
101
  - !ruby/object:Gem::Version
109
- hash: 23
110
102
  segments:
111
103
  - 0
112
104
  - 0
113
105
  - 4
114
106
  version: 0.0.4
115
107
  type: :runtime
108
+ prerelease: false
116
109
  version_requirements: *id006
117
110
  - !ruby/object:Gem::Dependency
118
111
  name: sqlite3-ruby
119
- prerelease: false
120
112
  requirement: &id007 !ruby/object:Gem::Requirement
121
113
  none: false
122
114
  requirements:
123
115
  - - ~>
124
116
  - !ruby/object:Gem::Version
125
- hash: 27
126
117
  segments:
127
118
  - 1
128
119
  - 3
129
120
  - 0
130
121
  version: 1.3.0
131
122
  type: :runtime
123
+ prerelease: false
132
124
  version_requirements: *id007
133
125
  - !ruby/object:Gem::Dependency
134
126
  name: timeframe
135
- prerelease: false
136
127
  requirement: &id008 !ruby/object:Gem::Requirement
137
128
  none: false
138
129
  requirements:
139
130
  - - ~>
140
131
  - !ruby/object:Gem::Version
141
- hash: 15
142
132
  segments:
143
133
  - 0
144
134
  - 0
145
135
  - 8
146
136
  version: 0.0.8
147
137
  type: :runtime
138
+ prerelease: false
148
139
  version_requirements: *id008
149
140
  - !ruby/object:Gem::Dependency
150
141
  name: bundler
151
- prerelease: false
152
142
  requirement: &id009 !ruby/object:Gem::Requirement
153
143
  none: false
154
144
  requirements:
155
145
  - - ">="
156
146
  - !ruby/object:Gem::Version
157
- hash: 3
158
147
  segments:
159
148
  - 0
160
149
  version: "0"
161
150
  type: :development
151
+ prerelease: false
162
152
  version_requirements: *id009
163
153
  - !ruby/object:Gem::Dependency
164
154
  name: emitter
165
- prerelease: false
166
155
  requirement: &id010 !ruby/object:Gem::Requirement
167
156
  none: false
168
157
  requirements:
169
158
  - - ">="
170
159
  - !ruby/object:Gem::Version
171
- hash: 3
172
160
  segments:
173
161
  - 0
174
162
  version: "0"
175
163
  type: :development
164
+ prerelease: false
176
165
  version_requirements: *id010
177
166
  - !ruby/object:Gem::Dependency
178
167
  name: jeweler
179
- prerelease: false
180
168
  requirement: &id011 !ruby/object:Gem::Requirement
181
169
  none: false
182
170
  requirements:
183
171
  - - ">="
184
172
  - !ruby/object:Gem::Version
185
- hash: 3
186
173
  segments:
187
174
  - 0
188
175
  version: "0"
189
176
  type: :development
177
+ prerelease: false
190
178
  version_requirements: *id011
191
179
  - !ruby/object:Gem::Dependency
192
180
  name: rake
193
- prerelease: false
194
181
  requirement: &id012 !ruby/object:Gem::Requirement
195
182
  none: false
196
183
  requirements:
197
184
  - - ">="
198
185
  - !ruby/object:Gem::Version
199
- hash: 3
200
186
  segments:
201
187
  - 0
202
188
  version: "0"
203
189
  type: :development
190
+ prerelease: false
204
191
  version_requirements: *id012
205
192
  - !ruby/object:Gem::Dependency
206
193
  name: rcov
207
- prerelease: false
208
194
  requirement: &id013 !ruby/object:Gem::Requirement
209
195
  none: false
210
196
  requirements:
211
197
  - - ">="
212
198
  - !ruby/object:Gem::Version
213
- hash: 3
214
199
  segments:
215
200
  - 0
216
201
  version: "0"
217
202
  type: :development
203
+ prerelease: false
218
204
  version_requirements: *id013
219
205
  - !ruby/object:Gem::Dependency
220
206
  name: rdoc
221
- prerelease: false
222
207
  requirement: &id014 !ruby/object:Gem::Requirement
223
208
  none: false
224
209
  requirements:
225
210
  - - ">="
226
211
  - !ruby/object:Gem::Version
227
- hash: 3
228
212
  segments:
229
213
  - 0
230
214
  version: "0"
231
215
  type: :development
216
+ prerelease: false
232
217
  version_requirements: *id014
233
218
  - !ruby/object:Gem::Dependency
234
219
  name: rspec
235
- prerelease: false
236
220
  requirement: &id015 !ruby/object:Gem::Requirement
237
221
  none: false
238
222
  requirements:
239
223
  - - ~>
240
224
  - !ruby/object:Gem::Version
241
- hash: 62196417
242
225
  segments:
243
226
  - 2
244
227
  - 0
@@ -247,6 +230,7 @@ dependencies:
247
230
  - 17
248
231
  version: 2.0.0.beta.17
249
232
  type: :development
233
+ prerelease: false
250
234
  version_requirements: *id015
251
235
  description: Provides data environment for emitter gems
252
236
  email: derek.kastner@brighterplanet.com
@@ -276,14 +260,14 @@ files:
276
260
  - lib/test_support/db/fixtures/urbanities.csv
277
261
  - lib/test_support/db/fixtures/zip_codes.csv
278
262
  - README.markdown
263
+ - spec/fixtures/dirigible/lib/test_support/dirigible_record.rb
279
264
  - spec/fixtures/dirigible/lib/dirigible/carbon_model.rb
280
- - spec/fixtures/dirigible/lib/dirigible/characterization.rb
281
265
  - spec/fixtures/dirigible/lib/dirigible/data.rb
266
+ - spec/fixtures/dirigible/lib/dirigible/characterization.rb
282
267
  - spec/fixtures/dirigible/lib/dirigible/summarization.rb
283
268
  - spec/fixtures/dirigible/lib/dirigible.rb
284
- - spec/fixtures/dirigible/lib/test_support/dirigible_record.rb
285
- - spec/lib/sniff/database_spec.rb
286
269
  - spec/lib/test_support/cucumber/support/values_spec.rb
270
+ - spec/lib/sniff/database_spec.rb
287
271
  - spec/spec_helper.rb
288
272
  has_rdoc: true
289
273
  homepage: http://github.com/brighterplanet/sniff
@@ -299,7 +283,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
299
283
  requirements:
300
284
  - - ">="
301
285
  - !ruby/object:Gem::Version
302
- hash: 3
286
+ hash: -16192863
303
287
  segments:
304
288
  - 0
305
289
  version: "0"
@@ -308,7 +292,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
308
292
  requirements:
309
293
  - - ">="
310
294
  - !ruby/object:Gem::Version
311
- hash: 3
312
295
  segments:
313
296
  - 0
314
297
  version: "0"
@@ -320,15 +303,15 @@ signing_key:
320
303
  specification_version: 3
321
304
  summary: Test support for Brighter Planet carbon gems
322
305
  test_files:
306
+ - spec/fixtures/dirigible/lib/test_support/dirigible_record.rb
323
307
  - spec/fixtures/dirigible/lib/dirigible/carbon_model.rb
324
- - spec/fixtures/dirigible/lib/dirigible/characterization.rb
325
308
  - spec/fixtures/dirigible/lib/dirigible/data.rb
309
+ - spec/fixtures/dirigible/lib/dirigible/characterization.rb
326
310
  - spec/fixtures/dirigible/lib/dirigible/summarization.rb
327
311
  - spec/fixtures/dirigible/lib/dirigible.rb
328
- - spec/fixtures/dirigible/lib/test_support/dirigible_record.rb
329
- - spec/lib/sniff/database_spec.rb
330
312
  - spec/lib/test_support/cucumber/support/values_spec.rb
313
+ - spec/lib/sniff/database_spec.rb
331
314
  - spec/spec_helper.rb
315
+ - lib/test_support/cucumber/support/values.rb
332
316
  - lib/test_support/cucumber/step_definitions/carbon_steps.rb
333
317
  - lib/test_support/cucumber/step_definitions/committee_steps.rb
334
- - lib/test_support/cucumber/support/values.rb