omgf 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/GIT-VERSION-GEN CHANGED
@@ -2,7 +2,7 @@
2
2
  CONSTANT = "OMGF::VERSION"
3
3
  RVF = "lib/omgf/version.rb"
4
4
  GVF = "GIT-VERSION-FILE"
5
- DEF_VER = "v0.0.6"
5
+ DEF_VER = "v0.0.7"
6
6
  vn = DEF_VER
7
7
 
8
8
  # First see if there is a version file (included in release tarballs),
@@ -76,7 +76,8 @@ class OMGF::HystericalRaisins
76
76
  r(405)
77
77
  end
78
78
  rescue MogileFS::Backend::UnknownKeyError,
79
- MogileFS::Backend::DomainNotFoundError
79
+ MogileFS::Backend::DomainNotFoundError,
80
+ MogileFS::Backend::UnregDomainError
80
81
  r(404, "")
81
82
  rescue => e
82
83
  logger = env["rack.logger"]
@@ -12,7 +12,8 @@ module OMGF::Regurgitator
12
12
  end
13
13
 
14
14
  def check_domain!(domain)
15
- get_dmid(domain) or raise MogileFS::Backend::UnregDomainError
15
+ get_dmid(domain) or
16
+ raise MogileFS::Backend::UnregDomainError, "#{domain} not found"
16
17
  end
17
18
 
18
19
  def _log_err(env, m, e)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: !binary |-
3
3
  b21nZg==
4
4
  version: !ruby/object:Gem::Version
5
- version: 0.0.6
5
+ version: 0.0.7
6
6
  prerelease:
7
7
  platform: ruby
8
8
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-05-11 00:00:00.000000000 Z
14
+ date: 2013-05-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: !binary |-