Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 14 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,23 @@ on:
- cron: '0 1 * * 0' # every Sunday at 1am
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rake
env:
CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}
# TODO: Consider a code climate replacement for reporting results.
matrix_tests:
needs: [ test ]
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-13]
ruby: [3.1, 3.2, 3.3, 3.4, head, jruby, jruby-head]
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: [3.1, 3.2, 3.3, 3.4, 4.0, head, jruby, jruby-head]
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || endsWith(matrix.ruby, 'jruby') }}
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -19,21 +31,3 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec
coverage:
needs: [ test ]
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec rake
env:
CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}
- uses: paambaati/codeclimate-action@v9.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: |
${{ github.workspace }}/coverage/lcov/*.lcov:lcov
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require:
plugins:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [l.0.0] - 2026-02-23
### Changed
- update the gem version to 1.0.0, becuase it is stable and in use

## [0.4.0] - 2025-01-31
### Changed
- minimum required Ruby version to 3.1.2, dropping support for 2.x and 3.0
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[![Gem Version](https://badge.fury.io/rb/rspec-timecop.svg)](http://badge.fury.io/rb/rspec-timecop)
[![Build Status](https://github.com/sugarcrm/rspec-timecop/actions/workflows/ci.yml/badge.svg)](https://github.com/sugarcrm/rspec-timecop/actions/workflows/ci.yml)
[![Code Climate](https://codeclimate.com/github/sugarcrm/rspec-timecop/badges/gpa.svg)](https://codeclimate.com/github/sugarcrm/rspec-timecop)
[![Test Coverage](https://codeclimate.com/github/sugarcrm/rspec-timecop/badges/coverage.svg)](https://codeclimate.com/github/sugarcrm/rspec-timecop/coverage)
[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE.txt)

[![RubyDoc](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://rubydoc.info/gems/rspec-timecop)
Expand Down Expand Up @@ -72,7 +70,6 @@ And using #timecopped hides away example how Timecop.freeze is used so that we c

Links to other places on the web where this projects exists:

* [Code Climate](https://codeclimate.com/github/sugarcrm/rspec-timecop)
* [Github](https://github.com/sugarcrm/rspec-timecop)
* [OpenHub](https://www.openhub.net/p/rspec-timecop)
* [RubyDoc](https://rubydoc.info/gems/rspec-timecop)
Expand All @@ -95,4 +92,4 @@ Links to other places on the web where this projects exists:

## License

Copyright 2025 [SugarCRM Inc.](http://sugarcrm.com), released under the [MIT License](https://opensource.org/license/MIT).
Copyright 2026 [SugarCRM Inc.](http://sugarcrm.com), released under the [MIT License](https://opensource.org/license/MIT).
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ RuboCop::RakeTask.new(:rubocop) do |task|
rubocop_report_pathname =
Pathname(Rake.application.original_dir).join('tmp', 'rubocop.txt')
rubocop_report_pathname.dirname.mkpath
task.requires << 'rubocop-rspec'
task.options =
%w[
--display-cop-names
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec/timecop/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module RSpec
module Timecop
VERSION = '0.4.0'
VERSION = '1.0.0'
end
end