Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venjob
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Huỳnh Thiên Phước
venjob
Commits
4fc05e8f
Commit
4fc05e8f
authored
Aug 24, 2020
by
Huỳnh Thiên Phước
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mentor's comment about .gitignore
parent
3ed5edd3
Pipeline
#994
canceled with stages
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
13 deletions
+2
-13
.gitignore
+1
-3
config/application.rb
+1
-1
config/local_env.gitignore.yml
+0
-9
No files found.
.gitignore
View file @
4fc05e8f
...
@@ -30,6 +30,4 @@
...
@@ -30,6 +30,4 @@
# Ignore master key for decrypting credentials and more.
# Ignore master key for decrypting credentials and more.
/config/master.key
/config/master.key
config/settings.local.yml
config/local_env.yml
config/settings/*.local.yml
config/environments/*.local.yml
config/application.rb
View file @
4fc05e8f
...
@@ -11,7 +11,7 @@ module Venjob
...
@@ -11,7 +11,7 @@ module Venjob
# Initialize configuration defaults for originally generated Rails version.
# Initialize configuration defaults for originally generated Rails version.
config
.
load_defaults
5.2
config
.
load_defaults
5.2
config
.
before_configuration
do
config
.
before_configuration
do
env_file
=
File
.
join
(
Rails
.
root
,
'config'
,
'local_env.
gitignore.
yml'
)
env_file
=
File
.
join
(
Rails
.
root
,
'config'
,
'local_env.yml'
)
YAML
.
load
(
File
.
open
(
env_file
)).
each
do
|
key
,
value
|
YAML
.
load
(
File
.
open
(
env_file
)).
each
do
|
key
,
value
|
ENV
[
key
.
to_s
]
=
value
ENV
[
key
.
to_s
]
=
value
end
if
File
.
exists?
(
env_file
)
end
if
File
.
exists?
(
env_file
)
...
...
config/local_env.gitignore.yml
deleted
100644 → 0
View file @
3ed5edd3
# Add account settings and API keys here.
# This file should be listed in .gitignore to keep your settings secret!
# Each entry gets set as a local environment variable.
# This file overrides ENV variables in the Unix shell.
# For example, setting:
# GMAIL_USERNAME: 'Your_Gmail_Username'
# makes 'Your_Gmail_Username' available as ENV["GMAIL_USERNAME"]
GMAIL_USERNAME
:
'
phuoc2811006@gmail.com'
GMAIL_PASSWORD
:
'
Phuoc123'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment