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

Remove timecop gem from required dependencies list #38

Merged
merged 3 commits into from
May 12, 2017
Merged

Conversation

ArturT
Copy link
Member

@ArturT ArturT commented May 12, 2017

Use Timecop only if available to make sure we detect correct time when someone is using Timecop.

When Timecop is not available then we add Time.raw_now method to ensure we can detect correct time when someone stub the Time.now.

Related to: https://github.com/ArturT/knapsack/issues/55

ArturT added 3 commits May 12, 2017 22:03
Time.now_without_mock
other case use the Time.raw_now method added by knapsack_pro.

Move Timecop to development dependency.
@ArturT ArturT changed the title Remove timecop from dependency Remove timecop gem from dependency May 12, 2017
@ArturT ArturT changed the title Remove timecop gem from dependency Remove timecop gem from required dependencies list May 12, 2017
@ArturT ArturT merged commit d87f787 into master May 12, 2017
@ArturT ArturT deleted the remove-timecop branch May 12, 2017 20:55
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