barometer-support 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/barometer/support/factory.rb +9 -8
- data/lib/barometer/support/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9019e9fb137a0da5519db2edb39f5f6325929ecb
|
4
|
+
data.tar.gz: bc8fe5727854a5f10665fd464195bb7db89407fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfe5b3f5be7c3d899205ec3695045590859e93e73b99579c7659ac5d35fefa62cc647f9baba648eaa04583b70457b70e637ecbf97367cd15df1d745197975c68
|
7
|
+
data.tar.gz: 014350546a00b62319ed317f01ffe949852f9d4f4f6f9850bfe01e7f273775ae4be305776bd651a8c5057ac04d0a1a0dc2b4b00e7b604cfda5d10330ba65ba97
|
@@ -2,14 +2,15 @@ module Barometer
|
|
2
2
|
module Support
|
3
3
|
module Factory
|
4
4
|
def build_query
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
Barometer::Query.new('foo').tap do |q|
|
6
|
+
allow(q).to receive_messages(
|
7
|
+
q: 'foo',
|
8
|
+
format: :unknown,
|
9
|
+
units: :metric,
|
10
|
+
geo: nil,
|
11
|
+
metric?: true
|
12
|
+
)
|
13
|
+
end
|
13
14
|
end
|
14
15
|
end
|
15
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barometer-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Gangl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|