validate_url 0.1.4 → 0.1.6
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/init.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require '
|
|
1
|
+
require 'validate_url'
|
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
|
@@ -14,7 +14,7 @@ ActiveRecord::Base.establish_connection(
|
|
|
14
14
|
"database" => ":memory:"
|
|
15
15
|
)
|
|
16
16
|
|
|
17
|
-
require File.join(File.dirname(__FILE__), '..', '
|
|
17
|
+
require File.join(File.dirname(__FILE__), '..', 'init')
|
|
18
18
|
|
|
19
19
|
autoload :User, 'resources/user'
|
|
20
20
|
autoload :UserWithNil, 'resources/user_with_nil'
|
|
File without changes
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 6
|
|
9
|
+
version: 0.1.6
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Tanel Suurhans
|
|
@@ -75,8 +75,8 @@ files:
|
|
|
75
75
|
- README.markdown
|
|
76
76
|
- init.rb
|
|
77
77
|
- install.rb
|
|
78
|
-
- lib/
|
|
79
|
-
- spec/
|
|
78
|
+
- lib/validate_url.rb
|
|
79
|
+
- spec/validate_url_spec.rb
|
|
80
80
|
- spec/resources/user_with_blank.rb
|
|
81
81
|
- spec/resources/user_with_nil.rb
|
|
82
82
|
- spec/resources/user_with_ar.rb
|
|
@@ -117,7 +117,7 @@ signing_key:
|
|
|
117
117
|
specification_version: 3
|
|
118
118
|
summary: Library for validating urls in Rails.
|
|
119
119
|
test_files:
|
|
120
|
-
- spec/
|
|
120
|
+
- spec/validate_url_spec.rb
|
|
121
121
|
- spec/resources/user_with_blank.rb
|
|
122
122
|
- spec/resources/user_with_nil.rb
|
|
123
123
|
- spec/resources/user_with_ar.rb
|