sabisu 0.1.0 → 0.1.1

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: 2cd133c8076adffa6df6d2f18691642d3303a05c
4
- data.tar.gz: 2e19dc2b651091c1708d0f7f762ac8941df969ee
3
+ metadata.gz: b03b7b9b016b02db02642e91e5dd8a920be20e29
4
+ data.tar.gz: 26dcde4dbeece04c693a1a0cb6a31cad528bd291
5
5
  SHA512:
6
- metadata.gz: 4c2f8bd36a2082638081cb41243430bf1a9e64695151a0c4aa4b46bf3291be00256d9404ce3c9e4bf55e6219f664087d74344fb60d36dcb4722decf531a47ae0
7
- data.tar.gz: 4ed3a5d3d7bad02497bb6365c1774b1cff85af744335d7d6eb9828e4c895812e27c44d2953ccd38fb7b040183336878c2276addb2d463904222ef5f719181811
6
+ metadata.gz: fb6bd7f38caccf9cb429393dcb5b15de530f67a17f3849c58c03b82f35d24949342930676788dd55b0075a3cc65b8fc4bee28ff019417ef2ddf0a6fc1056960e
7
+ data.tar.gz: 3e75838b3e0a10e74e26ab8c223b8cb8eb62c3b15c2dedf6e5897d36b04d71ce12dfb7a1d561360d7775e84df3fad42187afbb87cef5d581e0cd4694fb4f90d0
data/README.md CHANGED
@@ -37,6 +37,10 @@ Installation
37
37
 
38
38
  For installation instruction, go [here](https://github.com/cloudant/sabisu/wiki/Installation)
39
39
 
40
+ IRC
41
+ =======
42
+ For support, you can join the #sabisu channel on freenode
43
+
40
44
  Development Environment
41
45
  =======================
42
46
 
@@ -1,5 +1,5 @@
1
1
  gem 'thin'
2
- gem 'sinatra', '1.4.4'
2
+ gem 'sinatra', '~> 1.4.4'
3
3
 
4
4
  # load gems
5
5
  require 'sinatra'
@@ -41,7 +41,11 @@ module Sabisu
41
41
  end
42
42
 
43
43
  get '/' do
44
- redirect '/login'
44
+ if logged_in?
45
+ redirect '/events'
46
+ else
47
+ redirect '/login'
48
+ end
45
49
  end
46
50
 
47
51
  get '/login' do
@@ -1,4 +1,4 @@
1
1
  # instantiate constants
2
2
  module Sabisu
3
- VERSION = '0.1.0' unless defined?(Sabisu::VERSION)
3
+ VERSION = '0.1.1' unless defined?(Sabisu::VERSION)
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sabisu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Barraford
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-03 00:00:00.000000000 Z
12
+ date: 2014-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra