twigg-app 0.0.6 → 0.0.7

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: 778647a7c7b5a69244d496cc1b8b36d816038c49
4
- data.tar.gz: ab3e92b4089f729c44fc7644390948104cc8f843
3
+ metadata.gz: 46e2f5ad03d380a4491d47116b236462651222c3
4
+ data.tar.gz: 7be4ca6b4253a5fd034f5279e2925c4f2fa4c7d6
5
5
  SHA512:
6
- metadata.gz: 78ced03fa9a42f74a5c37ce21349d7af9b166ca4ab094d7520ce86e55ce177a26d03ac42d184ee55a856652280a38ba7139d972382af09b5f2d86c78dfd8db11
7
- data.tar.gz: 1a39194134bcea06936abba4d16a4c5a032e36c364f2dba400fbf445d1e964a0b327849e0038e8f4a90bfde003f88c703fb6c0ef529d20b28de787768a73bea4
6
+ metadata.gz: a3a34226e1aa6a9a0926d77a4f95e761329ebea3def91027362a812a552768cc411e4a9be4c8eece65cecfe761f638963a25c1438f12e6dacc565ba5f5f752c5
7
+ data.tar.gz: 3eeef0e6f7d056a0ca720e0c9648a2161d8567e3d61467ebe25c4dfa3cc2fd42920ac905a2e960295a7bbb6fcbc3420d27ebec938c905434a1e253853140dc0f
@@ -100,6 +100,12 @@ module Twigg
100
100
  @days = Config.default_days if @days.zero?
101
101
  end
102
102
 
103
+ after do
104
+ if response.status == 200
105
+ response['Vary'] = 'X-Requested-With'
106
+ end
107
+ end
108
+
103
109
  get '/' do
104
110
  haml :dashboard
105
111
  end
@@ -1,5 +1,5 @@
1
1
  module Twigg
2
2
  module App
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  end
5
5
  end
data/views/layout.haml CHANGED
@@ -40,8 +40,9 @@
40
40
  %a{ href: gerrit_authors_path } Authors
41
41
  %li
42
42
  %a{ href: gerrit_tags_path } Tags
43
- %li{ class: active?(pivotal_path) }
44
- %a{ href: pivotal_path } Pivotal
43
+ - if Twigg::Config.app.pivotal.enabled
44
+ %li{ class: active?(pivotal_path) }
45
+ %a{ href: pivotal_path } Pivotal
45
46
  %li{ class: active?(russian_novels_path) }
46
47
  %a{ href: russian_novels_path } я
47
48
  .container
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twigg-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Causes Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-11 00:00:00.000000000 Z
11
+ date: 2013-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: twigg
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '='
143
+ - - ~>
144
144
  - !ruby/object:Gem::Version
145
- version: 0.0.4
145
+ version: 0.0.5
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '='
150
+ - - ~>
151
151
  - !ruby/object:Gem::Version
152
- version: 0.0.4
152
+ version: 0.0.5
153
153
  description: Twigg provides stats for activity in Git repositories. This is the web-based
154
154
  interface.
155
155
  email: