Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jsonapi-resources 0.9.12 #109

Open
danieldocki opened this issue May 11, 2021 · 10 comments
Open

Update jsonapi-resources 0.9.12 #109

danieldocki opened this issue May 11, 2021 · 10 comments

Comments

@danieldocki
Copy link

@tiagopog can update the dependency? jsonapi-resources ~> 0.9.12

solves the error in Rails 6.1

uninitialized constant ActionController::ForceSSL

https://github.com/cerebris/jsonapi-resources/blob/v0.9.12/lib/jsonapi/resource_controller_metal.rb#L8

@gianniderosa
Copy link

Having the same issue on my end

@asadakbarml
Copy link

@tiagopog Will you be updating this gem? It would be really helpful to know as we want to use it...

@tiagopog
Copy link
Owner

tiagopog commented Oct 9, 2021

@asadakbarml Yes, I will. I have been going through a tough year here, but I still have plans to keep it updated.

@tiagopog
Copy link
Owner

tiagopog commented Oct 9, 2021

@danieldocki It's updated in the master branch. I will first make sure that everything is working smoothly then I will release a new version of the gem.

@danieldocki
Copy link
Author

Thanks for the great job, but I caught this error.

Internal Server Error: uninitialized constant JSONAPI::OperationResults Internal Server Error: uninitialized constant JSONAPI::OperationResults /Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:103:in `build_response_document'
/Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:39:in `jsonapi_format'
/Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/renders.rb:34:in `jsonapi_render'

I don't know if anyone else caught this error, but over the weekend I can look deeper into this error.

@danieldocki
Copy link
Author

It seems that this PR cerebris/jsonapi-resources#946, changed some things and removed JSONAPI::OperationResults.

@danielgomezrico
Copy link
Contributor

danielgomezrico commented Jan 21, 2022

This is pretty important to keep the library updated and allow everyone using it to update rails, how can we update this?

Also the main library now is at 0.10.2 with a lot of fixes :(

I see these:

But If I try to update I get this:

Bundler could not find compatible versions for gem "jsonapi-resources":
  In Gemfile:
    jsonapi-resources (= 0.10.5)

    jsonapi-utils (= 0.7.3) was resolved to 0.7.3, which depends on
      jsonapi-resources (= 0.9.11)

@JohnnyHandy
Copy link

Any news on this? I am having trouble using jsonapi-resources at version 0.10 and jsonapi-utils 0.4.2 because it is the only version that bundle allows to install

@idanab-simplee
Copy link

it seems that this gem is no longer maintained. anyone here had the chance to refactor the code to use another solution? For example, to use jsonapi-serializer ?

@danielgomezrico
Copy link
Contributor

It is already updated, but it is not released on gem repository, check:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants