grape-app 0.6.3 → 0.6.4

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
  SHA256:
3
- metadata.gz: d8e89b5c40f2e92a7b92cd7038fc0f6727bf79ad898943818c0961e76ca643ce
4
- data.tar.gz: f26d33c3c1856f37432870fb09bad04d2a5853abd64f3f1af22ad332d2eb7e06
3
+ metadata.gz: ceb5d9f75dd6d5db403dce33d2a5d3e1c6aca71848a04a37ed99f8fde0f037ed
4
+ data.tar.gz: ae1ae575667dae62ec3139c3c91d3a396f32fb821885fdf0f0ee30c50db9ff1d
5
5
  SHA512:
6
- metadata.gz: 8486eb4a044081844a271179497c66bb5f4084f1ff6edc9ed01bb6772ef746a43b69f41cc7f873b6793e6c089d56c788d06c04a2cbb7b216a912d1e5d0f35b5e
7
- data.tar.gz: 4ad12536b5049a9d6de8d33379d94dd6eb22ad77e44b9f3a4884a3001e5dba55b0f1b6a14f998cade0e17a45fc902084da1634ad16a0b74e773b253c3fff933a
6
+ metadata.gz: 72273165dfaf50b2004c47a4e73ff7c6f64ded19e8ec8d34ef0efd578a3f9846bd409e3f9b227d834b30bc1fd1fbccb4767f53545388476db69fefd5813629c9
7
+ data.tar.gz: 1c4bc4ea19dda75930bf9ba6e63aa04e2b39462497488ddce45e25219d503af872aea37d0a7447f2a20f5a12bb04a5991454747438b1d8eb76f40ea983d80c02
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
+ .bundle/
1
2
  *.gem
2
3
  .rubocop-*
@@ -2,4 +2,4 @@ inherit_from:
2
2
  - https://bitbucket.org/bsm/misc/raw/master/rubocop/default.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: "2.3"
5
+ TargetRubyVersion: "2.4"
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3
4
3
  - 2.4
5
4
  - 2.5
5
+ - 2.6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grape-app (0.6.3)
4
+ grape-app (0.6.4)
5
5
  activesupport
6
6
  grape (>= 1.2.0)
7
7
  grape-entity
@@ -47,7 +47,7 @@ GEM
47
47
  grape-entity (0.7.1)
48
48
  activesupport (>= 4.0)
49
49
  multi_json (>= 1.3.2)
50
- i18n (1.2.0)
50
+ i18n (1.4.0)
51
51
  concurrent-ruby (~> 1.0)
52
52
  ice_nine (0.11.2)
53
53
  jaro_winkler (1.5.1)
@@ -82,7 +82,7 @@ GEM
82
82
  diff-lcs (>= 1.2.0, < 2.0)
83
83
  rspec-support (~> 3.8.0)
84
84
  rspec-support (3.8.0)
85
- rubocop (0.61.1)
85
+ rubocop (0.62.0)
86
86
  jaro_winkler (~> 1.5.1)
87
87
  parallel (~> 1.10)
88
88
  parser (>= 2.5, != 2.5.1.1)
@@ -96,7 +96,7 @@ GEM
96
96
  thread_safe (0.3.6)
97
97
  tzinfo (1.2.5)
98
98
  thread_safe (~> 0.1)
99
- unicode-display_width (1.4.0)
99
+ unicode-display_width (1.4.1)
100
100
  virtus (1.0.5)
101
101
  axiom-types (~> 0.1)
102
102
  coercible (~> 1.0)
@@ -117,4 +117,4 @@ DEPENDENCIES
117
117
  sqlite3
118
118
 
119
119
  BUNDLED WITH
120
- 1.17.2
120
+ 1.17.3
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength
2
2
  s.name = 'grape-app'
3
- s.version = '0.6.3'
3
+ s.version = '0.6.4'
4
4
  s.authors = ['Black Square Media Ltd']
5
5
  s.email = ['info@blacksquaremedia.com']
6
6
  s.summary = %(Stanalone Grape API apps)
@@ -12,7 +12,7 @@ Gem::Specification.new do |s| # rubocop:disable Metrics/BlockLength
12
12
  s.test_files = `git ls-files -z -- spec/*`.split("\x0")
13
13
  s.executables = ['grape-app']
14
14
  s.require_paths = ['lib']
15
- s.required_ruby_version = '>= 2.3'
15
+ s.required_ruby_version = '>= 2.4'
16
16
 
17
17
  s.add_dependency 'activesupport'
18
18
  s.add_dependency 'grape', '>= 1.2.0'
@@ -3,7 +3,6 @@ module API
3
3
 
4
4
  # Autoload API components
5
5
  autoload :V1
6
- autoload :Base
7
6
  end
8
7
 
9
8
  # Mount root API to app
@@ -1,4 +1,4 @@
1
- class API::V1 < API::Base
1
+ class API::V1 < Grape::API::Instance
2
2
  version 'v1'
3
3
  prefix 'api'
4
4
  format :json
@@ -3,7 +3,6 @@ module API
3
3
 
4
4
  # Autoload API components
5
5
  autoload :V1
6
- autoload :Base
7
6
  end
8
7
 
9
8
  # Mount root API to app
@@ -1,4 +1,4 @@
1
- class API::V1 < API::Base
1
+ class API::V1 < Grape::API::Instance
2
2
  version 'v1'
3
3
  format :json
4
4
 
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.6.3
4
+ version: 0.6.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: 2018-12-19 00:00:00.000000000 Z
11
+ date: 2019-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -226,7 +226,6 @@ files:
226
226
  - lib/grape/app/templates/Gemfile
227
227
  - lib/grape/app/templates/Rakefile
228
228
  - lib/grape/app/templates/app/api.rb
229
- - lib/grape/app/templates/app/api/base.rb
230
229
  - lib/grape/app/templates/app/api/v1.rb
231
230
  - lib/grape/app/templates/app/models.rb
232
231
  - lib/grape/app/templates/config.ru
@@ -242,7 +241,6 @@ files:
242
241
  - spec/grape/app_spec.rb
243
242
  - spec/scenario/Gemfile
244
243
  - spec/scenario/app/api.rb
245
- - spec/scenario/app/api/base.rb
246
244
  - spec/scenario/app/api/v1.rb
247
245
  - spec/scenario/config/database.yml
248
246
  - spec/scenario/config/environments/test.rb
@@ -261,15 +259,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
261
259
  requirements:
262
260
  - - ">="
263
261
  - !ruby/object:Gem::Version
264
- version: '2.3'
262
+ version: '2.4'
265
263
  required_rubygems_version: !ruby/object:Gem::Requirement
266
264
  requirements:
267
265
  - - ">="
268
266
  - !ruby/object:Gem::Version
269
267
  version: '0'
270
268
  requirements: []
271
- rubyforge_project:
272
- rubygems_version: 2.7.7
269
+ rubygems_version: 3.0.2
273
270
  signing_key:
274
271
  specification_version: 4
275
272
  summary: Stanalone Grape API apps
@@ -277,7 +274,6 @@ test_files:
277
274
  - spec/grape/app_spec.rb
278
275
  - spec/scenario/Gemfile
279
276
  - spec/scenario/app/api.rb
280
- - spec/scenario/app/api/base.rb
281
277
  - spec/scenario/app/api/v1.rb
282
278
  - spec/scenario/config/database.yml
283
279
  - spec/scenario/config/environments/test.rb
@@ -1,2 +0,0 @@
1
- class API::Base < Grape::API::Instance
2
- end
@@ -1,2 +0,0 @@
1
- class API::Base < Grape::API::Instance
2
- end