sniff 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ Given /^(a )?characteristic "(.*)" of "(.*)"$/ do |_, name, value|
|
|
17
17
|
end
|
18
18
|
value = model.send "find_by_#{attribute}", value
|
19
19
|
@characteristics[model_name.to_sym] = value
|
20
|
-
elsif name == 'timeframe'
|
20
|
+
elsif name == 'timeframe' || name == 'active_subtimeframe'
|
21
21
|
@characteristics[name.to_sym] = (value.present?) ? Timeframe.interval(value) : nil
|
22
22
|
else
|
23
23
|
value = coerce_value(value)
|
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: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Derek Kastner
|