Comments (5)
If big companies have some random requirements that they want fulfilled, then requests to do a random busy work should be accompanied with funding.
And if big company is unwilling to neither drop stupid requirements nor fund workarounds, then why other should care about it?
Also, note the license. You are free to release crack-for-big-companies gem with version tagged as 81728723782728.
from crack.
big companies have some random requirements
This is not about random requirements. Be aware that I have to treat 0.x releases as major releases. It's mental overhead for everybody who would like to not break his/her code. I wrote a short note about this issue.
We owe compatibility to Matz.
from crack.
We just made a new v0.4.6 release recently to add support for recent Ruby versions. I'm open to releasing an v1.0.0 too if it makes sense for the community. Apart from this conversation, I got a question from bblimke about getting an 1.0 in the future. As this gem is in a maintenance mode, the goal is to not break existing projects and keep usage of crack
easy.
I made a few searches on github using this tool: https://github.com/search?type=code
language:ruby NOT is:archived NOT is:fork /gem ['"]crack['"]/
: 556 occurences. Clicking on a few repos, some of them are pretty old, some of the lines are just comments, though this could be a baseline for my investigationlanguage:ruby NOT is:archived NOT is:fork /^ *gem ['"]crack['"]/
: 438 occurences. It filters out the commented-out lines as the line must start with spaces or the gem reference. (could be a bit more realistic baseline)language:ruby NOT is:archived NOT is:fork /^ *gem ['"]crack['"]$/
: 326 occurences. The line only containsgem "crack"
, no version restriction and no comma to separate a new linelanguage:ruby NOT is:archived NOT is:fork /^ *gem ['"]crack['"], ['"]~>/
: 26 occurences. The line has a tilde operator to lock in the maximum version. Most of these seems to be abandoned (last change on the default branch was made 4-14 years ago)language:ruby NOT is:archived NOT is:fork /^ *gem ['"]crack['"], ['"]</
: 1 occurence. This line has a less than operator to lock in the maximum version - it was easy to check, the line is there within an if block to support Ruby 1.9.3language:ruby NOT is:archived NOT is:fork /^ *gem ['"]crack['"], ['"]0\.[123]/
: 24 occurences. This pattern blocks the project to use latest v0.4.6 alreadylanguage:ruby NOT is:archived NOT is:fork /^ *gem ['"]crack['"], ['"]0\.4/
:21 occurences. They are on the latest-ish versions, but apart from one repo, they are not receiving the latest version.
What should we do with these results? I think it's safe to release a v1.0.0
. Out of 438 occurences 326 could start using v1 immediately based on their Gemfiles. Most of the remaining projects cannot use our latest version anyways and they need to make a manual update to introduce v0.4.6 (or v0.4.7, etc, in the future...)
So the main questions remains: Do we need a new version called v1.0.0
?
from crack.
@kiskoza, I would also suggest considering gemspecs, not just Gemfiles. For example, the crack
dependency declaration in WebMock is via gemspec, not Gemfile. Here is a list of the most downloaded gems that depend on crack
: reverse_dependencies.
Additionally, GitHub search does not display private projects that depend on crack
or projects that indirectly depend on it.
In my opinion, a major version release indicates that the API is stable and can be relied upon with semantic versioning. It serves as a promise that the API will not change in minor or patch versions. Since the crack
API hasn't changed over the years, I don't foresee any risks. It's more of a nice-to-have.
from crack.
Thanks for your input. I check the reverse dependencies as well and it seems that most of the actively maintained gems allow using v1.0.0
without any required code changes. Let's do the version number bump.
from crack.
Related Issues (20)
- YAML load errors when parsing JSON that initially contained a \u0000 character sequence HOT 2
- Psych::SyntaxError while parsing JSON using rails 3.0.2/ruby 1.9.2p180 HOT 9
- Crack treats JSON parsing errors differently depending on the underlying YAML parser HOT 1
- parsing of XML return a singleton Hash that is not dumpable HOT 4
- Xml not parsing properly HOT 1
- Add bigdecimal to gemspec HOT 1
- many json tests are failing with ruby 1.9 HOT 2
- Fails to run Jekyll 1.0.3 (conflicting versions of safe_yaml) on Mac OSX 10.8.3 HOT 1
- Support for Attributes HOT 2
- Crack::JSON is not parsing UTF-8 correctly HOT 1
- Crack::JSON can't parse valid json string with UTF-8 character
- Issue with array of elements when the key is an attribute of the nodw HOT 2
- Key mangling when using two dates HOT 1
- Crack 0.4.3 cannot parse two consecutive dates HOT 1
- Xml parsing dont return attribute of tag HOT 1
- Remove `test/` from bundled gem HOT 4
- Please include license file in the gem. HOT 1
- Missing v0.4.5 tag HOT 2
- JSON failures with Ruby 3.1 / Psych 4.0
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 crack.