versionist icon indicating copy to clipboard operation
versionist copied to clipboard

A plugin for versioning Rails based RESTful APIs.

Results 10 versionist issues
Sort by recently updated
recently updated
newest added

I am trying to call my api but the method api_version. Do not work! Is there any additional code to past in may rails app? `controllerV2` ```ruby module V2 class...

Tests failed on rails 5.2.1: ``` Failures: 1) Versionist::CopyApiVersionGenerator v1 => V1 api version exists test_framework: test_unit should copy old controller tests to new controller tests Failure/Error: parser.enumerator.first.traverse do |node|...

Hi, I am trying to use the http header to specify the version. ## version 11 and version 1 are the same ``` ruby MyApi::Application.routes.draw do api_version(:module => "V1", :header...

My use case is like below: ``` controllers/ v1/ stores/ some_store_controller.rb users/ some_user_controller.rb ``` I use the generator to do this like: rails g versionist:new_controller stores/registrations V1 But it will...

feature-request

It would be nice if it generates the same structure of controllers inside serializers folder when we also use active_model_serializers gem.

Its working with the rails 4.0.2 app except `:default => true` options. In the README, there is an expected behaviour Policy that says the routes get output twice when running...

I'm just wondering why this is the case and whether the generator should even be creating the controller spec?

Would it be possible to have an option allowing a route to have an alias for one or more api_version values possible. For example. My API has a version 0.1.1,...

feature-request

Changed all File.exists? (removed from Ruby 3.2) from generators to File.exist? in order to give support to Ruby 3.2 ups

From Ruby 3.2.0 the method File.exists? was removed, and used in many generators.