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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75691dbc7eb787ef40bc92840211bc8f9e373a03
4
- data.tar.gz: bd32aac9bfd80ef245d83edd3fc1f49d0b251eb9
3
+ metadata.gz: 9019e9fb137a0da5519db2edb39f5f6325929ecb
4
+ data.tar.gz: bc8fe5727854a5f10665fd464195bb7db89407fe
5
5
  SHA512:
6
- metadata.gz: 143aee40bfc92586085d0c0941cd2e22bce9bd82431bafb31cc565d084364a13821f395aa235bb7a4e28bc80465a16747fa7339552419a15c8c9e6bacc68d978
7
- data.tar.gz: 9d1d429bcc10c1a7083d5bd7fe86be054a4272be55902f0766439d036a9f2d3be34e0fc65e73280139c2a20a338ced1224524280fc2ef6d94d93f66d371e5bc8
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
- double(
6
- :query,
7
- q: 'foo',
8
- format: :unknown,
9
- units: :metric,
10
- geo: nil,
11
- metric?: true
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
@@ -1,5 +1,5 @@
1
1
  module Barometer
2
2
  module Support
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  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.3
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-04-13 00:00:00.000000000 Z
11
+ date: 2014-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler