vanity 4.0.0 → 4.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ad1912949e23c28cf73f482e50226179db67d52884aa06c3cdb76d73b0581ed
4
- data.tar.gz: 9fda567ac7fc1c60831e989ff3848f7f80547c35d5ddbb58e8e17121853c7ca0
3
+ metadata.gz: dcc07c2cfd7af5205d43f6ef16a4fe4607772b99613933ef37e53bbd16062ba3
4
+ data.tar.gz: c2e194bc26d672eb44c692cbdd9955476844898f53c0a39cd11ff04acbcc7c46
5
5
  SHA512:
6
- metadata.gz: d339c8a7e16db72faa496cb849a6e7ffe1b9056a585070019f920a604055113507260b008664310f96991c039afcdd2708409c743feace6532c44bef17ac14df
7
- data.tar.gz: 3611523c4dda3382f6300695d4baa3bc87596e018081ffa374e57bb94712276fb2164a6ed931f00148c6f798852227383d603905da9a3f536e4909b286b17253
6
+ metadata.gz: 51422c6d58f2b8aa110c79737d4aead1edc2da7ed13def526880b37c730837831ae6104b695c25656cd6e9077c906ae45d06626d354e62197e3d50555f5dcec0
7
+ data.tar.gz: 12201f41ce6edc971928cb146cbb53c2ae09b9a61f6053ae888fa01ef180e05166836eb3f165f26adcba34f3dac523b4970593ecf7926a43d6604255afc0d8fa
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 4.0.1 (2022-03-06)
2
+
3
+ * Fix YAML alias support in `vanity.yml` (@frostmark)
4
+
1
5
  == 4.0.0 (2022-03-03)
2
6
 
3
7
  * Drop support for Ruby < 2.5 (@frostmark)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vanity (4.0.0)
4
+ vanity (4.0.1)
5
5
  i18n
6
6
 
7
7
  GEM
@@ -106,7 +106,7 @@ GEM
106
106
  rb-fsevent (0.9.4)
107
107
  rb-inotify (0.9.5)
108
108
  ffi (>= 0.5.0)
109
- redcarpet (3.2.3)
109
+ redcarpet (3.5.1)
110
110
  redis (4.0.3)
111
111
  redis-namespace (1.6.0)
112
112
  redis (>= 3.0.4)
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: ..
9
9
  specs:
10
- vanity (4.0.0)
10
+ vanity (4.0.1)
11
11
  i18n
12
12
 
13
13
  GEM
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: ..
9
9
  specs:
10
- vanity (4.0.0)
10
+ vanity (4.0.1)
11
11
  i18n
12
12
 
13
13
  GEM
@@ -7,7 +7,7 @@ GIT
7
7
  PATH
8
8
  remote: ..
9
9
  specs:
10
- vanity (4.0.0)
10
+ vanity (4.0.1)
11
11
  i18n
12
12
 
13
13
  GEM
@@ -213,7 +213,7 @@ module Vanity
213
213
  file_path = File.join(config_path, file_name)
214
214
 
215
215
  if File.exist?(file_path) # rubocop:todo Style/GuardClause
216
- config = YAML.safe_load(ERB.new(File.read(file_path)).result)
216
+ config = YAML.safe_load(ERB.new(File.read(file_path)).result, [], [], true)
217
217
  config ||= {}
218
218
  params_for_environment = config[environment.to_s]
219
219
 
@@ -1,5 +1,5 @@
1
1
  module Vanity
2
- VERSION = "4.0.0"
2
+ VERSION = "4.0.1"
3
3
 
4
4
  module Version
5
5
  version = VERSION.to_s.split(".").map { |i| i.to_i }
@@ -0,0 +1,3 @@
1
+ Vanity.configure do |config|
2
+ config.config_path = Rails.root.join('config')
3
+ end
@@ -0,0 +1,7 @@
1
+ default: &default
2
+ some_key: true
3
+
4
+ test:
5
+ <<: *default
6
+ adapter: mock
7
+ collecting: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Assaf Arkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-03 00:00:00.000000000 Z
11
+ date: 2022-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -260,8 +260,10 @@ files:
260
260
  - test/dummy/config/initializers/mime_types.rb
261
261
  - test/dummy/config/initializers/secret_token.rb
262
262
  - test/dummy/config/initializers/session_store.rb
263
+ - test/dummy/config/initializers/vanity.rb
263
264
  - test/dummy/config/locales/en.yml
264
265
  - test/dummy/config/routes.rb
266
+ - test/dummy/config/vanity.yml
265
267
  - test/dummy/log/development.log
266
268
  - test/dummy/log/production.log
267
269
  - test/dummy/log/server.log
@@ -293,7 +295,7 @@ metadata:
293
295
  post_install_message: To get started run vanity --help
294
296
  rdoc_options:
295
297
  - "--title"
296
- - Vanity 4.0.0
298
+ - Vanity 4.0.1
297
299
  - "--main"
298
300
  - README.md
299
301
  - "--webcvs"
@@ -350,8 +352,10 @@ test_files:
350
352
  - test/dummy/config/initializers/mime_types.rb
351
353
  - test/dummy/config/initializers/secret_token.rb
352
354
  - test/dummy/config/initializers/session_store.rb
355
+ - test/dummy/config/initializers/vanity.rb
353
356
  - test/dummy/config/locales/en.yml
354
357
  - test/dummy/config/routes.rb
358
+ - test/dummy/config/vanity.yml
355
359
  - test/dummy/log/development.log
356
360
  - test/dummy/log/production.log
357
361
  - test/dummy/log/server.log