datascope 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config.ru +0 -1
- data/datascope.gemspec +1 -1
- data/lib/datascope.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78fb337cb02f0ecd0fa8f95023653e5183661e2c
|
4
|
+
data.tar.gz: 3fae0d13362dd041b763f75a3597eb21b7db8deb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6482ba16540df9519bc3e2185e39f5c102478bb7c4dc213310472ab7fb7cc98923fe34a99ecd0a4a63777e2a4ee448ae35fc147722ae97cb81af697c164bb0a4
|
7
|
+
data.tar.gz: 831bed427c098351b560b64143feeec74020ce733593ab10c2227b1d6774a6bc43670d4f2c26300201803f4b86dbdf42eb90f7d1f0175532525e8e694b7affce
|
data/config.ru
CHANGED
data/datascope.gemspec
CHANGED
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::
|
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|
|