suspenders 20230113.0 → 20240516.0

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