jt-rails-toolbox 2.6.0 → 2.7.0

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: 00b7892b7343bd226ac1e3c7e89ed22c32e2757e
4
- data.tar.gz: 2e8dc6f8e710c5013935f70f94634f78f31f74e4
3
+ metadata.gz: 97e2dbd59acb97b97f28920916525d6df0884ffa
4
+ data.tar.gz: df38c9555b4792da010e449bc59f30457f530fda
5
5
  SHA512:
6
- metadata.gz: 70baf3e2d64203762ccbd904764f9299b832fe5863795bc632ecbedb6e32037212b4adff9d0b0d61e74dad43acd83024511d83fef1b85fcb633bef1351dc94de
7
- data.tar.gz: 467df83f59dbc7fb29b3df27e37b430edfd7f94aa44d4dab24bcc6dd3e6ead9c33cb2805ff8e2e7678e40d47279b1e1b2f6b6ded384cea9f9da6ed0ba73fc639
6
+ metadata.gz: 3c6f9176ad1459557f4cb480ce3fe892bb84ace582719bc10328f09e9c5feedc6724d79b6cdf965e60a93ac9c89c4fc4c16712ec4a0502357961365b1e4b06f8
7
+ data.tar.gz: 5c8b29c5ddce8f59bbe52b3176c52e3712fab44d78ad97f7a4df2a32b0feb667befc173f78fe68c0fabc9b3ab28becbb395741c40edfe1d3141e4fccd07ec6c1
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  *.gem
2
+ pkg
2
3
  .DS_Store
data/README.md CHANGED
@@ -69,6 +69,7 @@ send notifications when errors occur (email, slack)
69
69
  - [jt-rails-tokenizable](https://github.com/jonathantribouharet/jt-rails-tokenizable) Generate tokens for ActiveRecord models
70
70
  - [jt-rails-address](https://github.com/jonathantribouharet/jt-rails-address) Helpers for addresses / geolocation management
71
71
  - [jt-rails-enum](https://github.com/jonathantribouharet/jt-rails-enum) Enum in models
72
+ - [validates_timeliness](https://github.com/adzap/validates_timeliness) Date and time validation plugin for ActiveModel
72
73
  - simplified configuration of hostnames and `ActionMailer` with a YAML file
73
74
  - some helper methods
74
75
 
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.summary = "Common libs used for Ruby On Rails development."
4
4
  s.description = "JTRailsToolbox contains a list of common libs used for Ruby On Rails development."
5
5
  s.homepage = 'https://github.com/jonathantribouharet/jt-rails-toolbox'
6
- s.version = '2.6.0'
6
+ s.version = '2.7.0'
7
7
  s.files = `git ls-files`.split("\n")
8
8
  s.require_paths = ['lib']
9
9
  s.authors = ['Jonathan TRIBOUHARET']
@@ -34,4 +34,5 @@ Gem::Specification.new do |s|
34
34
 
35
35
  s.add_dependency('oj')
36
36
  s.add_dependency('oj_mimic_json')
37
+ s.add_dependency('validates_timeliness', '~> 4.0')
37
38
  end
@@ -11,6 +11,7 @@ require 'jt-rails-address'
11
11
  require 'jt-rails-enum'
12
12
  require 'oj'
13
13
  require 'oj_mimic_json'
14
+ require 'validates_timeliness'
14
15
 
15
16
  require 'yaml'
16
17
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jt-rails-toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan TRIBOUHARET
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-10 00:00:00.000000000 Z
11
+ date: 2017-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -262,6 +262,20 @@ dependencies:
262
262
  - - '>='
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: validates_timeliness
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ~>
270
+ - !ruby/object:Gem::Version
271
+ version: '4.0'
272
+ type: :runtime
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ~>
277
+ - !ruby/object:Gem::Version
278
+ version: '4.0'
265
279
  description: JTRailsToolbox contains a list of common libs used for Ruby On Rails
266
280
  development.
267
281
  email: jonathan.tribouharet@gmail.com