napa 0.1.24 → 0.1.25

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
  SHA1:
3
- metadata.gz: c7febd41002b09fdbbac68994dd5623e0a42c042
4
- data.tar.gz: 2caf05cbb38893d4b25ce8d2194c6160c313791f
3
+ metadata.gz: c9bb34457f986b4d54a67a76ca98873c687715cc
4
+ data.tar.gz: a5156a0908a09db71bac1094851d531edea63f90
5
5
  SHA512:
6
- metadata.gz: 244dc429fc410f92724fc39aee2dcbbd62763dc1873efd2037638ac40c921d64b0103791ae47cf5f8f2f8b4b289d62c755017b5136a39833ebeb7f42efb191a5
7
- data.tar.gz: 71dedf3a1766f124b217a059a3eb2ea8b5cb26eaad8b0759a07ee124463207a726fb77006d2c8774d87c449578fe8d5fd2708cb9fafd4aa792b1de4e0a44172f
6
+ metadata.gz: e9b4b5d7f1ec96fed501a1b867cac27a1eb6dd365c93db2faacd8b18da9f17dcb84a71c8dca716fc85ef2b9a3ad19671c083dfec41dca4fac99f587c33c632e7
7
+ data.tar.gz: 6512b09354eda8d525146a1f4b99a67f39da06c3026bc56b5e7cc910b0be2e27fcb7381ccfb0bd9626e34db446654a6093ff507d81daff7a105e47a0c9d51c11
@@ -7,6 +7,8 @@ gem 'honeybadger'
7
7
  gem 'json'
8
8
  gem 'shotgun'
9
9
  gem 'napa'
10
+ gem 'grape-entity'
11
+ gem 'grape-swagger'
10
12
 
11
13
  group :development,:test do
12
14
  gem 'pry'
@@ -1,16 +1,16 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  def app
4
- HelloService::API
4
+ ApplicationApi
5
5
  end
6
6
 
7
- describe HelloService::API do
7
+ describe HelloApi do
8
8
  include Rack::Test::Methods
9
9
 
10
10
  describe 'GET /hello' do
11
11
  it 'returns a hello world message' do
12
12
  get '/hello'
13
- expect(last_response.body).to eq({ message: 'Hello Wonderful World!' }.to_json)
13
+ expect(last_response.body).to eq({ message: 'Hello Wonderful World, from <%= app_name.classify %>!' }.to_json)
14
14
  end
15
15
  end
16
16
 
data/lib/napa/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Napa
2
- VERSION = '0.1.24'
2
+ VERSION = '0.1.25'
3
3
 
4
4
  class Version
5
5
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: napa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darby Frey
@@ -277,7 +277,7 @@ files:
277
277
  - lib/napa/generators/templates/scaffold/config/middleware/honeybadger.rb
278
278
  - lib/napa/generators/templates/scaffold/console
279
279
  - lib/napa/generators/templates/scaffold/log/.gitkeep
280
- - lib/napa/generators/templates/scaffold/spec/apis/hello_api_spec.rb
280
+ - lib/napa/generators/templates/scaffold/spec/apis/hello_api_spec.rb.tt
281
281
  - lib/napa/generators/templates/scaffold/spec/factories/.gitkeep
282
282
  - lib/napa/generators/templates/scaffold/spec/spec_helper.rb
283
283
  - lib/napa/grape_extenders.rb