wunderbar 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 196b894f6f9611d6f1a0cd7679b8c5a6dc29b69d
4
- data.tar.gz: 0fd552897afcf09e71a435ea20e696246c0af852
3
+ metadata.gz: e2dfe16b13a2f629c45680c78f47f43767405965
4
+ data.tar.gz: 18a1e83ff86efe5020049b63a0d3c9262f8a92e0
5
5
  SHA512:
6
- metadata.gz: 11cd7fb182bce3f8afab7ecf8d74142f4bc7daa1840e01c8ddb09ac86ef3095a8fa83579d79a9f9930d1d919142a34f97940dc84547014250339afa45221e0cb
7
- data.tar.gz: a73d2116764642309ccaba845cfa35a1819222766089e4425d3ced12e700617f34e1154cff0470211495844af21182c67e5700e36e4149134ef98b35f843c8a0
6
+ metadata.gz: 3290901783f5f6ae6537878a5a1ae2f321046b419e5687e8d274a9634853dfba02d81e7fa1ee401da48ce8bbd3a68edf7db289d8d55ffaa16de46da2cdfb1bff
7
+ data.tar.gz: 5234d352fe6213551c4e68f2f9a8a3dcc252d4c22f73ce24d73613f7fa05212b491133acd27af844a55937535071fd3afd7f1006167903aba9ab0fac25dd6a95
data/README.md CHANGED
@@ -388,6 +388,7 @@ block.
388
388
  Globals provided
389
389
  ---
390
390
  * `$USER` - Host user id
391
+ * `$PASSWORD` - Host password (if CGI and HTTP_AUTHORIZATION is passed through)
391
392
  * `$HOME` - Home directory
392
393
  * `$SERVER` - Server name
393
394
  * `$HOME` - user's home directory
@@ -99,10 +99,9 @@ else
99
99
 
100
100
  $HOME = ENV['HOME']
101
101
  $HOME = nil if $HOME == '/var/empty' or $HOME == ENV['DOCUMENT_ROOT']
102
- if $HOME.nil? and $USER == user
103
- $HOME ||= Dir.home($USER) rescue nil
104
- $HOME ||= File.expand_path("~#{$USER}") rescue nil
105
- end
102
+ $HOME ||= Etc.getpwuid.dir
103
+ $HOME ||= Dir.home(user) rescue nil
104
+ $HOME ||= File.expand_path("~#{user}") rescue nil
106
105
  $HOME = ENV['DOCUMENT_ROOT'] if $HOME.nil? or not File.exist? $HOME
107
106
  ENV['HOME'] = $HOME
108
107
 
@@ -2,7 +2,7 @@ module Wunderbar
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/wunderbar.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: wunderbar 1.1.1 ruby lib
2
+ # stub: wunderbar 1.1.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "wunderbar".freeze
6
- s.version = "1.1.1"
6
+ s.version = "1.1.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Sam Ruby".freeze]
11
- s.date = "2017-05-20"
11
+ s.date = "2017-07-05"
12
12
  s.description = " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML, Unicode\n (utf-8), consistently indented, readable applications.'\n".freeze
13
13
  s.email = "rubys@intertwingly.net".freeze
14
14
  s.files = ["COPYING".freeze, "README.md".freeze, "lib/wunderbar".freeze, "lib/wunderbar.rb".freeze, "lib/wunderbar/angularjs".freeze, "lib/wunderbar/angularjs.rb".freeze, "lib/wunderbar/angularjs/resource.rb".freeze, "lib/wunderbar/angularjs/route.rb".freeze, "lib/wunderbar/asset.rb".freeze, "lib/wunderbar/backtick.rb".freeze, "lib/wunderbar/bootstrap".freeze, "lib/wunderbar/bootstrap.rb".freeze, "lib/wunderbar/bootstrap/theme.rb".freeze, "lib/wunderbar/builder.rb".freeze, "lib/wunderbar/cgi-methods.rb".freeze, "lib/wunderbar/coderay.rb".freeze, "lib/wunderbar/coffeescript.rb".freeze, "lib/wunderbar/cssproxy.rb".freeze, "lib/wunderbar/environment.rb".freeze, "lib/wunderbar/eventsource.rb".freeze, "lib/wunderbar/html-methods.rb".freeze, "lib/wunderbar/installation.rb".freeze, "lib/wunderbar/job-control.rb".freeze, "lib/wunderbar/jquery".freeze, "lib/wunderbar/jquery.rb".freeze, "lib/wunderbar/jquery/filter.rb".freeze, "lib/wunderbar/jquery/stupidtable.rb".freeze, "lib/wunderbar/listen.rb".freeze, "lib/wunderbar/logger.rb".freeze, "lib/wunderbar/markdown.rb".freeze, "lib/wunderbar/marked.rb".freeze, "lib/wunderbar/node.rb".freeze, "lib/wunderbar/pagedown.rb".freeze, "lib/wunderbar/polymer.rb".freeze, "lib/wunderbar/rack.rb".freeze, "lib/wunderbar/rails.rb".freeze, "lib/wunderbar/react.rb".freeze, "lib/wunderbar/script.rb".freeze, "lib/wunderbar/server.rb".freeze, "lib/wunderbar/sinatra.rb".freeze, "lib/wunderbar/underscore.rb".freeze, "lib/wunderbar/vendor".freeze, "lib/wunderbar/vendor/Markdown.Converter.js".freeze, "lib/wunderbar/vendor/angular-resource.min.js".freeze, "lib/wunderbar/vendor/angular-route.min.js".freeze, "lib/wunderbar/vendor/angular.min.js".freeze, "lib/wunderbar/vendor/bootstrap-theme.min.css".freeze, "lib/wunderbar/vendor/bootstrap.min.css".freeze, "lib/wunderbar/vendor/bootstrap.min.js".freeze, "lib/wunderbar/vendor/eventsource.min.js".freeze, "lib/wunderbar/vendor/jquery-3.2.1.min.js".freeze, "lib/wunderbar/vendor/marked.min.js".freeze, "lib/wunderbar/vendor/polymer-v0.0.20131003.min.js".freeze, "lib/wunderbar/vendor/react-dom-server.min.js".freeze, "lib/wunderbar/vendor/react-dom.min.js".freeze, "lib/wunderbar/vendor/react-with-addons.min.js".freeze, "lib/wunderbar/vendor/stupidtable.min.js".freeze, "lib/wunderbar/vendor/underscore-min.js".freeze, "lib/wunderbar/version.rb".freeze, "lib/wunderbar/websocket.rb".freeze, "wunderbar.gemspec".freeze]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wunderbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-20 00:00:00.000000000 Z
11
+ date: 2017-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json