sixhour 0.2.0 → 0.2.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.
Files changed (3) hide show
  1. data/app.rb +0 -1
  2. data/config.ru +9 -0
  3. metadata +1 -1
data/app.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'vendor/gems/environment'
2
1
  require 'sinatra'
3
2
  require 'haml'
4
3
 
data/config.ru CHANGED
@@ -1,3 +1,12 @@
1
+ begin
2
+ # Require the preresolved locked set of gems.
3
+ require File.expand_path('../.bundle/environment', __FILE__)
4
+ rescue LoadError
5
+ # Fallback on doing the resolve at runtime.
6
+ require "rubygems"
7
+ require "bundler"
8
+ Bundler.setup
9
+ end
1
10
  require 'app'
2
11
 
3
12
  run App
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixhour
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Wilson