Skip to content

Remove all warnings when running spec and install tasks#2

Open
wkjagt wants to merge 1 commit intoaarongough:masterfrom
wkjagt:update-to-latest-rspec
Open

Remove all warnings when running spec and install tasks#2
wkjagt wants to merge 1 commit intoaarongough:masterfrom
wkjagt:update-to-latest-rspec

Conversation

@wkjagt
Copy link

@wkjagt wkjagt commented Aug 24, 2015

This is a great project. I think I'll have a lot of fun with this.

However, when I tried to run the specs for this, I got lots of deprecation warnings. Probably because the latest version of RSpec was installed. Also, two tests were false positives because raise_error didn't specify what error was expected, and a different one was raised.

This PR:

  • Updates Rakefile to explicitly use version 3.3.0 of RSpec and adapts all
    specs to use the new :expect instead of the deprecated :should form.
  • Updates Rakefile to use fixed versions of all dependencies (rake install was complaining about the absence of versions)
  • Adds gemspec.license = "MIT" to Rakefile to remove another warning from rake install.
  • Fixes some minor bugs in lambda.scm and set.scm
  • Has RSpec raise on deprecations
  • Explicitly uses Flea::Environment and Flea::Interpreter in the specs because they were failing because of it (tbh, I haven't investigated why).

The trailing white space removal is from my editor. Let me know if it bothers you.

- Updated Rakefile to use latest version of RSpec and fixed all
specs to use :expect instead of :should.
- Updated Rakefile to use fixed versions of all dependencies
- Added MIT licence to Rakefile to remove warning from install task
- Fixed some minor bugs lambda.scm and set.scm
- Have RSpec raise on deprecations
@wkjagt
Copy link
Author

wkjagt commented Aug 24, 2015

Oh by the way, I realize this is an old project, and I completely understand if you don't merge this :-)

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.

1 participant