phcpresspro 32.0.0 → 32.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
  SHA256:
3
- metadata.gz: 256d96845a9e485535d5102b33a3bbafb1d8ee6bc92580a8c84d4b3936bffebe
4
- data.tar.gz: b5dca2760964291c7ecb4fca4ece688b5b28c9be02163ff978e52d06aa1ec46b
3
+ metadata.gz: b2dfa4e02ad59df9ff5555e6e77d99aaea43b3cbead890ff191f8aa70cb380be
4
+ data.tar.gz: 729e42fc110615d787bd7d008786f83ca50911d7d89a4679c8adbcb46385f4d4
5
5
  SHA512:
6
- metadata.gz: e1b5f89fcca2156e31b707997725759d8f072795a534a6e41ab6a88d90c30e75daefc4d50514440c4b868587efbe0f0c797ae2f05637d055a9953d3ca98ad343
7
- data.tar.gz: 9e2fd9b33b84156025891ee4c3cfc0cc5281ad479295ed43d87f6c3e0b27779857645d20c45473cb45779ec1019f6faa92b4c36cd39612c3f6333e2adb246318
6
+ metadata.gz: be21a26a6209d1e22b4d180eab7acd901e3c5570d67c32dcfd58288e395230627a360dfb52811f3e3db46dfab880715be0c4a070823b94b1a130f52e29bd1428
7
+ data.tar.gz: 6ec2d71fe921a4870a64af1dec4ce8e98d3777ba833aa5bbc9c09d4a0402b85d88b51394f2997c06f9eb7fc95eb5597b11c654b6f07e38f2d3bfd3ab8f66d10e
@@ -2,8 +2,8 @@ module Phcpresspro
2
2
  class Engine < ::Rails::Engine
3
3
 
4
4
  # Main Dependencies
5
- require 'phcaccountspro'
6
5
  require 'paper_trail'
6
+ require 'phcaccountspro'
7
7
 
8
8
  # PHCEngines & Theme Dependencies
9
9
  require 'phcnotifi'
@@ -29,6 +29,9 @@ module Phcpresspro
29
29
  require 'multi_json'
30
30
  require 'responders'
31
31
 
32
+ # Clean URLS
33
+ require 'friendly_id'
34
+
32
35
  # WYSIWYG Editor Dependencies
33
36
  require 'tinymce-rails'
34
37
 
@@ -39,7 +42,7 @@ module Phcpresspro
39
42
  # Isolate Namespace
40
43
  isolate_namespace Phcpresspro
41
44
 
42
- # Testing Generator
45
+ # Testing Generator
43
46
  config.generators do |g|
44
47
  g.test_framework :rspec,
45
48
  fixtures: true,
@@ -48,15 +51,19 @@ module Phcpresspro
48
51
  routing_specs: false,
49
52
  controller_specs: true,
50
53
  request_specs: false
51
- g.fixture_replacement :factory_girl, dir: "spec/factories"
54
+ g.fixture_replacement :factory_bot, dir: "spec/factories"
52
55
  end
53
56
 
54
57
  # Load Requried Helper Files
55
58
  config.to_prepare do
56
- ApplicationController.helper(Phcaccountspro::ApplicationHelper)
57
59
  Phcnotifi::ApplicationController.helper(ApplicationHelper)
58
60
  Phctitleseo::ApplicationController.helper(ApplicationHelper)
59
61
  end
60
62
 
63
+ # Load Language Files
64
+ config.before_initialize do
65
+ config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
66
+ end
67
+
61
68
  end
62
69
  end
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "32.0.0"
2
+ VERSION = "32.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 32.0.0
4
+ version: 32.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts