Comments (6)
Any chance a new gem version will be released in the future?
from simple_command.
from simple_command.
Done 0.2.0 is out! 🎉
from simple_command.
@kennyadsl any chance you could cut a release to ship Ruby 3 compatibility?
from simple_command.
I'll try to take a look and release a new gem version tomorrow.
from simple_command.
Is the keyword argument issue fixed? I've been trying to get simple command to work with keyword arguments using Ruby 3.0.0, and I've been getting ArgumentErrors.
Example:
class User::CreateUser
prepend SimpleCommand
def initialize(create_params:)
@create_params = create_params
end
def call
end
end
That will give me an error if I tried to do: User::CreateUser.call(create_params: {first_name:"Alice"})
The error will be: ArgumentError (wrong number of arguments (given 1, expected 0; required keyword: create_params))
from simple_command.
Related Issues (15)
- uninitialized constant HOT 1
- Suggestion: Implement full_messages method for Errors HOT 2
- undefined method `full_messages` for SimpleCommand::Errors HOT 2
- How to modify default token expiration time HOT 1
- Release the gem onto https://rubygems.org HOT 2
- version 0.1.0 brakes add_multiple_errors HOT 1
- Make SimpleCommand::Errors compatible with ActiveModel::Errors HOT 5
- Using Ruby 3 style keyword arguments raises warning in Ruby 2.7 HOT 1
- Failing Build? HOT 1
- Add new assistance categories HOT 1
- How mock with rspec with prepended SimpleCommand HOT 1
- How to export command errors in ams ErrorSerializer? HOT 4
- how to test with rspec? HOT 2
- LoadError: Unable to autoload constant [command] HOT 4
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 simple_command.