Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for ruby-2, rails-4 and rspec-3 #238

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

update for ruby-2, rails-4 and rspec-3 #238

wants to merge 8 commits into from

Conversation

belt-ascendlearning
Copy link

updates a couple specs for rspec-3
updates dependencies and a couple of queries for rails-4

NOTE: the same 2 specs that are broken on master (as of commit f3cab9e) are still broken
spec/casserver/utils_spec.rb:16 and spec/casserver/utils_spec.rb:22

NOTE: lib/casserver/authenticators/sql.rb -> matching_users() query should be updated too, but I'm lazy

based on work done by Adam Kenger from Cantina Inc
based on work from Dan Barron <[email protected]>
... to avoid deprecation warnings from rspec-2 to rspec-3 conversion
`be_false` is deprecated. Use `be_falsey` (for Ruby's conditional semantics) or `be false`
`be_true` is deprecated. Use `be_truthy` (for Ruby's conditional semantics) or `be true`

used be(true) and be(false)
@mitfik
Copy link
Contributor

mitfik commented Jan 21, 2015

Hi, Thanks a lot for your contribution but We can not merge it as it is as we don't want to break backward compatibility on that branch. I will review the changes which you have done and I will see if we can extract some part of the code and use it.

Regarding the compatibility with new version of rails and ruby. We are working on that on separate project called rubycas-server-core but of course as you can see the progress is very slow there due to lack of time but you are welcome to contribute in that.

@arthurnn
Copy link

@mitfik hows the upgrade of rails version going? is it done on rubycase-server-core ?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants