keygen-api
rails_param
keygen-api | rails_param | |
---|---|---|
23 | 1 | |
577 | 933 | |
12.3% | - | |
9.7 | 5.1 | |
2 days ago | 4 months ago | |
Gherkin | Ruby | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
keygen-api
-
"Useless Ruby sugar": Pattern matching (Pt. 1)
I don't have an Elixir background, but I absolutely utilize pattern matching in my Ruby code bases:
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
- https://github.com/keygen-sh/keygen-api/blob/master/app/migr...
- https://github.com/keygen-sh/keygen-api/blob/36cd61db143cc1c...
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
I love it. I want even more pattern matching too, like with defp: https://bugs.ruby-lang.org/issues/19764.
-
I don’t buy “duplication is cheaper than the wrong abstraction” (2021)
Honestly, I don't have many resources to provide. I read a lot of policy tests via GitHub search (e.g. path:spec/policies/*/*.rb), but couldn't find anything that looked like what I wanted. I wrote the DSL as-needed in order to fully test my app's authz while migrating from Pundit to ActionPolicy.
It's not the prettiest when you actually look beneath the covers [0], but it does what I wanted -- provides a way to write exhaustive authz tests. Without the DSL, I probably wouldn't have written. The PR for said migration was massive [1], and was a precursor to going open source [2].
[0]: https://github.com/keygen-sh/keygen-api/blob/master/spec/sup...
[1]: https://github.com/keygen-sh/keygen-api/pull/647
[2]: https://github.com/keygen-sh/keygen-api/issues/644
-
Let's Talk About Open Source
Yes, I can see why you might make this argument. [1]
[1] https://github.com/keygen-sh/keygen-api/blob/master/LICENSE....
-
Keygen: a software licensing and distribution API
And not at all set on WorkOS. It just looked like the easiest way to set up SSO last time I researched the topic. Feel free to comment on the issue with any recommendations.
-
Introducing New Heroku Postgres Plans
Since when can you run heroku pg:upgrade to switch database tiers? I was following an upgrade sequence I put together over the years [^0], but I guess Heroku automated this at some point? What would be really funny is if this had been possible all long...
[^0]: https://github.com/keygen-sh/keygen-api/blob/master/.notes/d...
- GitHub - keygen/api: an open, source-available software licensing and distribution API built with Ruby on Rails
-
How to connect my desktop app to MySql db
Maybe use keygen-sh?
-
NPM won't publish packages containing the word keygen
I run a business called Keygen [^0], and own the @keygen namespace on npm. We’re working on a Node SDK, so this isn’t good to hear. I’ll open up a discussion with them and see what we can do.
[^0]: https://keygen.sh
- Show HN: Keygen – an open, source-available software licensing/distribution API
-
GitHub support for PHP Packages: “no longer planned”
- org-2.php.pkg.github.com/package
I wonder if that had any impact on their decision.
[0]: https://github.com/keygen-sh/keygen-api/issues/490
rails_param
-
GitHub - keygen-sh/typed_params: Define structured and strongly-typed parameter schemas for your Rails controllers
Why use this over rails_param?
What are some alternatives?
ruby-next - Ruby Next makes modern Ruby code run in older versions and alternative implementations
typed_params - An alternative to Rails strong_parameters. Define structured and strongly-typed parameter schemas for your Rails controllers.
ecoji - Encodes (and decodes) data as emojis
Action Policy - Authorization framework for Ruby/Rails applications
machineid - Get the unique machine id of any host (without admin privileges)
Zulip - Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
roadmap - GitHub public roadmap
keygen-go - Keygen SDK for Go. Integrate license activation, automatic updates and offline licensing for Go binaries.
base32768 - Binary-to-text encoding highly optimised for UTF-16
jakt - The Jakt Programming Language