vertebrae 0.2.6 → 0.2.7

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: 986ba2f7e85f41f0487cac7dfd24ccbc3a78b729
4
- data.tar.gz: 21e15b95ae3d2971dc90615e430343102de948c7
3
+ metadata.gz: 25da6e2c95fc1b3b44f030f98011a8e4a207173d
4
+ data.tar.gz: 270fd2d55826fa7a94097409d59055e082408928
5
5
  SHA512:
6
- metadata.gz: f11d45d92fe56e369ff051a7b937b40364d86484815cbcf0bbc678114428d970427150c66231cd27fcc28cf1926d252c87cfb21e5eb58d67314aef3c13fab7fb
7
- data.tar.gz: 598d87b878528784c4aa580b5f2d1f60de00aba624b5bedc08dee259bec873c8c0442018673d0174a5d17d2eea87c78e7aa6cfa5a774a95d543668471a9fb20d
6
+ metadata.gz: 44a93d7936f914b4e2343cc8841bac3e3a4d54901da07c197e7276bbb9591b5de8cc23cf3ac896635feeeb84aedb58773b88023cbdb5a58b90673f3175c733fe
7
+ data.tar.gz: 1837b2e48d644169eed220d76cb418fa5a0e673eddaf2679d3efd5ef3312705f9920a75979fd97ae2fc4cc301cb8306ebec33f27a3a658a0a12b2b4d0c9b8207
@@ -7,15 +7,15 @@ GEM
7
7
  multi_json (~> 1.3)
8
8
  thread_safe (~> 0.1)
9
9
  tzinfo (~> 0.3.37)
10
- addressable (2.3.5)
10
+ addressable (2.3.6)
11
11
  atomic (1.1.10)
12
12
  builder (3.2.2)
13
13
  diff-lcs (1.2.4)
14
- faraday (0.8.8)
14
+ faraday (0.8.9)
15
15
  multipart-post (~> 1.2.0)
16
16
  faraday_middleware (0.9.0)
17
17
  faraday (>= 0.7.4, < 0.9)
18
- git (1.2.5)
18
+ git (1.2.8)
19
19
  github_api (0.10.1)
20
20
  addressable
21
21
  faraday (~> 0.8.1)
@@ -23,11 +23,10 @@ GEM
23
23
  multi_json (~> 1.4)
24
24
  nokogiri (~> 1.5.2)
25
25
  oauth2
26
- hashie (2.0.5)
27
- highline (1.6.19)
28
- httpauth (0.2.0)
26
+ hashie (3.2.0)
27
+ highline (1.6.21)
29
28
  i18n (0.6.4)
30
- jeweler (1.8.6)
29
+ jeweler (1.8.8)
31
30
  builder
32
31
  bundler (~> 1.0)
33
32
  git (>= 1.2.5)
@@ -36,24 +35,22 @@ GEM
36
35
  nokogiri (= 1.5.10)
37
36
  rake
38
37
  rdoc
39
- json (1.8.0)
40
- jwt (0.1.8)
41
- multi_json (>= 1.5)
38
+ json (1.8.1)
39
+ jwt (1.0.0)
42
40
  minitest (4.7.5)
43
- multi_json (1.7.7)
44
- multi_xml (0.5.4)
41
+ multi_json (1.10.1)
42
+ multi_xml (0.5.5)
45
43
  multipart-post (1.2.0)
46
44
  nokogiri (1.5.10)
47
- oauth2 (0.9.2)
48
- faraday (~> 0.8)
49
- httpauth (~> 0.2)
50
- jwt (~> 0.1.4)
51
- multi_json (~> 1.0)
45
+ oauth2 (1.0.0)
46
+ faraday (>= 0.8, < 0.10)
47
+ jwt (~> 1.0)
48
+ multi_json (~> 1.3)
52
49
  multi_xml (~> 0.5)
53
50
  rack (~> 1.2)
54
51
  rack (1.5.2)
55
- rake (10.1.0)
56
- rdoc (4.0.1)
52
+ rake (10.3.2)
53
+ rdoc (4.1.1)
57
54
  json (~> 1.4)
58
55
  rspec (2.14.1)
59
56
  rspec-core (~> 2.14.0)
@@ -1,6 +1,8 @@
1
1
  = vertebrae
2
2
 
3
- Description goes here.
3
+ Some basic infrastructure for writing beautiful API clients. See tijuana_client for a small example.
4
+
5
+ [![Build Status](https://travis-ci.org/controlshift/vertebrae.svg)](https://travis-ci.org/controlshift/vertebrae)
4
6
 
5
7
  == Contributing to vertebrae
6
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
@@ -5,7 +5,7 @@ module Vertebrae
5
5
  def on_complete(response)
6
6
  status_code = response[:status].to_i
7
7
  if (400...600).include? status_code
8
- raise Exception.new(error_message(response))
8
+ raise StandardError.new(error_message(response))
9
9
  end
10
10
  end
11
11
 
@@ -14,6 +14,6 @@ module Vertebrae
14
14
  end
15
15
  end
16
16
 
17
- class NotFound < Exception ; end
17
+ class NotFound < StandardError ; end
18
18
  end # Response::RaiseError
19
19
  end
@@ -2,14 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: vertebrae 0.2.7 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "vertebrae"
8
- s.version = "0.2.6"
9
+ s.version = "0.2.7"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Nathan Woodhull"]
12
- s.date = "2014-08-01"
14
+ s.date = "2014-08-02"
13
15
  s.description = "A set of low level infrastructure and reusable code for building API clients"
14
16
  s.email = "nathan@controlshiftlabs.com"
15
17
  s.extra_rdoc_files = [
@@ -52,8 +54,7 @@ Gem::Specification.new do |s|
52
54
  ]
53
55
  s.homepage = "http://github.com/controlshift/vertebrae"
54
56
  s.licenses = ["MIT"]
55
- s.require_paths = ["lib"]
56
- s.rubygems_version = "2.0.14"
57
+ s.rubygems_version = "2.2.2"
57
58
  s.summary = "API Client Infrastructure"
58
59
 
59
60
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vertebrae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-01 00:00:00.000000000 Z
11
+ date: 2014-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  version: '0'
170
170
  requirements: []
171
171
  rubyforge_project:
172
- rubygems_version: 2.0.14
172
+ rubygems_version: 2.2.2
173
173
  signing_key:
174
174
  specification_version: 4
175
175
  summary: API Client Infrastructure