flight 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,49 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flight
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 23
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 2
9
- version: 0.0.2
9
+ - 4
10
+ version: 0.0.4
10
11
  platform: ruby
11
12
  authors:
12
13
  - Andy Rossmeissl
13
14
  - Seamus Abshere
14
15
  - Ian Hough
15
16
  - Matt Kling
17
+ - Derek Kastner
16
18
  autorequire:
17
19
  bindir: bin
18
20
  cert_chain: []
19
21
 
20
- date: 2010-06-10 00:00:00 -04:00
22
+ date: 2010-07-13 00:00:00 -04:00
21
23
  default_executable:
22
24
  dependencies:
23
25
  - !ruby/object:Gem::Dependency
24
- name: thoughtbot-shoulda
26
+ type: :development
25
27
  prerelease: false
26
- requirement: &id001 !ruby/object:Gem::Requirement
28
+ name: rake
29
+ version_requirements: &id001 !ruby/object:Gem::Requirement
30
+ none: false
27
31
  requirements:
28
32
  - - ">="
29
33
  - !ruby/object:Gem::Version
34
+ hash: 3
30
35
  segments:
31
36
  - 0
32
37
  version: "0"
38
+ requirement: *id001
39
+ - !ruby/object:Gem::Dependency
40
+ type: :development
41
+ prerelease: false
42
+ name: bundler
43
+ version_requirements: &id002 !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ hash: 62196359
49
+ segments:
50
+ - 1
51
+ - 0
52
+ - 0
53
+ - beta
54
+ - 2
55
+ version: 1.0.0.beta.2
56
+ requirement: *id002
57
+ - !ruby/object:Gem::Dependency
33
58
  type: :development
34
- version_requirements: *id001
59
+ prerelease: false
60
+ name: jeweler
61
+ version_requirements: &id003 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - "="
65
+ - !ruby/object:Gem::Version
66
+ hash: 7
67
+ segments:
68
+ - 1
69
+ - 4
70
+ - 0
71
+ version: 1.4.0
72
+ requirement: *id003
73
+ - !ruby/object:Gem::Dependency
74
+ type: :development
75
+ prerelease: false
76
+ name: cucumber
77
+ version_requirements: &id004 !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - "="
81
+ - !ruby/object:Gem::Version
82
+ hash: 57
83
+ segments:
84
+ - 0
85
+ - 8
86
+ - 3
87
+ version: 0.8.3
88
+ requirement: *id004
35
89
  - !ruby/object:Gem::Dependency
36
- name: leap
90
+ type: :development
37
91
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
92
+ name: rdoc
93
+ version_requirements: &id005 !ruby/object:Gem::Requirement
94
+ none: false
39
95
  requirements:
40
96
  - - ">="
41
97
  - !ruby/object:Gem::Version
98
+ hash: 3
42
99
  segments:
43
100
  - 0
44
101
  version: "0"
102
+ requirement: *id005
103
+ - !ruby/object:Gem::Dependency
45
104
  type: :development
46
- version_requirements: *id002
105
+ prerelease: false
106
+ name: sniff
107
+ version_requirements: &id006 !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - "="
111
+ - !ruby/object:Gem::Version
112
+ hash: 25
113
+ segments:
114
+ - 0
115
+ - 0
116
+ - 3
117
+ version: 0.0.3
118
+ requirement: *id006
119
+ - !ruby/object:Gem::Dependency
120
+ type: :runtime
121
+ prerelease: false
122
+ name: weighted_average
123
+ version_requirements: &id007 !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - "="
127
+ - !ruby/object:Gem::Version
128
+ hash: 23
129
+ segments:
130
+ - 0
131
+ - 0
132
+ - 4
133
+ version: 0.0.4
134
+ requirement: *id007
135
+ - !ruby/object:Gem::Dependency
136
+ type: :runtime
137
+ prerelease: false
138
+ name: geokit
139
+ version_requirements: &id008 !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - "="
143
+ - !ruby/object:Gem::Version
144
+ hash: 3
145
+ segments:
146
+ - 1
147
+ - 5
148
+ - 0
149
+ version: 1.5.0
150
+ requirement: *id008
47
151
  description: A software model in Ruby for the greenhouse gas emissions of a flight
48
152
  email: andy@rossmeissl.net
49
153
  executables: []
@@ -54,16 +158,32 @@ extra_rdoc_files:
54
158
  - LICENSE
55
159
  - README.rdoc
56
160
  files:
57
- - .document
58
- - .gitignore
59
161
  - LICENSE
60
162
  - README.rdoc
61
- - Rakefile
62
- - VERSION
63
- - flight.gemspec
64
163
  - lib/flight.rb
65
- - test/helper.rb
66
- - test/test_flight.rb
164
+ - lib/flight/carbon_model.rb
165
+ - lib/flight/characterization.rb
166
+ - lib/flight/data.rb
167
+ - lib/flight/summarization.rb
168
+ - lib/test_support/data_models/aircraft.rb
169
+ - lib/test_support/data_models/aircraft_class.rb
170
+ - lib/test_support/data_models/aircraft_manufacturer.rb
171
+ - lib/test_support/data_models/airline.rb
172
+ - lib/test_support/data_models/airport.rb
173
+ - lib/test_support/data_models/flight_configuration.rb
174
+ - lib/test_support/data_models/flight_distance_class.rb
175
+ - lib/test_support/data_models/flight_domesticity.rb
176
+ - lib/test_support/data_models/flight_fuel_type.rb
177
+ - lib/test_support/data_models/flight_propulsion.rb
178
+ - lib/test_support/data_models/flight_seat_class.rb
179
+ - lib/test_support/data_models/flight_segment.rb
180
+ - lib/test_support/data_models/flight_service.rb
181
+ - lib/test_support/db/schema.rb
182
+ - lib/test_support/flight_record.rb
183
+ - features/step_definitions/carbon_steps.rb
184
+ - features/support/env.rb
185
+ - features/flight_committees.feature
186
+ - features/flight_emissions.feature
67
187
  has_rdoc: true
68
188
  homepage: http://github.com/brighterplanet/flight
69
189
  licenses: []
@@ -74,26 +194,47 @@ rdoc_options:
74
194
  require_paths:
75
195
  - lib
76
196
  required_ruby_version: !ruby/object:Gem::Requirement
197
+ none: false
77
198
  requirements:
78
199
  - - ">="
79
200
  - !ruby/object:Gem::Version
201
+ hash: 3
80
202
  segments:
81
203
  - 0
82
204
  version: "0"
83
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
+ none: false
84
207
  requirements:
85
208
  - - ">="
86
209
  - !ruby/object:Gem::Version
210
+ hash: 3
87
211
  segments:
88
212
  - 0
89
213
  version: "0"
90
214
  requirements: []
91
215
 
92
216
  rubyforge_project:
93
- rubygems_version: 1.3.6
217
+ rubygems_version: 1.3.7
94
218
  signing_key:
95
219
  specification_version: 3
96
220
  summary: A carbon model
97
221
  test_files:
98
- - test/helper.rb
99
- - test/test_flight.rb
222
+ - features/step_definitions/carbon_steps.rb
223
+ - features/support/env.rb
224
+ - features/flight_committees.feature
225
+ - features/flight_emissions.feature
226
+ - lib/test_support/data_models/aircraft.rb
227
+ - lib/test_support/data_models/aircraft_class.rb
228
+ - lib/test_support/data_models/aircraft_manufacturer.rb
229
+ - lib/test_support/data_models/airline.rb
230
+ - lib/test_support/data_models/airport.rb
231
+ - lib/test_support/data_models/flight_configuration.rb
232
+ - lib/test_support/data_models/flight_distance_class.rb
233
+ - lib/test_support/data_models/flight_domesticity.rb
234
+ - lib/test_support/data_models/flight_fuel_type.rb
235
+ - lib/test_support/data_models/flight_propulsion.rb
236
+ - lib/test_support/data_models/flight_seat_class.rb
237
+ - lib/test_support/data_models/flight_segment.rb
238
+ - lib/test_support/data_models/flight_service.rb
239
+ - lib/test_support/db/schema.rb
240
+ - lib/test_support/flight_record.rb
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
data/Rakefile DELETED
@@ -1,54 +0,0 @@
1
- require 'rubygems'
2
- require 'rake'
3
-
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "flight"
8
- gem.summary = %Q{A carbon model}
9
- gem.description = %Q{A software model in Ruby for the greenhouse gas emissions of a flight}
10
- gem.email = "andy@rossmeissl.net"
11
- gem.homepage = "http://github.com/brighterplanet/flight"
12
- gem.authors = ["Andy Rossmeissl", "Seamus Abshere", "Ian Hough", "Matt Kling"]
13
- gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14
- gem.add_development_dependency 'leap'
15
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
- end
17
- Jeweler::GemcutterTasks.new
18
- rescue LoadError
19
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
20
- end
21
-
22
- require 'rake/testtask'
23
- Rake::TestTask.new(:test) do |test|
24
- test.libs << 'lib' << 'test'
25
- test.pattern = 'test/**/test_*.rb'
26
- test.verbose = true
27
- end
28
-
29
- begin
30
- require 'rcov/rcovtask'
31
- Rcov::RcovTask.new do |test|
32
- test.libs << 'test'
33
- test.pattern = 'test/**/test_*.rb'
34
- test.verbose = true
35
- end
36
- rescue LoadError
37
- task :rcov do
38
- abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
39
- end
40
- end
41
-
42
- task :test => :check_dependencies
43
-
44
- task :default => :test
45
-
46
- require 'rake/rdoctask'
47
- Rake::RDocTask.new do |rdoc|
48
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
-
50
- rdoc.rdoc_dir = 'rdoc'
51
- rdoc.title = "flight #{version}"
52
- rdoc.rdoc_files.include('README*')
53
- rdoc.rdoc_files.include('lib/**/*.rb')
54
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.0.2
data/flight.gemspec DELETED
@@ -1,57 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{flight}
8
- s.version = "0.0.2"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Andy Rossmeissl", "Seamus Abshere", "Ian Hough", "Matt Kling"]
12
- s.date = %q{2010-06-10}
13
- s.description = %q{A software model in Ruby for the greenhouse gas emissions of a flight}
14
- s.email = %q{andy@rossmeissl.net}
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "flight.gemspec",
27
- "lib/flight.rb",
28
- "test/helper.rb",
29
- "test/test_flight.rb"
30
- ]
31
- s.homepage = %q{http://github.com/brighterplanet/flight}
32
- s.rdoc_options = ["--charset=UTF-8"]
33
- s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.3.6}
35
- s.summary = %q{A carbon model}
36
- s.test_files = [
37
- "test/helper.rb",
38
- "test/test_flight.rb"
39
- ]
40
-
41
- if s.respond_to? :specification_version then
42
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
43
- s.specification_version = 3
44
-
45
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
46
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
47
- s.add_development_dependency(%q<leap>, [">= 0"])
48
- else
49
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
50
- s.add_dependency(%q<leap>, [">= 0"])
51
- end
52
- else
53
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
54
- s.add_dependency(%q<leap>, [">= 0"])
55
- end
56
- end
57
-
data/test/helper.rb DELETED
@@ -1,10 +0,0 @@
1
- require 'rubygems'
2
- require 'test/unit'
3
- require 'shoulda'
4
-
5
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
- $LOAD_PATH.unshift(File.dirname(__FILE__))
7
- require 'flight'
8
-
9
- class Test::Unit::TestCase
10
- end
data/test/test_flight.rb DELETED
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestFlight < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end