validates_url_format_of 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +13 -1
- data/README.md +3 -0
- data/validates_url_format_of.gemspec +17 -21
- metadata +27 -66
- data/.gemtest +0 -0
- data/.gitignore +0 -41
- data/.travis.yml +0 -9
data/Gemfile
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
+
gem 'maruku'
|
4
|
+
gem 'rake'
|
5
|
+
gem 'yard'
|
6
|
+
|
3
7
|
platforms :jruby do
|
4
|
-
gem 'jruby-openssl'
|
8
|
+
gem 'jruby-openssl'
|
9
|
+
gem 'activerecord-jdbcsqlite3-adapter'
|
10
|
+
gem 'jdbc-sqlite3'
|
11
|
+
end
|
12
|
+
|
13
|
+
group :test do
|
14
|
+
gem 'minitest'
|
15
|
+
gem 'simplecov', :require => false
|
16
|
+
gem 'sqlite3', :platforms => :ruby
|
5
17
|
end
|
6
18
|
|
7
19
|
gemspec
|
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
# validates\_url\_format\_of
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/conickal/validates_url_format_of.png?branch=master)](https://travis-ci.org/conickal/validates_url_format_of)
|
4
|
+
|
2
5
|
Rails plugin that provides a `validates_url_format_of` method to `ActiveRecord` models. URLs are validated by regexp.
|
3
6
|
|
4
7
|
## Usage
|
@@ -1,22 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
gem.required_rubygems_version = Gem::Requirement.new('>= 1.3.6')
|
19
|
-
gem.summary = %q{ActiveRecord URL Validation}
|
20
|
-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
21
|
-
gem.version = '0.3.0'
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.add_dependency 'activerecord', ['>= 3.1', '< 5']
|
3
|
+
spec.add_development_dependency 'bundler', '~> 1.0'
|
4
|
+
spec.authors = ["Erik-Michels-Ober", "Henrik Nyh", "Josh Nichols", "Nicholas Silva"]
|
5
|
+
spec.description = %q{Rails plugin that provides a validates_url_format_of method to ActiveRecord models. URLs are validated by regexp.}
|
6
|
+
spec.email = ['conickal@gmail.com']
|
7
|
+
spec.files = %w(LICENSE.md README.md Gemfile Rakefile validates_url_format_of.gemspec)
|
8
|
+
spec.files += Dir.glob("lib/**/*.rb")
|
9
|
+
spec.files += Dir.glob("test/**/*")
|
10
|
+
spec.homepage = 'http://github.com/conickal/validates_url_format_of'
|
11
|
+
spec.licenses = ['MIT']
|
12
|
+
spec.name = 'validates_url_format_of'
|
13
|
+
spec.require_paths = ['lib']
|
14
|
+
spec.required_rubygems_version = '>= 1.3.5'
|
15
|
+
spec.summary = %q{ActiveRecord URL Validation}
|
16
|
+
spec.test_files = Dir.glob("test/**/*")
|
17
|
+
spec.version = '0.4.0'
|
22
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validates_url_format_of
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,106 +12,66 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activerecord
|
19
|
-
requirement:
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
|
-
- -
|
22
|
+
- - ! '>='
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '3.1'
|
25
|
+
- - <
|
23
26
|
- !ruby/object:Gem::Version
|
24
|
-
version:
|
27
|
+
version: '5'
|
25
28
|
type: :runtime
|
26
29
|
prerelease: false
|
27
|
-
version_requirements:
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: minitest
|
30
|
-
requirement: &70140258293800 !ruby/object:Gem::Requirement
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ! '>='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
36
|
-
|
37
|
-
prerelease: false
|
38
|
-
version_requirements: *70140258293800
|
39
|
-
- !ruby/object:Gem::Dependency
|
40
|
-
name: rake
|
41
|
-
requirement: &70140258281580 !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
|
-
requirements:
|
44
|
-
- - ~>
|
35
|
+
version: '3.1'
|
36
|
+
- - <
|
45
37
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
47
|
-
type: :development
|
48
|
-
prerelease: false
|
49
|
-
version_requirements: *70140258281580
|
38
|
+
version: '5'
|
50
39
|
- !ruby/object:Gem::Dependency
|
51
|
-
name:
|
52
|
-
requirement:
|
40
|
+
name: bundler
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
53
42
|
none: false
|
54
43
|
requirements:
|
55
44
|
- - ~>
|
56
45
|
- !ruby/object:Gem::Version
|
57
|
-
version: '1.
|
46
|
+
version: '1.0'
|
58
47
|
type: :development
|
59
48
|
prerelease: false
|
60
|
-
version_requirements:
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: simplecov
|
63
|
-
requirement: &70140258278320 !ruby/object:Gem::Requirement
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
50
|
none: false
|
65
51
|
requirements:
|
66
52
|
- - ~>
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0
|
69
|
-
type: :development
|
70
|
-
prerelease: false
|
71
|
-
version_requirements: *70140258278320
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: sqlite3
|
74
|
-
requirement: &70140258268840 !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
|
-
requirements:
|
77
|
-
- - ~>
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '1.3'
|
80
|
-
type: :development
|
81
|
-
prerelease: false
|
82
|
-
version_requirements: *70140258268840
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: yard
|
85
|
-
requirement: &70140258264700 !ruby/object:Gem::Requirement
|
86
|
-
none: false
|
87
|
-
requirements:
|
88
|
-
- - ~>
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0.7'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: *70140258264700
|
54
|
+
version: '1.0'
|
94
55
|
description: Rails plugin that provides a validates_url_format_of method to ActiveRecord
|
95
56
|
models. URLs are validated by regexp.
|
96
|
-
email:
|
57
|
+
email:
|
58
|
+
- conickal@gmail.com
|
97
59
|
executables: []
|
98
60
|
extensions: []
|
99
61
|
extra_rdoc_files: []
|
100
62
|
files:
|
101
|
-
- .gemtest
|
102
|
-
- .gitignore
|
103
|
-
- .travis.yml
|
104
|
-
- Gemfile
|
105
63
|
- LICENSE.md
|
106
64
|
- README.md
|
65
|
+
- Gemfile
|
107
66
|
- Rakefile
|
67
|
+
- validates_url_format_of.gemspec
|
108
68
|
- lib/validates_url_format_of.rb
|
109
69
|
- test/helper.rb
|
110
70
|
- test/model.rb
|
111
71
|
- test/validates_url_format_of_test.rb
|
112
|
-
- validates_url_format_of.gemspec
|
113
72
|
homepage: http://github.com/conickal/validates_url_format_of
|
114
|
-
licenses:
|
73
|
+
licenses:
|
74
|
+
- MIT
|
115
75
|
post_install_message:
|
116
76
|
rdoc_options: []
|
117
77
|
require_paths:
|
@@ -127,10 +87,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
87
|
requirements:
|
128
88
|
- - ! '>='
|
129
89
|
- !ruby/object:Gem::Version
|
130
|
-
version: 1.3.
|
90
|
+
version: 1.3.5
|
131
91
|
requirements: []
|
132
92
|
rubyforge_project:
|
133
|
-
rubygems_version: 1.8.
|
93
|
+
rubygems_version: 1.8.23
|
134
94
|
signing_key:
|
135
95
|
specification_version: 3
|
136
96
|
summary: ActiveRecord URL Validation
|
@@ -138,3 +98,4 @@ test_files:
|
|
138
98
|
- test/helper.rb
|
139
99
|
- test/model.rb
|
140
100
|
- test/validates_url_format_of_test.rb
|
101
|
+
has_rdoc:
|
data/.gemtest
DELETED
File without changes
|
data/.gitignore
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
!.gitignore
|
2
|
-
*.gem
|
3
|
-
*.rbc
|
4
|
-
*.sw[a-p]
|
5
|
-
*.tmproj
|
6
|
-
*.tmproject
|
7
|
-
*.un~
|
8
|
-
*~
|
9
|
-
.DS_Store
|
10
|
-
.Spotlight-V100
|
11
|
-
.Trashes
|
12
|
-
._*
|
13
|
-
.bundle
|
14
|
-
.config
|
15
|
-
.directory
|
16
|
-
.elc
|
17
|
-
.redcar
|
18
|
-
.yardoc
|
19
|
-
/.emacs.desktop
|
20
|
-
/.emacs.desktop.lock
|
21
|
-
Desktop.ini
|
22
|
-
Gemfile.lock
|
23
|
-
Icon?
|
24
|
-
InstalledFiles
|
25
|
-
Session.vim
|
26
|
-
Thumbs.db
|
27
|
-
\#*\#
|
28
|
-
_yardoc
|
29
|
-
auto-save-list
|
30
|
-
coverage
|
31
|
-
doc/
|
32
|
-
lib/bundler/man
|
33
|
-
pkg
|
34
|
-
pkg/*
|
35
|
-
rdoc
|
36
|
-
spec/reports
|
37
|
-
test/tmp
|
38
|
-
test/version_tmp
|
39
|
-
tmp
|
40
|
-
tmtags
|
41
|
-
tramp
|