ddr-models 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ddr/auth.rb +5 -2
- data/lib/ddr/models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1430e93b8963381b076346eff749cbed263f9f46
|
4
|
+
data.tar.gz: 91512912b2cad1883784935c071de7623e7decf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f52379fe84b0dd8f95b369a679947ee6e5ea77352a6910cb3703d06c79cb8d047d74d35df0648efb61787d4adc22598251cf1e07d71e195e377e55ee33be3692
|
7
|
+
data.tar.gz: 4a7d41733f36e0d9a7945ed61c8670bec811aa3f58ad7bd93aaabd027c66bbf8b1722188f914fd1e8ae81df2b5b5696ad2f14e37b88bba3f7d75f9171ee69e11
|
data/lib/ddr/auth.rb
CHANGED
@@ -102,8 +102,11 @@ module Ddr
|
|
102
102
|
"::Ability"
|
103
103
|
end
|
104
104
|
|
105
|
-
|
106
|
-
ENV["REPOSITORY_GROUP_FILTER"]
|
105
|
+
def self.repository_group_filter
|
106
|
+
if filter = ENV["REPOSITORY_GROUP_FILTER"]
|
107
|
+
return filter
|
108
|
+
end
|
109
|
+
raise Ddr::Models::Error, "The \"REPOSITORY_GROUP_FILTER\" environment variable is not set."
|
107
110
|
end
|
108
111
|
|
109
112
|
end
|
data/lib/ddr/models/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-10-
|
12
|
+
date: 2015-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|