rspec-timecop 0.4.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c91842937dd33fd6f2be6c24f1916f3d6bc9e8c2d59969c90117c07a0b89bb37
4
- data.tar.gz: 64de0d0101656db42953aeb66bd43a4c545f6ae4f9c03bc7d42f3693133452da
3
+ metadata.gz: 87a2f226f661a004eec44c8dfa4c10a7efa6602bbdb617172ce2b55b7c96405d
4
+ data.tar.gz: a4496eb89226931969227f9f398648af51fa469de94bd8b3c31632989d840238
5
5
  SHA512:
6
- metadata.gz: 4e422c8702cb1d08858317cc9a7a414e9c1c7e9afb2b75aa8eb71ae4e6a2fe438aa4964946599a81923f423da88ab03b57dbe45fd55fa44facf4db0c5e8573cc
7
- data.tar.gz: 6347aa15ea1ce4840eb0df994bbaf03ab8d4abe3a269caa2abe3b1098576d8fa641c6a12aba6646c3602cd86eb4df836cb9220acd2861b20d69eb5b572c7668f
6
+ metadata.gz: 53a2174a81377c2fa9ba14a40e9513c2d56bfa07c3a1f65c40855cad9898b9b746d4b06ce59d384b14a7c0e80118361f90ca7ca8857a40e2c98dbc3457c8b7d9
7
+ data.tar.gz: 21c238e08a0aea18188ada347046e9a74e0e3601a63c75d5af4ce9cc10b4093005be1e0de1687ca90ea8594e85ca56f4a066880861cb4a4330f74847c23bab94
@@ -5,34 +5,29 @@ on:
5
5
  - cron: '0 1 * * 0' # every Sunday at 1am
6
6
  jobs:
7
7
  test:
8
- strategy:
9
- fail-fast: false
10
- matrix:
11
- os: [ubuntu-20.04, macos-13]
12
- ruby: [3.1, 3.2, 3.3, 3.4, head, jruby, jruby-head]
13
- continue-on-error: ${{ endsWith(matrix.ruby, 'head') || endsWith(matrix.ruby, 'jruby') }}
14
- runs-on: ${{ matrix.os }}
8
+ runs-on: ubuntu-latest
15
9
  steps:
16
10
  - uses: actions/checkout@v4
17
11
  - uses: ruby/setup-ruby@v1
18
12
  with:
19
13
  bundler-cache: true
20
- - run: bundle exec rake spec
21
- coverage:
14
+ - run: bundle exec rake
15
+ env:
16
+ CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}
17
+ # TODO: Consider a code climate replacement for reporting results.
18
+ matrix_tests:
22
19
  needs: [ test ]
23
- name: coverage
24
- runs-on: ubuntu-latest
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ os: [ubuntu-latest, macos-latest, windows-latest]
24
+ ruby: [3.1, 3.2, 3.3, 3.4, 4.0, head, jruby, jruby-head]
25
+ continue-on-error: ${{ endsWith(matrix.ruby, 'head') || endsWith(matrix.ruby, 'jruby') }}
26
+ runs-on: ${{ matrix.os }}
25
27
  steps:
26
28
  - uses: actions/checkout@v4
27
29
  - uses: ruby/setup-ruby@v1
28
30
  with:
31
+ ruby-version: ${{ matrix.ruby }}
29
32
  bundler-cache: true
30
- - run: bundle exec rake
31
- env:
32
- CUCUMBER_PUBLISH_TOKEN: ${{ secrets.CUCUMBER_PUBLISH_TOKEN }}
33
- - uses: paambaati/codeclimate-action@v9.0.0
34
- env:
35
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
36
- with:
37
- coverageLocations: |
38
- ${{ github.workspace }}/coverage/lcov/*.lcov:lcov
33
+ - run: bundle exec rake spec
data/.rubocop.yml CHANGED
@@ -1,4 +1,4 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-performance
3
3
  - rubocop-rake
4
4
  - rubocop-rspec
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [l.0.0] - 2026-02-23
10
+ ### Changed
11
+ - update the gem version to 1.0.0, becuase it is stable and in use
12
+
9
13
  ## [0.4.0] - 2025-01-31
10
14
  ### Changed
11
15
  - minimum required Ruby version to 3.1.2, dropping support for 2.x and 3.0
data/README.md CHANGED
@@ -2,12 +2,9 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rspec-timecop.svg)](http://badge.fury.io/rb/rspec-timecop)
4
4
  [![Build Status](https://github.com/sugarcrm/rspec-timecop/actions/workflows/ci.yml/badge.svg)](https://github.com/sugarcrm/rspec-timecop/actions/workflows/ci.yml)
5
- [![Code Climate](https://codeclimate.com/github/sugarcrm/rspec-timecop/badges/gpa.svg)](https://codeclimate.com/github/sugarcrm/rspec-timecop)
6
- [![Test Coverage](https://codeclimate.com/github/sugarcrm/rspec-timecop/badges/coverage.svg)](https://codeclimate.com/github/sugarcrm/rspec-timecop/coverage)
7
5
  [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE.txt)
8
6
 
9
- [![RubyDoc](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://rubydoc.org/gems/rspec-timecop)
10
- [![CucumberReports: rspec-timecop](https://messages.cucumber.io/api/report-collections/90896a4c-93cc-47e8-9e26-12d0df876651/badge)](https://reports.cucumber.io/report-collections/90896a4c-93cc-47e8-9e26-12d0df876651)
7
+ [![RubyDoc](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://rubydoc.info/gems/rspec-timecop)
11
8
 
12
9
  RSpec extension for controlling time within examples, using the [timecop gem](https://github.com/travisjeffery/timecop).
13
10
 
@@ -73,11 +70,9 @@ And using #timecopped hides away example how Timecop.freeze is used so that we c
73
70
 
74
71
  Links to other places on the web where this projects exists:
75
72
 
76
- * [Code Climate](https://codeclimate.com/github/sugarcrm/rspec-timecop)
77
- * [CucumberReports](https://reports.cucumber.io/report-collections/90896a4c-93cc-47e8-9e26-12d0df876651)
78
73
  * [Github](https://github.com/sugarcrm/rspec-timecop)
79
74
  * [OpenHub](https://www.openhub.net/p/rspec-timecop)
80
- * [RubyDoc](https://rubydoc.org/gems/rspec-timecop)
75
+ * [RubyDoc](https://rubydoc.info/gems/rspec-timecop)
81
76
  * [RubyGems](https://rubygems.org/gems/rspec-timecop)
82
77
  * [Ruby LibHunt](https://ruby.libhunt.com/rspec-timecop-alternatives)
83
78
  * [Ruby Toolbox](https://www.ruby-toolbox.com/projects/rspec-timecop)
@@ -97,4 +92,4 @@ Links to other places on the web where this projects exists:
97
92
 
98
93
  ## License
99
94
 
100
- Copyright 2025 [SugarCRM Inc.](http://sugarcrm.com), released under the [MIT License](https://opensource.org/license/MIT).
95
+ Copyright 2026 [SugarCRM Inc.](http://sugarcrm.com), released under the [MIT License](https://opensource.org/license/MIT).
data/Rakefile CHANGED
@@ -18,7 +18,6 @@ RuboCop::RakeTask.new(:rubocop) do |task|
18
18
  rubocop_report_pathname =
19
19
  Pathname(Rake.application.original_dir).join('tmp', 'rubocop.txt')
20
20
  rubocop_report_pathname.dirname.mkpath
21
- task.requires << 'rubocop-rspec'
22
21
  task.options =
23
22
  %w[
24
23
  --display-cop-names
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Timecop
5
- VERSION = '0.4.0'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
32
32
  # without limiting.
33
33
  spec.add_development_dependency 'bundler-audit'
34
34
  spec.add_development_dependency 'license_finder'
35
+ spec.add_development_dependency 'logger'
35
36
  spec.add_development_dependency 'rubocop'
36
37
  spec.add_development_dependency 'rubocop-performance'
37
38
  spec.add_development_dependency 'rubocop-rake'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-timecop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Sullivan Cant
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-31 00:00:00.000000000 Z
11
+ date: 2026-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: logger
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rubocop
99
113
  requirement: !ruby/object:Gem::Requirement