vidibus-realm 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = vidibus-realm
1
+ = Vidibus::Realm
2
2
 
3
3
  Description goes here.
4
4
 
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ end
15
15
  Rake::RDocTask.new do |rdoc|
16
16
  version = File.exist?("VERSION") ? File.read("VERSION") : ""
17
17
  rdoc.rdoc_dir = "rdoc"
18
- rdoc.title = "vidibus-service #{version}"
18
+ rdoc.title = "Vidibus::Realm #{version}"
19
19
  rdoc.rdoc_files.include("README*")
20
20
  rdoc.rdoc_files.include("lib/**/*.rb")
21
21
  rdoc.options << "--charset=utf-8"
@@ -24,6 +24,8 @@ module Vidibus
24
24
  def subdomain
25
25
  env["SERVER_NAME"].match(/(.+)\.#{::Service.this.domain}/)
26
26
  $1
27
+ rescue ::Service::ConfigurationError
28
+ # Current service has not been configured yet.
27
29
  end
28
30
 
29
31
  # Returns realm from constant or subdomain.
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Realm
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-realm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andre Pankratz
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-02 00:00:00 +01:00
18
+ date: 2011-01-23 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency