email-validator 0.2.0 → 0.2.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/Rakefile CHANGED
@@ -11,7 +11,6 @@ begin
11
11
  gem.homepage = "http://github.com/wireframe/email-validator"
12
12
  gem.authors = ["Ryan Sonnek"]
13
13
  gem.add_runtime_dependency "activerecord", ">= 2.2.3"
14
- gem.add_runtime_dependency "tmail", ">= 1.2"
15
14
  gem.add_development_dependency "shoulda", ">= 0"
16
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
17
16
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -0,0 +1,59 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{email-validator}
8
+ s.version = "0.2.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Ryan Sonnek"]
12
+ s.date = %q{2010-10-13}
13
+ s.description = %q{validate that email attribute contains valid email}
14
+ s.email = %q{ryan@socialcast.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "email-validator.gemspec",
27
+ "lib/email-validator.rb",
28
+ "lib/rfc822.rb",
29
+ "test/database.yml",
30
+ "test/helper.rb",
31
+ "test/test_email-validator.rb"
32
+ ]
33
+ s.homepage = %q{http://github.com/wireframe/email-validator}
34
+ s.rdoc_options = ["--charset=UTF-8"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = %q{1.3.7}
37
+ s.summary = %q{validate that email attribute contains valid email}
38
+ s.test_files = [
39
+ "test/helper.rb",
40
+ "test/test_email-validator.rb"
41
+ ]
42
+
43
+ if s.respond_to? :specification_version then
44
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
+ s.add_runtime_dependency(%q<activerecord>, [">= 2.2.3"])
49
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
50
+ else
51
+ s.add_dependency(%q<activerecord>, [">= 2.2.3"])
52
+ s.add_dependency(%q<shoulda>, [">= 0"])
53
+ end
54
+ else
55
+ s.add_dependency(%q<activerecord>, [">= 2.2.3"])
56
+ s.add_dependency(%q<shoulda>, [">= 0"])
57
+ end
58
+ end
59
+
@@ -3,7 +3,6 @@ require 'test/unit'
3
3
  require 'shoulda'
4
4
  require 'mocha'
5
5
  require 'active_record'
6
- require 'tmail'
7
6
 
8
7
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
9
8
  $LOAD_PATH.unshift(File.dirname(__FILE__))
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email-validator
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Sonnek
@@ -34,25 +34,10 @@ dependencies:
34
34
  version: 2.2.3
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: tmail
39
- prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 11
46
- segments:
47
- - 1
48
- - 2
49
- version: "1.2"
50
- type: :runtime
51
- version_requirements: *id002
52
37
  - !ruby/object:Gem::Dependency
53
38
  name: shoulda
54
39
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ requirement: &id002 !ruby/object:Gem::Requirement
56
41
  none: false
57
42
  requirements:
58
43
  - - ">="
@@ -62,7 +47,7 @@ dependencies:
62
47
  - 0
63
48
  version: "0"
64
49
  type: :development
65
- version_requirements: *id003
50
+ version_requirements: *id002
66
51
  description: validate that email attribute contains valid email
67
52
  email: ryan@socialcast.com
68
53
  executables: []
@@ -79,6 +64,7 @@ files:
79
64
  - README.rdoc
80
65
  - Rakefile
81
66
  - VERSION
67
+ - email-validator.gemspec
82
68
  - lib/email-validator.rb
83
69
  - lib/rfc822.rb
84
70
  - test/database.yml