rocket_pants-core 2.0.0.pre.1 → 2.0.0.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/rocket_pants/errors.rb +8 -8
- metadata +16 -28
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fe8c2cf2b70e4f14a7c4d11751ef34a49e91993f
|
4
|
+
data.tar.gz: 636e909597f42657b89a25ab93ad66c79f3fc2f1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7967862705f2a1ba7f004bb9e4e958c8ff8d5a1662d2e32b84e824b5d346da8a84070dd914eb35a358d7b43b8b0ad490b6aefac9e21eabc8cbe2c89c13edb10a
|
7
|
+
data.tar.gz: 063deffdd70506c97394aac8d1c094128d3a0745958d9c965796b08a4c30b0a27269f543b1a711e3f5fc4b5de3a76c5dcf87fabee422bc2c4e49d5ae10fbb363
|
data/lib/rocket_pants/errors.rb
CHANGED
@@ -52,14 +52,14 @@ module RocketPants
|
|
52
52
|
end
|
53
53
|
|
54
54
|
# The default set of exceptions.
|
55
|
-
register! :throttled,
|
56
|
-
register! :unauthenticated,
|
57
|
-
register! :invalid_version,
|
58
|
-
register! :not_implemented,
|
59
|
-
register! :not_found,
|
60
|
-
register! :bad_request,
|
61
|
-
register! :conflict,
|
62
|
-
register! :forbidden,
|
55
|
+
register! :throttled, http_status: :service_unavailable
|
56
|
+
register! :unauthenticated, http_status: :unauthorized
|
57
|
+
register! :invalid_version, http_status: :not_found
|
58
|
+
register! :not_implemented, http_status: :service_unavailable
|
59
|
+
register! :not_found, http_status: :not_found
|
60
|
+
register! :bad_request, http_status: :bad_request
|
61
|
+
register! :conflict, http_status: :conflict
|
62
|
+
register! :forbidden, http_status: :forbidden
|
63
63
|
|
64
64
|
end
|
65
65
|
|
metadata
CHANGED
@@ -1,84 +1,74 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_pants-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.
|
5
|
-
prerelease: 6
|
4
|
+
version: 2.0.0.pre.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Darcy Laycock
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-12-12 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: activesupport
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
19
|
+
version: 4.0.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
26
|
+
version: 4.0.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: i18n
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rake
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rr
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rspec
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,12 +76,11 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '2.0'
|
94
|
-
description:
|
83
|
+
description: 'RocketPants core provides functionality for RocketPants shared between
|
95
84
|
different '
|
96
85
|
email:
|
97
86
|
- sutto@sutto.net
|
@@ -105,26 +94,25 @@ files:
|
|
105
94
|
- lib/rocket_pants-core.rb
|
106
95
|
homepage: http://github.com/filtersquad
|
107
96
|
licenses: []
|
97
|
+
metadata: {}
|
108
98
|
post_install_message:
|
109
99
|
rdoc_options: []
|
110
100
|
require_paths:
|
111
101
|
- lib
|
112
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
103
|
requirements:
|
115
|
-
- -
|
104
|
+
- - '>='
|
116
105
|
- !ruby/object:Gem::Version
|
117
106
|
version: 1.9.3
|
118
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
-
none: false
|
120
108
|
requirements:
|
121
|
-
- -
|
109
|
+
- - '>='
|
122
110
|
- !ruby/object:Gem::Version
|
123
111
|
version: 1.3.6
|
124
112
|
requirements: []
|
125
113
|
rubyforge_project:
|
126
|
-
rubygems_version:
|
114
|
+
rubygems_version: 2.0.14
|
127
115
|
signing_key:
|
128
|
-
specification_version:
|
116
|
+
specification_version: 4
|
129
117
|
summary: Shared utilities for RocketPants - an opionionated set of API tools for Rails
|
130
118
|
test_files: []
|