yaml_csp_config 1.0.2 → 1.0.3
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/Rakefile +1 -1
- data/lib/tasks/yaml_csp_config_tasks.rake +1 -1
- data/lib/yaml_csp_config/version.rb +1 -1
- data/lib/yaml_csp_config.rb +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d364ca228a1c6e897f15ceb024b277fe0d5ca6e857b8408e2beec971cd3ea62
|
|
4
|
+
data.tar.gz: 9dd744ccf9ee54ac541b364f829fbc284c839826c7a1bf2b862e4a06f7ae4bc1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b860612f0350846c2af70a0fe469f2b42b8dcdafd1899925e4a67834b971d6530481ab56b07c12a59e15d1f308ba7bef0e0f535bfdd08d69e6fc25947d71ef4b
|
|
7
|
+
data.tar.gz: 497d63f942a225ce8127bb516a8425330c1fce9cdb9e90fb97cfbc4400f6306cdfc6126738ea05d7972a6ab16e4ae6d8fb95f2c9038727b3aba8b04356cce10f
|
data/Rakefile
CHANGED
|
@@ -10,7 +10,7 @@ require "rdoc/task"
|
|
|
10
10
|
|
|
11
11
|
RDoc::Task.new(:rdoc) do |rdoc|
|
|
12
12
|
rdoc.rdoc_dir = "rdoc"
|
|
13
|
-
rdoc.title
|
|
13
|
+
rdoc.title = "YamlCspConfig"
|
|
14
14
|
rdoc.options << "--line-numbers"
|
|
15
15
|
rdoc.rdoc_files.include("README.md")
|
|
16
16
|
rdoc.rdoc_files.include("lib/**/*.rb")
|
|
@@ -8,7 +8,7 @@ namespace :yaml_csp_config do
|
|
|
8
8
|
puts "\nDirective\t\t: Directive Value"
|
|
9
9
|
puts "---------\t\t ---------------"
|
|
10
10
|
policy.directives.each do |k, v|
|
|
11
|
-
puts "#{k}\t\t: #{v.join(
|
|
11
|
+
puts "#{k}\t\t: #{v.join(" ")}"
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
puts "\n\nConfiguration\t\t: Value"
|
data/lib/yaml_csp_config.rb
CHANGED
|
@@ -20,10 +20,10 @@ module YamlCspConfig
|
|
|
20
20
|
class Configuration
|
|
21
21
|
# @dynamic configuration_file_path, yaml_config_base_key
|
|
22
22
|
attr_accessor :configuration_file_path,
|
|
23
|
-
|
|
23
|
+
:yaml_config_base_key
|
|
24
24
|
# @dynamic default_env_var_additions_key_prefix, default_env_var_group_key
|
|
25
25
|
attr_accessor :default_env_var_additions_key_prefix,
|
|
26
|
-
|
|
26
|
+
:default_env_var_group_key
|
|
27
27
|
|
|
28
28
|
def initialize
|
|
29
29
|
@configuration_file_path = Rails.root.join("config", "content_security_policy.yml")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yaml_csp_config
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen Ierodiaconou
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-10-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
42
|
+
name: standard
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - ">="
|
|
@@ -107,7 +107,7 @@ homepage: https://github.com/stevegeek/yaml_csp_config
|
|
|
107
107
|
licenses:
|
|
108
108
|
- MIT
|
|
109
109
|
metadata: {}
|
|
110
|
-
post_install_message:
|
|
110
|
+
post_install_message:
|
|
111
111
|
rdoc_options: []
|
|
112
112
|
require_paths:
|
|
113
113
|
- lib
|
|
@@ -122,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
123
|
version: '0'
|
|
124
124
|
requirements: []
|
|
125
|
-
rubygems_version: 3.
|
|
126
|
-
signing_key:
|
|
125
|
+
rubygems_version: 3.3.7
|
|
126
|
+
signing_key:
|
|
127
127
|
specification_version: 4
|
|
128
128
|
summary: yaml_csp_config provides you with a way to manage your Rails CSP configuration
|
|
129
129
|
via a YAML file.
|