Coder Social home page Coder Social logo

New gem version about apitome HOT 19 CLOSED

jejacks0n avatar jejacks0n commented on June 10, 2024 11
New gem version

from apitome.

Comments (19)

jsmartt avatar jsmartt commented on June 10, 2024 4

I just got access and would be glad to do a release. I'm trying to figure out what the new version should be though, and am open to suggestions/feedback from others here. There are lots of changes, but still no 1.0.0 release that we're breaking backwards compatibility with, so I'm thinking 0.2.0. Any objections?

from apitome.

jsmartt avatar jsmartt commented on June 10, 2024 1

It's been working well for me 👍

from apitome.

obromios avatar obromios commented on June 10, 2024 1

It would be great if you can release a new version of the gem. I think this is a really useful gem that produces great results, but I struggled with a number of problems which had already been resolved in commits that date after the last, 2015, rubygem release. I can see you are having issues debugging a new release, but perhaps in the meantime you change the documentation to suggest using the last solid commit of the gem e.g.

#Gemfile
gem 'apitome', git: 'https://github.com/jejacks0n/apitome.git', ref: 'xyz'

rather than just suggesting gem 'apitome' in the README.

Or at the very least please just add a comment to this issue stating the latest solid commit, so I know which one to use.

Another thing to consider is adding a CHANGELOG file that details the latest history of changes. This will allow users to deduce commit/version will suit them.

from apitome.

obromios avatar obromios commented on June 10, 2024 1

When I tried version 0.2.0 I saw the following error when I tried to start the rails server:

There was an error while trying to load the gem 'apitome'. (Bundler::GemRequireError)
Gem Load Error is: undefined method `assets' for #<Rails::Engine::Configuration:0x00007fce05232848>

I note that issue #32 also saw this problem. Prior to the upgrade I was using
gem 'apitome', git: 'https://github.com/jejacks0n/apitome.git', ref: '8fbf5aa'

from apitome.

obromios avatar obromios commented on June 10, 2024 1

I was missing

require 'sprockets/railtie'

Do you think you need to mention this in the README?

Anyway, it appears to be all working now, thank you.

from apitome.

moku-io avatar moku-io commented on June 10, 2024

+1

from apitome.

nahaylo avatar nahaylo commented on June 10, 2024

it's been long time when since last gem was created.

0.1.0 - April 12, 2015 (3.62 MB)

from apitome.

jejacks0n avatar jejacks0n commented on June 10, 2024

master works well? you've been using it and it's solid?

from apitome.

nahaylo avatar nahaylo commented on June 10, 2024

I've fixed the build status on homepage #86
@jsmartt could you review it and merge?

It looks like a build is failed so we need to fix it before creating a new gem

from apitome.

nahaylo avatar nahaylo commented on June 10, 2024

Also, my coworker try to fix the issue with failed tests on travis.
He made a changes to travis config and now it works fine, but tests still fail.

Please check this #87

from apitome.

bf4 avatar bf4 commented on June 10, 2024

@jejacks0n maybe generate a 'pre' release, so we can at least install from rubygems ?

from apitome.

jsmartt avatar jsmartt commented on June 10, 2024

I just released version 0.2.0 🎉

from apitome.

jsmartt avatar jsmartt commented on June 10, 2024

@obromios, can you provide some more context on your environment? What version of Ruby & Rails? Full stack-trace?

from apitome.

obromios avatar obromios commented on June 10, 2024

I have attached the stack trace. I am using rails 5.2.0 and ruby 2.4.4. Please let me know if you need any more information.

temp.txt

from apitome.

nahaylo avatar nahaylo commented on June 10, 2024

@obromios what kind of environment you use: production or development?

I've tried on development and it works fine

ruby-2.3.4
gem 'rails', '4.2.7.1'

from apitome.

obromios avatar obromios commented on June 10, 2024

It is occurring in development. Also note that I generated the app in api only mode, so there is no app/assets folder.

from apitome.

jsmartt avatar jsmartt commented on June 10, 2024

Even in API-only mode, you will need to have the necessary rails frameworks required to support this engine, which serves html and javascript content via templates. I too have an api-only app, and here's what I have included:

# config/application.rb

require 'rails'
# Pick the frameworks you want:
require 'active_model/railtie'
require 'active_job/railtie'
require 'active_record/railtie'
require 'action_controller/railtie'
require 'action_mailer/railtie'
require 'action_view/railtie'
# require 'action_cable/engine'
require 'sprockets/railtie'
# require 'rails/test_unit/railtie'

If you're not requiring a few of those, try including them 1 by 1 and see if it fixes your issue.

from apitome.

jsmartt avatar jsmartt commented on June 10, 2024

Glad to hear. I'd probably rather capture this in a separate issue that is searchable than putting this in the README. It's a slippery slope to put every issue like this in the README

from apitome.

obromios avatar obromios commented on June 10, 2024

from apitome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.