sniff 0.7.1 → 0.7.2
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/sniff/version.rb
CHANGED
|
@@ -66,6 +66,9 @@ end
|
|
|
66
66
|
Then /^the calculation should comply with standards? "(.*)"$/ do |standard_list|
|
|
67
67
|
standards = standard_list.split(/,\s*/).map(&:to_sym)
|
|
68
68
|
compliance = @activity.deliberations[:emission].compliance
|
|
69
|
+
unless standards.empty?
|
|
70
|
+
compliance.should_not be_empty, 'Expected calculation to comply with some standards, but it complied with none'
|
|
71
|
+
end
|
|
69
72
|
(compliance - standards).should be_empty
|
|
70
73
|
end
|
|
71
74
|
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: sniff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.7.
|
|
5
|
+
version: 0.7.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Derek Kastner
|
|
@@ -243,7 +243,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
243
243
|
requirements:
|
|
244
244
|
- - ">="
|
|
245
245
|
- !ruby/object:Gem::Version
|
|
246
|
-
hash:
|
|
246
|
+
hash: 416302750492710009
|
|
247
247
|
segments:
|
|
248
248
|
- 0
|
|
249
249
|
version: "0"
|