lodging 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,8 @@
1
- require 'leap'
2
- require 'conversions'
3
1
 
4
2
  module BrighterPlanet
5
3
  module Lodging
6
4
  module CarbonModel
7
5
  def self.included(base)
8
- base.extend ::Leap::Subject
9
6
  base.decide :emission, :with => :characteristics do
10
7
  committee :emission do # returns kg CO2e
11
8
  quorum 'from rooms, nights, and emission factor', :needs => [:rooms, :nights, :emission_factor] do |characteristics|
@@ -1,10 +1,7 @@
1
- require 'characterizable'
2
-
3
1
  module BrighterPlanet
4
2
  module Lodging
5
3
  module Characterization
6
4
  def self.included(base)
7
- base.send :include, Characterizable
8
5
  base.characterize do
9
6
  has :lodging_class
10
7
  has :zip_code
@@ -12,7 +9,6 @@ module BrighterPlanet
12
9
  has :rooms
13
10
  has :nights
14
11
  end
15
- base.add_implicit_characteristics
16
12
  end
17
13
  end
18
14
  end
@@ -1,5 +1,3 @@
1
- require 'data_miner'
2
-
3
1
  module BrighterPlanet
4
2
  module Lodging
5
3
  module Data
@@ -1,10 +1,7 @@
1
- require 'summary_judgement'
2
-
3
1
  module BrighterPlanet
4
2
  module Lodging
5
3
  module Summarization
6
4
  def self.included(base)
7
- base.extend SummaryJudgement
8
5
  base.summarize do |has|
9
6
  has.identity 'lodging'
10
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lodging
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Rossmeissl
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2010-09-20 00:00:00 -04:00
22
+ date: 2010-09-22 00:00:00 -04:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -157,12 +157,12 @@ dependencies:
157
157
  requirements:
158
158
  - - ~>
159
159
  - !ruby/object:Gem::Version
160
- hash: 5
160
+ hash: 19
161
161
  segments:
162
162
  - 0
163
- - 0
164
- - 13
165
- version: 0.0.13
163
+ - 1
164
+ - 4
165
+ version: 0.1.4
166
166
  requirement: *id009
167
167
  description: A software model in Ruby for the greenhouse gas emissions of a lodging
168
168
  email: andy@rossmeissl.net