bw_status_board_api 1.0.0 → 1.0.1

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: e7a1e9c2a8acbfad568be87a78aa676467242a54
4
- data.tar.gz: 63971a8dc5f39ed3ad74b2b5762acbcd4c1cf10d
3
+ metadata.gz: d2543e90be07132df2eeb7b3ca95c434f70fcc12
4
+ data.tar.gz: 332f3c832ef7cdc80bffb453e15de6e3e7552d0a
5
5
  SHA512:
6
- metadata.gz: 710438c0fe8a4cb2a8291d67b3443b945aa3ff6828db60828d25add6995d4eab26dd300f9292299c56b3c704cbd0bd88ad682f38c047ce636bd2a9d8d509d90f
7
- data.tar.gz: 92d2910299f3463bfc56ab8dec51b0c3ec952c232acf903b99c180b7ecf5cf8728d32147f4e48f0400c78255fa7d89b3b39d8d2ad14ea31b02283381aa44f654
6
+ metadata.gz: c31d8a60c888a56d3a06aaa0560744188579f27dfa84f47756ea18dd8c4d0a3d7f7b9fd80aca7f92b9da102e7f9893f66be107c915cc566096af11b7dd66ba99
7
+ data.tar.gz: a65a3be9600e1f58c153cdc654491564b1a9321682542d6f163522f8d167029fd3e6fd06aced995783a5e3c995bd5c9ffd10f8f8d2268793b922731ca7c5f06e
@@ -3,7 +3,7 @@ require File.dirname(__FILE__) + '/lib/bw_status_board_api/version'
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'bw_status_board_api'
5
5
  s.version = BWStatusBoardAPI::VERSION
6
- s.date = '2014-09-04'
6
+ s.date = '2014-09-05'
7
7
  s.summary = 'Brandwatch Status Board API Wrapper'
8
8
  s.description = 'A Ruby wrapper for the Brandwatch Status Board'
9
9
  s.author = 'Jonathan Chrisp'
@@ -31,9 +31,9 @@ module BWStatusBoardAPI
31
31
  RACK_BUILDER_CLASS.new do |builder|
32
32
  builder.request :json
33
33
 
34
- builder.response :performance, self if debug
35
- builder.response :error
36
- builder.response :logger, self if debug
34
+ builder.use BWStatusBoardAPI::Response::Performance, self if debug
35
+ builder.use BWStatusBoardAPI::Response::Error
36
+ builder.use BWStatusBoardAPI::Response::Logger, self if debug
37
37
 
38
38
  builder.response :oj
39
39
  builder.response :follow_redirects
@@ -26,5 +26,3 @@ module BWStatusBoardAPI
26
26
  end
27
27
  end
28
28
  end
29
-
30
- Faraday::Response.register_middleware error: BWStatusBoardAPI::Response::Error
@@ -33,5 +33,3 @@ module BWStatusBoardAPI
33
33
  end
34
34
  end
35
35
  end
36
-
37
- Faraday::Response.register_middleware logger: BWStatusBoardAPI::Response::Logger
@@ -29,5 +29,3 @@ module BWStatusBoardAPI
29
29
  end
30
30
  end
31
31
  end
32
-
33
- Faraday::Response.register_middleware performance: BWStatusBoardAPI::Response::Performance
@@ -1,4 +1,4 @@
1
1
  # BW Version
2
2
  module BWStatusBoardAPI
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bw_status_board_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-04 00:00:00.000000000 Z
11
+ date: 2014-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec