lo-suspenders 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +11 -0
  5. data/CONTRIBUTING.md +46 -0
  6. data/Gemfile +3 -0
  7. data/LICENSE +21 -0
  8. data/NEWS.md +486 -0
  9. data/README.md +129 -0
  10. data/RELEASING.md +19 -0
  11. data/Rakefile +8 -0
  12. data/bin/lo-suspenders +18 -0
  13. data/bin/rake +16 -0
  14. data/bin/rspec +16 -0
  15. data/bin/setup +13 -0
  16. data/lib/suspenders.rb +5 -0
  17. data/lib/suspenders/actions.rb +33 -0
  18. data/lib/suspenders/adapters/heroku.rb +125 -0
  19. data/lib/suspenders/app_builder.rb +523 -0
  20. data/lib/suspenders/generators/app_generator.rb +237 -0
  21. data/lib/suspenders/version.rb +5 -0
  22. data/spec/adapters/heroku_spec.rb +52 -0
  23. data/spec/fakes/bin/heroku +5 -0
  24. data/spec/fakes/bin/hub +5 -0
  25. data/spec/features/github_spec.rb +15 -0
  26. data/spec/features/heroku_spec.rb +93 -0
  27. data/spec/features/new_project_spec.rb +214 -0
  28. data/spec/spec_helper.rb +20 -0
  29. data/spec/support/fake_github.rb +21 -0
  30. data/spec/support/fake_heroku.rb +53 -0
  31. data/spec/support/suspenders.rb +58 -0
  32. data/suspenders.gemspec +38 -0
  33. data/templates/Gemfile.erb +65 -0
  34. data/templates/Procfile +2 -0
  35. data/templates/README.md.erb +28 -0
  36. data/templates/_css_overrides.slim +6 -0
  37. data/templates/_flashes.slim +5 -0
  38. data/templates/_javascript.slim +6 -0
  39. data/templates/action_mailer.rb +5 -0
  40. data/templates/app.json.erb +42 -0
  41. data/templates/application.js +2 -0
  42. data/templates/application.scss +5 -0
  43. data/templates/bin_deploy +12 -0
  44. data/templates/bin_setup +21 -0
  45. data/templates/bin_setup_review_app.erb +19 -0
  46. data/templates/browserslist +3 -0
  47. data/templates/bundler_audit.rake +12 -0
  48. data/templates/capybara_webkit.rb +5 -0
  49. data/templates/circle.yml.erb +6 -0
  50. data/templates/config_locales_en.yml.erb +19 -0
  51. data/templates/database_cleaner_rspec.rb +21 -0
  52. data/templates/dev.rake +12 -0
  53. data/templates/disable_xml_params.rb +1 -0
  54. data/templates/dotfiles/.ctags +2 -0
  55. data/templates/dotfiles/.env +13 -0
  56. data/templates/errors.rb +34 -0
  57. data/templates/factories.rb +2 -0
  58. data/templates/factory_girl_rspec.rb +3 -0
  59. data/templates/flashes_helper.rb +5 -0
  60. data/templates/i18n.rb +3 -0
  61. data/templates/json_encoding.rb +1 -0
  62. data/templates/newrelic.yml.erb +34 -0
  63. data/templates/postgresql_database.yml.erb +21 -0
  64. data/templates/puma.rb +28 -0
  65. data/templates/rack_mini_profiler.rb +5 -0
  66. data/templates/rails_helper.rb +22 -0
  67. data/templates/secrets.yml +14 -0
  68. data/templates/shoulda_matchers_config_rspec.rb +6 -0
  69. data/templates/smtp.rb +9 -0
  70. data/templates/spec_helper.rb +29 -0
  71. data/templates/staging.rb +5 -0
  72. data/templates/suspenders_gitignore +13 -0
  73. data/templates/suspenders_layout.tt +19 -0
  74. metadata +258 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1c00f44ca25fcd03e4fbe5a0a24ad1c9b61f7b92
4
+ data.tar.gz: 23464fdee11300b3df4257c694a9d47ac24ca564
5
+ SHA512:
6
+ metadata.gz: 2301911d6005cba3d7eef345056dcd2cb918cc3fdc3aea8363bbdf0daca1ad05ba617393091ed0a289f37b87c3e7f090cbbdd1fa6177289361bcb7b42f979e2c
7
+ data.tar.gz: 2e59baac6681bb55d2bba4e43f5671c969045fc81bb3d52fb2bcc3483229b1a5e382f66142b3cc635fe4ced4bde65049cd900dbcb3fcdc495fa8bd1a84c10000
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ *.gem
2
+ *.swp
3
+ Gemfile.lock
4
+ /.bundle
5
+ /tmp
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.3.0
data/.travis.yml ADDED
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm: 2.3.0
3
+ cache: bundler
4
+ sudo: false
5
+ before_install:
6
+ - "echo '--colour' > ~/.rspec"
7
+ - git config --global user.name 'Travis CI'
8
+ - git config --global user.email 'travis-ci@example.com'
9
+ install: bundle install
10
+ notifications:
11
+ email: false
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,46 @@
1
+ # Contributing
2
+
3
+ We love pull requests from everyone. By participating in this project, you agree
4
+ to abide by the thoughtbot [code of conduct].
5
+
6
+ [code of conduct]: https://thoughtbot.com/open-source-code-of-conduct
7
+
8
+ Fork the repo:
9
+
10
+ git clone git@github.com:thoughtbot/suspenders.git
11
+
12
+ Set up your machine:
13
+
14
+ ./bin/setup
15
+
16
+ If you're having trouble installing `capybara-webkit` check their [installation
17
+ instructions](https://github.com/thoughtbot/capybara-webkit#qt-dependency-and-installation-issues).
18
+
19
+ Make sure the tests pass:
20
+
21
+ rake
22
+
23
+ Make your change.
24
+ Write tests.
25
+ Follow our [style guide][style].
26
+ Make the tests pass:
27
+
28
+ [style]: https://github.com/thoughtbot/guides/tree/master/style
29
+
30
+ rake
31
+
32
+ Write a [good commit message][commit].
33
+ Push to your fork.
34
+ [Submit a pull request][pr].
35
+
36
+ [commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
37
+ [pr]: https://github.com/thoughtbot/suspenders/compare/
38
+
39
+ Wait for us.
40
+ We try to at least comment on pull requests within one business day.
41
+ We may suggest changes.
42
+
43
+ ## Versions
44
+
45
+ To update the Ruby version,
46
+ change `.ruby-version` and `.travis.yml`.
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2008-2016 thoughtbot, inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/NEWS.md ADDED
@@ -0,0 +1,486 @@
1
+ 1.37.0 (March 13, 2016)
2
+
3
+ * Remove `RAILS_ENV` definitions
4
+ * Set development `action_mailer.delivery_method` to `:file`
5
+ so that mails are copied to `./tmp/mails/` directory for easy development
6
+ access.
7
+ * Update Bourbon to v5.0.0.beta.3
8
+ * Update Bitters to v1.3
9
+ * Update Autoprefixer config, drop support for IE 9, IE 10 and iOS 7
10
+ * Better db support in linux environments
11
+ * Replaces coffeescript with babel
12
+ * Update CSS tests to ignore transitions
13
+
14
+ 1.36.0 (February 26, 2016)
15
+
16
+ * Update Bitters to v1.2
17
+ * Remove deprecated `fix_i18n_deprecation_warning` method
18
+ * Switch from Airbrake to Honeybadger
19
+ * Generate applications with `rack_mini_profiler` (disabled by default, enabled
20
+ by setting `RACK_MINI_PROFILER=1`)
21
+ * Heroku Pipelines bug fixes
22
+
23
+ 1.35.0 (December 30, 2015)
24
+
25
+ * Introduce Heroku Pipelines support
26
+ * Update to Ruby 2.3.0
27
+ * Heroku commands run on staging by default
28
+ * Git ignore `.env.local` instead of `.env`
29
+ * Add ability to use byebug navigation commands inside of Pry using the
30
+ `pry-byebug` gem
31
+ * Remove `i18n-tasks` from generated Gemfile
32
+ * Accessibility: Add `lang` attribute to `html` element in layout
33
+
34
+ 1.34.0 (November 15, 2015)
35
+
36
+ * Fix `block_unknown_urls` deprecation warning with capybara_webkit when running
37
+ Javascript tests
38
+ * Inherit staging's `action_mailer_host` config from production
39
+ * Suspenders command line responds to `-v` and `--version` options
40
+ * Clean up `bin/rake`
41
+ * Remove `email_validator` gem from generated Gemfile
42
+ * Fix Circle deploys by removing redundant remote
43
+ * Add `bullet` as development dependency
44
+ * Use Heroku Local (Forego) instead of Foreman
45
+ * Raise on missing Sprockets assets in test environment
46
+
47
+ 1.33.0 (October 23, 2015)
48
+
49
+ * Add `quiet_assets` as development dependency
50
+ * Reduce number of Puma processes and threads to reduce memory usage
51
+ * Move non-runtime-dependency i18n-tasks to development and test Gemfile groups
52
+ * Move non-runtime-dependency refills to the development Gemfile group
53
+ * Generate empty `spec/factories.rb` file in accordance with thoughtbot’s
54
+ styleguide
55
+ * Shoulda Matchers 3.0 configuration
56
+
57
+ 1.32.0 (October 9, 2015)
58
+
59
+ * Install Foreman automatically during setup script
60
+ * Port always defaults to 3000
61
+ * Provide shoulda-matchers config
62
+ * Set CI auto-deploy for Heroku suspended apps
63
+ * Configure capybara-webkit to block unknown URLs
64
+ * Add mandatory environment variables to .sample.env
65
+ * Other bugfixes
66
+
67
+ 1.31.0 (September 3, 2015)
68
+
69
+ * Update to Ruby 2.2.3
70
+ * Add ctags configuration dotfile
71
+ * Rename `$HOST` to `$APPLICATION_HOST` for zsh compatibility
72
+ * Update Bitters to 1.1
73
+ * Remove comments and newlines in config files
74
+ * Abort tests run if `DATABASE_URL` env variable is set
75
+
76
+ 1.30.0 (July 30, 2015)
77
+
78
+ * Update to RSpec 3.3
79
+ * Replace TravisCI with CircleCI
80
+ * Rename development data concept to avoid confusion with db/seeds
81
+ * Remove Unicorn in favor of Puma, as [recommended by Heroku]
82
+
83
+ [recommended by Heroku]: https://devcenter.heroku.com/changelog-items/594
84
+
85
+ 1.29.0 (June 16, 2015)
86
+
87
+ * Generate rake, rails and rspec binstubs with Spring
88
+ * Remove Capybara and use RSpec 3.2 for development
89
+ * Improves suspenders' test suite speed
90
+ * Refills `flashes.scss` bugfix
91
+
92
+ 1.28.0 (May 9, 2015)
93
+
94
+ * Require spec/support files in a certain order
95
+ * Use rack-canonical-host
96
+ * Swap `id="flash"` for `class="flashes"` in `_flashes.html.erb`
97
+ * Provide EXECJS_RUNTIME env variable (Node, as in Heroku)
98
+ * Removes .css file suffix from application stylesheet
99
+ * Add mention of Autoprefixer Rails gem to readme
100
+ * Use ruby 2.2.2
101
+ * Update gems
102
+
103
+ 1.27.0 (April 10, 2015)
104
+
105
+ * Add Autoprefixer and browserslist config file
106
+ * Only display user-facing flashes
107
+ * Add code of conduct to CONTRIBUTING document
108
+ * Only use rack-timeout in staging and production
109
+ * Add SimpleCov
110
+ * Avoid generation of extra _flashes view
111
+ * Fix Travis CI install step
112
+ * Cache bundle in Travis CI runs
113
+
114
+ 1.26.0 (March 23, 2015)
115
+
116
+ * Update Rails to 4.2.1
117
+ * Update Bitters to 1.0
118
+ * Fix .ruby-version (should have been 2.1.1)
119
+ * Enable `verify_partial_doubles`
120
+ * Renames Segment.io to Segment
121
+ * Removes New Relic unnecessary configuration setting
122
+
123
+ 1.25.0 (March 7, 2015)
124
+
125
+ * Configure Active Job queue adapter for test env
126
+ * Use Ruby 2.2.1 (bug: `.ruby-version` wasn’t updated in the package)
127
+ * Dasherize heroku app names
128
+ * Update Bourbon to 4.2.0
129
+ * Add ASSET_HOST to sample.env (defaults to HOST)
130
+ * Set bin/deploy script as executable
131
+ * Set email deliver method to :test for development
132
+ * Include missing word in the Flutie description in README.
133
+ * Remove unused dev gems: aruba & cucumber
134
+ * Use skip_bundle class_option (rather than defining an empty run_bundle method)
135
+
136
+ 1.24.0 (February 3, 2015)
137
+
138
+ * Remove things in Suspenders that Rails does for us now.
139
+ * Document how to use the `title` view helper.
140
+ * Improve speed of bundling in `bin/setup` script.
141
+ * Set ENV variable to make out-of-the-box Heroku static asset experience better.
142
+
143
+ 1.23.0 (January 19, 2015)
144
+
145
+ * Use Bourbon 4.1.0.
146
+ * Use Neat 1.7.0.
147
+ * Remove [parameter wrapping] for every format, including JSON.
148
+ * Turn off TravisCI email notifications for Suspended apps.
149
+ * Run `rake dev:prime` on CI in order to test
150
+ whether `bin/setup` has any regressions.
151
+ * Fix `config.action_mailer.default_url_options`'s value.
152
+ It now correctly uses `ENV.fetch("HOST")` in staging
153
+ and production.
154
+
155
+ [parameter wrapping]: http://api.rubyonrails.org/classes/ActionController/ParamsWrapper.html
156
+
157
+ 1.22.0 (January 11, 2015)
158
+
159
+ * Allow additional
160
+ [Heroku flags](https://github.com/thoughtbot/suspenders#heroku)
161
+ such as `--addons` and `--region`.
162
+ * Use RSpec 3.1.0.
163
+ * Use Travis' new Docker container infrastructure
164
+ for builds that start sooner and run faster.
165
+ * Improve SMTP and ActionMailer default settings.
166
+
167
+ 1.21.0 (January 4, 2015)
168
+
169
+ * Use Ruby 2.2.0.
170
+ * Use Rails 4.2.0.
171
+ * Install [Refills] and Refills' "flashes" component.
172
+ * Add `bin/deploy` script.
173
+
174
+ [Refills]: http://refills.bourbon.io/components/#flashes
175
+
176
+ 1.20.0 (November 25, 2014)
177
+
178
+ * Use Ruby 2.1.5.
179
+ * Use bin/setup from TravisCI to test executable documentation.
180
+ * Default JSON time format to use ISO8601 to match Heroku API Design Guide.
181
+ * Add Bundler Audit to scan Gemfile for insecure dependencies per CVEs.
182
+
183
+ 1.19.0 (November 23, 2014)
184
+
185
+ * Use Ruby 2.1.4.
186
+ * Use Rails 4.1.8.
187
+ * Add Bundler Audit gem for scanning the Gemfile
188
+ for insecure dependencies based on published CVEs.
189
+ * Use Heroku-recommended timeout numbers.
190
+ * [Improve memory] of app on Heroku with New Relic.
191
+ * Turn off RSpec verbose mode by default.
192
+
193
+ [Improve memory]: http://forum.upcase.com/t/how-to-free-up-swap-space-heroku/3017/13?u=croaky
194
+
195
+ 1.18.0 (October 23, 2014)
196
+
197
+ * Use Ruby 2.1.3.
198
+ * Move New Relic to all gem groups to more easily
199
+ [debug Rails performance in development][debug-performance].
200
+ * Make `bin/setup` idempotent, failing fast with install messages.
201
+ * Fix unevaluated app name in generated `en.yml` locale file.
202
+ * Change `File.exists?` to `File.exist?` to fix Ruby warning.
203
+ * Don't include port 6000 as an option for Foreman; Chome considers it unsafe.
204
+ * Git ignore the entire /tmp directory.
205
+
206
+ [debug-performance]: https://upcase.com/improving-rails-performance
207
+
208
+ 1.17.0 (September 30, 2014)
209
+
210
+ * Use Rails 4.1.6.
211
+ * Generate a `spec/rails_helper.rb` and `spec/spec_helper.rb` following
212
+ RSpec 3.x's example, but using our defaults.
213
+ * Raise on missing i18n translations in test environment.
214
+ * Raise on unpermitted parameters in test environment.
215
+ * Provide example for using Title gem for internationalizing page title text.
216
+
217
+ 1.16.0 (August 16, 2014)
218
+
219
+ * Use the 3.x series of RSpec.
220
+ * Use the 0.10.x series of Bitters.
221
+ * Improve documentation in generated README for machine setup via `bin/setup`
222
+ and https://github.com/thoughtbot/laptop script.
223
+ * Remove Foreman from `Gemfile`.
224
+ * Use i18n-tasks for missing or unused translations.
225
+ * Raise on missing translations in development environment. Fail fast!
226
+ * Prevent empty div when there are no flashes.
227
+ * Pick random port when generating Rails app so multiple apps can be run via
228
+ Foreman on a development machine at the same time.
229
+ * Add `normalize-rails` gem for resetting browser styles.
230
+
231
+ 1.15.0 (July 9, 2014)
232
+
233
+ * Use Rails 4.1.4.
234
+ * Use latest thoughtbot style guidelines in generated code so that
235
+ https://houndci.com will approve the initial commit.
236
+ * Remove Campfire in favor of Slack.
237
+ * Remove Pow in bin/setup.
238
+ * Upgrade Capybara Webkit to support Capybara 2.3 API.
239
+ * Add byebug.
240
+
241
+ 1.14.0 (June 11, 2014)
242
+
243
+ * Set up Bitters during Suspenders setup. http://bitters.bourbon.io/
244
+ * Remove SimpleCov.
245
+ * Force Suspenders to use a particular Rails version (4.1.1).
246
+ * Use RSpec 2.x until Travis/Capybara issues resolve.
247
+ * Set `viewport` to `initial-scale=1`.
248
+
249
+ 1.13.0 (May 29, 2014)
250
+
251
+ * Remove `FactoryGirl.lint` in `before(:suite)` in order to avoid paying and
252
+ estimated extra ~300ms load time on a typical thoughtbot app.
253
+ * Automatically join Heroku app in `bin/setup` if using Heroku organizations.
254
+
255
+ 1.12.0 (May 26, 2014)
256
+
257
+ * Fix `rake dev:prime` now that Suspenders-generated apps require some `ENV`
258
+ variables to be set.
259
+ * Ensure `EMAIL_RECIPIENTS` is set on staging.
260
+ * Clear `ActionMailer` deliveries before every test.
261
+ * Include New Relic configuration file.
262
+ * Add Formulaic gem for integration testing HTML forms.
263
+ * Set up the Segment.io adapter for analytics and event tracking through
264
+ services such as Google Analytics and Intercom.
265
+ * Prepare staging and production environments to serve static assets through a
266
+ CDN.
267
+
268
+ 1.11.0 (May 17, 2014)
269
+
270
+ * Generate a Rails 4.1.1 app and implement fixes for compatibility.
271
+ * Escape ERb in secrets.yml
272
+ * Maintain ActiveRecord test schema.
273
+ * Make Shoulda Matchers work with Spring.
274
+ * Unify Ruby version for gem and suspended apps.
275
+ * Move SMTP variable settings out of initializer.
276
+ * Connect to Postgres on localhost.
277
+ * Add `bin/setup` for contributors.
278
+ * Improve and document TravisCI configuration.
279
+
280
+ 1.10.2 (April 28, 2014)
281
+
282
+ * Fix bundling Bourbon and Neat.
283
+
284
+ 1.10.1 (April 25, 2014)
285
+
286
+ * Fix bundling sass-rails.
287
+
288
+ 1.10.0 (April 21, 2014)
289
+
290
+ * Generate a Rails 4.1 app.
291
+ * Generate a working .ruby-version for Ruby >= 2.1.0.
292
+ * Update Unicorn template to version now preferred by Heroku.
293
+
294
+ 1.9.3 (April 13, 2014)
295
+
296
+ * Use FactoryGirl.lint instead of custom-generated factory-testing code.
297
+ * Fix Delayed::Job <-> Rails 4.1 dependency conflict.
298
+
299
+ 1.9.2 (April 10, 2014)
300
+
301
+ * Join Heroku apps in bin/setup.
302
+ * Enable SMTP/TLS in SMTP settings.
303
+ * Silence an RSpec warning.
304
+
305
+ 1.9.1 (April 7, 2014)
306
+
307
+ * Fix sass-rails environment NilClass error.
308
+
309
+ 1.9.0 (March 24, 2014)
310
+
311
+ * Add `awesome_print` gem.
312
+ * Add `dev:prime` task placeholder for bootstrapping local dev data.
313
+ * Add fix for I18n deprecation warning from `enforce_available_locales`.
314
+ * Add generated `.travis.yml`.
315
+ * Remove `better_errors` because of issues with Unicorn.
316
+ * Remove fast-failing for RSpec; respect user's `~/.rspec` instead.
317
+ * Update New Relic agent.
318
+ * Update Rails to 4.0.3.
319
+
320
+ 1.8.1 (February 19, 2014)
321
+
322
+ * Don't distribute rspec binstub with gem.
323
+
324
+ 1.8.0 (February 18, 2014)
325
+
326
+ * Make the .git/safe directory in bin/setup.
327
+ * Require `rails_12factor` gem only on Heroku.
328
+ * Require mailer config on staging and production.
329
+ * Add rspec binstub.
330
+ * Fix .ruby-version on Ruby 2.1.0.
331
+ * Replace Flutie's `page_title` with `title` gem.
332
+ * Don't run factory specs twice.
333
+ * Inherit staging config from production.
334
+ * Internal: convert tests from Cucumber to RSpec.
335
+ * Don't include `prefilled_input.js`.
336
+ * Fix Rack class name - Deflater instead of Timeout.
337
+ * Add Pry Rails.
338
+ * Add Spring.
339
+ * Add Dotenv to development and test environments to load environment variables
340
+ from the `.env` file.
341
+ * Reduce ActiveRecord connection pool from 5 to 2.
342
+
343
+ 1.7.0 (December 6, 2013)
344
+
345
+ * Keep `db/schema.rb` under version control.
346
+ * Fast-fail if any part of `bin/setup` fails.
347
+ * Move secret key out of version control.
348
+ * Create `.ruby-version` in generated applications.
349
+ * Add placeholder modules and directories for feature specs.
350
+ * Improve README to include setup instructions.
351
+
352
+ 1.6.0 (November 28, 2013)
353
+
354
+ * Do not create `.rspec` file as the settings are not project-specific.
355
+ * Generate RSpec binstub at `bin/rspec`.
356
+ * Fix stylesheet error on 500, 404, and 422 static pages.
357
+ * Add `--skip-git` option.
358
+ * Disable jQuery animations in Rails integration tests that execute JavaScript.
359
+ * Fix git remote bug.
360
+ * Add `Rack::Deflater` to compress responses with Gzip.
361
+
362
+ 1.5.1 (September 10, 2013)
363
+
364
+ * Remove Turbolinks.
365
+ * Don't use Bundler's binstubs in `bin/setup`.
366
+ * Remove `--drb` now that we aren't using Spork.
367
+ * Set up DNS via Pow for development.
368
+ * Update gem versions.
369
+
370
+ 1.5.0 (August 3, 2013)
371
+
372
+ * Add Neat.
373
+ * Replace Bourne with RSpec Mocks.
374
+ * Replace Sham Rack with WebMock.
375
+ * Remove dependency on `hub` gem.
376
+ * Clean up leftover Rails 3 conventions.
377
+
378
+ 1.4.0 (July 21, 2013)
379
+
380
+ * Support Rails 4.
381
+ * Support Ruby 2.
382
+ * Remove jQuery UI.
383
+ * Factories spec works for non-ActiveRecord objects.
384
+ * Use New Relic RPM gem >= 3.5.7 for Heroku request queue accuracy.
385
+ * Abort RSpec runs on first failure.
386
+ * Replace custom email validator with gem.
387
+
388
+ 1.3.0 (May 13, 2013)
389
+
390
+ * Switch web server from Thin to Unicorn
391
+ * Set up database before setting up RSpec so that the rspec:install task works
392
+ * Add Delayed::Job
393
+ * Clean up cruft from ActionMailer delivery configuration
394
+ * strong_parameters now raises an error in development
395
+ * Enforce Ruby 1.9.2+ in the gemspec
396
+
397
+ 1.2.2 (March 14, 2013)
398
+
399
+ * Fix Syntax error in staging/production environment config files.
400
+ * Make Factory Girl available to development environment for generators and
401
+ `rails console`.
402
+
403
+ 1.2.1 (February 28, 2013)
404
+
405
+ * Use Ruby 1.9.3 and 2.0
406
+ * Update staging and production email delivery
407
+ * Remove Spork and Guard
408
+ * Add better_errors and binding_of_caller gems
409
+ * Fix ActiveRecord attributes' blacklist
410
+ * Add Flutie to Gemfile
411
+
412
+ 1.2.0 (February 13, 2013)
413
+
414
+ * Upgrade Rails from 3.2.8 to 3.2.12 to keep pace with security patches.
415
+ * Improve staging environment on Heroku with staging `ENV` variables and
416
+ overriding the recipient in staging email delivery.
417
+ * Remove Flutie, use Bourbon.
418
+ * Wrap all HTTP requests in a 5 second timeout.
419
+ * Don't use `attr_accessible` whitelists. Instead, configure Strong Parameters.
420
+ * Provide a `bin/setup` script.
421
+ * Force RSpec's `expect` syntax.
422
+ * Remove remaining references to Cucumber, complete RSpec + Capybara conversion.
423
+ * Improve Foreman/`.env`/`Procfile` interactions.
424
+
425
+ 1.1.5 (October 22, 2012)
426
+
427
+ * Ignore `.env`.
428
+ * Link to thoughtbot/guides in generated README.
429
+ * Remove Cucumber in favor of RSpec + Capybara.
430
+ * Deliver emails in staging environment to an overriden email or set of emails.
431
+ * Encode database as UTF8.
432
+ * Bundle with binstubs using 37signals' directory convention.
433
+ * Configure time formats using localization.
434
+ * Add Ruby version to Gemfile.
435
+ * Add fast-failing spec that tests validity of factories.
436
+ * Use SimpleCov for C0 coverage.
437
+ * Configure RSpec with `--profile` flag to find slow-running specs.
438
+
439
+ 1.1.4 (September 4, 2012)
440
+
441
+ * Always store UTC in the DB.
442
+ * Use Rails 3.2.8.
443
+
444
+ 1.1.3 (August 7, 2012)
445
+
446
+ * Fix broken Gemfile additions where capybara stole cucumber's `require: false`
447
+
448
+ 1.1.2 (August 6, 2012)
449
+
450
+ * Fix broken rake.
451
+ * Use Heroku-compliant asset pipeline settings.
452
+
453
+ 1.1.1 (August 3, 2012)
454
+
455
+ * Fix broken newline interpolation
456
+
457
+ 1.1.0 (August 3, 2012)
458
+
459
+ * Add --github option.
460
+ * Add --webkit option.
461
+ * Remove cruft when generating controllers.
462
+ * Add Spork and Guard.
463
+
464
+ 1.0.1 (August 2, 2012)
465
+
466
+ * Fix broken install on Ruby 1.8.
467
+ * Remove db/schema.rb from .gitignore.
468
+ * Remove Factory Girl step definitions.
469
+
470
+ 1.0.0 (June 29, 2012)
471
+
472
+ * Ignore `bin/`, `.rake_tasks`, `.bundle/`, and `.gem/`.
473
+ * Create a root route only with `--clearance`.
474
+ * Do not autocommit after generate.
475
+ * Style static error pages.
476
+ * Cucumber requires everything under `features/`, regardless of pwd.
477
+ * Added gems:
478
+ * `foreman`
479
+ * `therubyracer`
480
+ * Removed gems:
481
+ * `copycopter_client`
482
+ * `heroku`
483
+ * `ruby-debug`
484
+ * `sass`
485
+ * `sprockets-redirect`
486
+ * `email_spec`