jt-rails-toolbox 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jt-rails-toolbox.gemspec +1 -1
- data/lib/jt-rails-toolbox.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7a38a4b48aa7a0ebeae62e39ea779e4dd3185f6
|
4
|
+
data.tar.gz: 07e71be0bc4275e67343c5ac37e4adb31ce5a26e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be1fa5274efd9d1f364dd0a985850a861fac60eba9453ac0f53f43ac58cd36db2e0d3cfb661aa019193cf330c1baae2bf1c11eb18acb552c797279484f8a7d38
|
7
|
+
data.tar.gz: c7247c272ba29899e8ec6ac627f97b8858b53131d181ed810c03b26b02a8c20c5a31c2e0ad2a16a9703c090910f16a897764e05b85a4d914bb42694b8c6864df
|
data/jt-rails-toolbox.gemspec
CHANGED
@@ -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 = '1.0.
|
6
|
+
s.version = '1.0.3'
|
7
7
|
s.files = `git ls-files`.split("\n")
|
8
8
|
s.require_paths = ['lib']
|
9
9
|
s.authors = ['Jonathan TRIBOUHARET']
|
data/lib/jt-rails-toolbox.rb
CHANGED
@@ -4,6 +4,10 @@ require 'sidekiq'
|
|
4
4
|
require 'validates_email_format_of'
|
5
5
|
require 'rails_i18n'
|
6
6
|
|
7
|
+
if Rails.env.development?
|
8
|
+
require 'quiet_assets'
|
9
|
+
end
|
10
|
+
|
7
11
|
require 'exception_notification/rails'
|
8
12
|
require 'exception_notification/sidekiq'
|
9
13
|
|
@@ -17,10 +21,6 @@ module JTRailsToolbox
|
|
17
21
|
if ::File.exists?('config/jt-toolbox.yml')
|
18
22
|
load_params(app)
|
19
23
|
|
20
|
-
if Rails.env.development?
|
21
|
-
require 'quiet_assets'
|
22
|
-
end
|
23
|
-
|
24
24
|
configure_exception_notification(app)
|
25
25
|
configure_mail(app)
|
26
26
|
configure_paperclip(app)
|