jt-rails-toolbox 2.3.1 → 2.4.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: abd2db8bb1d891d746747b3404a49a36408b108f
4
- data.tar.gz: 87c2f95fb013ab3d7d1c9705188ef95995ed7b99
3
+ metadata.gz: af9ad1e5101d9c1c6527b9e12d2a01dc7aede2ff
4
+ data.tar.gz: f4f9e959c59bd889d32592cc2c67ba379e877b85
5
5
  SHA512:
6
- metadata.gz: 104488f54e79cbe5e86b6a0dfbbfc42b1da0760082249702ed114309990dc41f3865a90a747621094ee8b24429e0e0e9d575011e017454dc97071f5896bed2dc
7
- data.tar.gz: 9211529555a5a9d61905a7bc67b0fb9e93382f3b93108f8cc45b6bf4bde9ba404a973fde7b8509312b60bd54bbcac878875395b18cd970045cfc4c01b31367ee
6
+ metadata.gz: 1ad320129464405368534ba8694e9f52f57d04f58016e828fe276957f79289831cbaa7df9b4b493879487a726710e5f18ad0cb1f761532cfae85daabe801dc0e
7
+ data.tar.gz: df421a15ab71b633eb690f6ede7a4bed0e5a147d1794a1b711392c98429f37fae5cbcc902492e77535a5dd68f92f22b1a90b8687ab45f819f8163fd131ffc71f
data/README.md CHANGED
@@ -22,7 +22,7 @@ A simple configuration of `jt-toolbox.yml` file:
22
22
  production:
23
23
  exception:
24
24
  airbrake:
25
- project_host: "https://errbit.example.com"
25
+ host: "https://errbit.example.com"
26
26
  project_id: 1
27
27
  project_key: 12345678901234567890
28
28
  slack:
@@ -62,6 +62,7 @@ send notifications when errors occur (email, slack)
62
62
  - [paperclip](https://github.com/thoughtbot/paperclip), manage file upload
63
63
  - [sidekiq](https://github.com/mperham/sidekiq), manage background jobs
64
64
  - [validates_email_format_of](https://github.com/validates-email-format-of/validates_email_format_of), who doesn't need to validate email format?
65
+ - [validates_phone_format_of](https://github.com/jonathantribouharet/validates_phone_format_of), validate phone against E.164 format
65
66
  - [rails-i18n](https://github.com/svenfuchs/rails-i18n) Default locale data
66
67
  - [jt-rails-meta](https://github.com/jonathantribouharet/jt-rails-meta) Manage HTML meta tags
67
68
  - [jt-rails-generator-user](https://github.com/jonathantribouharet/jt-rails-generator-user) Generate a scaffold for user authentication
@@ -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.3.1'
6
+ s.version = '2.4.0'
7
7
  s.files = `git ls-files`.split("\n")
8
8
  s.require_paths = ['lib']
9
9
  s.authors = ['Jonathan TRIBOUHARET']
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  s.add_dependency('paperclip', '~> 5.0')
23
23
  s.add_dependency('validates_email_format_of', '~> 1.6')
24
+ s.add_dependency('validates_phone_format_of', '~> 1.0')
24
25
  s.add_dependency('rails-i18n', '~> 5.0')
25
26
  s.add_dependency('jt-rails-meta', '~> 1.0')
26
27
  s.add_dependency('jt-rails-generator-user', '~> 1.0')
@@ -13,7 +13,7 @@
13
13
  # production:
14
14
  # exception:
15
15
  # airbrake:
16
- # project_host: "https://errbit.example.com"
16
+ # host: "https://errbit.example.com"
17
17
  # project_id: 1
18
18
  # project_key: 12345678901234567890
19
19
  # slack:
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.3.1
4
+ version: 2.4.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: 2016-11-28 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.6'
111
+ - !ruby/object:Gem::Dependency
112
+ name: validates_phone_format_of
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '1.0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '1.0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: rails-i18n
113
127
  requirement: !ruby/object:Gem::Requirement