ama_validators 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cb3fa7c5eeb3d4d975b3c778eafa0c0904beeae
4
- data.tar.gz: e5bf35ae7f41b6899eb82be1371b2e92e60cd7c9
3
+ metadata.gz: b489bd624f89d364f72259c065518a14e7e529cf
4
+ data.tar.gz: 0d5db6097790f0d8a9ca9a39c0dc4b67916f6151
5
5
  SHA512:
6
- metadata.gz: ab8951c48d3a4c1a5aa29e3c4629f30bb1dffb624ac795a30e2ef42d09d70a5ed84765bc336855cf2810ea34fb32c800d2ac9fcaf9f2d4cf6b5ab5e67e1ce9b2
7
- data.tar.gz: 2e5bf33a7ba638b27e083227dbb1287c1751d14b62a6fd6b680b63053f8739447355b17b2cb9fd85be7fad577e8c4ab44c1882a7bed0560ff71fb2fef2bf066e
6
+ metadata.gz: cf6a9dd7f796f03339d7d63d127958c12b5657c11dab18e6649e152da79b170f1ceca99a974187115844df2e1cd807b3f2d869d7ef630a3246fabd1662b299d3
7
+ data.tar.gz: 55c095d322cb989b85ad22c57125f99b02ef2d1792dff1041178d549abde0520627ca848519fd95d15214b7d569014012e9e0dd20e16b00e7994c1e009142cf5
data/.simplecov CHANGED
@@ -1,5 +1,5 @@
1
1
  SimpleCov.start do
2
2
  SimpleCov.minimum_coverage 100.0
3
3
  add_filter "/vendor"
4
- add_filter "/spec"
4
+ add_filter "/spec/factories"
5
5
  end
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
data/README.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # AmaValidators
2
2
 
3
- TODO: Write a gem description
3
+ [![Gem Version](https://badge.fury.io/rb/ama_validators.png)](http://badge.fury.io/rb/ama_validators)
4
+ [![Code Climate](https://codeclimate.com/github/amaabca/ama_validators.png)](https://codeclimate.com/github/amaabca/ama_validators)
5
+ [![Build Status](https://api.travis-ci.org/amaabca/ama_validators.png?branch=master)](https://travis-ci.org/amaabca/ama_validators)
6
+ [![Coverage Status](https://coveralls.io/repos/amaabca/ama_validators/badge.png)](https://coveralls.io/r/amaabca/ama_validators)
7
+ [![Dependency Status](https://gemnasium.com/amaabca/ama_validators.png)](https://gemnasium.com/amaabca/ama_validators)
8
+
9
+ Compile the following validators: - Credit card - Email - Membership number - Phone number - Postal code
4
10
 
5
11
  ## Installation
6
12
 
@@ -20,11 +20,12 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
- spec.add_development_dependency "rspec-rails"
23
+ spec.add_development_dependency "rspec"
24
24
  spec.add_development_dependency "rspec-instafail"
25
25
  spec.add_development_dependency "pry"
26
26
  spec.add_development_dependency "pry-debugger"
27
27
  spec.add_development_dependency "simplecov"
28
+ spec.add_development_dependency "coveralls"
28
29
  spec.add_dependency "rails", ">= 4.0.0"
29
30
 
30
31
  end
@@ -1,3 +1,3 @@
1
1
  module AmaValidators
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,5 +1,13 @@
1
1
  require 'rails/all'
2
- require 'rspec/rails'
2
+ require 'rspec'
3
3
  require 'rspec/autorun'
4
4
  require 'simplecov'
5
- require 'ama_validators'
5
+ require 'ama_validators'
6
+ require 'coveralls'
7
+ Coveralls.wear!
8
+
9
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
10
+ SimpleCov::Formatter::HTMLFormatter,
11
+ Coveralls::SimpleCov::Formatter
12
+ ]
13
+ SimpleCov.start
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_validators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Estevez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-22 00:00:00.000000000 Z
11
+ date: 2014-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec-rails
42
+ name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '>='
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: coveralls
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rails
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -133,6 +147,7 @@ files:
133
147
  - .gitignore
134
148
  - .rspec
135
149
  - .simplecov
150
+ - .travis.yml
136
151
  - Gemfile
137
152
  - LICENSE.txt
138
153
  - README.md
@@ -147,7 +162,7 @@ files:
147
162
  - lib/ama_validators/version.rb
148
163
  - spec/credit_card_format_validator_spec.rb
149
164
  - spec/email_format_validator_spec.rb
150
- - spec/factories/Profiles.rb
165
+ - spec/factories/profiles.rb
151
166
  - spec/membership_number_format_validator_spec.rb
152
167
  - spec/phone_number_format_validator_spec.rb
153
168
  - spec/postal_code_format_validator_spec.rb
@@ -181,7 +196,7 @@ summary: This gem will compile the following validators - Credit card - Email -
181
196
  test_files:
182
197
  - spec/credit_card_format_validator_spec.rb
183
198
  - spec/email_format_validator_spec.rb
184
- - spec/factories/Profiles.rb
199
+ - spec/factories/profiles.rb
185
200
  - spec/membership_number_format_validator_spec.rb
186
201
  - spec/phone_number_format_validator_spec.rb
187
202
  - spec/postal_code_format_validator_spec.rb