Commit graph

5 commits

Author SHA1 Message Date
Shinya Maeda
df7ed9eef2 Add unique constraint to release and url
Fix coding style

Improve coding style

Decouple UPDATE and DELETE operations of asset links

Rename links_attributes to assets:links

Rename exposed param and updated spec
2019-01-04 22:17:03 +09:00
Shinya Maeda
8a14548fc7 Add spec for duplicate link name creation
Fix spec for mysql unique validation failure
2019-01-04 22:17:02 +09:00
Shinya Maeda
66755c9ed5 Support CURD operation for release asset links
- Add Releases::Links model
- Expose it in release API
- Add integration tests
2019-01-04 22:17:02 +09:00
Shinya Maeda
54df1a5701 Resolve a Cognitive Complexity of 12 2018-12-31 14:34:15 +09:00
Shinya Maeda
8f1e96c89b Add spec for Release API
Add spec for all release API - GET, POST, PUT, DELETE.
Also, fixes some minior bugs.
2018-12-31 14:35:57 +09:00