emitter 0.1.0 → 0.1.1

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.
data/lib/emitter.rb CHANGED
@@ -14,6 +14,7 @@ module BrighterPlanet
14
14
 
15
15
  require 'leap'
16
16
  require 'cohort_scope'
17
+ base.extend ::Leap::Subject
17
18
  base.send :include, const_get('CarbonModel')
18
19
 
19
20
  require 'characterizable'
@@ -4,7 +4,6 @@ module BrighterPlanet
4
4
  module Biplane
5
5
  module CarbonModel
6
6
  def self.included(base)
7
- base.extend ::Leap::Subject
8
7
  base.decide :emission, :with => :characteristics do
9
8
  committee :emission do # returns kg CO2e
10
9
  quorum 'default' do
@@ -4,7 +4,6 @@ module BrighterPlanet
4
4
  module Dirigible
5
5
  module CarbonModel
6
6
  def self.included(base)
7
- base.extend ::Leap::Subject
8
7
  base.decide :emission, :with => :characteristics do
9
8
  committee :emission do # returns kg CO2e
10
9
  quorum 'default' do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emitter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andy Rossmeissl