An error occurred fetching the project authors.
  1. 27 Apr, 2020 1 commit
    • Stan Hu's avatar
      Upgrade Grape v1.1.0 to v1.3.2 · f31bac1d
      Stan Hu authored
      This brings in Ruby 2.7 suport and a number of fixes:
      https://github.com/ruby-grape/grape/blob/master/CHANGELOG.md
      
      1. Move all inherited Grape::API -> Grape::API::Instance
      2. Remove use of Virtus since this has been removed from Grape.
      3. Extract Rack::Response from API error
      4. Grape v1.2.3 pulled in a fix used in SafeFile:
      https://github.com/ruby-grape/grape/pull/1844, so we no longer need
      to maintain our custom type.
      5. Adapt WorkhorseFile with the latest changes to make custom types work
      with Grape and dry-types.
      6. Ensure Array[String] is coerced properly.
      
      The change from Virtus to dry-types now requires all strings to be
      coerced to arrays. Before this was done within Virtus.
      
      7. Coerce Array[Integer] types to arrays of integers
      
      The change from Virtus to dry-types now requires all strings to be
      coerced to arrays of integers. Before this was done within Virtus.
      f31bac1d
  2. 16 Jan, 2020 1 commit
    • Markus Koller's avatar
      Return empty body for 204 responses in API · 29c26e46
      Markus Koller authored
      Previously these would just return the `.to_s` representation of the
      Grape route block expression, e.g. `"<Project:0x0000560fe150ce80>`.
      
      This is now changed to always use the `no_content!` helper. Since this
      aborts the execution we also have to tweak the order slightly,
      especially with the `destroy_conditionally!` helper.
      29c26e46
  3. 17 Dec, 2019 1 commit
  4. 09 Dec, 2019 1 commit