sniff 0.0.11 → 0.0.12
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/emitter.rb +6 -0
- metadata +3 -3
data/lib/sniff/emitter.rb
CHANGED
|
@@ -53,6 +53,12 @@ module Sniff
|
|
|
53
53
|
end
|
|
54
54
|
new resolved_params
|
|
55
55
|
end
|
|
56
|
+
|
|
57
|
+
def add_implicit_characteristics
|
|
58
|
+
decisions[:emission].committees.map(&:name).reject { |c| characteristics.keys.unshift(:emission).include? c }.each do |c|
|
|
59
|
+
characterize { has c }
|
|
60
|
+
end
|
|
61
|
+
end
|
|
56
62
|
|
|
57
63
|
def _common_name
|
|
58
64
|
name.underscore
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sniff
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 7
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 12
|
|
10
|
+
version: 0.0.12
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Derek Kastner
|