grape-app 0.8.3 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3327dc14503a28d7ea05a7c3f01f4350b4686ea180c3fd7a5daee5d44d5cdff4
4
- data.tar.gz: 5eeb48e23593ea6d26aa37e0ae7b590cc7ccaa2c3a1c5c70302247c1a4f0eb97
3
+ metadata.gz: 06c509d2bc4e8421335786540ce1ce6bd49bbca8a9eb81d5bbf055470673e18b
4
+ data.tar.gz: 57d532273f4f2d23e1df5b49333f8b2b3e960e4cb5b05d30ac2ac23b8a236463
5
5
  SHA512:
6
- metadata.gz: f13cf9a87bd44430d26f2ac32ca0f2d552d71fd87c20382a009ca19ee0e3c9a2678806096faf016761b03fdb7c5e6ca8259bb2ae07dffd9e5162081026a560d0
7
- data.tar.gz: bd165a05e7d5a6a3603c22e25966d56d4bb4992f92ce4232c6008ec68d3404efd249d55e2dc5c9cae2d5c09dd246e42ba05f510c46056acfcfcf707cbbeae3f7
6
+ metadata.gz: 9fb0973200c7ce7cc03c80549821ed029cc5b122db181cb8599f348fa47b436f6816ddd019619804de57491c58151a81b0bcfb76769b048522ca2dae327ae76d
7
+ data.tar.gz: 2c0fe0493ce4c06971be0033d3199a19dce3645bccdec36bb1fac8b05076955ce955aac63d0eab6a3efbde918a391fbcda32facaa5c0e97290caeae62f9313e2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grape-app (0.8.3)
4
+ grape-app (0.8.4)
5
5
  activesupport
6
6
  grape (>= 1.2)
7
7
  grape-entity
@@ -29,7 +29,7 @@ GEM
29
29
  descendants_tracker (~> 0.0.4)
30
30
  ice_nine (~> 0.11.0)
31
31
  thread_safe (~> 0.3, >= 0.3.1)
32
- builder (3.2.3)
32
+ builder (3.2.4)
33
33
  coercible (1.0.0)
34
34
  descendants_tracker (~> 0.0.1)
35
35
  concurrent-ruby (1.1.5)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'grape-app'
3
- s.version = '0.8.3'
3
+ s.version = '0.8.4'
4
4
  s.authors = ['Black Square Media Ltd']
5
5
  s.email = ['info@blacksquaremedia.com']
6
6
  s.summary = %(Standalone Grape API apps)
@@ -8,7 +8,7 @@ require 'rack/cors'
8
8
  require 'rack/ssl-enforcer'
9
9
  require 'zeitwerk'
10
10
 
11
- class Grape::App < Grape::API::Instance
11
+ class Grape::App < Grape::API
12
12
  class << self
13
13
 
14
14
  # Run initializers
@@ -1,4 +1,4 @@
1
- class API::V1 < Grape::API::Instance
1
+ class API::V1 < Grape::API
2
2
  version 'v1'
3
3
  prefix 'api'
4
4
  format :json
@@ -11,5 +11,4 @@ class API::V1 < Grape::API::Instance
11
11
 
12
12
  # Mount components
13
13
  # mount API::Posts
14
-
15
14
  end
@@ -20,7 +20,7 @@ RSpec.describe Grape::App do
20
20
  end
21
21
 
22
22
  it 'should be an API instance' do
23
- expect(subject).to be < Grape::API::Instance
23
+ expect(subject).to be < Grape::API
24
24
  end
25
25
 
26
26
  it 'should init with default time zone' do
@@ -1,4 +1,4 @@
1
- class API::Posts < Grape::API::Instance
1
+ class API::Posts < Grape::API
2
2
  get '/posts' do
3
3
  []
4
4
  end
@@ -1,4 +1,4 @@
1
- class API::V1 < Grape::API::Instance
1
+ class API::V1 < Grape::API
2
2
  version 'v1'
3
3
  format :json
4
4
 
@@ -31,7 +31,7 @@ class Article
31
31
  end
32
32
  end
33
33
 
34
- class TestAPI < Grape::API::Instance
34
+ class TestAPI < Grape::API
35
35
  format :json
36
36
 
37
37
  helpers Grape::App::Helpers::Caching
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Black Square Media Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-09 00:00:00.000000000 Z
11
+ date: 2019-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport