sinja 1.0.0.pre2 → 1.1.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinja
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre2
4
+ version: 1.1.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Pastore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2016-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -225,6 +225,7 @@ files:
225
225
  - bin/console
226
226
  - bin/setup
227
227
  - demo-app/Gemfile
228
+ - demo-app/README.md
228
229
  - demo-app/app.rb
229
230
  - demo-app/base.rb
230
231
  - demo-app/boot.rb
@@ -233,7 +234,6 @@ files:
233
234
  - demo-app/classes/post.rb
234
235
  - demo-app/classes/tag.rb
235
236
  - demo-app/database.rb
236
- - demo-app/test.rb
237
237
  - lib/sinatra/jsonapi.rb
238
238
  - lib/sinja.rb
239
239
  - lib/sinja/config.rb
@@ -273,5 +273,5 @@ rubyforge_project:
273
273
  rubygems_version: 2.5.2
274
274
  signing_key:
275
275
  specification_version: 4
276
- summary: RESTful, JSON:API-compliant web services in Sinatra
276
+ summary: RESTful, {json:api}-compliant web services in Sinatra
277
277
  test_files: []
data/demo-app/test.rb DELETED
@@ -1,17 +0,0 @@
1
- require 'sinatra/base'
2
-
3
- class MyApp < Sinatra::Base
4
- get '/raise' do
5
- raise Sinatra::BadRequest
6
- end
7
-
8
- get '/halt' do
9
- halt 400
10
- end
11
-
12
- error Sinatra::BadRequest, 400 do
13
- body "received error"
14
- end
15
-
16
- run!
17
- end