rails_template_18f 0.8.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +58 -28
- data/README.md +5 -5
- data/Rakefile +12 -0
- data/SECURITY.md +18 -0
- data/lib/generators/rails_template18f/active_storage/active_storage_generator.rb +2 -9
- data/lib/generators/rails_template18f/active_storage/templates/oscal/component-definitions/active_storage/component-definition.json +69 -0
- data/lib/generators/rails_template18f/auditree/auditree_generator.rb +84 -0
- data/lib/generators/rails_template18f/auditree/templates/bin/auditree.tt +29 -0
- data/lib/generators/rails_template18f/auditree/templates/github/actions/auditree-cmd/action.yml.tt +31 -0
- data/lib/generators/rails_template18f/auditree/templates/github/workflows/auditree-validation.yml.tt +42 -0
- data/lib/generators/rails_template18f/circleci/circleci_generator.rb +3 -3
- data/lib/generators/rails_template18f/circleci/templates/bin/ci-server-start +1 -1
- data/lib/generators/rails_template18f/circleci/templates/circleci/config.yml.tt +59 -16
- data/lib/generators/rails_template18f/circleci/templates/docker-compose.ci.yml +1 -0
- data/lib/generators/rails_template18f/circleci/templates/oscal/component-definitions/circleci/component-definition.json.tt +310 -0
- data/lib/generators/rails_template18f/github_actions/github_actions_generator.rb +7 -12
- data/lib/generators/rails_template18f/github_actions/templates/github/actions/setup-languages/action.yml.tt +1 -1
- data/lib/generators/rails_template18f/github_actions/templates/github/actions/setup-project/action.yml.tt +1 -0
- data/lib/generators/rails_template18f/github_actions/templates/github/actions/trestle-cmd/action.yml +20 -0
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/assemble-ssp.yml.tt +26 -0
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/brakeman-analysis.yml +6 -2
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/dependency-scans.yml +4 -4
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/deploy-production.yml.tt +14 -25
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/deploy-staging.yml.tt +14 -25
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-daily-scan.yml.tt +8 -3
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/owasp-scan.yml.tt +4 -3
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/pa11y.yml.tt +6 -2
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt +1 -1
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/terraform-production.yml +20 -58
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/terraform-staging.yml +20 -58
- data/lib/generators/rails_template18f/github_actions/templates/github/workflows/validate-ssp.yml.tt +46 -0
- data/lib/generators/rails_template18f/github_actions/templates/oscal/component-definitions/github_actions/component-definition.json.tt +310 -0
- data/lib/generators/rails_template18f/i18n/i18n_generator.rb +7 -6
- data/lib/generators/rails_template18f/i18n/templates/config/locales/en.yml.tt +1 -0
- data/lib/generators/rails_template18f/i18n/templates/config/locales/es.yml +2 -0
- data/lib/generators/rails_template18f/i18n/templates/config/locales/fr.yml +2 -0
- data/lib/generators/rails_template18f/i18n/templates/config/locales/zh.yml +2 -0
- data/lib/generators/rails_template18f/newrelic/newrelic_generator.rb +2 -37
- data/lib/generators/rails_template18f/newrelic/templates/oscal/component-definitions/newrelic/component-definition.json.tt +113 -0
- data/lib/generators/rails_template18f/oscal/oscal_generator.rb +55 -17
- data/lib/generators/rails_template18f/oscal/templates/bin/trestle.tt +10 -0
- data/lib/generators/rails_template18f/oscal/templates/doc/compliance/oscal/trestle-config.yaml.tt +6 -0
- data/lib/generators/rails_template18f/sidekiq/sidekiq_generator.rb +2 -2
- data/lib/generators/rails_template18f/terraform/templates/terraform/README.md.tt +1 -1
- data/lib/generators/rails_template18f/terraform/templates/terraform/production/main.tf.tt +4 -4
- data/lib/generators/rails_template18f/terraform/templates/terraform/production/providers.tf.tt +0 -1
- data/lib/generators/rails_template18f/terraform/templates/terraform/staging/main.tf.tt +4 -4
- data/lib/generators/rails_template18f/terraform/templates/terraform/staging/providers.tf.tt +0 -1
- data/lib/rails_template18f/generators/base.rb +9 -24
- data/lib/rails_template18f/generators/pipeline_options.rb +0 -172
- data/lib/rails_template18f/version.rb +1 -1
- data/rails-template-18f.gemspec +6 -6
- data/railsrc +1 -0
- data/railsrc-hotwire +1 -0
- data/template.rb +56 -44
- data/templates/Brewfile +2 -2
- data/templates/README.md.tt +3 -4
- data/templates/app/assets/stylesheets/uswds-components.scss +6 -0
- data/templates/app/assets/stylesheets/uswds-overrides/_index.scss +2 -0
- data/templates/app/assets/stylesheets/uswds-overrides/_override-usa-banner.scss +13 -0
- data/templates/app/assets/stylesheets/uswds-overrides/_override-usa-language-selector.scss +38 -0
- data/templates/app/views/application/_header.html.erb +6 -5
- data/templates/app/views/application/_language_selector.html.erb +35 -0
- data/templates/app/views/application/_usa_banner.html.erb +21 -16
- data/templates/bin/owasp-scan +3 -3
- data/templates/bin/pa11y-scan +1 -1
- data/templates/config/environments/ci.rb +1 -0
- data/templates/manifest.yml.tt +0 -1
- data/templates/pa11y.js +12 -0
- data/templates/pa11yci.js +8 -0
- metadata +35 -16
- data/templates/pa11yci +0 -9
- /data/lib/generators/rails_template18f/circleci/templates/{Dockerfile.tt → Dockerfile.ci.tt} +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_template_18f
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Ahearn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.
|
19
|
+
version: 7.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.
|
26
|
+
version: 7.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 7.
|
33
|
+
version: 7.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 7.
|
40
|
+
version: 7.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.3'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: colorize
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.1'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
75
|
+
version: '3.13'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '3.
|
82
|
+
version: '3.13'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: ammeter
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '1.
|
103
|
+
version: '1.36'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '1.
|
110
|
+
version: '1.36'
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
- ryan.ahearn@gsa.gov
|
@@ -125,6 +125,7 @@ files:
|
|
125
125
|
- LICENSE.md
|
126
126
|
- README.md
|
127
127
|
- Rakefile
|
128
|
+
- SECURITY.md
|
128
129
|
- bin/console
|
129
130
|
- bin/setup
|
130
131
|
- exe/rails_template_18f
|
@@ -132,13 +133,19 @@ files:
|
|
132
133
|
- lib/generators/rails_template18f/active_storage/templates/app/jobs/file_scan_job.rb
|
133
134
|
- lib/generators/rails_template18f/active_storage/templates/app/models/file_upload.rb
|
134
135
|
- lib/generators/rails_template18f/active_storage/templates/doc/adr/clamav.md.tt
|
136
|
+
- lib/generators/rails_template18f/active_storage/templates/oscal/component-definitions/active_storage/component-definition.json
|
135
137
|
- lib/generators/rails_template18f/active_storage/templates/spec/jobs/file_scan_job_spec.rb
|
136
138
|
- lib/generators/rails_template18f/active_storage/templates/spec/models/file_upload_spec.rb
|
139
|
+
- lib/generators/rails_template18f/auditree/auditree_generator.rb
|
140
|
+
- lib/generators/rails_template18f/auditree/templates/bin/auditree.tt
|
141
|
+
- lib/generators/rails_template18f/auditree/templates/github/actions/auditree-cmd/action.yml.tt
|
142
|
+
- lib/generators/rails_template18f/auditree/templates/github/workflows/auditree-validation.yml.tt
|
137
143
|
- lib/generators/rails_template18f/circleci/circleci_generator.rb
|
138
|
-
- lib/generators/rails_template18f/circleci/templates/Dockerfile.tt
|
144
|
+
- lib/generators/rails_template18f/circleci/templates/Dockerfile.ci.tt
|
139
145
|
- lib/generators/rails_template18f/circleci/templates/bin/ci-server-start
|
140
146
|
- lib/generators/rails_template18f/circleci/templates/circleci/config.yml.tt
|
141
147
|
- lib/generators/rails_template18f/circleci/templates/docker-compose.ci.yml
|
148
|
+
- lib/generators/rails_template18f/circleci/templates/oscal/component-definitions/circleci/component-definition.json.tt
|
142
149
|
- lib/generators/rails_template18f/cloud_gov_config/cloud_gov_config_generator.rb
|
143
150
|
- lib/generators/rails_template18f/cloud_gov_config/templates/app/models/cloud_gov_config.rb
|
144
151
|
- lib/generators/rails_template18f/cloud_gov_config/templates/spec/models/cloud_gov_config_spec.rb
|
@@ -147,6 +154,8 @@ files:
|
|
147
154
|
- lib/generators/rails_template18f/github_actions/templates/github/actions/run-server/action.yml
|
148
155
|
- lib/generators/rails_template18f/github_actions/templates/github/actions/setup-languages/action.yml.tt
|
149
156
|
- lib/generators/rails_template18f/github_actions/templates/github/actions/setup-project/action.yml.tt
|
157
|
+
- lib/generators/rails_template18f/github_actions/templates/github/actions/trestle-cmd/action.yml
|
158
|
+
- lib/generators/rails_template18f/github_actions/templates/github/workflows/assemble-ssp.yml.tt
|
150
159
|
- lib/generators/rails_template18f/github_actions/templates/github/workflows/brakeman-analysis.yml
|
151
160
|
- lib/generators/rails_template18f/github_actions/templates/github/workflows/dependency-scans.yml
|
152
161
|
- lib/generators/rails_template18f/github_actions/templates/github/workflows/deploy-production.yml.tt
|
@@ -157,6 +166,8 @@ files:
|
|
157
166
|
- lib/generators/rails_template18f/github_actions/templates/github/workflows/rspec.yml.tt
|
158
167
|
- lib/generators/rails_template18f/github_actions/templates/github/workflows/terraform-production.yml
|
159
168
|
- lib/generators/rails_template18f/github_actions/templates/github/workflows/terraform-staging.yml
|
169
|
+
- lib/generators/rails_template18f/github_actions/templates/github/workflows/validate-ssp.yml.tt
|
170
|
+
- lib/generators/rails_template18f/github_actions/templates/oscal/component-definitions/github_actions/component-definition.json.tt
|
160
171
|
- lib/generators/rails_template18f/i18n/i18n_generator.rb
|
161
172
|
- lib/generators/rails_template18f/i18n/templates/config/locales/en.yml.tt
|
162
173
|
- lib/generators/rails_template18f/i18n/templates/config/locales/es.yml
|
@@ -166,7 +177,10 @@ files:
|
|
166
177
|
- lib/generators/rails_template18f/i18n_js/templates/lib/tasks/i18n.rake
|
167
178
|
- lib/generators/rails_template18f/newrelic/newrelic_generator.rb
|
168
179
|
- lib/generators/rails_template18f/newrelic/templates/config/newrelic.yml.tt
|
180
|
+
- lib/generators/rails_template18f/newrelic/templates/oscal/component-definitions/newrelic/component-definition.json.tt
|
169
181
|
- lib/generators/rails_template18f/oscal/oscal_generator.rb
|
182
|
+
- lib/generators/rails_template18f/oscal/templates/bin/trestle.tt
|
183
|
+
- lib/generators/rails_template18f/oscal/templates/doc/compliance/oscal/trestle-config.yaml.tt
|
170
184
|
- lib/generators/rails_template18f/rails_erd/rails_erd_generator.rb
|
171
185
|
- lib/generators/rails_template18f/rails_erd/templates/erdconfig
|
172
186
|
- lib/generators/rails_template18f/sidekiq/sidekiq_generator.rb
|
@@ -200,10 +214,14 @@ files:
|
|
200
214
|
- templates/README.md.tt
|
201
215
|
- templates/app/assets/images/uswds.js
|
202
216
|
- templates/app/assets/stylesheets/uswds-components.scss
|
217
|
+
- templates/app/assets/stylesheets/uswds-overrides/_index.scss
|
218
|
+
- templates/app/assets/stylesheets/uswds-overrides/_override-usa-banner.scss
|
219
|
+
- templates/app/assets/stylesheets/uswds-overrides/_override-usa-language-selector.scss
|
203
220
|
- templates/app/assets/stylesheets/uswds-settings.scss
|
204
221
|
- templates/app/views/application/_banner_lock_icon.html.erb
|
205
222
|
- templates/app/views/application/_demo_site_banner.html.erb
|
206
223
|
- templates/app/views/application/_header.html.erb
|
224
|
+
- templates/app/views/application/_language_selector.html.erb
|
207
225
|
- templates/app/views/application/_usa_banner.html.erb
|
208
226
|
- templates/bin/ops/create_service_account.sh.tt
|
209
227
|
- templates/bin/ops/destroy_service_account.sh.tt
|
@@ -230,7 +248,8 @@ files:
|
|
230
248
|
- templates/lib/tasks/cf.rake
|
231
249
|
- templates/lib/tasks/scanning.rake
|
232
250
|
- templates/manifest.yml.tt
|
233
|
-
- templates/
|
251
|
+
- templates/pa11y.js
|
252
|
+
- templates/pa11yci.js
|
234
253
|
- templates/zap.conf
|
235
254
|
homepage: https://github.com/18f/rails-template
|
236
255
|
licenses: []
|
data/templates/pa11yci
DELETED
/data/lib/generators/rails_template18f/circleci/templates/{Dockerfile.tt → Dockerfile.ci.tt}
RENAMED
File without changes
|