validates_formatting_of 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  # validates_formatting_of [![Build Status](https://secure.travis-ci.org/mattdbridges/validates_formatting_of.png)](http://travis-ci.org/mattdbridges/validates_formatting_of)
2
2
 
3
- The `validates_formatting_of` gem addess several convenient methods to validating things such as emails, urls, and phones in a Rails application.
3
+ The `validates_formatting_of` gem adds several convenient methods to validate things such as emails, urls, and phone numbers in a Rails application.
4
4
 
5
5
  # Installation
6
6
 
@@ -1,3 +1,3 @@
1
1
  module ValidatesFormattingOf
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -4,8 +4,8 @@ require File.expand_path('../lib/validates_formatting_of/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Matt Bridges"]
6
6
  gem.email = ["mbridges.91@gmail.com"]
7
- gem.description = %q{Common Rails validations for different types of data}
8
- gem.summary = %q{Adds common data validations to save development time. (i.e. phone and url)}
7
+ gem.description = %q{Common Rails validations wrapped in a gem.}
8
+ gem.summary = %q{Adds several convenient methods to validate things such as emails, urls, and phone numbers in a Rails application}
9
9
  gem.homepage = "https://github.com/mattdbridges/validates_formatting_of"
10
10
 
11
11
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -15,7 +15,9 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = ValidatesFormattingOf::VERSION
17
17
 
18
- gem.add_development_dependency "rake"
19
- gem.add_development_dependency "rspec"
20
- gem.add_development_dependency "supermodel"
18
+ gem.add_dependency "rails", ">= 3.0.0"
19
+
20
+ gem.add_development_dependency "rake", "0.9.2"
21
+ gem.add_development_dependency "rspec", "2.7.0"
22
+ gem.add_development_dependency "supermodel", "0.1.6"
21
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_formatting_of
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,39 +12,50 @@ cert_chain: []
12
12
  date: 2011-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rake
16
- requirement: &70275563895740 !ruby/object:Gem::Requirement
15
+ name: rails
16
+ requirement: &70294270491100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 3.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70294270491100
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &70294270490520 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - =
31
+ - !ruby/object:Gem::Version
32
+ version: 0.9.2
22
33
  type: :development
23
34
  prerelease: false
24
- version_requirements: *70275563895740
35
+ version_requirements: *70294270490520
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: rspec
27
- requirement: &70275563895280 !ruby/object:Gem::Requirement
38
+ requirement: &70294270490000 !ruby/object:Gem::Requirement
28
39
  none: false
29
40
  requirements:
30
- - - ! '>='
41
+ - - =
31
42
  - !ruby/object:Gem::Version
32
- version: '0'
43
+ version: 2.7.0
33
44
  type: :development
34
45
  prerelease: false
35
- version_requirements: *70275563895280
46
+ version_requirements: *70294270490000
36
47
  - !ruby/object:Gem::Dependency
37
48
  name: supermodel
38
- requirement: &70275563894780 !ruby/object:Gem::Requirement
49
+ requirement: &70294270489500 !ruby/object:Gem::Requirement
39
50
  none: false
40
51
  requirements:
41
- - - ! '>='
52
+ - - =
42
53
  - !ruby/object:Gem::Version
43
- version: '0'
54
+ version: 0.1.6
44
55
  type: :development
45
56
  prerelease: false
46
- version_requirements: *70275563894780
47
- description: Common Rails validations for different types of data
57
+ version_requirements: *70294270489500
58
+ description: Common Rails validations wrapped in a gem.
48
59
  email:
49
60
  - mbridges.91@gmail.com
50
61
  executables: []
@@ -91,7 +102,8 @@ rubyforge_project:
91
102
  rubygems_version: 1.8.10
92
103
  signing_key:
93
104
  specification_version: 3
94
- summary: Adds common data validations to save development time. (i.e. phone and url)
105
+ summary: Adds several convenient methods to validate things such as emails, urls,
106
+ and phone numbers in a Rails application
95
107
  test_files:
96
108
  - spec/spec_helper.rb
97
109
  - spec/validates_formatting_of/model_additions_spec.rb