model_error_messages 1.0.0 → 1.0.1

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: bb46994646e4355347eb467e290653f77c7f4315
4
- data.tar.gz: 5f0d440fbfa857ac32c245d5d641a4dbc7b3ef54
3
+ metadata.gz: b9c90e564f39abb63f5c6832858e7f6962457a3c
4
+ data.tar.gz: c8b6625297972e405092859761cfb85df5a84a33
5
5
  SHA512:
6
- metadata.gz: 7cc6ba2d96f6c7e8b28468beaa9c7908ea8019dc4b802061a4ca62a17a2c71de488997ee44de37a9cde7e28db9df4ff99eee10ca93a43bfaeb1304f9f065c980
7
- data.tar.gz: 5839e44fb3b65d8e0109d24dbca1def1bb4729ed8c14b88514e2fa2b7e40a48917be5c1885667fa25ae69e0845ef15b9e5c819e221824f588521a7b6f00283b2
6
+ metadata.gz: f11e4261a820cb5b2bb25062ab731637b4e2b11b206faae1b2deaddd35d02be8066d8ede47b7b0dea1d92fa9e9c4ba57bdd03ac65a5f1999b02f55cc7b4dfde2
7
+ data.tar.gz: c3834ad68db48d76afc1d1234aed750fd90304b97986065a649d95dda4e2f060bb63dd5808762b6fda9da378165234b7dbf79d5c3df2ac96b21763bfb67e3e5c
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.5
4
+ - 2.3.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- model_error_messages (1.0.0)
4
+ model_error_messages (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -181,6 +181,7 @@ DEPENDENCIES
181
181
  guard-rubocop (~> 1.2)
182
182
  model_error_messages!
183
183
  rails (~> 5.0)
184
+ rake (~> 11.3)
184
185
  rb-fchange (~> 0)
185
186
  rb-fsevent (~> 0.9)
186
187
  rb-inotify (~> 0.9)
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Model Error Messages
2
2
 
3
+ [![Build Status](https://secure.travis-ci.org/christophemaximin/model_error_messages.png)](https://travis-ci.org/christophemaximin/model_error_messages)
4
+ [![Gem version](https://badge.fury.io/rb/model_error_messages.png)](https://rubygems.org/gems/model_error_messages)
5
+
3
6
  A simple Rails helper which displays a HTML div with the validation errors attached to a model.
4
7
 
5
8
  ## Install
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ require 'rspec/core/rake_task'
2
+ RSpec::Core::RakeTask.new('spec')
3
+
4
+ desc 'Run tests'
5
+ task :default => [:spec]
@@ -2,7 +2,7 @@ module ModelErrorMessages
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.platform = Gem::Platform::RUBY
16
16
 
17
+ s.add_development_dependency 'rake', '~> 11.3'
17
18
  s.add_development_dependency 'rspec', '~> 3.5'
18
19
  s.add_development_dependency 'guard-rspec', '~> 4.7'
19
20
  s.add_development_dependency 'guard-rubocop', '~> 1.2'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_error_messages
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christophe Maximin
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '11.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '11.3'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rspec
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -117,11 +131,13 @@ files:
117
131
  - ".gitignore"
118
132
  - ".rspec"
119
133
  - ".rubocop.yml"
134
+ - ".travis.yml"
120
135
  - Gemfile
121
136
  - Gemfile.lock
122
137
  - Guardfile
123
138
  - LICENSE
124
139
  - README.md
140
+ - Rakefile
125
141
  - lib/model_error_messages.rb
126
142
  - lib/model_error_messages/configuration.rb
127
143
  - lib/model_error_messages/helpers.rb