rails_template_18f 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +23 -23
- data/lib/rails_template18f/version.rb +1 -1
- data/template.rb +6 -0
- data/templates/README.md.tt +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9272beadb19c4c9a6aa8f3da43cfbb06d7fbf23f75d0f4ec393dde3610f06157
|
4
|
+
data.tar.gz: a3906d6bddb262a5bc46f5ed40e0bf64110bd396ac8e765185dcc808abe6c91a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22926545b3fe7273d36c8fde0445d9865bab390cf2cc856c25bc33e50f1c1420944a30052a2e0ae8b730da4f17dee2c16165cc83a1e21eb1f0475afa0fd30b74
|
7
|
+
data.tar.gz: fe7f4f8df14d4f2eac2a5882daf368cdf68a8c9f53a54550fe8d13f1b7a18767c50334e142a2784b92964478fe0e3a3e88c5986271b30e78d8e0743690c8a09a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rails_template_18f (0.5.
|
4
|
+
rails_template_18f (0.5.1)
|
5
5
|
activesupport (~> 7.0.0)
|
6
6
|
colorize (~> 0.8)
|
7
7
|
railties (~> 7.0.0)
|
@@ -10,20 +10,20 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionpack (7.0.2.
|
14
|
-
actionview (= 7.0.2.
|
15
|
-
activesupport (= 7.0.2.
|
13
|
+
actionpack (7.0.2.3)
|
14
|
+
actionview (= 7.0.2.3)
|
15
|
+
activesupport (= 7.0.2.3)
|
16
16
|
rack (~> 2.0, >= 2.2.0)
|
17
17
|
rack-test (>= 0.6.3)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
19
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
20
|
-
actionview (7.0.2.
|
21
|
-
activesupport (= 7.0.2.
|
20
|
+
actionview (7.0.2.3)
|
21
|
+
activesupport (= 7.0.2.3)
|
22
22
|
builder (~> 3.1)
|
23
23
|
erubi (~> 1.4)
|
24
24
|
rails-dom-testing (~> 2.0)
|
25
25
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
26
|
-
activesupport (7.0.2.
|
26
|
+
activesupport (7.0.2.3)
|
27
27
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
28
28
|
i18n (>= 1.6, < 2)
|
29
29
|
minitest (>= 5.1)
|
@@ -40,9 +40,9 @@ GEM
|
|
40
40
|
crass (1.0.6)
|
41
41
|
diff-lcs (1.5.0)
|
42
42
|
erubi (1.10.0)
|
43
|
-
i18n (1.
|
43
|
+
i18n (1.10.0)
|
44
44
|
concurrent-ruby (~> 1.0)
|
45
|
-
loofah (2.
|
45
|
+
loofah (2.15.0)
|
46
46
|
crass (~> 1.0.2)
|
47
47
|
nokogiri (>= 1.5.9)
|
48
48
|
method_source (1.0.0)
|
@@ -52,7 +52,7 @@ GEM
|
|
52
52
|
nokogiri (1.13.3-x86_64-linux)
|
53
53
|
racc (~> 1.4)
|
54
54
|
parallel (1.21.0)
|
55
|
-
parser (3.1.
|
55
|
+
parser (3.1.1.0)
|
56
56
|
ast (~> 2.4.1)
|
57
57
|
racc (1.6.0)
|
58
58
|
rack (2.2.3)
|
@@ -63,16 +63,16 @@ GEM
|
|
63
63
|
nokogiri (>= 1.6)
|
64
64
|
rails-html-sanitizer (1.4.2)
|
65
65
|
loofah (~> 2.3)
|
66
|
-
railties (7.0.2.
|
67
|
-
actionpack (= 7.0.2.
|
68
|
-
activesupport (= 7.0.2.
|
66
|
+
railties (7.0.2.3)
|
67
|
+
actionpack (= 7.0.2.3)
|
68
|
+
activesupport (= 7.0.2.3)
|
69
69
|
method_source
|
70
70
|
rake (>= 12.2)
|
71
71
|
thor (~> 1.0)
|
72
72
|
zeitwerk (~> 2.5)
|
73
73
|
rainbow (3.1.1)
|
74
74
|
rake (13.0.6)
|
75
|
-
regexp_parser (2.2.
|
75
|
+
regexp_parser (2.2.1)
|
76
76
|
rexml (3.2.5)
|
77
77
|
rspec (3.11.0)
|
78
78
|
rspec-core (~> 3.11.0)
|
@@ -86,7 +86,7 @@ GEM
|
|
86
86
|
rspec-mocks (3.11.0)
|
87
87
|
diff-lcs (>= 1.2.0, < 2.0)
|
88
88
|
rspec-support (~> 3.11.0)
|
89
|
-
rspec-rails (5.1.
|
89
|
+
rspec-rails (5.1.1)
|
90
90
|
actionpack (>= 5.2)
|
91
91
|
activesupport (>= 5.2)
|
92
92
|
railties (>= 5.2)
|
@@ -95,24 +95,24 @@ GEM
|
|
95
95
|
rspec-mocks (~> 3.10)
|
96
96
|
rspec-support (~> 3.10)
|
97
97
|
rspec-support (3.11.0)
|
98
|
-
rubocop (1.
|
98
|
+
rubocop (1.26.0)
|
99
99
|
parallel (~> 1.10)
|
100
100
|
parser (>= 3.1.0.0)
|
101
101
|
rainbow (>= 2.2.2, < 4.0)
|
102
102
|
regexp_parser (>= 1.8, < 3.0)
|
103
103
|
rexml
|
104
|
-
rubocop-ast (>= 1.
|
104
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
105
105
|
ruby-progressbar (~> 1.7)
|
106
106
|
unicode-display_width (>= 1.4.0, < 3.0)
|
107
|
-
rubocop-ast (1.
|
108
|
-
parser (>= 3.
|
109
|
-
rubocop-performance (1.13.
|
107
|
+
rubocop-ast (1.16.0)
|
108
|
+
parser (>= 3.1.1.0)
|
109
|
+
rubocop-performance (1.13.3)
|
110
110
|
rubocop (>= 1.7.0, < 2.0)
|
111
111
|
rubocop-ast (>= 0.4.0)
|
112
112
|
ruby-progressbar (1.11.0)
|
113
|
-
standard (1.
|
114
|
-
rubocop (= 1.
|
115
|
-
rubocop-performance (= 1.13.
|
113
|
+
standard (1.8.0)
|
114
|
+
rubocop (= 1.26.0)
|
115
|
+
rubocop-performance (= 1.13.3)
|
116
116
|
thor (1.2.1)
|
117
117
|
tzinfo (2.0.4)
|
118
118
|
concurrent-ruby (~> 1.0)
|
data/template.rb
CHANGED
@@ -192,6 +192,12 @@ if ENV["RT_DEV"] == "true"
|
|
192
192
|
else
|
193
193
|
gem "rails_template_18f", group: :development
|
194
194
|
end
|
195
|
+
after_bundle do
|
196
|
+
gsub_file "bin/dev", /foreman start -f (.*)$/, <<~'EOM'
|
197
|
+
# pass /dev/null for the environment file to prevent weird interactions between foreman and dotenv
|
198
|
+
foreman start -e /dev/null -f \1
|
199
|
+
EOM
|
200
|
+
end
|
195
201
|
|
196
202
|
copy_file "lib/tasks/scanning.rake"
|
197
203
|
copy_file "env", ".env"
|
data/templates/README.md.tt
CHANGED
@@ -31,9 +31,9 @@ guide for an introduction to the framework.
|
|
31
31
|
|
32
32
|
Environment variables can be set in development using the [dotenv](https://github.com/bkeepers/dotenv) gem.
|
33
33
|
|
34
|
-
Consistent but sensitive credentials should be added to `config/credentials.yml.
|
34
|
+
Consistent but sensitive credentials should be added to `config/credentials.yml.enc` by using `$ rails credentials:edit`
|
35
35
|
|
36
|
-
Production credentials should be added to `config/credentials/production.yml.
|
36
|
+
Production credentials should be added to `config/credentials/production.yml.enc` by using `$ rails credentials:edit --environment production`
|
37
37
|
|
38
38
|
Any changes to variables in `.env` that should not be checked into git should be set
|
39
39
|
in `.env.local`.
|
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.1
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -264,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
264
|
- !ruby/object:Gem::Version
|
265
265
|
version: '0'
|
266
266
|
requirements: []
|
267
|
-
rubygems_version: 3.
|
267
|
+
rubygems_version: 3.3.7
|
268
268
|
signing_key:
|
269
269
|
specification_version: 4
|
270
270
|
summary: Generators for creating an 18F-flavored Rails app
|