firewall_constraint 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/firewall_constraint/version.rb +1 -1
- data/lib/firewall_constraint.rb +1 -1
- metadata +3 -3
data/lib/firewall_constraint.rb
CHANGED
@@ -7,7 +7,7 @@ module FirewallConstraint
|
|
7
7
|
else
|
8
8
|
ips = [ips].flatten
|
9
9
|
@ips = !ips.empty? ? ips :
|
10
|
-
YAML.load_file(Rails.root.join('config','firewall_constraint.yml'))[Rails.env]
|
10
|
+
[YAML.load_file(Rails.root.join('config','firewall_constraint.yml'))[Rails.env]].flatten
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firewall_constraint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mike Auclair
|