Simple one-liner tests for common Rails functionality
Go to file
Elliot Winkler aea0bda966 Upgrade all the things
* Upgrade to Middleman 4
* Use Webpack instead of Sprockets to process assets
* Add setup script, .ruby-version and .nvmrc
* Add .rubocop.yml and .eslintrc.js
* Convert CoffeeScript files to ES6 JavaScript
* Remove jQuery in favor of vanilla JS
* Change instances of FactoryGirl to FactoryBot
* Update copyright year
2019-02-16 20:01:26 -07:00
assets Upgrade all the things 2019-02-16 20:01:26 -07:00
bin Upgrade all the things 2019-02-16 20:01:26 -07:00
source Upgrade all the things 2019-02-16 20:01:26 -07:00
tasks Upgrade all the things 2019-02-16 20:01:26 -07:00
.babelrc Upgrade all the things 2019-02-16 20:01:26 -07:00
.browserslistrc Upgrade all the things 2019-02-16 20:01:26 -07:00
.eslintrc.js Upgrade all the things 2019-02-16 20:01:26 -07:00
.gitignore Upgrade all the things 2019-02-16 20:01:26 -07:00
.nvmrc Upgrade all the things 2019-02-16 20:01:26 -07:00
.rubocop.yml Upgrade all the things 2019-02-16 20:01:26 -07:00
.travis.yml Add header 2014-10-01 10:52:00 -06:00
.yardopts Add header 2014-10-01 10:52:00 -06:00
Gemfile Upgrade all the things 2019-02-16 20:01:26 -07:00
Gemfile.lock Upgrade all the things 2019-02-16 20:01:26 -07:00
README.md Upgrade all the things 2019-02-16 20:01:26 -07:00
Rakefile Extract rake tasks to a separate file 2015-01-23 13:31:30 -07:00
config.rb Upgrade all the things 2019-02-16 20:01:26 -07:00
package.json Upgrade all the things 2019-02-16 20:01:26 -07:00
webpack.config.js Upgrade all the things 2019-02-16 20:01:26 -07:00
yarn.lock Upgrade all the things 2019-02-16 20:01:26 -07:00

README.md

Site branch

This is the branch where the site for shoulda-matchers (located at http://matchers.shoulda.io) is kept.

Developing

  • Install dependencies: bin/setup
  • Start Middleman and Webpack: bin/server
  • Make changes to files in source/ and assets/
  • View the changes at http://localhost:4567
  • When finished, try building the site using bundle exec middleman build
  • Assuming all goes well, publish your changes by running bundle exec rake site:publish
  • That's it!