teamster 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/content/views/login_required.erb +4 -0
- data/lib/teamster/general_helper.rb +4 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 348c8c1afd42c4abece96405a0d49efcecb70867
|
4
|
+
data.tar.gz: dc2fe4e7da7cff2d62cd6d7a05d8e98494afd47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05a62a08f6120de999606f527f14fbdba316de534288bd2009e5d9f8148d3a8a2edb45aaf6af2ec870becbd0609042e249ae1ea98b438e75ad3a86aeba148e98
|
7
|
+
data.tar.gz: 077374dae41ced81de9f7be7c253b3e32355b8f2576a71dc46d669205f4bc5c7c1ab40f900b5fd79c76f0c783adc6c985067a8bf585cce52a8027311130e0be1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
@@ -17,6 +17,10 @@ module Teamster
|
|
17
17
|
true
|
18
18
|
end
|
19
19
|
|
20
|
+
def login_required
|
21
|
+
halt(403, erb(:login_required)) unless session[:current_user]
|
22
|
+
end
|
23
|
+
|
20
24
|
def include_bootstrap_css
|
21
25
|
%q~<link rel='stylesheet' href='/css/bootstrap.min.css' type='text/css'>
|
22
26
|
<link rel='stylesheet' href='/css/bootstrap-theme.min.css' type='text/css'>~
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teamster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nur Muhammad Bin Sirat
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- content/views/footer.erb
|
68
68
|
- content/views/index.erb
|
69
69
|
- content/views/layout.erb
|
70
|
+
- content/views/login_required.erb
|
70
71
|
- content/views/navbar.erb
|
71
72
|
- content/views/no_summary.erb
|
72
73
|
- lib/teamster.rb
|