rack_staging 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.
Files changed (2) hide show
  1. data/lib/rack_staging.rb +4 -2
  2. metadata +1 -1
data/lib/rack_staging.rb CHANGED
@@ -41,9 +41,11 @@ EOF
41
41
  end
42
42
 
43
43
  def unauthorized
44
- [ 401, {'Content-Type' => 'text/plain'}, ["Unauthorized"] ]
44
+ [ 401,
45
+ {'Content-Type' => 'text/plain',
46
+ "WWW-Authenticate" => 'Basic realm="staging"' },
47
+ ["Unauthorized"] ]
45
48
  end
46
49
 
47
-
48
50
  end
49
51
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rack_staging
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Glenn Gillen