voyage 1.0

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