rails_template_18f 0.5.1 → 0.5.2
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/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/generators/rails_template18f/cloud_gov_config/templates/spec/models/cloud_gov_config_spec.rb +5 -1
- data/lib/generators/rails_template18f/i18n/i18n_generator.rb +1 -1
- data/lib/rails_template18f/version.rb +1 -1
- data/template.rb +3 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2081ea2fe971ba6cdd3af16c00a9e91146fea1e489b48118543b1c95b075f3d9
|
|
4
|
+
data.tar.gz: 6f7c93f8a5429e2a63fb560e79afc34c940a652168c3cba0e2d548ad61e0c9ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd118690c1537a3de6db28e7478a492617540ba5d8b2322d80506d5800adbe7997ee78b08098cfb36ace459612f72ae2310bd8ad77a068e5fb3e11fbf6c39f61
|
|
7
|
+
data.tar.gz: 406ef4a7f114415d3059be3d1713015af635a2dd57e76355d5fb685b74d734d90c835bcec860a4fdd980df512d29b4d413b3ec3733efd46e4adf1a3d2414bdfc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.5.2] - 2022-03-24
|
|
4
|
+
|
|
5
|
+
- add extra branch test coverage to CloudGovConfig
|
|
6
|
+
- replace forked version of @csstools/postcss-sass with released version
|
|
7
|
+
- upgrade i18n-tasks gem to 1.0
|
|
8
|
+
|
|
3
9
|
## [0.5.1] - 2022-03-17
|
|
4
10
|
|
|
5
11
|
- fix interaction between foreman and dotenv by disabling foreman's env loading
|
data/Gemfile.lock
CHANGED
|
@@ -37,7 +37,11 @@ RSpec.describe CloudGovConfig, type: :model do
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
it "returns nil for a missing path" do
|
|
40
|
-
expect(subject.dig(:s3, :
|
|
40
|
+
expect(subject.dig(:s3, :missing)).to be_nil
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
it "returns nil for a missing service" do
|
|
44
|
+
expect(subject.dig(:rds, :credentials)).to be_nil
|
|
41
45
|
end
|
|
42
46
|
end
|
|
43
47
|
end
|
data/template.rb
CHANGED
|
@@ -239,10 +239,11 @@ after_bundle do
|
|
|
239
239
|
"build:css": "postcss ./app/assets/stylesheets/application.postcss.css -o ./app/assets/builds/application.css"
|
|
240
240
|
},
|
|
241
241
|
EOJSON
|
|
242
|
+
# include verbose flag for dev postcss output
|
|
243
|
+
gsub_file "Procfile.dev", "yarn build:css --watch", "yarn build:css --verbose --watch"
|
|
242
244
|
# Replace postcss-nesting with sass since USWDS uses sass
|
|
243
245
|
run "yarn remove postcss-nesting"
|
|
244
|
-
|
|
245
|
-
run "yarn add https://github.com/sinankeskin/postcss-sass"
|
|
246
|
+
run "yarn add @csstools/postcss-sass"
|
|
246
247
|
run "yarn add postcss-scss"
|
|
247
248
|
insert_into_file "postcss.config.js", " syntax: 'postcss-scss',\n", before: /^\s+plugins/
|
|
248
249
|
gsub_file "postcss.config.js", "postcss-nesting", "@csstools/postcss-sass"
|
|
@@ -271,8 +272,6 @@ after_bundle do
|
|
|
271
272
|
end
|
|
272
273
|
directory "app/assets"
|
|
273
274
|
append_to_file "app/assets/stylesheets/application.postcss.css", <<~EOCSS
|
|
274
|
-
/* KNOWN ISSUE: only changes to application.postcss.css will trigger an automatic rebuild */
|
|
275
|
-
/* restart your server or run `yarn build:css` when changing other files */
|
|
276
275
|
@import "uswds-settings.scss";
|
|
277
276
|
@import "../../../node_modules/uswds/dist/scss/uswds.scss";
|
|
278
277
|
EOCSS
|
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: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Ahearn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-03-
|
|
11
|
+
date: 2022-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|