napa 0.1.24 → 0.1.25
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9bb34457f986b4d54a67a76ca98873c687715cc
|
4
|
+
data.tar.gz: a5156a0908a09db71bac1094851d531edea63f90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9b4b5d7f1ec96fed501a1b867cac27a1eb6dd365c93db2faacd8b18da9f17dcb84a71c8dca716fc85ef2b9a3ad19671c083dfec41dca4fac99f587c33c632e7
|
7
|
+
data.tar.gz: 6512b09354eda8d525146a1f4b99a67f39da06c3026bc56b5e7cc910b0be2e27fcb7381ccfb0bd9626e34db446654a6093ff507d81daff7a105e47a0c9d51c11
|
data/lib/napa/generators/templates/scaffold/spec/apis/{hello_api_spec.rb → hello_api_spec.rb.tt}
RENAMED
@@ -1,16 +1,16 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
def app
|
4
|
-
|
4
|
+
ApplicationApi
|
5
5
|
end
|
6
6
|
|
7
|
-
describe
|
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
|
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
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.
|
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
|