ip_address_validator 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.textile +1 -1
- data/ip_address_validator.gemspec +9 -14
- data/lib/ip_address_validator.rb +1 -0
- metadata +52 -81
- data/.document +0 -5
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -37
- data/Rakefile +0 -32
- data/VERSION +0 -1
data/README.textile
CHANGED
@@ -4,35 +4,30 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "1.0.
|
7
|
+
s.name = "ip_address_validator"
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tim Morgan"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-03-20"
|
13
|
+
s.description = "A simple, localizable EachValidator for IPv4 and IPv6 address fields in ActiveRecord 3.0."
|
14
|
+
s.email = "git@timothymorgan.info"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.textile"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
-
".document",
|
21
|
-
"Gemfile",
|
22
|
-
"Gemfile.lock",
|
23
20
|
"LICENSE",
|
24
21
|
"README.textile",
|
25
|
-
"
|
26
|
-
"VERSION",
|
22
|
+
"ip_address_validator.gemspec",
|
27
23
|
"lib/ip_address_validator.rb"
|
28
24
|
]
|
29
|
-
s.homepage =
|
25
|
+
s.homepage = "http://github.com/riscfuture/ip_address_validator"
|
30
26
|
s.require_paths = ["lib"]
|
31
|
-
s.rubygems_version =
|
32
|
-
s.summary =
|
27
|
+
s.rubygems_version = "1.8.17"
|
28
|
+
s.summary = "Simple IP address validation in Rails 3"
|
33
29
|
|
34
30
|
if s.respond_to? :specification_version then
|
35
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
36
31
|
s.specification_version = 3
|
37
32
|
|
38
33
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/lib/ip_address_validator.rb
CHANGED
metadata
CHANGED
@@ -1,127 +1,98 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ip_address_validator
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Tim Morgan
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-20 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: localized_each_validator
|
22
|
-
requirement: &
|
16
|
+
requirement: &70167736537100 !ruby/object:Gem::Requirement
|
23
17
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 0
|
30
|
-
- 1
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 1.0.1
|
32
22
|
type: :runtime
|
33
23
|
prerelease: false
|
34
|
-
version_requirements: *
|
35
|
-
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: *70167736537100
|
25
|
+
- !ruby/object:Gem::Dependency
|
36
26
|
name: jeweler
|
37
|
-
requirement: &
|
27
|
+
requirement: &70167736536520 !ruby/object:Gem::Requirement
|
38
28
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
- 0
|
44
|
-
version: "0"
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
45
33
|
type: :development
|
46
34
|
prerelease: false
|
47
|
-
version_requirements: *
|
48
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *70167736536520
|
36
|
+
- !ruby/object:Gem::Dependency
|
49
37
|
name: yard
|
50
|
-
requirement: &
|
38
|
+
requirement: &70167736535900 !ruby/object:Gem::Requirement
|
51
39
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
- 0
|
57
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
58
44
|
type: :development
|
59
45
|
prerelease: false
|
60
|
-
version_requirements: *
|
61
|
-
- !ruby/object:Gem::Dependency
|
46
|
+
version_requirements: *70167736535900
|
47
|
+
- !ruby/object:Gem::Dependency
|
62
48
|
name: RedCloth
|
63
|
-
requirement: &
|
49
|
+
requirement: &70167736535380 !ruby/object:Gem::Requirement
|
64
50
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
|
69
|
-
- 0
|
70
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
71
55
|
type: :development
|
72
56
|
prerelease: false
|
73
|
-
version_requirements: *
|
74
|
-
description: A simple, localizable EachValidator for IPv4 and IPv6 address fields
|
57
|
+
version_requirements: *70167736535380
|
58
|
+
description: A simple, localizable EachValidator for IPv4 and IPv6 address fields
|
59
|
+
in ActiveRecord 3.0.
|
75
60
|
email: git@timothymorgan.info
|
76
61
|
executables: []
|
77
|
-
|
78
62
|
extensions: []
|
79
|
-
|
80
|
-
extra_rdoc_files:
|
63
|
+
extra_rdoc_files:
|
81
64
|
- LICENSE
|
82
65
|
- README.textile
|
83
|
-
files:
|
84
|
-
- .document
|
85
|
-
- Gemfile
|
86
|
-
- Gemfile.lock
|
66
|
+
files:
|
87
67
|
- LICENSE
|
88
68
|
- README.textile
|
89
|
-
- Rakefile
|
90
|
-
- VERSION
|
91
69
|
- ip_address_validator.gemspec
|
92
70
|
- lib/ip_address_validator.rb
|
93
|
-
has_rdoc: true
|
94
71
|
homepage: http://github.com/riscfuture/ip_address_validator
|
95
72
|
licenses: []
|
96
|
-
|
97
73
|
post_install_message:
|
98
74
|
rdoc_options: []
|
99
|
-
|
100
|
-
require_paths:
|
75
|
+
require_paths:
|
101
76
|
- lib
|
102
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
78
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
|
108
|
-
segments:
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
segments:
|
109
84
|
- 0
|
110
|
-
|
111
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
hash: -1752075545823890085
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
87
|
none: false
|
113
|
-
requirements:
|
114
|
-
- -
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
|
117
|
-
- 0
|
118
|
-
version: "0"
|
88
|
+
requirements:
|
89
|
+
- - ! '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
119
92
|
requirements: []
|
120
|
-
|
121
93
|
rubyforge_project:
|
122
|
-
rubygems_version: 1.
|
94
|
+
rubygems_version: 1.8.17
|
123
95
|
signing_key:
|
124
96
|
specification_version: 3
|
125
97
|
summary: Simple IP address validation in Rails 3
|
126
98
|
test_files: []
|
127
|
-
|
data/.document
DELETED
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
RedCloth (4.2.3)
|
5
|
-
activemodel (3.0.3)
|
6
|
-
activesupport (= 3.0.3)
|
7
|
-
builder (~> 2.1.2)
|
8
|
-
i18n (~> 0.4)
|
9
|
-
activerecord (3.0.3)
|
10
|
-
activemodel (= 3.0.3)
|
11
|
-
activesupport (= 3.0.3)
|
12
|
-
arel (~> 2.0.2)
|
13
|
-
tzinfo (~> 0.3.23)
|
14
|
-
activesupport (3.0.3)
|
15
|
-
arel (2.0.3)
|
16
|
-
builder (2.1.2)
|
17
|
-
git (1.2.5)
|
18
|
-
i18n (0.4.2)
|
19
|
-
jeweler (1.5.1)
|
20
|
-
bundler (~> 1.0.0)
|
21
|
-
git (>= 1.2.5)
|
22
|
-
rake
|
23
|
-
localized_each_validator (1.0.1)
|
24
|
-
activerecord (>= 3.0)
|
25
|
-
activesupport (>= 3.0)
|
26
|
-
rake (0.8.7)
|
27
|
-
tzinfo (0.3.23)
|
28
|
-
yard (0.6.2)
|
29
|
-
|
30
|
-
PLATFORMS
|
31
|
-
ruby
|
32
|
-
|
33
|
-
DEPENDENCIES
|
34
|
-
RedCloth
|
35
|
-
jeweler
|
36
|
-
localized_each_validator (>= 1.0.1)
|
37
|
-
yard
|
data/Rakefile
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'rake'
|
11
|
-
|
12
|
-
require 'jeweler'
|
13
|
-
Jeweler::Tasks.new do |gem|
|
14
|
-
gem.name = "ip_address_validator"
|
15
|
-
gem.summary = %Q{Simple IP address validation in Rails 3}
|
16
|
-
gem.description = %Q{A simple, localizable EachValidator for IPv4 and IPv6 address fields in ActiveRecord 3.0.}
|
17
|
-
gem.email = "git@timothymorgan.info"
|
18
|
-
gem.homepage = "http://github.com/riscfuture/ip_address_validator"
|
19
|
-
gem.authors = [ "Tim Morgan" ]
|
20
|
-
end
|
21
|
-
Jeweler::RubygemsDotOrgTasks.new
|
22
|
-
|
23
|
-
require 'yard'
|
24
|
-
YARD::Rake::YardocTask.new('doc') do |doc|
|
25
|
-
doc.options << "-m" << "textile"
|
26
|
-
doc.options << "--protected"
|
27
|
-
doc.options << "-r" << "README.textile"
|
28
|
-
doc.options << "-o" << "doc"
|
29
|
-
doc.options << "--title" << "ip_address_validator Documentation".inspect
|
30
|
-
|
31
|
-
doc.files = [ 'lib/*.rb', 'README.textile' ]
|
32
|
-
end
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.0.0
|