atech 1.0.25 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/atech/network_restrictions.rb +9 -1
- metadata +9 -9
@@ -26,7 +26,15 @@ module Atech
|
|
26
26
|
attr_accessor :networks
|
27
27
|
|
28
28
|
def networks
|
29
|
-
@networks ||= [
|
29
|
+
@networks ||= [
|
30
|
+
'127.0.0.1/32', # localhost
|
31
|
+
'185.22.208.0/25', # infra
|
32
|
+
'10.17.0.0/24', # vpn
|
33
|
+
'10.0.2.0/24', # office
|
34
|
+
'2a00:67a0:a:1::/64', # infra ipv6
|
35
|
+
'2a00:67a0:a:5::/64', # vpn ipv6
|
36
|
+
'2a01:348:311:2::/64' # office ipv6
|
37
|
+
]
|
30
38
|
end
|
31
39
|
|
32
40
|
def approved_ip?(requested_ip)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atech
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.26
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description:
|
15
15
|
email: hello@atechmedia.com
|
@@ -17,16 +17,16 @@ executables: []
|
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
-
- lib/atech/stats_reporter.rb
|
21
|
-
- lib/atech/user_agent.rb
|
22
20
|
- lib/atech/base.rb
|
23
|
-
- lib/atech/helpers.rb
|
24
|
-
- lib/atech/network_restrictions.rb
|
25
|
-
- lib/atech/extensions/seeds.rb
|
26
21
|
- lib/atech/extensions/active_record.rb
|
27
|
-
- lib/atech/extensions/string.rb
|
28
22
|
- lib/atech/extensions/controller_tests.rb
|
23
|
+
- lib/atech/extensions/seeds.rb
|
24
|
+
- lib/atech/extensions/string.rb
|
25
|
+
- lib/atech/helpers.rb
|
26
|
+
- lib/atech/network_restrictions.rb
|
29
27
|
- lib/atech/record_identifier.rb
|
28
|
+
- lib/atech/stats_reporter.rb
|
29
|
+
- lib/atech/user_agent.rb
|
30
30
|
homepage: http://github.com/atech/atech
|
31
31
|
licenses: []
|
32
32
|
post_install_message:
|
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
version: '0'
|
48
48
|
requirements: []
|
49
49
|
rubyforge_project:
|
50
|
-
rubygems_version: 1.8.
|
50
|
+
rubygems_version: 1.8.23
|
51
51
|
signing_key:
|
52
52
|
specification_version: 3
|
53
53
|
summary: Libraries & Utilities from aTech Media
|