evelpidon_validators 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Evelpidon Validators changelog
2
2
 
3
+ ## 0.4.4 / 2013-06-18
4
+
5
+ * Test numbers are considered valid in all Rails environments except production.
6
+ * Internal gem configuration changes.
7
+
3
8
  ## 0.4.3 / 2012-01-16
4
9
 
5
10
  * Fixed bug with validation raising an error if number is nil.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source 'http://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in evelpidon_validators.gemspec
4
4
  gemspec
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.name = "evelpidon_validators"
7
7
  s.version = EvelpidonValidators::VERSION
8
8
  s.authors = ["Nikos Dimitrakopoulos", "Eric Cohen"]
9
- s.email = ["n.dimitrakopoulos@pamediakopes.gr", "e.koen@pamediakopes.gr"]
9
+ s.email = ["n.dimitrakopoulos@pamediakopes.gr", "eirc.eirc@gmail.com"]
10
10
  s.homepage = ""
11
11
  s.summary = %q{Useful ActiveModel validators}
12
12
  s.description = %q{Useful ActiveModel validators with ClientSideValidations support.}
@@ -1,6 +1,6 @@
1
1
  require 'credit_card_validator'
2
2
 
3
- if defined?(Rails) && Rails.env == 'development'
3
+ if defined?(Rails) && !Rails.env.production?
4
4
  ::CreditCardValidator::Validator.options[:test_numbers_are_valid] = true
5
5
  end
6
6
 
@@ -1,3 +1,3 @@
1
1
  module EvelpidonValidators
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evelpidon_validators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-17 00:00:00.000000000 Z
13
+ date: 2013-06-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
- requirement: &7759920 !ruby/object:Gem::Requirement
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,15 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *7759920
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
26
31
  - !ruby/object:Gem::Dependency
27
32
  name: activesupport
28
- requirement: &7759480 !ruby/object:Gem::Requirement
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  none: false
30
35
  requirements:
31
36
  - - ! '>='
@@ -33,10 +38,15 @@ dependencies:
33
38
  version: '0'
34
39
  type: :development
35
40
  prerelease: false
36
- version_requirements: *7759480
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
37
47
  - !ruby/object:Gem::Dependency
38
48
  name: evelpidon_test_helpers
39
- requirement: &7759040 !ruby/object:Gem::Requirement
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  none: false
41
51
  requirements:
42
52
  - - ! '>='
@@ -44,10 +54,15 @@ dependencies:
44
54
  version: '0'
45
55
  type: :development
46
56
  prerelease: false
47
- version_requirements: *7759040
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
48
63
  - !ruby/object:Gem::Dependency
49
64
  name: test-unit
50
- requirement: &7758620 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
51
66
  none: false
52
67
  requirements:
53
68
  - - ! '>='
@@ -55,10 +70,15 @@ dependencies:
55
70
  version: '0'
56
71
  type: :development
57
72
  prerelease: false
58
- version_requirements: *7758620
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
59
79
  - !ruby/object:Gem::Dependency
60
80
  name: activemodel
61
- requirement: &7758200 !ruby/object:Gem::Requirement
81
+ requirement: !ruby/object:Gem::Requirement
62
82
  none: false
63
83
  requirements:
64
84
  - - ! '>='
@@ -66,10 +86,15 @@ dependencies:
66
86
  version: '0'
67
87
  type: :runtime
68
88
  prerelease: false
69
- version_requirements: *7758200
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
70
95
  - !ruby/object:Gem::Dependency
71
96
  name: credit_card_validator
72
- requirement: &7757720 !ruby/object:Gem::Requirement
97
+ requirement: !ruby/object:Gem::Requirement
73
98
  none: false
74
99
  requirements:
75
100
  - - ! '>='
@@ -77,11 +102,16 @@ dependencies:
77
102
  version: '0'
78
103
  type: :runtime
79
104
  prerelease: false
80
- version_requirements: *7757720
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
81
111
  description: Useful ActiveModel validators with ClientSideValidations support.
82
112
  email:
83
113
  - n.dimitrakopoulos@pamediakopes.gr
84
- - e.koen@pamediakopes.gr
114
+ - eirc.eirc@gmail.com
85
115
  executables: []
86
116
  extensions: []
87
117
  extra_rdoc_files: []
@@ -125,16 +155,28 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
155
  - - ! '>='
126
156
  - !ruby/object:Gem::Version
127
157
  version: '0'
158
+ segments:
159
+ - 0
160
+ hash: 692248226337988979
128
161
  required_rubygems_version: !ruby/object:Gem::Requirement
129
162
  none: false
130
163
  requirements:
131
164
  - - ! '>='
132
165
  - !ruby/object:Gem::Version
133
166
  version: '0'
167
+ segments:
168
+ - 0
169
+ hash: 692248226337988979
134
170
  requirements: []
135
171
  rubyforge_project: evelpidon_validators
136
- rubygems_version: 1.8.10
172
+ rubygems_version: 1.8.25
137
173
  signing_key:
138
174
  specification_version: 3
139
175
  summary: Useful ActiveModel validators
140
- test_files: []
176
+ test_files:
177
+ - test/associated_test.rb
178
+ - test/credit_card_test.rb
179
+ - test/different_test.rb
180
+ - test/greater_test.rb
181
+ - test/less_test.rb
182
+ - test/test_helper.rb