rails_app_version 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bab0a1547a7b7c4aed17de08d9f405752942a40b6aeb6e7ad1ce5b00757de0fb
4
- data.tar.gz: ae97936999cb05c67d539681bf211313877b06a60b6ed29517f61a090e0f0d3d
3
+ metadata.gz: 93c60c97377279132e3570d95705b7c4d444515073246f9e1c28767a5d92f4df
4
+ data.tar.gz: '0707798a91a72254c575169be3ba52b3c63f263ea350a7a3b6042b7347887448'
5
5
  SHA512:
6
- metadata.gz: fee994f66b3c8b4df1ac46e7f62a3d8193200836fc71b9a004581e8dc24695a0cdcb5970513f462d920d32119e4193555b21396fe97635af04ae8c5e1739694e
7
- data.tar.gz: d643d168ad86edb3ce973dfb35cf9127ca7b014c93cd8f08fbad8c17d2f1309381cc3ee4ca8ce2c8b76f1fc3bc1bf055e068e69f84146ecafceea5f70c32cc96
6
+ metadata.gz: 2b6efa826808902f0a65a08e19a1170b9e8ffa791533e87680d0fa7179cb5e473fbc72daf8ff702d4731d005e71f391f68d0286ebab257bd8c002e995d145aa4
7
+ data.tar.gz: a7e01965696fa783a87a4b357067e4482f3d7fb09b0d5c8449bf30fc8c0ef4245fe86b2f41e6f284e6eaa254711ff86444a21ff59b8dba7a12c6489c2d83a09a
@@ -1,6 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAppVersion
4
+
5
+ Rails::Application.include AppEnvironment
6
+ Rails::Application.include AppVersion
4
7
  class Railtie < ::Rails::Railtie
5
8
  CONFIG_FILE = "app_version.yml".freeze
6
9
 
@@ -20,11 +23,6 @@ module RailsAppVersion
20
23
  print_console_banner
21
24
  end
22
25
 
23
- initializer "rails_app_version.extend_application", before: :bootstrap_hook do
24
- Rails::Application.include AppEnvironment
25
- Rails::Application.include AppVersion
26
- end
27
-
28
26
  initializer "rails_app_version.fetch_config" do |app|
29
27
  @app_config = load_config(app)
30
28
  @version = Version.create(@app_config[:version], @app_config[:revision])
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAppVersion
4
- VERSION = "1.3.1"
4
+ VERSION = "1.3.2"
5
5
 
6
6
  class Version < Gem::Version
7
7
  attr_reader :major, :minor, :patch, :pre, :revision
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_app_version
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih