punchcard 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/punchcard.rb +3 -1
- data/punchcard.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/lib/punchcard.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler.setup(:default)
|
3
3
|
|
4
|
+
# Set up env vars for mongohq first if present...
|
5
|
+
require 'punchcard/mongohq'
|
6
|
+
|
4
7
|
require 'sinatra'
|
5
8
|
require 'sinatra/mongoid'
|
6
9
|
require 'gravtastic'
|
@@ -8,7 +11,6 @@ require 'mongoid'
|
|
8
11
|
|
9
12
|
require 'punchcard/person'
|
10
13
|
require 'punchcard/punch'
|
11
|
-
require 'punchcard/mongohq'
|
12
14
|
|
13
15
|
class Punchcard < Sinatra::Base
|
14
16
|
set :views, File.join(File.dirname(__FILE__), 'views')
|
data/punchcard.gemspec
CHANGED