Comments (7)
Sorry I couldn't replicate the issue, but if bundle exe rake
is working then you can ignore this error.
You can run BUNDLE_GEMFILE=gemfiles/rails_7_0.gemfile bundle install
to try to install just the missing gems, but it should work without that. We'll keep this open in case someone else stumbles across this or we find more information about the issue. Thanks!
from shoulda-matchers.
@vsppedro One thing I think we should continue to pursue is removing old Rubies and put out another major release. Ruby 2.7 will hit EOL at the end of the month so we might as well get a head start and drop it now! That will coincide with a new release of shoulda
that I want to get out soon.
As for features/fixes, however, I'll have to look at the backlog more closely, but I skimmed through just now and found some smaller ones:
- #1492
- #1432
- #1382 (see the post at the top for the original issue, not the discussion at the bottom)
from shoulda-matchers.
For what it's worth, I ran into this issue as well.
Both on Ubuntu 22.04 (WSL) and Mac OS 11.6 (Intel CPU).
bundle exec rake
was failing and only started working after running BUNDLE_GEMFILE=gemfiles/rails_7_0.gemfile bundle install
.
from shoulda-matchers.
Hi @HeitorMC, thanks for reporting this issue. I'll take a look as soon as possible.
from shoulda-matchers.
Cool @vsppedro, thank you for help!
Please, let me know if there's anything I can do to help you with this issue :)
from shoulda-matchers.
Alright, thank you for the feedback @vsppedro. Please, let me know if there are any issues on shoulda-matchers that I can work on 🤝
from shoulda-matchers.
No problem, glad to help, @HeitorMC. Let me think...
What do you think about updating Rubocop or the dependencies in the Gemfile?
If you want a bigger challenge take a look at the conversation in this PR: #1381, there's probably a bug in the allow_value matcher.
You can also pick any issue that I was assigned, if you want, because at the moment I'm giving attention to shoulda-context.
@mcmire, do you have something in mind for the next release?
from shoulda-matchers.
Related Issues (20)
- Order of multiple `conditions` qualifier in `have_many` - v5.3.0 HOT 4
- The library doesn't work with frozen-string-literals enabled globally. HOT 1
- Shoulda Matchers ActiveRecord Validate Uniqueness HOT 1
- validation_inclusion_of is returning ArgumentError HOT 1
- Minitest: is there a recommended way to use `shoulda-matchers` without using `shoulda-context` ? HOT 2
- Uniqueness matcher does not account for custom error messages HOT 2
- wrong constant name dummy value on rails 7 HOT 5
- rspec spec/unit fails with ruby 3.3.0dev
- Wrong error with matcher HOT 16
- Cannot validate numericality with dynamic values HOT 2
- Ruby-tests-explorer and shoulda integration HOT 1
- Add `query_constraints` qualifier to the association matcher.
- Numericality matcher not working as expected on 6.0.0 HOT 3
- Should implicit default values have valid expectations? HOT 4
- RangeError: cannot get the first element of beginless range
- polymorph uniq check fails with 6.2 HOT 7
- Sin
- Sinmime
- What Pieces of ActiveModel/ActiveRecord need to be present for shoulda to appear? HOT 2
- validate_presence_of tries to set the value for a read_only attribute HOT 3
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 shoulda-matchers.