datascope 0.0.2 → 0.0.3

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: 6edd6444bf6b276272da130cda126125996a6df1
4
- data.tar.gz: 95c9831d30ec9b11a95d3b0a089540b38fbbf995
3
+ metadata.gz: 78fb337cb02f0ecd0fa8f95023653e5183661e2c
4
+ data.tar.gz: 3fae0d13362dd041b763f75a3597eb21b7db8deb
5
5
  SHA512:
6
- metadata.gz: 310fb686949b9df1cad5047604400ff139f00758c771cb1f9dbe84afe5f3ea57fb993b27be8a18c66830c696c2bf4cf33e551b257d89b5cee4daaf4a59f52934
7
- data.tar.gz: 53c76b7c19e25d038426fb7abd6e4d2a6ec180f9adf6092c11dc6bda4a7a77b29c319f5260fd5b5c5bf4b95b22de7c89bd334ad42ee79ba3faaa8a73fce0f8ea
6
+ metadata.gz: 6482ba16540df9519bc3e2185e39f5c102478bb7c4dc213310472ab7fb7cc98923fe34a99ecd0a4a63777e2a4ee448ae35fc147722ae97cb81af697c164bb0a4
7
+ data.tar.gz: 831bed427c098351b560b64143feeec74020ce733593ab10c2227b1d6774a6bc43670d4f2c26300201803f4b86dbdf42eb90f7d1f0175532525e8e694b7affce
data/config.ru CHANGED
@@ -4,4 +4,3 @@ require 'rack/coffee'
4
4
  use Rack::Coffee
5
5
 
6
6
  run Datascope
7
-
data/datascope.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "datascope"
7
- gem.version = "0.0.2"
7
+ gem.version = "0.0.3"
8
8
  gem.authors = ["Will Leinweber"]
9
9
  gem.email = []
10
10
  gem.description = %q{postgres 9.2 visibility}
data/lib/datascope.rb CHANGED
@@ -1,10 +1,10 @@
1
- require 'sinatra'
1
+ require 'sinatra/base'
2
2
  require 'sequel'
3
3
  require 'json'
4
4
  require 'haml'
5
5
  DB = Sequel.connect ENV['DATABASE_URL']
6
6
 
7
- class Datascope < Sinatra::Application
7
+ class Datascope < Sinatra::Base
8
8
 
9
9
  if (ENV['BASIC_AUTH_USER'] && ENV['BASIC_AUTH_PASSWORD'])
10
10
  use Rack::Auth::Basic, "Datascope" do |username, password|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datascope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Leinweber