suspenders 1.56.1 → 20240516.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +83 -172
  3. data/Rakefile +13 -0
  4. data/lib/generators/suspenders/accessibility_generator.rb +24 -0
  5. data/lib/generators/suspenders/advisories_generator.rb +32 -0
  6. data/lib/generators/suspenders/ci_generator.rb +57 -0
  7. data/lib/generators/suspenders/email_generator.rb +56 -0
  8. data/lib/generators/suspenders/environments/development_generator.rb +50 -0
  9. data/lib/generators/suspenders/environments/production_generator.rb +27 -0
  10. data/lib/generators/suspenders/environments/test_generator.rb +39 -0
  11. data/lib/generators/suspenders/factories_generator.rb +64 -0
  12. data/lib/generators/suspenders/inline_svg_generator.rb +24 -0
  13. data/lib/generators/suspenders/install/web_generator.rb +71 -0
  14. data/lib/generators/suspenders/jobs_generator.rb +34 -0
  15. data/lib/generators/suspenders/lint_generator.rb +94 -0
  16. data/lib/generators/suspenders/prerequisites_generator.rb +19 -0
  17. data/lib/generators/suspenders/rake_generator.rb +25 -0
  18. data/lib/generators/suspenders/setup_generator.rb +14 -0
  19. data/lib/generators/suspenders/styles_generator.rb +84 -0
  20. data/lib/generators/suspenders/tasks_generator.rb +20 -0
  21. data/lib/generators/suspenders/testing_generator.rb +113 -0
  22. data/lib/generators/suspenders/views_generator.rb +38 -0
  23. data/lib/generators/templates/ci/ci.yml.tt +148 -0
  24. data/lib/generators/templates/ci/dependabot.yml +7 -0
  25. data/lib/generators/templates/email/email_interceptor.rb +11 -0
  26. data/lib/generators/templates/factories/factories_spec.rb +7 -0
  27. data/lib/generators/templates/factories/factories_test.rb +9 -0
  28. data/lib/generators/templates/install/web/CONTRIBUTING.md +94 -0
  29. data/lib/generators/templates/lint/config_better_html.yml +2 -0
  30. data/lib/generators/templates/lint/config_initializers_better_html.rb +9 -0
  31. data/lib/generators/templates/lint/erb-lint.yml +63 -0
  32. data/lib/generators/templates/lint/erblint.rake +47 -0
  33. data/lib/generators/templates/lint/eslintrc.json +7 -0
  34. data/lib/generators/templates/lint/package.json +4 -0
  35. data/lib/generators/templates/lint/prettierignore +1 -0
  36. data/lib/generators/templates/lint/prettierrc +11 -0
  37. data/lib/generators/templates/lint/rubocop.yml.tt +7 -0
  38. data/lib/generators/templates/prerequisites/node-version.tt +1 -0
  39. data/lib/generators/templates/setup/bin_setup.rb +39 -0
  40. data/lib/generators/templates/styles/postcss.config.js +11 -0
  41. data/lib/generators/templates/testing/driver.rb +5 -0
  42. data/lib/generators/templates/views/flashes.html.erb +7 -0
  43. data/lib/install/web.rb +54 -0
  44. data/lib/suspenders/cleanup/generate_readme.rb +165 -0
  45. data/lib/suspenders/cleanup/organize_gemfile.rb +134 -0
  46. data/lib/suspenders/engine.rb +5 -0
  47. data/lib/suspenders/generators.rb +126 -0
  48. data/lib/suspenders/railtie.rb +4 -0
  49. data/lib/suspenders/version.rb +4 -6
  50. data/lib/suspenders.rb +9 -32
  51. data/lib/tasks/suspenders.rake +37 -0
  52. metadata +85 -187
  53. data/.ruby-version +0 -1
  54. data/CONTRIBUTING.md +0 -59
  55. data/GOALS.md +0 -65
  56. data/LICENSE +0 -21
  57. data/NEWS.md +0 -725
  58. data/RELEASING.md +0 -18
  59. data/bin/suspenders +0 -50
  60. data/docs/heroku_deploy.md +0 -19
  61. data/lib/suspenders/actions/strip_comments_action.rb +0 -254
  62. data/lib/suspenders/actions.rb +0 -85
  63. data/lib/suspenders/adapters/heroku.rb +0 -136
  64. data/lib/suspenders/app_builder.rb +0 -254
  65. data/lib/suspenders/exit_on_failure.rb +0 -19
  66. data/lib/suspenders/generators/advisories_generator.rb +0 -15
  67. data/lib/suspenders/generators/analytics_generator.rb +0 -24
  68. data/lib/suspenders/generators/app_generator.rb +0 -216
  69. data/lib/suspenders/generators/base.rb +0 -60
  70. data/lib/suspenders/generators/ci_generator.rb +0 -32
  71. data/lib/suspenders/generators/db_optimizations_generator.rb +0 -18
  72. data/lib/suspenders/generators/factories_generator.rb +0 -22
  73. data/lib/suspenders/generators/forms_generator.rb +0 -18
  74. data/lib/suspenders/generators/inline_svg_generator.rb +0 -14
  75. data/lib/suspenders/generators/jobs_generator.rb +0 -38
  76. data/lib/suspenders/generators/js_driver_generator.rb +0 -18
  77. data/lib/suspenders/generators/json_generator.rb +0 -14
  78. data/lib/suspenders/generators/lint_generator.rb +0 -14
  79. data/lib/suspenders/generators/production/compression_generator.rb +0 -14
  80. data/lib/suspenders/generators/production/deployment_generator.rb +0 -16
  81. data/lib/suspenders/generators/production/email_generator.rb +0 -34
  82. data/lib/suspenders/generators/production/force_tls_generator.rb +0 -11
  83. data/lib/suspenders/generators/production/manifest_generator.rb +0 -25
  84. data/lib/suspenders/generators/production/single_redirect.rb +0 -15
  85. data/lib/suspenders/generators/production/timeout_generator.rb +0 -22
  86. data/lib/suspenders/generators/profiler_generator.rb +0 -35
  87. data/lib/suspenders/generators/runner_generator.rb +0 -48
  88. data/lib/suspenders/generators/staging/pull_requests_generator.rb +0 -25
  89. data/lib/suspenders/generators/static_generator.rb +0 -14
  90. data/lib/suspenders/generators/stylelint_generator.rb +0 -71
  91. data/lib/suspenders/generators/stylesheet_base_generator.rb +0 -30
  92. data/lib/suspenders/generators/testing_generator.rb +0 -43
  93. data/lib/suspenders/generators/views_generator.rb +0 -30
  94. data/templates/Gemfile.erb +0 -45
  95. data/templates/Procfile +0 -2
  96. data/templates/README.md.erb +0 -28
  97. data/templates/_analytics.html.erb +0 -8
  98. data/templates/_css_overrides.html.erb +0 -7
  99. data/templates/_flashes.html.erb +0 -7
  100. data/templates/_javascript.html.erb +0 -3
  101. data/templates/active_job.rb +0 -13
  102. data/templates/application.scss +0 -7
  103. data/templates/bin_auto_migrate +0 -5
  104. data/templates/bin_deploy +0 -10
  105. data/templates/bin_setup +0 -28
  106. data/templates/bin_setup_review_app.erb +0 -21
  107. data/templates/bundler_audit.rake +0 -4
  108. data/templates/capybara_silence_puma.rb +0 -1
  109. data/templates/chromedriver.rb +0 -27
  110. data/templates/circle.yml.erb +0 -6
  111. data/templates/config_locales_en.yml.erb +0 -19
  112. data/templates/descriptions/advisories.md +0 -5
  113. data/templates/descriptions/analytics.md +0 -4
  114. data/templates/descriptions/ci.md +0 -4
  115. data/templates/descriptions/compression.md +0 -4
  116. data/templates/descriptions/db_optimizations.md +0 -2
  117. data/templates/descriptions/deployment.md +0 -5
  118. data/templates/descriptions/email.md +0 -9
  119. data/templates/descriptions/factories.md +0 -12
  120. data/templates/descriptions/force_tls.md +0 -1
  121. data/templates/descriptions/forms.md +0 -1
  122. data/templates/descriptions/inline_svg.md +0 -2
  123. data/templates/descriptions/jobs.md +0 -3
  124. data/templates/descriptions/js_driver.md +0 -4
  125. data/templates/descriptions/json.md +0 -1
  126. data/templates/descriptions/lint.md +0 -3
  127. data/templates/descriptions/manifest.md +0 -2
  128. data/templates/descriptions/profiler.md +0 -7
  129. data/templates/descriptions/pull_requests.md +0 -4
  130. data/templates/descriptions/runner.md +0 -10
  131. data/templates/descriptions/single_redirect.md +0 -1
  132. data/templates/descriptions/static.md +0 -5
  133. data/templates/descriptions/stylelint.md +0 -3
  134. data/templates/descriptions/stylesheet_base.md +0 -4
  135. data/templates/descriptions/testing.md +0 -9
  136. data/templates/descriptions/timeout.md +0 -4
  137. data/templates/descriptions/views.md +0 -8
  138. data/templates/email.rb +0 -3
  139. data/templates/errors.rb +0 -35
  140. data/templates/flashes_helper.rb +0 -5
  141. data/templates/hound.yml +0 -15
  142. data/templates/json_encoding.rb +0 -1
  143. data/templates/oj.rb +0 -3
  144. data/templates/partials/ci_simplecov.rb +0 -14
  145. data/templates/partials/db_optimizations_configuration.rb +0 -7
  146. data/templates/partials/deployment_readme.md +0 -8
  147. data/templates/partials/email_smtp.rb +0 -2
  148. data/templates/partials/profiler_readme.md +0 -8
  149. data/templates/partials/pull_requests_config.rb +0 -5
  150. data/templates/partials/runner_readme.md +0 -31
  151. data/templates/partials/runner_setup.rb +0 -2
  152. data/templates/postgresql_database.yml.erb +0 -20
  153. data/templates/rack_mini_profiler.rb +0 -7
  154. data/templates/rails_helper.rb +0 -25
  155. data/templates/sample_env +0 -11
  156. data/templates/secrets.yml +0 -8
  157. data/templates/smtp.rb +0 -9
  158. data/templates/spec_helper.rb +0 -25
  159. data/templates/suspenders_gitignore +0 -18
  160. data/templates/suspenders_layout.html.erb.erb +0 -21
  161. /data/{templates → lib/generators/templates/factories}/factories.rb +0 -0
  162. /data/{templates → lib/generators/templates/factories}/factory_bot_rspec.rb +0 -0
  163. /data/{templates → lib/generators/templates/inline_svg}/inline_svg.rb +0 -0
  164. /data/{templates → lib/generators/templates/lint}/stylelintrc.json +0 -0
  165. /data/{templates → lib/generators/templates/tasks}/dev.rake +0 -0
  166. /data/{templates → lib/generators/templates/testing}/action_mailer.rb +0 -0
  167. /data/{templates → lib/generators/templates/testing}/i18n.rb +0 -0
  168. /data/{templates/shoulda_matchers_config_rspec.rb → lib/generators/templates/testing/shoulda_matchers.rb} +0 -0
data/NEWS.md DELETED
@@ -1,725 +0,0 @@
1
- 1.56.1 (July 17, 2022)
2
-
3
- Fixes a critical error with the previous release
4
-
5
- * Run database migrations as the last step of bin/suspenders
6
- * Fix bundler error on bin/suspenders script
7
-
8
- 1.56.0 (July 4, 2022)
9
-
10
- Maintenance release
11
-
12
- * Fixed: Make Suspenders fail if running with an unsupported Rails version
13
- * Added: Update default configuration to use request specs
14
- * Added: Add missing Errno::ECONNREFUSED to HTTP_ERRORS
15
- * Fixed: Drop use of git in gemspec
16
- * Fixed: Enforce bundler >= 2.1.0
17
- * Fixed: Make suspenders abort when something goes wrong
18
- * Fixed: Reliability and aesthetics of the config files comment stripper
19
- * Fixed: ActionMailer asset host in the production configuration
20
- * Added: Configure the oj gem (fast JSON parsing) when generating a new application
21
- * Fixed: Improve error message of the match_contents matcher
22
- * Fixed: Convert generator tests to unit tests thus speeding up the test suite
23
- * Removed: Preloader generator / spring
24
- * Added: Pull in DATABASE_URL env var explicitly in database.yml
25
- * Removed: Travis CI configuration
26
- * Upgraded: Ruby to version 2.7.4
27
- * Added: A GitHub Action for CI
28
- * Fixed: Run bin/suspenders in both CLI and tests against a fixed Rails version
29
-
30
- 1.55.1 (September 11, 2020)
31
-
32
- * Fixed: Missing newline in generated development config
33
-
34
- 1.55.0 (July 15, 2020)
35
-
36
- * Changed: lint generator to install standard instead of RuboCop
37
- * Changed: profile generator and timeout generator to write to `.sample.env`
38
- instead of `.env`
39
-
40
- 1.54.1 (June 30, 2020)
41
-
42
- * Fixed: invalid Gemfile entry for bundler-audit
43
- * Fixed: Deprecation warning for `Bundler.with_clean_env`
44
-
45
- 1.54.0 (June 24, 2020)
46
-
47
- * New generator: `suspenders:single_redirect` for setting up `Rack::CanonicalHost`
48
- * New generator: `suspenders:production:compression` for setting up `Rack::Deflater`
49
- * New generator: `suspenders:preloader` for managing spring
50
- * New generator: `suspenders:advisories` for installing bundler-audit
51
- * New generator: `suspenders:profiler` for setting up rack\_mini\_profiler
52
- * New generator: `suspenders:runner` for making an app runnable locally
53
- * Added: generator descriptions
54
- * Added: Heroku release phase for running database migrations
55
- * Added: automatic buildpack configuration for Heroku
56
- * Added: system test configuration to opt into JavaScript as needed
57
- * Added: spring-watcher-listen gem
58
- * Changed: from `chromedriver-helper` to `webdrivers`
59
- * Changed: replace `heroku join` calls with `heroku apps:info` in `bin/setup`
60
- * Changed: check environment instead of `DATABASE\_URL` in test helper
61
- * Fixed: `ExpandJson` merging
62
- * Fixed: spacing in the generated config file
63
- * Upgraded: bitters to version 2.x
64
- * Upgraded: bourbon to version 6.x
65
- * Upgraded: Ruby to version 2.6.6
66
- * Removed: neat gem
67
- * Removed: ctags configuration
68
- * Removed: custom placeholder directories
69
- * Removed: customization for error pages
70
- * Removed: custom Puma config
71
-
72
- 1.53.0 (August 23, 2019)
73
- * Upgraded: Rails 6.0.
74
- * New generator: `suspenders:inline_svg` for setting up the inline_svg gem.
75
- * Changed: silence Puma's startup messages in JS specs.
76
- * Changed: improve chromedriver configuration.
77
- * Added: documentation for deploying to Heroku.
78
- * Fixed: indentation in production config file.
79
-
80
- 1.52.0 (June 7, 2019)
81
- * Changed: Setup system tests instead of feature specs
82
- * Upgraded: Rails 5.2.3
83
-
84
- 1.51.0 (April 26, 2019)
85
-
86
- * Changed: from sass-rails to sassc-rails.
87
- * Upgraded: Ruby 2.6.3.
88
- * Fixed: Avoid installing autoprefixer-rails in api mode
89
- * New generator: `suspenders:stylelint` for setting up stylelint.
90
- * New generator: `suspenders:production:manifest` for app.json.
91
- * New generator: `suspenders:production:deployment` for bin/deploy script.
92
-
93
- 1.50.0 (December 28, 2018)
94
-
95
- * Removed: jquery-rails.
96
- * Changed: default FactoryBot to `use_parent_strategy = true`.
97
- * Upgraded: Ruby 2.5.3.
98
- * Fixed: set `ASSET_HOST` and `APPLICATION_HOST` at top of `production.rb`.
99
- * Fixed: `tzinfo-data` gem for Windows.
100
- * New generator: `suspenders:json` for JSON parsing.
101
- * New generator: `suspenders:staging:pull_requests` for Heroku app per PR.
102
-
103
- 1.49.0 (October 19, 2018)
104
-
105
- * Removed: NOODP robots meta tags
106
- * Removed: flutie gem and body class in application layout
107
- * Upgraded: remove version constraint for pg gem
108
- * Fixed: install JavaScript dependencies in bin/setup
109
- * Fixed: include action_mailer SMTP settings in production config
110
-
111
- 1.48.0 (August 10, 2018)
112
-
113
- * Bug fix: change production timeouts generator to use working configuration
114
- method with latest version of Rack::Timeout
115
- * Bug fix: Only add email environment requirements if configuring for email
116
- * Breaking: Replace capybara-webkit with chromedriver
117
-
118
- 1.47.0 (May 25, 2018)
119
-
120
- * Bug fix: normalize.css Sass import is concatenated with other styles now
121
- * Bug fix: the suspenders gem itself is not needed in production
122
- * Bug fix: bundle install after adding a gem
123
- * Breaking: remove Refills
124
- * Breaking: rename suspenders:enforce_ssl to suspenders:production:force_tls
125
- * Upgrade: update to Ruby 2.5.1
126
- * Upgrade: update to Rails 5.2.0
127
- * New generator: production email
128
- * New generator: production timeouts
129
-
130
- 1.46.0 (January 26, 2018)
131
-
132
- * Bug fix: Fix for action mailer asset_host
133
- * Bug fix: Lock pg to ~> 0.18
134
- * Breaking: Remove Database Cleaner
135
- * Upgrade: Update to Rails 5.1.4
136
- * Upgrade: Update to Ruby 2.5.0
137
- * Upgrade: Update bourbon from 5.0.0.beta.8 to 5.0.0
138
- * Upgrade: Update FactoryGirl to FactoryBot
139
- * Generators: Analytics generator
140
- * Generators: CI generator
141
- * Generators: DB optimization generator
142
- * Generators: Factories generator
143
- * Generators: Forms generator
144
- * Generators: Javascript driver generator
145
- * Generators: Jobs generator
146
- * Generators: Lint generator
147
- * Generators: Testing driver generator
148
- * Generators: Views generator
149
-
150
- 1.45.0 (September 8, 2017)
151
-
152
- * Bump Rails to 5.1.3 (#857)
153
- * Configure HONEYBADGER_ENV for staging, production (#861)
154
- * Remove vestigial `staging` references (#860)
155
- * Prevent memory bloat in ActiveJob children (#856)
156
- * .git/safe is opt-in (#837)
157
- * Enforce SSL in production environment (#855)
158
- * Configures action mailer asset host (#853)
159
- * Install normalize.css via yarn (#851)
160
- * Update Rails to 5.1 (#847)
161
- * Update bourbon from 5.0.0.beta.7 to 5.0.0.beta.8 (#848)
162
- * Update Neat to 2.1 (#849)
163
- * Update Bitters to 1.7 (#850)
164
- * Fix incorrect Timecop link (#845)
165
- * Update Ruby to 2.4.1 (#841)
166
- * Update rspec-rails to 3.6 (#842)
167
- * Configure TimeCop safe mode (#840)
168
- * Pull normalize.css through Rails Assets (#839)
169
- * Fix fatal git failures in tests (#832)
170
- * Schedule Heroku Backups and Capture backup of existing staging database for
171
- Review Apps (#826)
172
- * Use bundle-audit rake task from the gem (#831)
173
- * Update thoughtbot logo (#829)
174
- * Change terminal symbol in README's deploying section (#828)
175
- * Update Segment snippet to 4.0.0 (#822)
176
-
177
- 1.44.0 (January 25, 2017)
178
-
179
- * Improve readability of `bin/setup-review-app` (#819)
180
- * Update scripts to be `sh`-compatible (#820)
181
- * Remove `rails_stdout_logging` gem (#818)
182
- * Remove `12factor` gem (#817)
183
- * Update Ruby to 2.4.0 (#814)
184
-
185
- 1.43.0 (November 8, 2016)
186
-
187
- * Update Bourbon to 5.0.0.beta.7
188
- * Update Neat to 2.0.0.beta.1
189
- * Update Bitters to 1.5.0
190
- * Drop sprockets-es6
191
- * Bugfix: doesn’t generate unused `test/` directory
192
-
193
- 1.42.0 (July 23, 2016)
194
-
195
- * [#784] Require refills once
196
- * [#790] Ensure stylesheet_base generator runs with a clean bundle
197
- * [#791] Use Rails' 5 syntax for `public_file_server.headers`
198
- * [#792] Remove turbolinks from application.js file
199
-
200
- 1.41.0 (July 1, 2016)
201
-
202
- * Update to Rails 5
203
- * Drop quiet_assets
204
- * Drop unneeded `suspenders` aliases: `--skip-test-unit`, `--skip-turbolinks`,
205
- `--skip-bundle`. Drops `-G` that clashes with Rails’ `--skip-git` alias.
206
-
207
- 1.40.0 (June 25, 2016)
208
-
209
- * Upgrade bourbon to 5.0.0.beta.6
210
- * Update Neat to 1.8.0
211
- * `APPLICATION_HOST` bug fix in production environment (was used before it was
212
- defined)
213
- * Update comment around Pipelines: it is now a Heroku core plugin
214
- * Drop unneeded `WEB_CONCURRENCY` from `app.json` file
215
- * Introduce a `suspenders:stylesheet_base` generator. The `application.scss`
216
- must list the imports in a specific order. This removes the `application.css`.
217
-
218
- 1.39.0 (May 25, 2016)
219
-
220
- * Update to Ruby 2.3.1
221
- * Make new apps "deployable to Heroku" by default.
222
- * Make the help text returned when running `suspenders -h` Suspenders specific
223
- * Bugfix: Configure `static_cache_control` in production environment
224
- * Replace NewRelic with Skylight
225
- * Drop initializer for disabling XML parser
226
- * Start moving suspenders features into different Rails Generators
227
- * Set default `application_host` in Heroku
228
- * Update the viewport meta tag
229
-
230
- 1.38.1 (April 20, 2016)
231
-
232
- * Bugfix: add bitters as suspenders’ dependency back.
233
-
234
- 1.38.0 (April 15, 2016)
235
-
236
- * Update bourbon to `v5.0.0.beta.5`
237
- * Drops staging environment in favor of configuration through env variables
238
- * Bugfix: failing migrations were not making Heroku deploys fail
239
-
240
- 1.37.0 (March 13, 2016)
241
-
242
- * Remove `RAILS_ENV` definitions
243
- * Set development `action_mailer.delivery_method` to `:file`
244
- so that mails are copied to `./tmp/mails/` directory for easy development
245
- access.
246
- * Update Bourbon to v5.0.0.beta.3
247
- * Update Bitters to v1.3
248
- * Update Autoprefixer config, drop support for IE 9, IE 10 and iOS 7
249
- * Better db support in linux environments
250
- * Replaces coffeescript with babel
251
- * Update CSS tests to ignore transitions
252
-
253
- 1.36.0 (February 26, 2016)
254
-
255
- * Update Bitters to v1.2
256
- * Remove deprecated `fix_i18n_deprecation_warning` method
257
- * Switch from Airbrake to Honeybadger
258
- * Generate applications with `rack_mini_profiler` (disabled by default, enabled
259
- by setting `RACK_MINI_PROFILER=1`)
260
- * Heroku Pipelines bug fixes
261
-
262
- 1.35.0 (December 30, 2015)
263
-
264
- * Introduce Heroku Pipelines support
265
- * Update to Ruby 2.3.0
266
- * Heroku commands run on staging by default
267
- * Git ignore `.env.local` instead of `.env`
268
- * Add ability to use byebug navigation commands inside of Pry using the
269
- `pry-byebug` gem
270
- * Remove `i18n-tasks` from generated Gemfile
271
- * Accessibility: Add `lang` attribute to `html` element in layout
272
-
273
- 1.34.0 (November 15, 2015)
274
-
275
- * Fix `block_unknown_urls` deprecation warning with capybara_webkit when running
276
- Javascript tests
277
- * Inherit staging's `action_mailer_host` config from production
278
- * Suspenders command line responds to `-v` and `--version` options
279
- * Clean up `bin/rake`
280
- * Remove `email_validator` gem from generated Gemfile
281
- * Fix Circle deploys by removing redundant remote
282
- * Add `bullet` as development dependency
283
- * Use Heroku Local (Forego) instead of Foreman
284
- * Raise on missing Sprockets assets in test environment
285
-
286
- 1.33.0 (October 23, 2015)
287
-
288
- * Add `quiet_assets` as development dependency
289
- * Reduce number of Puma processes and threads to reduce memory usage
290
- * Move non-runtime-dependency i18n-tasks to development and test Gemfile groups
291
- * Move non-runtime-dependency refills to the development Gemfile group
292
- * Generate empty `spec/factories.rb` file in accordance with thoughtbot’s
293
- styleguide
294
- * Shoulda Matchers 3.0 configuration
295
-
296
- 1.32.0 (October 9, 2015)
297
-
298
- * Install Foreman automatically during setup script
299
- * Port always defaults to 3000
300
- * Provide shoulda-matchers config
301
- * Set CI auto-deploy for Heroku suspended apps
302
- * Configure capybara-webkit to block unknown URLs
303
- * Add mandatory environment variables to .sample.env
304
- * Other bugfixes
305
-
306
- 1.31.0 (September 3, 2015)
307
-
308
- * Update to Ruby 2.2.3
309
- * Add ctags configuration dotfile
310
- * Rename `$HOST` to `$APPLICATION_HOST` for zsh compatibility
311
- * Update Bitters to 1.1
312
- * Remove comments and newlines in config files
313
- * Abort tests run if `DATABASE_URL` env variable is set
314
-
315
- 1.30.0 (July 30, 2015)
316
-
317
- * Update to RSpec 3.3
318
- * Replace TravisCI with CircleCI
319
- * Rename development data concept to avoid confusion with db/seeds
320
- * Remove Unicorn in favor of Puma, as [recommended by Heroku]
321
-
322
- [recommended by Heroku]: https://devcenter.heroku.com/changelog-items/594
323
-
324
- 1.29.0 (June 16, 2015)
325
-
326
- * Generate rake, rails and rspec binstubs with Spring
327
- * Remove Capybara and use RSpec 3.2 for development
328
- * Improves suspenders' test suite speed
329
- * Refills `flashes.scss` bugfix
330
-
331
- 1.28.0 (May 9, 2015)
332
-
333
- * Require spec/support files in a certain order
334
- * Use rack-canonical-host
335
- * Swap `id="flash"` for `class="flashes"` in `_flashes.html.erb`
336
- * Provide EXECJS_RUNTIME env variable (Node, as in Heroku)
337
- * Removes .css file suffix from application stylesheet
338
- * Add mention of Autoprefixer Rails gem to readme
339
- * Use ruby 2.2.2
340
- * Update gems
341
-
342
- 1.27.0 (April 10, 2015)
343
-
344
- * Add Autoprefixer and browserslist config file
345
- * Only display user-facing flashes
346
- * Add code of conduct to CONTRIBUTING document
347
- * Only use rack-timeout in staging and production
348
- * Add SimpleCov
349
- * Avoid generation of extra _flashes view
350
- * Fix Travis CI install step
351
- * Cache bundle in Travis CI runs
352
-
353
- 1.26.0 (March 23, 2015)
354
-
355
- * Update Rails to 4.2.1
356
- * Update Bitters to 1.0
357
- * Fix .ruby-version (should have been 2.1.1)
358
- * Enable `verify_partial_doubles`
359
- * Renames Segment.io to Segment
360
- * Removes New Relic unnecessary configuration setting
361
-
362
- 1.25.0 (March 7, 2015)
363
-
364
- * Configure Active Job queue adapter for test env
365
- * Use Ruby 2.2.1 (bug: `.ruby-version` wasn’t updated in the package)
366
- * Dasherize heroku app names
367
- * Update Bourbon to 4.2.0
368
- * Add ASSET_HOST to sample.env (defaults to HOST)
369
- * Set bin/deploy script as executable
370
- * Set email deliver method to :test for development
371
- * Include missing word in the Flutie description in README.
372
- * Remove unused dev gems: aruba & cucumber
373
- * Use skip_bundle class_option (rather than defining an empty run_bundle method)
374
-
375
- 1.24.0 (February 3, 2015)
376
-
377
- * Remove things in Suspenders that Rails does for us now.
378
- * Document how to use the `title` view helper.
379
- * Improve speed of bundling in `bin/setup` script.
380
- * Set ENV variable to make out-of-the-box Heroku static asset experience better.
381
-
382
- 1.23.0 (January 19, 2015)
383
-
384
- * Use Bourbon 4.1.0.
385
- * Use Neat 1.7.0.
386
- * Remove [parameter wrapping] for every format, including JSON.
387
- * Turn off TravisCI email notifications for Suspended apps.
388
- * Run `rake dev:prime` on CI in order to test
389
- whether `bin/setup` has any regressions.
390
- * Fix `config.action_mailer.default_url_options`'s value.
391
- It now correctly uses `ENV.fetch("HOST")` in staging
392
- and production.
393
-
394
- [parameter wrapping]: http://api.rubyonrails.org/classes/ActionController/ParamsWrapper.html
395
-
396
- 1.22.0 (January 11, 2015)
397
-
398
- * Allow additional
399
- [Heroku flags](https://github.com/thoughtbot/suspenders#heroku)
400
- such as `--addons` and `--region`.
401
- * Use RSpec 3.1.0.
402
- * Use Travis' new Docker container infrastructure
403
- for builds that start sooner and run faster.
404
- * Improve SMTP and ActionMailer default settings.
405
-
406
- 1.21.0 (January 4, 2015)
407
-
408
- * Use Ruby 2.2.0.
409
- * Use Rails 4.2.0.
410
- * Install [Refills] and Refills' "flashes" component.
411
- * Add `bin/deploy` script.
412
-
413
- [Refills]: http://refills.bourbon.io/components/#flashes
414
-
415
- 1.20.0 (November 25, 2014)
416
-
417
- * Use Ruby 2.1.5.
418
- * Use bin/setup from TravisCI to test executable documentation.
419
- * Default JSON time format to use ISO8601 to match Heroku API Design Guide.
420
- * Add Bundler Audit to scan Gemfile for insecure dependencies per CVEs.
421
-
422
- 1.19.0 (November 23, 2014)
423
-
424
- * Use Ruby 2.1.4.
425
- * Use Rails 4.1.8.
426
- * Add Bundler Audit gem for scanning the Gemfile
427
- for insecure dependencies based on published CVEs.
428
- * Use Heroku-recommended timeout numbers.
429
- * [Improve memory] of app on Heroku with New Relic.
430
- * Turn off RSpec verbose mode by default.
431
-
432
- [Improve memory]: http://forum.upcase.com/t/how-to-free-up-swap-space-heroku/3017/13?u=croaky
433
-
434
- 1.18.0 (October 23, 2014)
435
-
436
- * Use Ruby 2.1.3.
437
- * Move New Relic to all gem groups to more easily
438
- [debug Rails performance in development][debug-performance].
439
- * Make `bin/setup` idempotent, failing fast with install messages.
440
- * Fix unevaluated app name in generated `en.yml` locale file.
441
- * Change `File.exists?` to `File.exist?` to fix Ruby warning.
442
- * Don't include port 6000 as an option for Foreman; Chome considers it unsafe.
443
- * Git ignore the entire /tmp directory.
444
-
445
- [debug-performance]: https://upcase.com/improving-rails-performance
446
-
447
- 1.17.0 (September 30, 2014)
448
-
449
- * Use Rails 4.1.6.
450
- * Generate a `spec/rails_helper.rb` and `spec/spec_helper.rb` following
451
- RSpec 3.x's example, but using our defaults.
452
- * Raise on missing i18n translations in test environment.
453
- * Raise on unpermitted parameters in test environment.
454
- * Provide example for using Title gem for internationalizing page title text.
455
-
456
- 1.16.0 (August 16, 2014)
457
-
458
- * Use the 3.x series of RSpec.
459
- * Use the 0.10.x series of Bitters.
460
- * Improve documentation in generated README for machine setup via `bin/setup`
461
- and https://github.com/thoughtbot/laptop script.
462
- * Remove Foreman from `Gemfile`.
463
- * Use i18n-tasks for missing or unused translations.
464
- * Raise on missing translations in development environment. Fail fast!
465
- * Prevent empty div when there are no flashes.
466
- * Pick random port when generating Rails app so multiple apps can be run via
467
- Foreman on a development machine at the same time.
468
- * Add `normalize-rails` gem for resetting browser styles.
469
-
470
- 1.15.0 (July 9, 2014)
471
-
472
- * Use Rails 4.1.4.
473
- * Use latest thoughtbot style guidelines in generated code so that
474
- https://houndci.com will approve the initial commit.
475
- * Remove Campfire in favor of Slack.
476
- * Remove Pow in bin/setup.
477
- * Upgrade Capybara Webkit to support Capybara 2.3 API.
478
- * Add byebug.
479
-
480
- 1.14.0 (June 11, 2014)
481
-
482
- * Set up Bitters during Suspenders setup. http://bitters.bourbon.io/
483
- * Remove SimpleCov.
484
- * Force Suspenders to use a particular Rails version (4.1.1).
485
- * Use RSpec 2.x until Travis/Capybara issues resolve.
486
- * Set `viewport` to `initial-scale=1`.
487
-
488
- 1.13.0 (May 29, 2014)
489
-
490
- * Remove `FactoryGirl.lint` in `before(:suite)` in order to avoid paying and
491
- estimated extra ~300ms load time on a typical thoughtbot app.
492
- * Automatically join Heroku app in `bin/setup` if using Heroku organizations.
493
-
494
- 1.12.0 (May 26, 2014)
495
-
496
- * Fix `rake dev:prime` now that Suspenders-generated apps require some `ENV`
497
- variables to be set.
498
- * Ensure `EMAIL_RECIPIENTS` is set on staging.
499
- * Clear `ActionMailer` deliveries before every test.
500
- * Include New Relic configuration file.
501
- * Add Formulaic gem for integration testing HTML forms.
502
- * Set up the Segment.io adapter for analytics and event tracking through
503
- services such as Google Analytics and Intercom.
504
- * Prepare staging and production environments to serve static assets through a
505
- CDN.
506
-
507
- 1.11.0 (May 17, 2014)
508
-
509
- * Generate a Rails 4.1.1 app and implement fixes for compatibility.
510
- * Escape ERb in secrets.yml
511
- * Maintain ActiveRecord test schema.
512
- * Make Shoulda Matchers work with Spring.
513
- * Unify Ruby version for gem and suspended apps.
514
- * Move SMTP variable settings out of initializer.
515
- * Connect to Postgres on localhost.
516
- * Add `bin/setup` for contributors.
517
- * Improve and document TravisCI configuration.
518
-
519
- 1.10.2 (April 28, 2014)
520
-
521
- * Fix bundling Bourbon and Neat.
522
-
523
- 1.10.1 (April 25, 2014)
524
-
525
- * Fix bundling sass-rails.
526
-
527
- 1.10.0 (April 21, 2014)
528
-
529
- * Generate a Rails 4.1 app.
530
- * Generate a working .ruby-version for Ruby >= 2.1.0.
531
- * Update Unicorn template to version now preferred by Heroku.
532
-
533
- 1.9.3 (April 13, 2014)
534
-
535
- * Use FactoryGirl.lint instead of custom-generated factory-testing code.
536
- * Fix Delayed::Job <-> Rails 4.1 dependency conflict.
537
-
538
- 1.9.2 (April 10, 2014)
539
-
540
- * Join Heroku apps in bin/setup.
541
- * Enable SMTP/TLS in SMTP settings.
542
- * Silence an RSpec warning.
543
-
544
- 1.9.1 (April 7, 2014)
545
-
546
- * Fix sass-rails environment NilClass error.
547
-
548
- 1.9.0 (March 24, 2014)
549
-
550
- * Add `awesome_print` gem.
551
- * Add `dev:prime` task placeholder for bootstrapping local dev data.
552
- * Add fix for I18n deprecation warning from `enforce_available_locales`.
553
- * Add generated `.travis.yml`.
554
- * Remove `better_errors` because of issues with Unicorn.
555
- * Remove fast-failing for RSpec; respect user's `~/.rspec` instead.
556
- * Update New Relic agent.
557
- * Update Rails to 4.0.3.
558
-
559
- 1.8.1 (February 19, 2014)
560
-
561
- * Don't distribute rspec binstub with gem.
562
-
563
- 1.8.0 (February 18, 2014)
564
-
565
- * Make the .git/safe directory in bin/setup.
566
- * Require `rails_12factor` gem only on Heroku.
567
- * Require mailer config on staging and production.
568
- * Add rspec binstub.
569
- * Fix .ruby-version on Ruby 2.1.0.
570
- * Replace Flutie's `page_title` with `title` gem.
571
- * Don't run factory specs twice.
572
- * Inherit staging config from production.
573
- * Internal: convert tests from Cucumber to RSpec.
574
- * Don't include `prefilled_input.js`.
575
- * Fix Rack class name - Deflater instead of Timeout.
576
- * Add Pry Rails.
577
- * Add Spring.
578
- * Add Dotenv to development and test environments to load environment variables
579
- from the `.env` file.
580
- * Reduce ActiveRecord connection pool from 5 to 2.
581
-
582
- 1.7.0 (December 6, 2013)
583
-
584
- * Keep `db/schema.rb` under version control.
585
- * Fast-fail if any part of `bin/setup` fails.
586
- * Move secret key out of version control.
587
- * Create `.ruby-version` in generated applications.
588
- * Add placeholder modules and directories for feature specs.
589
- * Improve README to include setup instructions.
590
-
591
- 1.6.0 (November 28, 2013)
592
-
593
- * Do not create `.rspec` file as the settings are not project-specific.
594
- * Generate RSpec binstub at `bin/rspec`.
595
- * Fix stylesheet error on 500, 404, and 422 static pages.
596
- * Add `--skip-git` option.
597
- * Disable jQuery animations in Rails integration tests that execute JavaScript.
598
- * Fix git remote bug.
599
- * Add `Rack::Deflater` to compress responses with Gzip.
600
-
601
- 1.5.1 (September 10, 2013)
602
-
603
- * Remove Turbolinks.
604
- * Don't use Bundler's binstubs in `bin/setup`.
605
- * Remove `--drb` now that we aren't using Spork.
606
- * Set up DNS via Pow for development.
607
- * Update gem versions.
608
-
609
- 1.5.0 (August 3, 2013)
610
-
611
- * Add Neat.
612
- * Replace Bourne with RSpec Mocks.
613
- * Replace Sham Rack with WebMock.
614
- * Remove dependency on `hub` gem.
615
- * Clean up leftover Rails 3 conventions.
616
-
617
- 1.4.0 (July 21, 2013)
618
-
619
- * Support Rails 4.
620
- * Support Ruby 2.
621
- * Remove jQuery UI.
622
- * Factories spec works for non-ActiveRecord objects.
623
- * Use New Relic RPM gem >= 3.5.7 for Heroku request queue accuracy.
624
- * Abort RSpec runs on first failure.
625
- * Replace custom email validator with gem.
626
-
627
- 1.3.0 (May 13, 2013)
628
-
629
- * Switch web server from Thin to Unicorn
630
- * Set up database before setting up RSpec so that the rspec:install task works
631
- * Add Delayed::Job
632
- * Clean up cruft from ActionMailer delivery configuration
633
- * strong_parameters now raises an error in development
634
- * Enforce Ruby 1.9.2+ in the gemspec
635
-
636
- 1.2.2 (March 14, 2013)
637
-
638
- * Fix Syntax error in staging/production environment config files.
639
- * Make Factory Girl available to development environment for generators and
640
- `rails console`.
641
-
642
- 1.2.1 (February 28, 2013)
643
-
644
- * Use Ruby 1.9.3 and 2.0
645
- * Update staging and production email delivery
646
- * Remove Spork and Guard
647
- * Add better_errors and binding_of_caller gems
648
- * Fix ActiveRecord attributes' blacklist
649
- * Add Flutie to Gemfile
650
-
651
- 1.2.0 (February 13, 2013)
652
-
653
- * Upgrade Rails from 3.2.8 to 3.2.12 to keep pace with security patches.
654
- * Improve staging environment on Heroku with staging `ENV` variables and
655
- overriding the recipient in staging email delivery.
656
- * Remove Flutie, use Bourbon.
657
- * Wrap all HTTP requests in a 5 second timeout.
658
- * Don't use `attr_accessible` whitelists. Instead, configure Strong Parameters.
659
- * Provide a `bin/setup` script.
660
- * Force RSpec's `expect` syntax.
661
- * Remove remaining references to Cucumber, complete RSpec + Capybara conversion.
662
- * Improve Foreman/`.env`/`Procfile` interactions.
663
-
664
- 1.1.5 (October 22, 2012)
665
-
666
- * Ignore `.env`.
667
- * Link to thoughtbot/guides in generated README.
668
- * Remove Cucumber in favor of RSpec + Capybara.
669
- * Deliver emails in staging environment to an overriden email or set of emails.
670
- * Encode database as UTF8.
671
- * Bundle with binstubs using 37signals' directory convention.
672
- * Configure time formats using localization.
673
- * Add Ruby version to Gemfile.
674
- * Add fast-failing spec that tests validity of factories.
675
- * Use SimpleCov for C0 coverage.
676
- * Configure RSpec with `--profile` flag to find slow-running specs.
677
-
678
- 1.1.4 (September 4, 2012)
679
-
680
- * Always store UTC in the DB.
681
- * Use Rails 3.2.8.
682
-
683
- 1.1.3 (August 7, 2012)
684
-
685
- * Fix broken Gemfile additions where capybara stole cucumber's `require: false`
686
-
687
- 1.1.2 (August 6, 2012)
688
-
689
- * Fix broken rake.
690
- * Use Heroku-compliant asset pipeline settings.
691
-
692
- 1.1.1 (August 3, 2012)
693
-
694
- * Fix broken newline interpolation
695
-
696
- 1.1.0 (August 3, 2012)
697
-
698
- * Add --github option.
699
- * Add --webkit option.
700
- * Remove cruft when generating controllers.
701
- * Add Spork and Guard.
702
-
703
- 1.0.1 (August 2, 2012)
704
-
705
- * Fix broken install on Ruby 1.8.
706
- * Remove db/schema.rb from .gitignore.
707
- * Remove Factory Girl step definitions.
708
-
709
- 1.0.0 (June 29, 2012)
710
-
711
- * Ignore `bin/`, `.rake_tasks`, `.bundle/`, and `.gem/`.
712
- * Create a root route only with `--clearance`.
713
- * Do not autocommit after generate.
714
- * Style static error pages.
715
- * Cucumber requires everything under `features/`, regardless of pwd.
716
- * Added gems:
717
- * `foreman`
718
- * `therubyracer`
719
- * Removed gems:
720
- * `copycopter_client`
721
- * `heroku`
722
- * `ruby-debug`
723
- * `sass`
724
- * `sprockets-redirect`
725
- * `email_spec`