env_bro 0.2.0 → 0.2.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: 21f2b78d6abd4eaeaaa0b84ac0cbe8d56babd647e8423c2ea10820c9d906a28f
4
- data.tar.gz: '0518eb15e9bab022daf9e5c272fffe85d0bf5938a838223a50690ad5efc65f8d'
3
+ metadata.gz: 7e0f4f10cf7146a9eb681012ee6997b93e086ef0858eb4a9179c326a13755db0
4
+ data.tar.gz: 8f54c93bef2a98827c99666e5a2190904e177ad4e66ddc707bfdad5e24411db3
5
5
  SHA512:
6
- metadata.gz: cd24c5c8ac1ed1496281682f38a679e011f395243be0f48b6c825bad18ab0ad99812cfb15bc97024e0ad36dfdd9cf0a7b91708e064324513d0c576b38d1d6685
7
- data.tar.gz: 4f745044caedfa94055356f6d164f0ce22c8319a8ec8a653861a1aa4b17a05b6cdcf1a4426e93f893f59aa4b590a39e04dc4dbd3b414ebc4aa9a9a0de4adf3ba
6
+ metadata.gz: a255fc0ded3f7c6d40ba3cdafdae182b693bac3ff03f4b4da26bc7f70856ad39031c73289592f433309641a928308095af1136756e826280038a78d0fd9d444e
7
+ data.tar.gz: ed3dfdd120cdbf31ce180b4a63c629b3470eb5593a63a65208e6bcec84f92f191311ac405a49af9162e848d76b9821ee21c749e6704be2977896aee1844b716d
@@ -1,10 +1,8 @@
1
1
  module EnvBro
2
2
  class ApplicationController < EnvBro.config.parent_controller.constantize
3
- include BroHub::Layout
3
+ include BroHub::ControllerBase
4
4
  bro_hub_section :env_bro
5
5
 
6
- protect_from_forgery with: :exception
7
-
8
6
  before_action :env_bro_require_ssl
9
7
  before_action :env_bro_no_store
10
8
  before_action { @environment = Environment.current }
@@ -1,3 +1,3 @@
1
1
  module EnvBro
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -13,7 +13,7 @@ module EnvBro
13
13
  desc "Sets up the BroHub dashboard, adds the EnvBro initializer and copies EnvBro's migrations."
14
14
 
15
15
  def copy_initializer
16
- copy_file "env_bro.rb", "config/initializers/env_bro.rb"
16
+ copy_config_once "env_bro.rb", "config/initializers/env_bro.rb"
17
17
  end
18
18
 
19
19
  def copy_migrations
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: env_bro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruby Dev SRL
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: '0.1'
32
+ version: 0.1.2
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '0.1'
39
+ version: 0.1.2
40
40
  description: 'A mountable Rails engine: team members with permission build a re-encrypted
41
41
  credentials file with their changes and open a PR; reviewers upload the file and
42
42
  see a masked diff.'