yaml_csp_config 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/generators/{USAGE → yaml_csp_config/USAGE} +0 -0
- data/lib/generators/{install_generator.rb → yaml_csp_config/install_generator.rb} +5 -4
- data/lib/generators/{templates → yaml_csp_config/templates}/content_security_policy.yml +0 -0
- data/lib/generators/{templates → yaml_csp_config/templates}/yaml_csp_config.rb +0 -0
- data/lib/yaml_csp_config/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e12b5494dba4e7a54ad6c603423d610d82cb1c8d18cd42c0d2ff1cda0e4039f9
|
4
|
+
data.tar.gz: b89ac8d5f0bf1b359a70aaf6102fca06bdb99b07a1be5a41d1e6a92dfbc04b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fad7cd68c6a626b4a33c6380daee1f99c0a42cf976144fa3030a0d3e5ffa150274b5ebcce6fada66b7dcbec4ed8ff22dc9492e419a012915d8bdaa3231ebd91a
|
7
|
+
data.tar.gz: a00a8c69eb1331b27d39feb271c8bb7d57be3e84ef3efcf49e02f69a37022d43aaae9f126bd6f9fda7a1b4de372b45db587a1e1155e08f659d0e72340a07dabd
|
data/README.md
CHANGED
File without changes
|
@@ -5,13 +5,14 @@ require "rails/generators/base"
|
|
5
5
|
module YamlCspConfig
|
6
6
|
module Generators
|
7
7
|
# The Install generator `yaml_csp_config:install`
|
8
|
-
class InstallGenerator < Rails::Generators::Base
|
8
|
+
class InstallGenerator < ::Rails::Generators::Base
|
9
9
|
source_root File.expand_path(__dir__)
|
10
10
|
|
11
11
|
desc "Creates an initial basic YAML configuration, an initializer and configures Rails to use the gem."
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
def copy_tasks
|
13
|
+
template "templates/yaml_csp_config.rb", "config/initializers/yaml_csp_config.rb"
|
14
|
+
template "templates/content_security_policy.yml", "config/content_security_policy.yml"
|
15
|
+
end
|
15
16
|
end
|
16
17
|
end
|
17
18
|
end
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Ierodiaconou
|
@@ -92,10 +92,10 @@ files:
|
|
92
92
|
- MIT-LICENSE
|
93
93
|
- README.md
|
94
94
|
- Rakefile
|
95
|
-
- lib/generators/USAGE
|
96
|
-
- lib/generators/install_generator.rb
|
97
|
-
- lib/generators/templates/content_security_policy.yml
|
98
|
-
- lib/generators/templates/yaml_csp_config.rb
|
95
|
+
- lib/generators/yaml_csp_config/USAGE
|
96
|
+
- lib/generators/yaml_csp_config/install_generator.rb
|
97
|
+
- lib/generators/yaml_csp_config/templates/content_security_policy.yml
|
98
|
+
- lib/generators/yaml_csp_config/templates/yaml_csp_config.rb
|
99
99
|
- lib/tasks/yaml_csp_config_tasks.rake
|
100
100
|
- lib/yaml_csp_config.rb
|
101
101
|
- lib/yaml_csp_config/csp_ext.rb
|