lib/earth/electricity/green_button_adoption.rb in earth-1.0.0 vs lib/earth/electricity/green_button_adoption.rb in earth-1.0.1
- old
+ new
@@ -14,11 +14,10 @@
EOS
self.primary_key = "electric_utility_name"
-
class << self
def implemented?(*names)
names.any? do |name|
find_by_electric_utility_name(name).try :implemented?
end
@@ -27,6 +26,8 @@
names.any? do |name|
find_by_electric_utility_name(name).try :committed?
end
end
end
+
+ warn_unless_size 23
end