emitter 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/emitter.rb +24 -3
  2. metadata +31 -46
data/lib/emitter.rb CHANGED
@@ -1,9 +1,30 @@
1
1
  module BrighterPlanet
2
2
  module Emitter
3
- LIST = %w{automobile automobile_trip bus_trip computation diet flight fuel_purchase lodging meeting motorcycle pet purchase rail_trip residence}
3
+ LIST = %w{
4
+ automobile
5
+ automobile_trip
6
+ bus_trip
7
+ computation
8
+ diet
9
+ flight
10
+ fuel_purchase
11
+ lodging
12
+ meeting
13
+ motorcycle
14
+ pet
15
+ purchase
16
+ rail_trip
17
+ residence
18
+ shipment
19
+ }
4
20
  BETA_LIST = %w{}
5
-
6
- REQUIRED_COMPONENTS = %w{carbon_model characterization data summarization fallback relationships}
21
+ REQUIRED_COMPONENTS = %w{
22
+ carbon_model
23
+ characterization
24
+ data summarization
25
+ fallback
26
+ relationships
27
+ }
7
28
  def included(base)
8
29
  base.extend Meta
9
30
  base.extend ClassMethods
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emitter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 3
9
- - 2
10
- version: 0.3.2
8
+ - 3
9
+ version: 0.3.3
11
10
  platform: ruby
12
11
  authors:
13
12
  - Andy Rossmeissl
@@ -19,205 +18,192 @@ autorequire:
19
18
  bindir: bin
20
19
  cert_chain: []
21
20
 
22
- date: 2010-12-07 00:00:00 -06:00
21
+ date: 2010-12-10 00:00:00 -05:00
23
22
  default_executable:
24
23
  dependencies:
25
24
  - !ruby/object:Gem::Dependency
26
25
  name: activerecord
27
- prerelease: false
28
26
  requirement: &id001 !ruby/object:Gem::Requirement
29
27
  none: false
30
28
  requirements:
31
29
  - - ~>
32
30
  - !ruby/object:Gem::Version
33
- hash: 5
34
31
  segments:
35
32
  - 3
36
33
  version: "3"
37
34
  type: :development
35
+ prerelease: false
38
36
  version_requirements: *id001
39
37
  - !ruby/object:Gem::Dependency
40
38
  name: bundler
41
- prerelease: false
42
39
  requirement: &id002 !ruby/object:Gem::Requirement
43
40
  none: false
44
41
  requirements:
45
42
  - - ~>
46
43
  - !ruby/object:Gem::Version
47
- hash: 23
48
44
  segments:
49
45
  - 1
50
46
  - 0
51
47
  - 0
52
48
  version: 1.0.0
53
49
  type: :development
50
+ prerelease: false
54
51
  version_requirements: *id002
55
52
  - !ruby/object:Gem::Dependency
56
53
  name: sniff
57
- prerelease: false
58
54
  requirement: &id003 !ruby/object:Gem::Requirement
59
55
  none: false
60
56
  requirements:
61
57
  - - ">="
62
58
  - !ruby/object:Gem::Version
63
- hash: 3
64
59
  segments:
65
60
  - 0
66
61
  version: "0"
67
62
  type: :development
63
+ prerelease: false
68
64
  version_requirements: *id003
69
65
  - !ruby/object:Gem::Dependency
70
66
  name: activesupport
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: 5
78
72
  segments:
79
73
  - 3
80
74
  version: "3"
81
75
  type: :runtime
76
+ prerelease: false
82
77
  version_requirements: *id004
83
78
  - !ruby/object:Gem::Dependency
84
79
  name: characterizable
85
- prerelease: false
86
80
  requirement: &id005 !ruby/object:Gem::Requirement
87
81
  none: false
88
82
  requirements:
89
83
  - - ~>
90
84
  - !ruby/object:Gem::Version
91
- hash: 9
92
85
  segments:
93
86
  - 0
94
87
  - 1
95
88
  version: "0.1"
96
89
  type: :runtime
90
+ prerelease: false
97
91
  version_requirements: *id005
98
92
  - !ruby/object:Gem::Dependency
99
93
  name: cohort_scope
100
- prerelease: false
101
94
  requirement: &id006 !ruby/object:Gem::Requirement
102
95
  none: false
103
96
  requirements:
104
97
  - - ~>
105
98
  - !ruby/object:Gem::Version
106
- hash: 9
107
99
  segments:
108
100
  - 0
109
101
  - 1
110
102
  version: "0.1"
111
103
  type: :runtime
104
+ prerelease: false
112
105
  version_requirements: *id006
113
106
  - !ruby/object:Gem::Dependency
114
107
  name: data_miner
115
- prerelease: false
116
108
  requirement: &id007 !ruby/object:Gem::Requirement
117
109
  none: false
118
110
  requirements:
119
111
  - - ~>
120
112
  - !ruby/object:Gem::Version
121
- hash: 1
122
113
  segments:
123
114
  - 0
124
115
  - 5
125
116
  version: "0.5"
126
117
  type: :runtime
118
+ prerelease: false
127
119
  version_requirements: *id007
128
120
  - !ruby/object:Gem::Dependency
129
121
  name: earth
130
- prerelease: false
131
122
  requirement: &id008 !ruby/object:Gem::Requirement
132
123
  none: false
133
124
  requirements:
134
125
  - - ~>
135
126
  - !ruby/object:Gem::Version
136
- hash: 13
137
127
  segments:
138
128
  - 0
139
129
  - 3
140
130
  version: "0.3"
141
131
  type: :runtime
132
+ prerelease: false
142
133
  version_requirements: *id008
143
134
  - !ruby/object:Gem::Dependency
144
135
  name: falls_back_on
145
- prerelease: false
146
136
  requirement: &id009 !ruby/object:Gem::Requirement
147
137
  none: false
148
138
  requirements:
149
139
  - - ~>
150
140
  - !ruby/object:Gem::Version
151
- hash: 25
152
141
  segments:
153
142
  - 0
154
143
  - 0
155
144
  - 3
156
145
  version: 0.0.3
157
146
  type: :runtime
147
+ prerelease: false
158
148
  version_requirements: *id009
159
149
  - !ruby/object:Gem::Dependency
160
150
  name: leap
161
- prerelease: false
162
151
  requirement: &id010 !ruby/object:Gem::Requirement
163
152
  none: false
164
153
  requirements:
165
154
  - - ~>
166
155
  - !ruby/object:Gem::Version
167
- hash: 7
168
156
  segments:
169
157
  - 0
170
158
  - 4
171
159
  - 4
172
160
  version: 0.4.4
173
161
  type: :runtime
162
+ prerelease: false
174
163
  version_requirements: *id010
175
164
  - !ruby/object:Gem::Dependency
176
165
  name: summary_judgement
177
- prerelease: false
178
166
  requirement: &id011 !ruby/object:Gem::Requirement
179
167
  none: false
180
168
  requirements:
181
169
  - - ~>
182
170
  - !ruby/object:Gem::Version
183
- hash: 9
184
171
  segments:
185
172
  - 1
186
173
  - 3
187
174
  version: "1.3"
188
175
  type: :runtime
176
+ prerelease: false
189
177
  version_requirements: *id011
190
178
  - !ruby/object:Gem::Dependency
191
179
  name: timeframe
192
- prerelease: false
193
180
  requirement: &id012 !ruby/object:Gem::Requirement
194
181
  none: false
195
182
  requirements:
196
183
  - - ~>
197
184
  - !ruby/object:Gem::Version
198
- hash: 15
199
185
  segments:
200
186
  - 0
201
187
  - 0
202
188
  - 8
203
189
  version: 0.0.8
204
190
  type: :runtime
191
+ prerelease: false
205
192
  version_requirements: *id012
206
193
  - !ruby/object:Gem::Dependency
207
194
  name: weighted_average
208
- prerelease: false
209
195
  requirement: &id013 !ruby/object:Gem::Requirement
210
196
  none: false
211
197
  requirements:
212
198
  - - ~>
213
199
  - !ruby/object:Gem::Version
214
- hash: 23
215
200
  segments:
216
201
  - 0
217
202
  - 0
218
203
  - 4
219
204
  version: 0.0.4
220
205
  type: :runtime
206
+ prerelease: false
221
207
  version_requirements: *id013
222
208
  description: A software model in Ruby for the greenhouse gas emissions
223
209
  email: derek@brighterplanet.com
@@ -234,18 +220,18 @@ files:
234
220
  - lib/emitter.rb
235
221
  - spec/emitter/meta_spec.rb
236
222
  - spec/emitter_spec.rb
237
- - spec/fixtures/biplane/lib/biplane/carbon_model.rb
238
- - spec/fixtures/biplane/lib/biplane/characterization.rb
239
- - spec/fixtures/biplane/lib/biplane/data.rb
240
- - spec/fixtures/biplane/lib/biplane/summarization.rb
241
- - spec/fixtures/biplane/lib/biplane.rb
223
+ - spec/fixtures/dirigible/lib/dirigible/fallback.rb
242
224
  - spec/fixtures/dirigible/lib/dirigible/carbon_model.rb
243
- - spec/fixtures/dirigible/lib/dirigible/characterization.rb
244
225
  - spec/fixtures/dirigible/lib/dirigible/data.rb
245
- - spec/fixtures/dirigible/lib/dirigible/fallback.rb
246
226
  - spec/fixtures/dirigible/lib/dirigible/relationships.rb
227
+ - spec/fixtures/dirigible/lib/dirigible/characterization.rb
247
228
  - spec/fixtures/dirigible/lib/dirigible/summarization.rb
248
229
  - spec/fixtures/dirigible/lib/dirigible.rb
230
+ - spec/fixtures/biplane/lib/biplane.rb
231
+ - spec/fixtures/biplane/lib/biplane/carbon_model.rb
232
+ - spec/fixtures/biplane/lib/biplane/data.rb
233
+ - spec/fixtures/biplane/lib/biplane/characterization.rb
234
+ - spec/fixtures/biplane/lib/biplane/summarization.rb
249
235
  - spec/spec_helper.rb
250
236
  has_rdoc: true
251
237
  homepage: http://github.com/brighterplanet/emitter
@@ -261,7 +247,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
261
247
  requirements:
262
248
  - - ">="
263
249
  - !ruby/object:Gem::Version
264
- hash: 3
250
+ hash: 287380225
265
251
  segments:
266
252
  - 0
267
253
  version: "0"
@@ -270,7 +256,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
256
  requirements:
271
257
  - - ">="
272
258
  - !ruby/object:Gem::Version
273
- hash: 3
274
259
  segments:
275
260
  - 0
276
261
  version: "0"
@@ -284,16 +269,16 @@ summary: The mother of all carbon models
284
269
  test_files:
285
270
  - spec/emitter/meta_spec.rb
286
271
  - spec/emitter_spec.rb
287
- - spec/fixtures/biplane/lib/biplane/carbon_model.rb
288
- - spec/fixtures/biplane/lib/biplane/characterization.rb
289
- - spec/fixtures/biplane/lib/biplane/data.rb
290
- - spec/fixtures/biplane/lib/biplane/summarization.rb
291
- - spec/fixtures/biplane/lib/biplane.rb
272
+ - spec/fixtures/dirigible/lib/dirigible/fallback.rb
292
273
  - spec/fixtures/dirigible/lib/dirigible/carbon_model.rb
293
- - spec/fixtures/dirigible/lib/dirigible/characterization.rb
294
274
  - spec/fixtures/dirigible/lib/dirigible/data.rb
295
- - spec/fixtures/dirigible/lib/dirigible/fallback.rb
296
275
  - spec/fixtures/dirigible/lib/dirigible/relationships.rb
276
+ - spec/fixtures/dirigible/lib/dirigible/characterization.rb
297
277
  - spec/fixtures/dirigible/lib/dirigible/summarization.rb
298
278
  - spec/fixtures/dirigible/lib/dirigible.rb
279
+ - spec/fixtures/biplane/lib/biplane.rb
280
+ - spec/fixtures/biplane/lib/biplane/carbon_model.rb
281
+ - spec/fixtures/biplane/lib/biplane/data.rb
282
+ - spec/fixtures/biplane/lib/biplane/characterization.rb
283
+ - spec/fixtures/biplane/lib/biplane/summarization.rb
299
284
  - spec/spec_helper.rb