Comments (19)
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.
It's been working well for me
from apitome.
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.
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.
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.
+1
from apitome.
it's been long time when since last gem was created.
0.1.0 - April 12, 2015 (3.62 MB)
from apitome.
master works well? you've been using it and it's solid?
from apitome.
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.
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.
@jejacks0n maybe generate a 'pre' release, so we can at least install from rubygems ?
from apitome.
I just released version 0.2.0
from apitome.
@obromios, can you provide some more context on your environment? What version of Ruby & Rails? Full stack-trace?
from apitome.
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.
from apitome.
@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.
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.
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.
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.
from apitome.
Related Issues (20)
- rails generate apitome:install fails - undefined method `assets' HOT 5
- [DOCS] Link to customization examples broken HOT 1
- non-latin characters support HOT 3
- Seeing undefined method 'simulated path' HOT 2
- Does it work with Sprockets 4? HOT 1
- JSON::ParserError in Apitome::Docs#index HOT 16
- Re-routing not working? HOT 1
- code_theme not respecting underscore
- Ruby 3.0.0 HOT 8
- Upgrade jQuery to v3
- Upgrade highlightjs HOT 1
- Translation namespace HOT 5
- Remove rspec_api_documentation from runtime dependency
- Missing template apitome/docs/simulate HOT 2
- Left-navigation not highlighting correctly sometimes HOT 7
- There is no configuration option as "parent_controller"? HOT 1
- undefined local variable or method apitome `apitome' after upgrading to 0.2.0 HOT 12
- NameError: uninitialized constant Apitome HOT 8
- Sidebar disappears when placed in layout. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apitome.