brighter_planet_metadata 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +14 -0
- data/Rakefile +13 -0
- data/brighter_planet_metadata.gemspec +2 -2
- data/lib/brighter_planet_metadata/version.rb +1 -1
- metadata +6 -4
data/.gitignore
CHANGED
data/README.rdoc
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
=brighter_planet_metadata
|
2
|
+
|
3
|
+
$> require 'rubygems'
|
4
|
+
=> true
|
5
|
+
$> require 'brighter_planet_metadata'
|
6
|
+
=> true
|
7
|
+
$> BrighterPlanet.metadata.emitters
|
8
|
+
=> ["Residence", "RailTrip", "Purchase", "Pet", "Motorcycle", "Meeting", "Lodging", "FuelPurchase", "Flight", "ElectricityUse", "Diet", "Computation", "BusTrip", "AutomobileTrip", "Automobile", "Shipment"]
|
9
|
+
$> BrighterPlanet.metadata.resources
|
10
|
+
=> ["AirConditionerUse", "Aircraft", "AircraftClass", "AircraftManufacturer", "Airline", "Airport", "AutomobileFuel", "AutomobileMake", "AutomobileMakeFleetYear", "AutomobileMakeModel", "AutomobileMakeModelYear", "AutomobileMakeModelYearVariant", "AutomobileMakeYear", "AutomobileSizeClass", "AutomobileSizeClassYear", "AutomobileTypeFuelAge", "AutomobileTypeFuelControl", "AutomobileTypeFuelYear", "AutomobileTypeFuelYearAge", "AutomobileTypeFuelYearControl", "AutomobileTypeYear", "Breed", "BreedGender", "BusClass", "BusFuel", "BusFuelControl", "BusFuelYearControl", "Carrier", "CarrierMode", "CensusDivision", "CensusRegion", "ClimateDivision", "ClothesMachineUse", "ComputationCarrier", "ComputationCarrierInstanceClass", "ComputationCarrierRegion", "Country", "DietClass", "DishwasherUse", "EgridRegion", "EgridSubregion", "FlightDistanceClass", "FlightFuelType", "FlightSeatClass", "FlightSegment", "FoodGroup", "Fuel", "FuelPrice", "FuelType", "FuelYear", "Gender", "GreenhouseGas", "LodgingClass", "PetroleumAdministrationForDefenseDistrict", "RailClass", "ResidenceAppliance", "ResidenceClass", "ResidenceFuelPrice", "ResidenceFuelType", "ResidentialEnergyConsumptionSurveyResponse", "ShipmentMode", "Species", "State", "Urbanity", "ZipCode"]
|
11
|
+
$> BrighterPlanet.metadata.protocols
|
12
|
+
=> {"ghg_protocol_scope_1"=>"Greenhouse Gas Protocol Scope 1", "tcr"=>"The Climate Registry", "ghg_protocol_scope_3"=>"Greenhouse Gas Protocol Scope 3", "iso"=>"ISO 14064-1"}
|
13
|
+
|
14
|
+
Copyright 2011 Brighter Planet, Inc.
|
data/Rakefile
CHANGED
@@ -10,3 +10,16 @@ Rake::TestTask.new(:test) do |test|
|
|
10
10
|
end
|
11
11
|
|
12
12
|
task :default => :test
|
13
|
+
|
14
|
+
begin
|
15
|
+
require 'rake/rdoctask'
|
16
|
+
Rake::RDocTask.new do |rdoc|
|
17
|
+
rdoc.rdoc_dir = 'rdoc'
|
18
|
+
rdoc.title = 'remote_table'
|
19
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
20
|
+
rdoc.rdoc_files.include('README*')
|
21
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
22
|
+
end
|
23
|
+
rescue LoadError
|
24
|
+
puts "Rdoc is not available"
|
25
|
+
end
|
@@ -6,9 +6,9 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = "brighter_planet_metadata"
|
7
7
|
s.version = BrighterPlanetMetadata::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Seamus Abshere"]
|
9
|
+
s.authors = ["Seamus Abshere", "Andy Rossmeissl"]
|
10
10
|
s.email = ["seamus@abshere.net"]
|
11
|
-
s.homepage = ""
|
11
|
+
s.homepage = "https://github.com/brighterplanet/brighter_planet_metadata"
|
12
12
|
s.summary = %q{Names of Brighter Planet things}
|
13
13
|
s.description = %q{What emitters (carbon models), resources (data classes), datasets, etc. we offer.}
|
14
14
|
|
metadata
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brighter_planet_metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Seamus Abshere
|
14
|
+
- Andy Rossmeissl
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
@@ -158,6 +159,7 @@ extra_rdoc_files: []
|
|
158
159
|
files:
|
159
160
|
- .gitignore
|
160
161
|
- Gemfile
|
162
|
+
- README.rdoc
|
161
163
|
- Rakefile
|
162
164
|
- bin/brighter_planet_metadata
|
163
165
|
- brighter_planet_metadata.gemspec
|
@@ -176,7 +178,7 @@ files:
|
|
176
178
|
- test/test_memory_leak.rb
|
177
179
|
- test/test_real.rb
|
178
180
|
has_rdoc: true
|
179
|
-
homepage:
|
181
|
+
homepage: https://github.com/brighterplanet/brighter_planet_metadata
|
180
182
|
licenses: []
|
181
183
|
|
182
184
|
post_install_message:
|