skellington 0.4.6 → 0.4.8

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: 9ab23abc9de740ceb13a55d336c567b3d9791b18
4
- data.tar.gz: 4917cf0169e1098ef737fe4564fbbb1530c6d9f7
3
+ metadata.gz: ca9a404e057b45c89dcb0786155fd6653a775601
4
+ data.tar.gz: 9be8c9159ad8ce6da188accbe98883064a6908c8
5
5
  SHA512:
6
- metadata.gz: a215cfefde09feb4473b4ded03bec6a1f7810a074e563afeacd69ebb69525470280f4e162e835ba23d70ae72b0d83e1a30637b972a041173a2e61c1829e23d70
7
- data.tar.gz: e2f4eaf6a5be201a0232592aff6f07cd61a7c7e12a3406fbe6f07729c9be4248906221213d17b479d66d082bac2d324b46b21875b7debf16b0a7895442a1604b
6
+ metadata.gz: 1c82a4cabd72cbc50be874b0968bc2c128e6583df10c713bc35af77b6a14dbbbb7afc408e6b358eaf6d3c1f54f57d0223f97a581998debed5f0ec20b53e9c6ca
7
+ data.tar.gz: ba548eb499b383953a163d84c144b3efa087cb90ed27427ad05678d65e5fa0b258dbe424affb0e06751c54215b2991753fd1e7929fee23ba068129679e060b27
data/config/config.yaml CHANGED
@@ -2,6 +2,7 @@ gems:
2
2
  production:
3
3
  - sinatra
4
4
  - rack-conneg
5
+ - rack-google-analytics
5
6
  - rake
6
7
  - puma
7
8
 
@@ -1,3 +1,3 @@
1
1
  module Skellington
2
- VERSION = '0.4.6'
2
+ VERSION = '0.4.8'
3
3
  end
@@ -12,6 +12,8 @@ module <%= @gen.camelname %>
12
12
  end
13
13
 
14
14
  get '/' do
15
+ headers 'Vary' => 'Accept'
16
+
15
17
  respond_to do |wants|
16
18
  wants.html do
17
19
  @content = '<h1>Hello from <%= @gen.camelname %></h1>'
data/spec/cli/app_spec.rb CHANGED
@@ -22,6 +22,8 @@ module Skellington
22
22
  end
23
23
 
24
24
  get '/' do
25
+ headers 'Vary' => 'Accept'
26
+
25
27
  respond_to do |wants|
26
28
  wants.html do
27
29
  @content = '<h1>Hello from DummyApp</h1>'
@@ -14,6 +14,7 @@ module Skellington
14
14
 
15
15
  gem 'sinatra'
16
16
  gem 'rack-conneg'
17
+ gem 'rack-google-analytics'
17
18
  gem 'rake'
18
19
  gem 'puma'
19
20
 
@@ -22,6 +22,8 @@ module Skellington
22
22
  end
23
23
 
24
24
  get '/' do
25
+ headers 'Vary' => 'Accept'
26
+
25
27
  respond_to do |wants|
26
28
  wants.html do
27
29
  @content = '<h1>Hello from SomeApp</h1>'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skellington
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-16 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor