validates_url_format_of 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ *.sw?
2
+ .DS_Store
3
+ coverage
4
+ rdoc
5
+ pkg
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -4,7 +4,7 @@ module ValidatesUrlFormatOf
4
4
  \A
5
5
  https?:// # http:// or https://
6
6
  ([^\s:@]+:[^\s:@]*@)? # optional username:pw@
7
- ( (xn--)?[^\W_]+([-.][^\W_]+)*\.[a-z]{2,6}\.? | # domain (including Punycode/IDN)...
7
+ ( (xn--)?[a-z0-9]+([-.][a-z0-9]+)*\.[a-z]{2,6}\.? | # domain (including Punycode/IDN)...
8
8
  #{IPv4_PART}(\.#{IPv4_PART}){3} ) # or IPv4
9
9
  (:\d{1,5})? # optional port
10
10
  ([/?]\S*)? # optional /whatever or ?whatever
@@ -1,31 +1,33 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{validates_url_format_of}
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 = ["Henrik Nyh", "Josh Nichols", "Nicholas Silva"]
12
- s.date = %q{2011-01-31}
12
+ s.date = %q{2011-02-15}
13
13
  s.description = %q{Rails plugin that provides a validates_url_format_of method to ActiveRecord models. URLs are validated by regexp.}
14
14
  s.email = %q{conickal@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "README.markdown"
17
17
  ]
18
18
  s.files = [
19
- "README.markdown",
20
- "Rakefile",
21
- "VERSION",
22
- "init.rb",
23
- "lib/validates_url_format_of.rb",
24
- "shoulda_macros/validates_url_format_of_macros.rb",
25
- "test/validates_url_format_of_test.rb",
26
- "validates_url_format_of.gemspec"
19
+ ".gitignore",
20
+ "README.markdown",
21
+ "Rakefile",
22
+ "VERSION",
23
+ "init.rb",
24
+ "lib/validates_url_format_of.rb",
25
+ "shoulda_macros/validates_url_format_of_macros.rb",
26
+ "test/validates_url_format_of_test.rb",
27
+ "validates_url_format_of.gemspec"
27
28
  ]
28
29
  s.homepage = %q{http://github.com/conickal/validates_url_format_of}
30
+ s.rdoc_options = ["--charset=UTF-8"]
29
31
  s.require_paths = ["lib"]
30
32
  s.rubygems_version = %q{1.3.7}
31
33
  s.summary = %q{ActiveRecord URL Validation}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_url_format_of
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Henrik Nyh
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-01-31 00:00:00 -05:00
20
+ date: 2011-02-15 00:00:00 -05:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -59,6 +59,7 @@ extensions: []
59
59
  extra_rdoc_files:
60
60
  - README.markdown
61
61
  files:
62
+ - .gitignore
62
63
  - README.markdown
63
64
  - Rakefile
64
65
  - VERSION
@@ -72,8 +73,8 @@ homepage: http://github.com/conickal/validates_url_format_of
72
73
  licenses: []
73
74
 
74
75
  post_install_message:
75
- rdoc_options: []
76
-
76
+ rdoc_options:
77
+ - --charset=UTF-8
77
78
  require_paths:
78
79
  - lib
79
80
  required_ruby_version: !ruby/object:Gem::Requirement