purchase 0.1.8 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/features/purchase_committees.feature +125 -193
- data/features/purchase_emissions.feature +69 -54
- data/features/step_definitions/matrix.rb +21 -0
- data/features/support/matrix_ext.rb +38 -0
- data/lib/purchase/carbon_model.rb +98 -64
- data/lib/purchase.rb +26 -0
- data/lib/test_support/test_impact_vectors_adapter.rb +60 -0
- data/lib/test_support/test_sector_direct_requirements_adapter.rb +57 -0
- metadata +63 -55
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purchase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
-
- 0
|
8
7
|
- 1
|
9
|
-
-
|
10
|
-
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andy Rossmeissl
|
@@ -19,33 +19,34 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2010-09-08 00:00:00 -
|
22
|
+
date: 2010-09-08 00:00:00 -04:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
|
26
|
+
type: :development
|
27
27
|
prerelease: false
|
28
|
-
|
28
|
+
name: activerecord
|
29
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
29
30
|
none: false
|
30
31
|
requirements:
|
31
|
-
- -
|
32
|
+
- - ~>
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
hash:
|
34
|
+
hash: -1848230024
|
34
35
|
segments:
|
35
36
|
- 3
|
36
37
|
- 0
|
37
38
|
- 0
|
38
39
|
- beta4
|
39
40
|
version: 3.0.0.beta4
|
40
|
-
|
41
|
-
version_requirements: *id001
|
41
|
+
requirement: *id001
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
|
43
|
+
type: :development
|
44
44
|
prerelease: false
|
45
|
-
|
45
|
+
name: bundler
|
46
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
46
47
|
none: false
|
47
48
|
requirements:
|
48
|
-
- -
|
49
|
+
- - ~>
|
49
50
|
- !ruby/object:Gem::Version
|
50
51
|
hash: 62196359
|
51
52
|
segments:
|
@@ -55,15 +56,15 @@ dependencies:
|
|
55
56
|
- beta
|
56
57
|
- 2
|
57
58
|
version: 1.0.0.beta.2
|
58
|
-
|
59
|
-
version_requirements: *id002
|
59
|
+
requirement: *id002
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
|
-
|
61
|
+
type: :development
|
62
62
|
prerelease: false
|
63
|
-
|
63
|
+
name: cucumber
|
64
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
64
65
|
none: false
|
65
66
|
requirements:
|
66
|
-
- -
|
67
|
+
- - ~>
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
hash: 57
|
69
70
|
segments:
|
@@ -71,15 +72,15 @@ dependencies:
|
|
71
72
|
- 8
|
72
73
|
- 3
|
73
74
|
version: 0.8.3
|
74
|
-
|
75
|
-
version_requirements: *id003
|
75
|
+
requirement: *id003
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
|
-
|
77
|
+
type: :development
|
78
78
|
prerelease: false
|
79
|
-
|
79
|
+
name: jeweler
|
80
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
80
81
|
none: false
|
81
82
|
requirements:
|
82
|
-
- -
|
83
|
+
- - ~>
|
83
84
|
- !ruby/object:Gem::Version
|
84
85
|
hash: 7
|
85
86
|
segments:
|
@@ -87,12 +88,12 @@ dependencies:
|
|
87
88
|
- 4
|
88
89
|
- 0
|
89
90
|
version: 1.4.0
|
90
|
-
|
91
|
-
version_requirements: *id004
|
91
|
+
requirement: *id004
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
|
-
|
93
|
+
type: :development
|
94
94
|
prerelease: false
|
95
|
-
|
95
|
+
name: rake
|
96
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
96
97
|
none: false
|
97
98
|
requirements:
|
98
99
|
- - ">="
|
@@ -101,12 +102,12 @@ dependencies:
|
|
101
102
|
segments:
|
102
103
|
- 0
|
103
104
|
version: "0"
|
104
|
-
|
105
|
-
version_requirements: *id005
|
105
|
+
requirement: *id005
|
106
106
|
- !ruby/object:Gem::Dependency
|
107
|
-
|
107
|
+
type: :development
|
108
108
|
prerelease: false
|
109
|
-
|
109
|
+
name: rdoc
|
110
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
110
111
|
none: false
|
111
112
|
requirements:
|
112
113
|
- - ">="
|
@@ -115,15 +116,15 @@ dependencies:
|
|
115
116
|
segments:
|
116
117
|
- 0
|
117
118
|
version: "0"
|
118
|
-
|
119
|
-
version_requirements: *id006
|
119
|
+
requirement: *id006
|
120
120
|
- !ruby/object:Gem::Dependency
|
121
|
-
|
121
|
+
type: :development
|
122
122
|
prerelease: false
|
123
|
-
|
123
|
+
name: rspec
|
124
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
124
125
|
none: false
|
125
126
|
requirements:
|
126
|
-
- -
|
127
|
+
- - ~>
|
127
128
|
- !ruby/object:Gem::Version
|
128
129
|
hash: 62196417
|
129
130
|
segments:
|
@@ -133,40 +134,39 @@ dependencies:
|
|
133
134
|
- beta
|
134
135
|
- 17
|
135
136
|
version: 2.0.0.beta.17
|
136
|
-
|
137
|
-
version_requirements: *id007
|
137
|
+
requirement: *id007
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
|
-
|
139
|
+
type: :development
|
140
140
|
prerelease: false
|
141
|
-
|
141
|
+
name: sniff
|
142
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
142
143
|
none: false
|
143
144
|
requirements:
|
144
|
-
- -
|
145
|
+
- - ~>
|
145
146
|
- !ruby/object:Gem::Version
|
146
|
-
hash:
|
147
|
+
hash: 3
|
147
148
|
segments:
|
148
149
|
- 0
|
149
150
|
- 1
|
150
|
-
-
|
151
|
-
version: 0.1.
|
152
|
-
|
153
|
-
version_requirements: *id008
|
151
|
+
- 12
|
152
|
+
version: 0.1.12
|
153
|
+
requirement: *id008
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
|
-
|
155
|
+
type: :runtime
|
156
156
|
prerelease: false
|
157
|
-
|
157
|
+
name: emitter
|
158
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
158
159
|
none: false
|
159
160
|
requirements:
|
160
|
-
- -
|
161
|
+
- - ~>
|
161
162
|
- !ruby/object:Gem::Version
|
162
|
-
hash:
|
163
|
+
hash: 19
|
163
164
|
segments:
|
164
165
|
- 0
|
165
166
|
- 0
|
166
|
-
-
|
167
|
-
version: 0.0.
|
168
|
-
|
169
|
-
version_requirements: *id009
|
167
|
+
- 6
|
168
|
+
version: 0.0.6
|
169
|
+
requirement: *id009
|
170
170
|
description: A software model in Ruby for the greenhouse gas emissions of a purchase
|
171
171
|
email: seamus@brighterplanet.com
|
172
172
|
executables: []
|
@@ -186,7 +186,11 @@ files:
|
|
186
186
|
- lib/purchase/summarization.rb
|
187
187
|
- lib/test_support/db/schema.rb
|
188
188
|
- lib/test_support/purchase_record.rb
|
189
|
+
- lib/test_support/test_impact_vectors_adapter.rb
|
190
|
+
- lib/test_support/test_sector_direct_requirements_adapter.rb
|
191
|
+
- features/step_definitions/matrix.rb
|
189
192
|
- features/support/env.rb
|
193
|
+
- features/support/matrix_ext.rb
|
190
194
|
- features/purchase_committees.feature
|
191
195
|
- features/purchase_emissions.feature
|
192
196
|
has_rdoc: true
|
@@ -224,8 +228,12 @@ signing_key:
|
|
224
228
|
specification_version: 3
|
225
229
|
summary: A carbon model
|
226
230
|
test_files:
|
231
|
+
- features/step_definitions/matrix.rb
|
227
232
|
- features/support/env.rb
|
233
|
+
- features/support/matrix_ext.rb
|
228
234
|
- features/purchase_committees.feature
|
229
235
|
- features/purchase_emissions.feature
|
230
236
|
- lib/test_support/db/schema.rb
|
231
237
|
- lib/test_support/purchase_record.rb
|
238
|
+
- lib/test_support/test_impact_vectors_adapter.rb
|
239
|
+
- lib/test_support/test_sector_direct_requirements_adapter.rb
|