gris 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -8
- data/MIT-LICENSE +1 -1
- data/gris.gemspec +1 -1
- data/lib/gris/version.rb +1 -1
- data/spec/integration/application_error_response_spec.rb +1 -1
- data/spec/middleware/error_handlers_spec.rb +1 -1
- metadata +2 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e873c93a03313d5d1e706a28ad8efff97185e80
|
4
|
+
data.tar.gz: e8b54a0b863554344ae8e543ced87fb93d1ebd94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 745b005e79f390c1c50e96d0fc3ab852e8f6c017d522d5d03d871c48c4efd1ec8e60b15b2e47a28261f3cfb2ab607603249752302fce5e405a7a4949e47bfe7c
|
7
|
+
data.tar.gz: a010026c06521641c8bb4666d0ff0b9ed1cb6c6d47706281f758f759316526e5f19861c2a4421a9f3e94145e9defb256f77468eed38776f1038d2b30f0e72588
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gris (0.6.
|
4
|
+
gris (0.6.6)
|
5
5
|
activesupport (~> 4.2, >= 4.2.0)
|
6
6
|
chronic (~> 0.10.0)
|
7
7
|
dalli (~> 2.7)
|
8
8
|
git (~> 1.2, >= 1.2.8)
|
9
|
-
grape (>= 0.11.0
|
9
|
+
grape (>= 0.11.0)
|
10
10
|
grape-roar (~> 0.3.0, >= 0.3.0)
|
11
11
|
grape-swagger (~> 0.10.0)
|
12
12
|
hashie-forbidden_attributes (~> 0.1.0)
|
@@ -54,6 +54,7 @@ GEM
|
|
54
54
|
descendants_tracker (0.0.4)
|
55
55
|
thread_safe (~> 0.3, >= 0.3.1)
|
56
56
|
diff-lcs (1.2.5)
|
57
|
+
enumerable-lazy (0.0.1)
|
57
58
|
equalizer (0.0.11)
|
58
59
|
fakefs (0.8.1)
|
59
60
|
faraday (0.9.2)
|
@@ -71,15 +72,15 @@ GEM
|
|
71
72
|
ffi (1.9.10)
|
72
73
|
futuroscope (0.1.11)
|
73
74
|
git (1.3.0)
|
74
|
-
grape (0.
|
75
|
+
grape (0.16.2)
|
75
76
|
activesupport
|
76
77
|
builder
|
77
78
|
hashie (>= 2.1.0)
|
78
79
|
multi_json (>= 1.3.2)
|
79
80
|
multi_xml (>= 0.5.2)
|
81
|
+
mustermann19 (~> 0.4.3)
|
80
82
|
rack (>= 1.3.0)
|
81
83
|
rack-accept
|
82
|
-
rack-mount
|
83
84
|
virtus (>= 1.0.0)
|
84
85
|
grape-entity (0.4.8)
|
85
86
|
activesupport
|
@@ -87,8 +88,8 @@ GEM
|
|
87
88
|
grape-roar (0.3.0)
|
88
89
|
grape
|
89
90
|
roar (>= 1.0)
|
90
|
-
grape-swagger (0.10.
|
91
|
-
grape (>= 0.
|
91
|
+
grape-swagger (0.10.5)
|
92
|
+
grape (>= 0.10.0)
|
92
93
|
grape-entity (< 0.5.0)
|
93
94
|
hashie (3.4.3)
|
94
95
|
hashie-forbidden_attributes (0.1.1)
|
@@ -114,6 +115,8 @@ GEM
|
|
114
115
|
multi_json (1.11.2)
|
115
116
|
multi_xml (0.5.5)
|
116
117
|
multipart-post (2.0.0)
|
118
|
+
mustermann19 (0.4.3)
|
119
|
+
enumerable-lazy
|
117
120
|
net-http-digest_auth (1.4)
|
118
121
|
parser (2.3.0.7)
|
119
122
|
ast (~> 2.2)
|
@@ -121,8 +124,6 @@ GEM
|
|
121
124
|
rack (1.6.4)
|
122
125
|
rack-accept (0.4.5)
|
123
126
|
rack (>= 0.4)
|
124
|
-
rack-mount (0.8.3)
|
125
|
-
rack (>= 1.0.0)
|
126
127
|
rack-test (0.6.3)
|
127
128
|
rack (>= 1.0)
|
128
129
|
racksh (1.0.0)
|
data/MIT-LICENSE
CHANGED
data/gris.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_runtime_dependency 'rake'
|
24
24
|
s.add_runtime_dependency 'git', '~> 1.2', '>= 1.2.8'
|
25
25
|
s.add_runtime_dependency 'logging', '~> 2.0'
|
26
|
-
s.add_runtime_dependency 'grape', '>= 0.11.0'
|
26
|
+
s.add_runtime_dependency 'grape', '>= 0.11.0'
|
27
27
|
s.add_runtime_dependency 'grape-roar', '~> 0.3.0', '>= 0.3.0'
|
28
28
|
s.add_runtime_dependency 'grape-swagger', '~> 0.10.0'
|
29
29
|
s.add_runtime_dependency 'roar', '~> 1.0.1'
|
data/lib/gris/version.rb
CHANGED
@@ -9,6 +9,6 @@ describe 'application error response' do
|
|
9
9
|
response = JSON.parse request.body
|
10
10
|
expect(request.status).to eq 404
|
11
11
|
expect(response['status']).to eq 404
|
12
|
-
expect(response['message']).to eq ['Not Found']
|
12
|
+
expect(response['message']).to eq ['404 Not Found']
|
13
13
|
end
|
14
14
|
end
|
@@ -49,7 +49,7 @@ describe Gris::Middleware::ErrorHandlers do
|
|
49
49
|
it 'retuns a Not Found error for missing routes' do
|
50
50
|
get '/bogus'
|
51
51
|
expect(response_code).to eq 404
|
52
|
-
expect(response_body).to eq 'Not Found'
|
52
|
+
expect(response_body).to eq '404 Not Found'
|
53
53
|
end
|
54
54
|
|
55
55
|
it 'returns a formatted message for gris_error!' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gris
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Fareed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -105,9 +105,6 @@ dependencies:
|
|
105
105
|
- - ">="
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: 0.11.0
|
108
|
-
- - "<"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0.16'
|
111
108
|
type: :runtime
|
112
109
|
prerelease: false
|
113
110
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -115,9 +112,6 @@ dependencies:
|
|
115
112
|
- - ">="
|
116
113
|
- !ruby/object:Gem::Version
|
117
114
|
version: 0.11.0
|
118
|
-
- - "<"
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: '0.16'
|
121
115
|
- !ruby/object:Gem::Dependency
|
122
116
|
name: grape-roar
|
123
117
|
requirement: !ruby/object:Gem::Requirement
|