rack_ip_restrictor 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
  gem "activesupport", ">= 2.3.5"
3
+ gem "ipaddress"
3
4
 
4
5
  # Add dependencies to develop your gem here.
5
6
  # Include everything needed to run rake, tests, features, etc.
@@ -4,6 +4,7 @@ GEM
4
4
  activesupport (3.0.6)
5
5
  diff-lcs (1.1.2)
6
6
  git (1.2.5)
7
+ ipaddress (0.7.5)
7
8
  jeweler (1.5.2)
8
9
  bundler (~> 1.0.0)
9
10
  git (>= 1.2.5)
@@ -25,6 +26,7 @@ PLATFORMS
25
26
  DEPENDENCIES
26
27
  activesupport (>= 2.3.5)
27
28
  bundler (~> 1.0.0)
29
+ ipaddress
28
30
  jeweler (~> 1.5.2)
29
31
  rspec (~> 2.3.0)
30
32
  yard (~> 0.6.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rack_ip_restrictor}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexander Dreher", "Marco Scholl"]
12
- s.date = %q{2011-04-13}
12
+ s.date = %q{2011-04-28}
13
13
  s.description = %q{Restricts requests to specific IP addresses and ranges for specified paths}
14
14
  s.email = %q{team@phatworx.de}
15
15
  s.extra_rdoc_files = [
@@ -52,12 +52,14 @@ Gem::Specification.new do |s|
52
52
 
53
53
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
54
  s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
55
+ s.add_runtime_dependency(%q<ipaddress>, [">= 0"])
55
56
  s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
56
57
  s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
57
58
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
58
59
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
59
60
  else
60
61
  s.add_dependency(%q<activesupport>, [">= 2.3.5"])
62
+ s.add_dependency(%q<ipaddress>, [">= 0"])
61
63
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
62
64
  s.add_dependency(%q<yard>, ["~> 0.6.0"])
63
65
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
@@ -65,6 +67,7 @@ Gem::Specification.new do |s|
65
67
  end
66
68
  else
67
69
  s.add_dependency(%q<activesupport>, [">= 2.3.5"])
70
+ s.add_dependency(%q<ipaddress>, [">= 0"])
68
71
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
69
72
  s.add_dependency(%q<yard>, ["~> 0.6.0"])
70
73
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rack_ip_restrictor
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alexander Dreher
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-04-13 00:00:00 +02:00
14
+ date: 2011-04-28 00:00:00 +02:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -26,8 +26,19 @@ dependencies:
26
26
  prerelease: false
27
27
  version_requirements: *id001
28
28
  - !ruby/object:Gem::Dependency
29
- name: rspec
29
+ name: ipaddress
30
30
  requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: "0"
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: *id002
39
+ - !ruby/object:Gem::Dependency
40
+ name: rspec
41
+ requirement: &id003 !ruby/object:Gem::Requirement
31
42
  none: false
32
43
  requirements:
33
44
  - - ~>
@@ -35,10 +46,10 @@ dependencies:
35
46
  version: 2.3.0
36
47
  type: :development
37
48
  prerelease: false
38
- version_requirements: *id002
49
+ version_requirements: *id003
39
50
  - !ruby/object:Gem::Dependency
40
51
  name: yard
41
- requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirement: &id004 !ruby/object:Gem::Requirement
42
53
  none: false
43
54
  requirements:
44
55
  - - ~>
@@ -46,10 +57,10 @@ dependencies:
46
57
  version: 0.6.0
47
58
  type: :development
48
59
  prerelease: false
49
- version_requirements: *id003
60
+ version_requirements: *id004
50
61
  - !ruby/object:Gem::Dependency
51
62
  name: bundler
52
- requirement: &id004 !ruby/object:Gem::Requirement
63
+ requirement: &id005 !ruby/object:Gem::Requirement
53
64
  none: false
54
65
  requirements:
55
66
  - - ~>
@@ -57,10 +68,10 @@ dependencies:
57
68
  version: 1.0.0
58
69
  type: :development
59
70
  prerelease: false
60
- version_requirements: *id004
71
+ version_requirements: *id005
61
72
  - !ruby/object:Gem::Dependency
62
73
  name: jeweler
63
- requirement: &id005 !ruby/object:Gem::Requirement
74
+ requirement: &id006 !ruby/object:Gem::Requirement
64
75
  none: false
65
76
  requirements:
66
77
  - - ~>
@@ -68,7 +79,7 @@ dependencies:
68
79
  version: 1.5.2
69
80
  type: :development
70
81
  prerelease: false
71
- version_requirements: *id005
82
+ version_requirements: *id006
72
83
  description: Restricts requests to specific IP addresses and ranges for specified paths
73
84
  email: team@phatworx.de
74
85
  executables: []
@@ -111,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
122
  requirements:
112
123
  - - ">="
113
124
  - !ruby/object:Gem::Version
114
- hash: -3385915048064819072
125
+ hash: 268127420324315153
115
126
  segments:
116
127
  - 0
117
128
  version: "0"