eac_rails_base0 0.41.0 → 0.42.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
  SHA256:
3
- metadata.gz: e4026b61a6fa5a4fd0012866b4a2255a7f5f65f7651f72b045a565f096d1cc63
4
- data.tar.gz: a6cedd421494cfbb4bc4192fb7678a9175441791d728619b4bfa11c9235adc98
3
+ metadata.gz: 2dfe41c74d2c63abd7671d2908df5d8e867da042bdd08aa16e875b93e1cebecc
4
+ data.tar.gz: 9f1ae98abd00036b2ea2ff0d9cc5aa927531d6d41d1742ba914c67bc4c5c16b2
5
5
  SHA512:
6
- metadata.gz: 18580bdecc9577a67c0f5003ff1da2318731a9d001c31d75675455ac51fbf94d59dacae3acab99a72e7d75357b470f6a30322680f0067b7a799e9b0164c8c3cd
7
- data.tar.gz: 2d2b9fb4b544a1dc0da348564200b3a731e17ebff6b00fa81bd20c06d5648d14a9b68b3fa621eaaeb77fe50c7a8a7ccca2b923640d09904870094f7955005af0
6
+ metadata.gz: 60a69ef0a2af3f37434c064db0b692246b19cd12aa1a1f8fb85d6133996a3995a55b8ecdfbef4c13a59b046edfb03db59cf4fa34ecbe103a0f9c2049f859bdc4
7
+ data.tar.gz: c75232790707c6343cd1f258e44d5122dc69ab4375a8f6ff144fa232761772d4a052d85ff7a2a238544a17c3b12b00745f1e125c3d8e02c4a80dcf683512e98a
@@ -53,5 +53,11 @@ module EacRailsBase0App
53
53
 
54
54
  migrate_deprecated_dir = ::Rails.root.join('db', 'migrate_deprecated')
55
55
  config.paths['db/migrate'] << migrate_deprecated_dir if migrate_deprecated_dir.directory?
56
+
57
+ if ::Rails.env.development?
58
+ require 'letter_opener'
59
+ config.action_mailer.delivery_method = :letter_opener
60
+ config.action_mailer.perform_deliveries = true
61
+ end
56
62
  end
57
63
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.41.0'
4
+ VERSION = '0.42.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-22 00:00:00.000000000 Z
11
+ date: 2020-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold
@@ -591,7 +591,6 @@ files:
591
591
  - config/initializers/carrier_wave.rb
592
592
  - config/initializers/cookies_serializer.rb
593
593
  - config/initializers/filter_parameter_logging.rb
594
- - config/initializers/letter_opener.rb
595
594
  - config/initializers/mime_types.rb
596
595
  - config/initializers/patches.rb
597
596
  - config/initializers/pg_deprecated_constants.rb
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- if ::Rails.env.development?
4
- require 'letter_opener'
5
- ::Rails.application.config.action_mailer.delivery_method = :letter_opener
6
- ::Rails.application.config.action_mailer.perform_deliveries = true
7
- end