ama_validators 0.0.1 → 0.0.2

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: f992cedbd73f6a7d0a87e10c5db60808195b3d29
4
- data.tar.gz: 6b75d4570ac716d663d4a13126c90a7a82d12e52
3
+ metadata.gz: 5cb3fa7c5eeb3d4d975b3c778eafa0c0904beeae
4
+ data.tar.gz: e5bf35ae7f41b6899eb82be1371b2e92e60cd7c9
5
5
  SHA512:
6
- metadata.gz: 05517d720600d56e2835127a0b3dd03ff125098d44a2eb6541110652c54d2806946e8c98a995bb0486d939a01b382cc53e4523b4583ac15908f7e6b9f2211b63
7
- data.tar.gz: a6581312f978fc4f614421c43e2c652f972ec8a51ae8d88f9682f6c826e2deaa3bf52ab4a9b0f3ad09795884ea2ce247d7dea8f09335856c75eb0cf98eefcfaf
6
+ metadata.gz: ab8951c48d3a4c1a5aa29e3c4629f30bb1dffb624ac795a30e2ef42d09d70a5ed84765bc336855cf2810ea34fb32c800d2ac9fcaf9f2d4cf6b5ab5e67e1ce9b2
7
+ data.tar.gz: 2e5bf33a7ba638b27e083227dbb1287c1751d14b62a6fd6b680b63053f8739447355b17b2cb9fd85be7fad577e8c4ab44c1882a7bed0560ff71fb2fef2bf066e
data/.rspec CHANGED
@@ -1,4 +1,4 @@
1
1
  --color
2
2
  --require spec_helper
3
3
  --require rspec/instafail
4
- --format RSpec::Instafail
4
+ --format documentation
@@ -0,0 +1,5 @@
1
+ SimpleCov.start do
2
+ SimpleCov.minimum_coverage 100.0
3
+ add_filter "/vendor"
4
+ add_filter "/spec"
5
+ end
data/Rakefile CHANGED
@@ -1 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ desc "Run all tests"
5
+ RSpec::Core::RakeTask.new(:spec)
6
+
7
+ task default: :spec
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "rspec-instafail"
25
25
  spec.add_development_dependency "pry"
26
26
  spec.add_development_dependency "pry-debugger"
27
+ spec.add_development_dependency "simplecov"
27
28
  spec.add_dependency "rails", ">= 4.0.0"
28
29
 
29
30
  end
@@ -1,3 +1,3 @@
1
1
  module AmaValidators
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'factories/profiles.rb'
3
2
 
4
3
  describe CreditCardFormatValidator do
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'factories/profiles.rb'
3
2
 
4
3
  describe EmailFormatValidator do
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'factories/profiles.rb'
3
2
 
4
3
  describe MembershipNumberFormatValidator do
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'factories/profiles.rb'
3
2
 
4
3
  describe PhoneNumberFormatValidator do
@@ -1,4 +1,3 @@
1
- require 'spec_helper'
2
1
  require 'factories/profiles.rb'
3
2
 
4
3
  describe PostalCodeFormatValidator do
@@ -1,5 +1,5 @@
1
1
  require 'rails/all'
2
2
  require 'rspec/rails'
3
3
  require 'rspec/autorun'
4
-
4
+ require 'simplecov'
5
5
  require 'ama_validators'
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.1
4
+ version: 0.0.2
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-21 00:00:00.000000000 Z
11
+ date: 2014-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rails
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -118,6 +132,7 @@ extra_rdoc_files: []
118
132
  files:
119
133
  - .gitignore
120
134
  - .rspec
135
+ - .simplecov
121
136
  - Gemfile
122
137
  - LICENSE.txt
123
138
  - README.md