companies-house-gateway 0.3.9 → 0.3.10

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: a16057986838a719f67595decf1f224ce24bdf7f
4
- data.tar.gz: 2ca35c7a6c91b087304f99b278a000e04a43dfa5
3
+ metadata.gz: 05a3d186a2b57c5de2e17b78a83a675e9153e0c0
4
+ data.tar.gz: 3588395c41471554e498d46e42bb452a624c28f7
5
5
  SHA512:
6
- metadata.gz: fb342b2a13ba378055d53bc030d591c43faa90ec41557950af11d64cced91a533625ede1bf4c34a72a0e740a6ef51e148c63908454183bd1df4f41d114fa803c
7
- data.tar.gz: 5b53c49d6c4478ed6ac633b58a608792b6cd5b6e31b812d728e84f36c0ebd069d372511735ce22f4f64d3d24b50b357f9dec3f23d3667ec9c9e23d5a2df21f0e
6
+ metadata.gz: 58f37a2cd12dadb470d10704dcf50ec443437c3f8b48dbf54d0002b379dd6b2c945759d1cdfb29aa2ed7261c205531cb96d386f7506b2d7a87f33ca507c2abf6
7
+ data.tar.gz: 5a8f495818a5196eb50d67ebab79d5fc0147223a152eca941a277af2bfaa810f28a3c1a6733d891b7057d691e3c3f99cabe3ccd4702f79f027487933dc3e4fe2
data/.travis.yml ADDED
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.0
4
+ - 2.0.0
5
+ - 1.9.3
6
+ - 1.9.2
7
+ notifications:
8
+ email:
9
+ recipients:
10
+ - grey@gocardless.com
11
+ script: bundle exec rspec spec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.10 - June 3, 2014
2
+
3
+ - Add support for Faraday 0.9
4
+
1
5
  ## 0.3.9 - April 15, 2014
2
6
 
3
7
  - Catch Faraday errors without a response
@@ -57,4 +61,4 @@
57
61
 
58
62
  ## 0.0.1 - February 19, 2014
59
63
 
60
- - Initial commit
64
+ - Initial commit
data/README.md CHANGED
@@ -4,6 +4,9 @@ Simple Ruby Gem for interacting with the Companies House XML Gateway API. Wraps
4
4
  the XML submissions and responses required so you can deal with Ruby hashes
5
5
  instead.
6
6
 
7
+ [![Gem Version](https://badge.fury.io/rb/companies-house-gateway.svg)](http://badge.fury.io/rb/companies-house-gateway)
8
+ [![Build Status](https://travis-ci.org/gocardless/companies-house-gateway-ruby.svg?branch=master)](https://travis-ci.org/gocardless/companies-house-gateway-ruby)
9
+
7
10
  ## Usage
8
11
 
9
12
  ### Installation
@@ -63,4 +66,4 @@ If you'd like to cache your requests, you can configure the gem:
63
66
  ```ruby
64
67
  CompaniesHouseGateway.config[:cache] = Rails.cache
65
68
  CompaniesHouseGateway.config[:cache_args] = { expires_in: 10.minutes }
66
- ```
69
+ ```
@@ -1,8 +1,7 @@
1
1
  require File.expand_path('../lib/companies_house_gateway/version', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
- gem.add_runtime_dependency 'faraday', '~> 0.8.0'
5
- gem.add_runtime_dependency 'faraday_middleware', '>= 0.8.2'
4
+ gem.add_runtime_dependency 'faraday_middleware', '>= 0.8.2', '< 0.10'
6
5
  gem.add_runtime_dependency 'multi_xml', '~> 0.5.1'
7
6
  gem.add_runtime_dependency 'nokogiri', '~> 1.4'
8
7
 
@@ -25,6 +25,6 @@ module CompaniesHouseGateway
25
25
  end
26
26
  end
27
27
 
28
- Faraday.register_middleware :response, check_ch_response: CheckResponse
28
+ Faraday::Response.register_middleware check_ch_response: CheckResponse
29
29
  end
30
- end
30
+ end
@@ -1,3 +1,3 @@
1
1
  module CompaniesHouseGateway
2
- VERSION = '0.3.9'.freeze
2
+ VERSION = '0.3.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: companies-house-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grey Baker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
11
+ date: 2014-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: faraday
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: 0.8.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: 0.8.0
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: faraday_middleware
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -31,6 +17,9 @@ dependencies:
31
17
  - - '>='
32
18
  - !ruby/object:Gem::Version
33
19
  version: 0.8.2
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '0.10'
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +27,9 @@ dependencies:
38
27
  - - '>='
39
28
  - !ruby/object:Gem::Version
40
29
  version: 0.8.2
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '0.10'
41
33
  - !ruby/object:Gem::Dependency
42
34
  name: multi_xml
43
35
  requirement: !ruby/object:Gem::Requirement
@@ -102,6 +94,7 @@ extensions: []
102
94
  extra_rdoc_files: []
103
95
  files:
104
96
  - .gitignore
97
+ - .travis.yml
105
98
  - CHANGELOG.md
106
99
  - Gemfile
107
100
  - LICENSE