rails-env-credentials 0.1.0 → 0.1.1
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 +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +14 -0
- data/gemfiles/rails_edge.gemfile +7 -0
- data/lib/rails_env_credentials/railtie.rb +2 -1
- data/lib/rails_env_credentials/version.rb +1 -1
- data/rails-env-credentials.gemspec +1 -0
- metadata +16 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d78adffc34dff2155539ea82f80c48473b7bc7a6eb727cc2eb9f80e980a1fd69
|
4
|
+
data.tar.gz: d0b9157de3b987a3ed45167790205c1a843f7b49fcfd05e5d8fb693346848b7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4aa859a411576964f9663d8207404e238cc5c85620396a0622bb6b76957978b7c7ffe8959e8077fe1eb3be3150e24c4f3ef490f720dd90a7a45e832d3fd6799
|
7
|
+
data.tar.gz: 2bc47ca19aa56f05e25b6791cd2b027888f238174900c67bc6b93f2472ce16cf4ba2ff329323c9c2080d59a4186a6cfd4a78aac292e961be6b3027e7edc4487a
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -2,4 +2,18 @@ sudo: false
|
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
4
|
- 2.5.0
|
5
|
+
- 2.4.2
|
6
|
+
- ruby-head
|
7
|
+
gemfile:
|
8
|
+
- Gemfile
|
9
|
+
- gemfiles/rails_edge.gemfile
|
10
|
+
matrix:
|
11
|
+
allow_failures:
|
12
|
+
- rvm: ruby-head
|
13
|
+
- gemfile: gemfiles/rails_edge.gemfile
|
5
14
|
before_install: gem install bundler -v 1.16.1
|
15
|
+
cache: bundler
|
16
|
+
notifications:
|
17
|
+
email:
|
18
|
+
on_success: never
|
19
|
+
on_failure: change
|
@@ -3,7 +3,8 @@
|
|
3
3
|
module RailsEnvCredentials
|
4
4
|
class Railtie < ::Rails::Railtie
|
5
5
|
initializer 'rails-env-credentials' do
|
6
|
-
Rails::
|
6
|
+
is_credentials_command = Rails::Command.const_defined?(:CredentialsCommand) && !Rails::Command.const_defined?(:EnvCredentialsCommand)
|
7
|
+
Rails::Application.prepend(CredentialsOverwrite) unless is_credentials_command
|
7
8
|
end
|
8
9
|
end
|
9
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-env-credentials
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sinsoku
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description: It enhances the credentials configuration introduced by Rails v5.2.0
|
70
84
|
email:
|
71
85
|
- sinsoku.listy@gmail.com
|
@@ -87,6 +101,7 @@ files:
|
|
87
101
|
- config/environments/production.rb
|
88
102
|
- config/environments/staging.rb
|
89
103
|
- config/environments/test.rb
|
104
|
+
- gemfiles/rails_edge.gemfile
|
90
105
|
- lib/rails-env-credentials.rb
|
91
106
|
- lib/rails/commands/env_credentials_command.rb
|
92
107
|
- lib/rails_env_credentials.rb
|