-
- Downloads
Initial implementation if license template selector and /licenses/:key API endpoint
parent
06952aaf
No related branches found
No related tags found
Showing
- Gemfile 3 additions, 0 deletionsGemfile
- Gemfile.lock 3 additions, 0 deletionsGemfile.lock
- app/assets/javascripts/api.js.coffee 13 additions, 0 deletionsapp/assets/javascripts/api.js.coffee
- app/assets/javascripts/blob/blob_license_selector.js.coffee 24 additions, 0 deletionsapp/assets/javascripts/blob/blob_license_selector.js.coffee
- app/assets/stylesheets/pages/editor.scss 9 additions, 0 deletionsapp/assets/stylesheets/pages/editor.scss
- app/controllers/projects/blob_controller.rb 9 additions, 0 deletionsapp/controllers/projects/blob_controller.rb
- app/helpers/projects_helper.rb 7 additions, 0 deletionsapp/helpers/projects_helper.rb
- app/views/projects/blob/_editor.html.haml 10 additions, 1 deletionapp/views/projects/blob/_editor.html.haml
- app/views/projects/empty.html.haml 4 additions, 2 deletionsapp/views/projects/empty.html.haml
- lib/api/api.rb 1 addition, 0 deletionslib/api/api.rb
- lib/api/licenses.rb 27 additions, 0 deletionslib/api/licenses.rb
- spec/requests/api/licenses_spec.rb 46 additions, 0 deletionsspec/requests/api/licenses_spec.rb
Loading
| Loading
| @@ -190,6 +190,9 @@ gem 'babosa', '~> 1.0.2' |
# Sanitizes SVG input | ||
gem "loofah", "~> 2.0.3" | ||
# Working with license | ||
gem 'licensee', "~> 7.0.0" | ||
# Protect against bruteforcing | ||
gem "rack-attack", '~> 4.3.1' | ||
Loading
| Loading
|
lib/api/licenses.rb
0 → 100644
spec/requests/api/licenses_spec.rb
0 → 100644
Please register or sign in to comment