https://github.com/travisjeffery/timecop

rails ruby test time

Last synced: about 1 month ago

Repository metadata:

A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.


Owner metadata:


Committers metadata

Last synced: about 1 month ago

Total Commits: 409
Total Committers: 96
Avg Commits per committer: 4.26
Development Distribution Score (DDS): 0.809

Commits in past year: 19
Committers in past year: 7
Avg Commits per committer in past year: 2.714
Development Distribution Score (DDS) in past year: 0.632

Name Email Commits
Travis Jeffery t****y@g****m 78
John Trupiano j****o@g****m 63
Josh Cronemeyer j****r@g****m 38
Travis Jeffery tj@t****m 21
Tim t****m@m****k 19
Olle Jonsson o****n@g****m 12
Ryan Biesemeyer r****n@s****m 8
Josh j****r 7
Paweł Trela p****o@g****m 7
Micah Chalmer m****h@m****t 7
John Trupiano j****n@j****l 7
Mikhail Pospelov m****6@g****m 5
Kurt Werle k****t@C****g 5
Jamie McCarthy j****e@m****g 5
stopdropandrew a****w@k****m 4
Michael Grosser m****l@g****t 4
ballcheck t****m@a****m 3
Adam Milligan & Andrew Bruce p****e@p****m 3
John W Higgins w****v@g****m 3
Larry Marburger l****y@m****c 3
Yoshiki Takagi y****g@g****m 3
Ryan Biesemeyer r****n@y****m 3
mishina t****8@g****m 3
Peter Goldstein p****n@g****m 3
dependabot[bot] 4****] 3
Andrew Lazarus n****w@g****m 2
Chris Gunther c****s@r****m 2
David Graham d****m@f****m 2
Joel Chippindale j****l@j****m 2
John Duff d****n@g****m 2
and 66 more...

Issue and Pull Request metadata

Last synced: about 1 month ago


Package metadata

rubygems: timecop

A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.

  • Homepage: https://github.com/travisjeffery/timecop
  • Documentation: http://www.rubydoc.info/gems/timecop/
  • Licenses: MIT
  • Latest release: 0.9.8 (published over 1 year ago)
  • Last Synced: 2024-11-10T21:06:50.704Z (about 1 month ago)
  • Versions: 50
  • Dependent Packages: 2,033
  • Dependent Repositories: 20,866
  • Downloads: 208,699,170 Total
  • Docker Downloads: 555,455,914
  • Rankings:
    • Dependent packages count: 0.026%
    • Downloads: 0.091%
    • Dependent repos count: 0.248%
    • Docker downloads count: 0.3%
    • Average: 0.514%
    • Stargazers count: 0.627%
    • Forks count: 1.79%
  • Maintainers (3)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.8-r0 (published over 1 year ago)
  • Last Synced: 2024-11-10T21:07:28.452Z (about 1 month ago)
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 2.603%
    • Stargazers count: 4.129%
    • Forks count: 6.284%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.8-r1 (published 12 months ago)
  • Last Synced: 2024-11-10T21:07:59.759Z (about 1 month ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 4.051%
    • Average: 6.479%
    • Forks count: 7.224%
    • Dependent packages count: 14.641%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.3-r0 (published almost 4 years ago)
  • Last Synced: 2024-11-10T21:07:22.405Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.677%
    • Forks count: 4.67%
    • Average: 6.717%
    • Dependent packages count: 19.522%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.1-r3 (published over 4 years ago)
  • Last Synced: 2024-11-10T21:07:18.231Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.429%
    • Forks count: 4.176%
    • Average: 7.018%
    • Dependent packages count: 21.468%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.1-r1 (published almost 6 years ago)
  • Last Synced: 2024-11-10T21:07:24.240Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.185%
    • Forks count: 3.723%
    • Average: 7.265%
    • Dependent packages count: 23.151%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.4-r0 (published almost 4 years ago)
  • Last Synced: 2024-11-10T21:07:11.448Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.768%
    • Forks count: 4.646%
    • Average: 7.274%
    • Dependent packages count: 21.681%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.1-r2 (published over 5 years ago)
  • Last Synced: 2024-11-10T21:07:25.354Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.626%
    • Forks count: 4.24%
    • Average: 7.367%
    • Dependent packages count: 22.601%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.1-r1 (published over 6 years ago)
  • Last Synced: 2024-11-10T21:07:02.533Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.076%
    • Forks count: 3.449%
    • Average: 7.688%
    • Dependent packages count: 25.225%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.4-r1 (published about 3 years ago)
  • Last Synced: 2024-11-10T21:07:16.960Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.977%
    • Forks count: 4.755%
    • Average: 8.329%
    • Dependent packages count: 25.585%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.5-r1 (published over 2 years ago)
  • Last Synced: 2024-11-10T21:07:35.025Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 3.099%
    • Forks count: 4.79%
    • Average: 8.8%
    • Dependent packages count: 27.311%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.1-r1 (published over 5 years ago)
  • Last Synced: 2024-11-10T21:07:09.750Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 2.273%
    • Forks count: 3.752%
    • Average: 8.895%
    • Dependent packages count: 29.555%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.5-r1 (published over 2 years ago)
  • Last Synced: 2024-11-10T21:07:05.603Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Stargazers count: 3.727%
    • Forks count: 5.524%
    • Average: 9.126%
    • Dependent packages count: 27.254%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release:
  • Last Synced: 2024-11-10T21:06:59.389Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine: ruby-timecop

A gem providing 'time travel' and 'time freezing' capabilities

  • Homepage: https://github.com/travisjeffery/timecop
  • Licenses: MIT
  • Latest release: 0.9.8-r0 (published over 1 year ago)
  • Last Synced: 2024-11-10T21:07:43.901Z (about 1 month ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)

Dependencies

Gemfile rubygems
  • activesupport >= 0 development
  • i18n >= 0 development
  • jeweler < 2.1.3 development
  • minitest >= 0 development
  • minitest-rg >= 0 development
  • mocha >= 0 development
  • nokogiri >= 0 development
  • pry >= 0 development
  • rake >= 0 development
  • tzinfo >= 0 development
.github/workflows/CI.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
Dockerfile docker
  • ruby latest build
timecop.gemspec rubygems