pretty_validation 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a7a399de62c322c953c66ab905d303ba5e3a8ca
4
- data.tar.gz: 9aff5cdff6ac4400dc7420ea60c7e6daf142f4ca
3
+ metadata.gz: fda915b9b6ed9d477e8c294ce3e206725bae23d9
4
+ data.tar.gz: 89b1e6901617d3695c8196e9fbf155e0be025457
5
5
  SHA512:
6
- metadata.gz: b0a7112a9f57643e6c7d1756527a94810dcb4167add692a1a4fa1f446d1bd3210b26ed5a1cbcbd616fe77a8159d5dfec0715c31cd8402772009af571caaa694f
7
- data.tar.gz: 89d5650ba05f43a1991ae4241abcb1adfebc3af78b3dbaff941436e03aa5877fd92a45e0f3429aaa532a40f42c0311517e9950c2051890f27e47b100ae3515ec
6
+ metadata.gz: 056595519659cd5f8a9b6edc56a300eaa323052a7cd37f6999b5b2f781cf2214bfb3492438ae03b337a9092ce64943b69096a83079e259718a964b00f066c93f
7
+ data.tar.gz: 398fec36686d4fa7c235a6a12c308e7f101262936eb0b1116236c54c2c0cd4893e8d97aab901146fa2f669400e92552e11631552918f6175a0a2ac5d29e6500f
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # PrettyValidation
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/pretty_validation.svg)](https://badge.fury.io/rb/pretty_validation)
3
4
  [![Build Status](https://travis-ci.org/sinsoku/pretty_validation.svg?branch=master)](https://travis-ci.org/sinsoku/pretty_validation)
5
+ [![Code Climate](https://codeclimate.com/github/sinsoku/pretty_validation/badges/gpa.svg)](https://codeclimate.com/github/sinsoku/pretty_validation)
6
+ [![Test Coverage](https://codeclimate.com/github/sinsoku/pretty_validation/badges/coverage.svg)](https://codeclimate.com/github/sinsoku/pretty_validation/coverage)
4
7
 
5
8
  **"Make validations DRY"**
6
9
 
@@ -3,3 +3,5 @@ source 'https://rubygems.org'
3
3
  gem 'rails', '~> 4.2.0'
4
4
 
5
5
  gemspec :path => '../'
6
+
7
+ gem 'codeclimate-test-reporter'
@@ -3,7 +3,7 @@ original_db_dump = tasks.delete 'db:_dump'
3
3
 
4
4
  namespace :validation do
5
5
  desc 'Generate validations from database schema'
6
- task :generate do
6
+ task generate: :environment do
7
7
  require 'pretty_validation/renderer'
8
8
  PrettyValidation::Renderer.generate
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module PrettyValidation
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_validation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sinsoku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2015-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails