nyarly / corundum Goto Github PK
View Code? Open in Web Editor NEWGem building and release made foolproof
License: MIT License
Gem building and release made foolproof
License: MIT License
All over in the descriptions it states:
...corundum is a synthetic gemstone...
This is just plain not true in any way, it is a mineral type in which rubies, among others, are classified. Being synthetic has nothing to do with it. Just wanted to point that out as it was bothering my OCD.
rake aborted!
Gem::InvalidSpecificationException: ["lib/xing/serializers/list.rb"] are not files
Tasks: TOP => release => /home/judson/ruby/LRD/xing-backend/pkg/xing-backend-0.0.13.gem
(See full trace by running task with --trace)
This happens when a gem is packaged once with some problems, and then we fix them. Need to clobber the bad packaging ... sometimes?
Specifically, it'd be nice if the name of the project were used.
pkg/ and corundum/ should be added to .gitignore in a Corundum project.
Document, possibly add to the QA tasks
There are several features that don't need to be in the main corundum gem. Likewise, there are parts that would be useful elsewhere. Consider what those parts are and build plugin gems for them.
As is, if the direct rspec results are more recent than source or test files, rspec doesn't run - which means that coverage.json doesn't get produced, which breaks Travis.
Usually this isn't a problem because the rspec result files live in corundum/ which should be added to .gitignore, but even if that's been done, the production of coverage.json is an important consequences of rspec:doc
If a gem has almost built, it creates files in pkg/ which stop the gem from rebuilding properly, which prevents the package from being gemified and released. Inexperienced users will have a bad time.
Not every project wants to use the bare version number in their tagging. LRD uses "v#{version}" and others might want "gemname-0.0.0" - add a parameter to the VCS piece to alter that.
A change in the git interface(?) seems to be leaving tags on the dev's machine. Tags should get pushed as part of deploy
The skel'd .simplecov doesn't refer to the Simplecov JSON formatter, which Corundum requires.
The error reported when JSONFormatter isn't in the .simplecov file doesn't explain what to do (add simplecov-json to Gemfile, add formatter line to .simplecov)
e.g.
FAIL: Stragglers (1)
Covered files and gemspec manifest don't match
Should advise the user to look in the gemspec (complete with path), and to compare to files in rake coverage:view
- with the note about "rarely, simplecov will miss files..."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.