rspec-timecop 0.3.0 → 0.4.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
- SHA1:
3
- metadata.gz: fee654aad71a8709ac8906cb542ab22e505f5d88
4
- data.tar.gz: e1f0ad185880d0b90c497f1480ad76dd0754451a
2
+ SHA256:
3
+ metadata.gz: c91842937dd33fd6f2be6c24f1916f3d6bc9e8c2d59969c90117c07a0b89bb37
4
+ data.tar.gz: 64de0d0101656db42953aeb66bd43a4c545f6ae4f9c03bc7d42f3693133452da
5
5
  SHA512:
6
- metadata.gz: f91226b784392cafb1b6cea26127395bce052c47a3faa8f8d34ac7a2c1533cca86a3087a36a6309f979a06c57c4cdff9667d53688907a139a307384a20574045
7
- data.tar.gz: fca4b876e47f237af6383f865d14082f74278a8b4acae17b345afd3a946be13e0e2da840f0c3c73cb40a2d119540b32b20c069fec26f914d0d91e241afd7dd4a
6
+ metadata.gz: 4e422c8702cb1d08858317cc9a7a414e9c1c7e9afb2b75aa8eb71ae4e6a2fe438aa4964946599a81923f423da88ab03b57dbe45fd55fa44facf4db0c5e8573cc
7
+ data.tar.gz: 6347aa15ea1ce4840eb0df994bbaf03ab8d4abe3a269caa2abe3b1098576d8fa641c6a12aba6646c3602cd86eb4df836cb9220acd2861b20d69eb5b572c7668f
@@ -0,0 +1,38 @@
1
+ name: CI
2
+ on:
3
+ push:
4
+ schedule:
5
+ - cron: '0 1 * * 0' # every Sunday at 1am
6
+ jobs:
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 }}
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ bundler-cache: true
20
+ - run: bundle exec rake spec
21
+ coverage:
22
+ needs: [ test ]
23
+ name: coverage
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - uses: ruby/setup-ruby@v1
28
+ with:
29
+ 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
data/.gitignore CHANGED
@@ -3,7 +3,6 @@
3
3
  /Gemfile.lock
4
4
  /_yardoc/
5
5
  /coverage/
6
- /doc/
7
6
  /pkg/
8
7
  /spec/reports/
9
8
  /tmp/
@@ -12,4 +11,3 @@
12
11
  *.o
13
12
  *.a
14
13
  mkmf.log
15
- .ruby-version
data/.rubocop.yml CHANGED
@@ -1,7 +1,24 @@
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rake
4
+ - rubocop-rspec
5
+
1
6
  AllCops:
2
- Exclude:
3
- - 'rspec-timecop.gemspec'
4
- - 'lib/rspec/timecop/version.rb'
7
+ NewCops: enable
8
+
9
+ Gemspec/DevelopmentDependencies:
10
+ EnforcedStyle: gemspec
5
11
 
6
- Documentation:
12
+ Metrics/MethodLength:
13
+ Max: 20
14
+
15
+ RSpec/EmptyExampleGroup:
7
16
  Enabled: false
17
+
18
+ # Because of the way that blocks are used in RSpecs can end up being long when
19
+ # example groups are nested or many examples are checked.
20
+ # A similar pattern exists in the DSL for gemspec files.
21
+ Metrics/BlockLength:
22
+ Exclude:
23
+ - '*.gemspec'
24
+ - 'spec/**/*'
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.1.2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [0.4.0] - 2025-01-31
10
+ ### Changed
11
+ - minimum required Ruby version to 3.1.2, dropping support for 2.x and 3.0
12
+
4
13
  ## [0.3.0] - 2015-10-06
5
14
  ### Changed
6
15
  - Upgrade timecop to v0.8.0
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in rspec-timecop.gemspec
data/README.md CHANGED
@@ -1,14 +1,15 @@
1
1
  # RSpec::Timecop
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/rspec-timecop.svg)](http://badge.fury.io/rb/rspec-timecop)
4
- [![Dependency Status](https://gemnasium.com/sugarcrm/rspec-timecop.svg)](https://gemnasium.com/sugarcrm/rspec-timecop)
5
- [![Build Status](https://travis-ci.org/sugarcrm/rspec-timecop.svg?branch=master)](https://travis-ci.org/sugarcrm/rspec-timecop)
6
- [![Coverage Status](http://img.shields.io/coveralls/sugarcrm/rspec-timecop/master.svg)](https://coveralls.io/r/sugarcrm/rspec-timecop)
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)
7
5
  [![Code Climate](https://codeclimate.com/github/sugarcrm/rspec-timecop/badges/gpa.svg)](https://codeclimate.com/github/sugarcrm/rspec-timecop)
8
- [![Inline docs](http://inch-ci.org/github/sugarcrm/rspec-timecop.svg)](http://inch-ci.org/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)
9
7
  [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](LICENSE.txt)
10
8
 
11
- RSpec extension for controlling time within examples.
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)
11
+
12
+ RSpec extension for controlling time within examples, using the [timecop gem](https://github.com/travisjeffery/timecop).
12
13
 
13
14
  ## Installation
14
15
 
@@ -20,7 +21,7 @@ gem 'rspec-timecop'
20
21
 
21
22
  And then execute:
22
23
 
23
- $ bundle
24
+ $ bundle install
24
25
 
25
26
  Or install it yourself as:
26
27
 
@@ -68,10 +69,32 @@ And using #timecopped hides away example how Timecop.freeze is used so that we c
68
69
  ## Related
69
70
  * https://github.com/travisjeffery/timecop/pull/119
70
71
 
72
+ ## Elsewhere on the web
73
+
74
+ Links to other places on the web where this projects exists:
75
+
76
+ * [Code Climate](https://codeclimate.com/github/sugarcrm/rspec-timecop)
77
+ * [CucumberReports](https://reports.cucumber.io/report-collections/90896a4c-93cc-47e8-9e26-12d0df876651)
78
+ * [Github](https://github.com/sugarcrm/rspec-timecop)
79
+ * [OpenHub](https://www.openhub.net/p/rspec-timecop)
80
+ * [RubyDoc](https://rubydoc.org/gems/rspec-timecop)
81
+ * [RubyGems](https://rubygems.org/gems/rspec-timecop)
82
+ * [Ruby LibHunt](https://ruby.libhunt.com/rspec-timecop-alternatives)
83
+ * [Ruby Toolbox](https://www.ruby-toolbox.com/projects/rspec-timecop)
84
+
85
+ ## Similar Projects
86
+
87
+ * [timecop-rspec](https://github.com/avantoss/timecop-rspec), similar ideas but
88
+ a different implementation
89
+
71
90
  ## Contributing
72
91
 
73
- 1. Fork it ( https://github.com/[my-github-username]/rspec-timecop/fork )
92
+ 1. Fork it ( https://github.com/sugarcrm/rspec-timecop/fork )
74
93
  2. Create your feature branch (`git checkout -b my-new-feature`)
75
94
  3. Commit your changes (`git commit -am 'Add some feature'`)
76
95
  4. Push to the branch (`git push origin my-new-feature`)
77
96
  5. Create a new Pull Request
97
+
98
+ ## License
99
+
100
+ Copyright 2025 [SugarCRM Inc.](http://sugarcrm.com), released under the [MIT License](https://opensource.org/license/MIT).
data/Rakefile CHANGED
@@ -1,11 +1,61 @@
1
- # -*- encoding: utf-8 -*-
1
+ # frozen_string_literal: true
2
+
2
3
  require 'bundler/gem_tasks'
3
4
  require 'rspec/core/rake_task'
4
5
  require 'rubocop/rake_task'
6
+ require 'bundler/audit/task'
7
+ require 'yard'
8
+ require 'yardstick/rake/measurement'
9
+ require 'pathname'
10
+ require 'license_finder'
11
+ require 'English'
12
+
13
+ RSpec::Core::RakeTask.new(:spec) do |task|
14
+ task.rspec_opts = '--warnings'
15
+ end
5
16
 
6
- RSpec::Core::RakeTask.new(:spec)
7
17
  RuboCop::RakeTask.new(:rubocop) do |task|
8
- task.options = ['--out', 'tmp/rubocop.txt', '--format', 'progress']
18
+ rubocop_report_pathname =
19
+ Pathname(Rake.application.original_dir).join('tmp', 'rubocop.txt')
20
+ rubocop_report_pathname.dirname.mkpath
21
+ task.requires << 'rubocop-rspec'
22
+ task.options =
23
+ %w[
24
+ --display-cop-names
25
+ --extra-details
26
+ --display-style-guide
27
+ --fail-level error
28
+ --format progress
29
+ --format simple --out
30
+ ].push(rubocop_report_pathname.to_s)
31
+ end
32
+
33
+ Bundler::Audit::Task.new
34
+
35
+ desc 'Show which specified gems are outdated'
36
+ task 'bundle:outdated' do
37
+ bundle_outdated_report_pathname =
38
+ Pathname(Rake.application.original_dir).join('tmp', 'bundle_outdated.txt')
39
+ bundle_outdated_report_pathname.dirname.mkpath
40
+
41
+ # TODO: Should consider re-writing this without using `tee`.
42
+ sh("bundle outdated --only-explicit | tee #{bundle_outdated_report_pathname}")
43
+ end
44
+
45
+ desc 'Check dependency licenses'
46
+ task :license_finder do
47
+ puts `license_finder --quiet --format text`
48
+
49
+ abort('LicenseFinder failed') unless $CHILD_STATUS.success?
50
+ end
51
+
52
+ YARD::Rake::YardocTask.new do |t|
53
+ t.files = ['lib/**/*.rb']
54
+ t.stats_options = ['--list-undoc']
55
+ end
56
+
57
+ Yardstick::Rake::Measurement.new(:yardstick_measure) do |measurement|
58
+ measurement.output = 'tmp/yard_coverage.txt'
9
59
  end
10
60
 
11
- task default: :spec
61
+ task default: %i[spec rubocop yardstick_measure bundle:audit license_finder]
@@ -0,0 +1,25 @@
1
+ ---
2
+ - - :ignore_group
3
+ - development
4
+ - :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
5
+ :why:
6
+ :versions: []
7
+ :when: 2018-06-13 15:20:17.351348000 Z
8
+ - - :permit
9
+ - Apache 2.0
10
+ - :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
11
+ :why: SugarCRM's primary approved open source license
12
+ :versions: []
13
+ :when: 2018-06-18 19:28:33.314061000 Z
14
+ - - :permit
15
+ - MIT
16
+ - :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
17
+ :why: SugarCRM's secondary approved open source license
18
+ :versions: []
19
+ :when: 2018-06-13 15:18:36.240771000 Z
20
+ - - :permit
21
+ - BSD
22
+ - :who: Andrew Sullivan Cant <mail@andrewsullivancant.ca>
23
+ :why: SugarCRM's secondary approved open source license
24
+ :versions: []
25
+ :when: 2018-06-18 19:29:15.003697000 Z
@@ -1,6 +1,9 @@
1
- # -*- encoding: utf-8 -*-
1
+ # frozen_string_literal: true
2
+
2
3
  module RSpec
3
4
  module Timecop
5
+ # Helper which will be include by default, and provide the `timecopped`
6
+ # help in all examples.
4
7
  module Helpers
5
8
  def timecopped(time)
6
9
  result = nil
@@ -1,6 +1,7 @@
1
- # -*- encoding: utf-8 -*-
1
+ # frozen_string_literal: true
2
+
2
3
  module RSpec
3
4
  module Timecop
4
- VERSION = '0.3.0'
5
+ VERSION = '0.4.0'
5
6
  end
6
7
  end
data/lib/rspec/timecop.rb CHANGED
@@ -1,11 +1,11 @@
1
- # -*- encoding: utf-8 -*-
1
+ # frozen_string_literal: true
2
+
2
3
  require 'rspec/core'
3
4
  require 'timecop'
4
5
  require 'rspec/timecop/version'
5
6
  require 'rspec/timecop/helpers'
6
7
 
7
8
  module RSpec
8
- module Timecop
9
- # Your code goes here...
9
+ module Timecop # rubocop:disable Style/Documentation
10
10
  end
11
11
  end
@@ -1,5 +1,6 @@
1
- # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'rspec/timecop/version'
5
6
 
@@ -8,20 +9,35 @@ Gem::Specification.new do |spec|
8
9
  spec.version = RSpec::Timecop::VERSION
9
10
  spec.authors = ['Andrew Sullivan Cant']
10
11
  spec.email = ['acant@sugarcrm.com']
11
- spec.summary = %q{RSpec extension to control time.}
12
- spec.description = %q{Provides helper methods for using Timecop in RSpec examples.}
12
+ spec.summary = 'RSpec extension to control time.'
13
+ spec.description = 'Provides helper methods for using Timecop in RSpec examples.'
13
14
  spec.homepage = 'http://github.com/sugarcrm/rspec-timecop'
14
15
  spec.license = 'MIT'
15
16
 
16
17
  spec.files = `git ls-files -z`.split("\x0")
17
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency 'rspec-core', '>= 2.99.0'
22
- spec.add_runtime_dependency 'timecop', '~> 0.8.0'
23
- spec.add_runtime_dependency 'rubocop', '>= 0.30.0'
24
- spec.add_development_dependency 'bundler', '~> 1.7'
25
- spec.add_development_dependency 'rake', '~> 10.0'
26
- spec.add_development_dependency 'rspec', '~> 2.99.0'
21
+ spec.required_ruby_version = '>= 3.1.2'
22
+
23
+ spec.metadata['rubygems_mfa_required'] = 'true'
24
+
25
+ spec.add_dependency 'rspec-core', '>= 2.99.0'
26
+ spec.add_dependency 'timecop', '~> 0.8'
27
+
28
+ spec.add_development_dependency 'rake', '~> 13.2'
29
+ spec.add_development_dependency 'rspec', '~> 3.0'
30
+
31
+ # Dependencies whose APIs we do not really depend upon, and can be upgraded
32
+ # without limiting.
33
+ spec.add_development_dependency 'bundler-audit'
34
+ spec.add_development_dependency 'license_finder'
35
+ spec.add_development_dependency 'rubocop'
36
+ spec.add_development_dependency 'rubocop-performance'
37
+ spec.add_development_dependency 'rubocop-rake'
38
+ spec.add_development_dependency 'rubocop-rspec'
39
+ spec.add_development_dependency 'simplecov'
40
+ spec.add_development_dependency 'simplecov-lcov'
41
+ spec.add_development_dependency 'yard'
42
+ spec.add_development_dependency 'yardstick'
27
43
  end
@@ -1,4 +1,6 @@
1
- require 'rspec/timecop'
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
2
4
 
3
5
  describe RSpec::Timecop::Helpers do
4
6
  describe '#timecopped' do
@@ -6,6 +8,6 @@ describe RSpec::Timecop::Helpers do
6
8
 
7
9
  let(:now) { Time.parse('2015-01-01') }
8
10
 
9
- it { should eq(now) }
11
+ it { is_expected.to eq(now) }
10
12
  end
11
13
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
4
+
5
+ # Setup code coverage
6
+ require 'simplecov'
7
+ require 'simplecov-lcov'
8
+ require 'simplecov_json_formatter'
9
+ SimpleCov.start do
10
+ # NOTE: Include the lcov formatter for CodeClimate reporting.
11
+ # Even though the simplecov JSON format will be output and used by default,
12
+ # the test reporter does not handle it reliable.
13
+ # Using the lcov formatter is more reliable.
14
+ SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new(
15
+ [
16
+ SimpleCov::Formatter::HTMLFormatter,
17
+ SimpleCov::Formatter::JSONFormatter,
18
+ SimpleCov::Formatter::LcovFormatter
19
+ ]
20
+ )
21
+ end
22
+
23
+ require 'rspec/timecop'
metadata CHANGED
@@ -1,99 +1,211 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-timecop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Sullivan Cant
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2025-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.99.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.99.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: timecop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.8.0
33
+ version: '0.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.8.0
40
+ version: '0.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '13.2'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '13.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler-audit
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: license_finder
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
41
97
  - !ruby/object:Gem::Dependency
42
98
  name: rubocop
43
99
  requirement: !ruby/object:Gem::Requirement
44
100
  requirements:
45
- - - '>='
101
+ - - ">="
46
102
  - !ruby/object:Gem::Version
47
- version: 0.30.0
48
- type: :runtime
103
+ version: '0'
104
+ type: :development
49
105
  prerelease: false
50
106
  version_requirements: !ruby/object:Gem::Requirement
51
107
  requirements:
52
- - - '>='
108
+ - - ">="
53
109
  - !ruby/object:Gem::Version
54
- version: 0.30.0
110
+ version: '0'
55
111
  - !ruby/object:Gem::Dependency
56
- name: bundler
112
+ name: rubocop-performance
57
113
  requirement: !ruby/object:Gem::Requirement
58
114
  requirements:
59
- - - ~>
115
+ - - ">="
60
116
  - !ruby/object:Gem::Version
61
- version: '1.7'
117
+ version: '0'
62
118
  type: :development
63
119
  prerelease: false
64
120
  version_requirements: !ruby/object:Gem::Requirement
65
121
  requirements:
66
- - - ~>
122
+ - - ">="
67
123
  - !ruby/object:Gem::Version
68
- version: '1.7'
124
+ version: '0'
69
125
  - !ruby/object:Gem::Dependency
70
- name: rake
126
+ name: rubocop-rake
71
127
  requirement: !ruby/object:Gem::Requirement
72
128
  requirements:
73
- - - ~>
129
+ - - ">="
74
130
  - !ruby/object:Gem::Version
75
- version: '10.0'
131
+ version: '0'
76
132
  type: :development
77
133
  prerelease: false
78
134
  version_requirements: !ruby/object:Gem::Requirement
79
135
  requirements:
80
- - - ~>
136
+ - - ">="
81
137
  - !ruby/object:Gem::Version
82
- version: '10.0'
138
+ version: '0'
83
139
  - !ruby/object:Gem::Dependency
84
- name: rspec
140
+ name: rubocop-rspec
85
141
  requirement: !ruby/object:Gem::Requirement
86
142
  requirements:
87
- - - ~>
143
+ - - ">="
88
144
  - !ruby/object:Gem::Version
89
- version: 2.99.0
145
+ version: '0'
90
146
  type: :development
91
147
  prerelease: false
92
148
  version_requirements: !ruby/object:Gem::Requirement
93
149
  requirements:
94
- - - ~>
150
+ - - ">="
95
151
  - !ruby/object:Gem::Version
96
- version: 2.99.0
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: simplecov-lcov
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: yard
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: yardstick
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
97
209
  description: Provides helper methods for using Timecop in RSpec examples.
98
210
  email:
99
211
  - acant@sugarcrm.com
@@ -101,41 +213,44 @@ executables: []
101
213
  extensions: []
102
214
  extra_rdoc_files: []
103
215
  files:
104
- - .gitignore
105
- - .rubocop.yml
216
+ - ".github/workflows/ci.yml"
217
+ - ".gitignore"
218
+ - ".rubocop.yml"
219
+ - ".ruby-version"
106
220
  - CHANGELOG.md
107
221
  - Gemfile
108
222
  - LICENSE.txt
109
223
  - README.md
110
224
  - Rakefile
225
+ - doc/dependency_decisions.yml
111
226
  - lib/rspec/timecop.rb
112
227
  - lib/rspec/timecop/helpers.rb
113
228
  - lib/rspec/timecop/version.rb
114
229
  - rspec-timecop.gemspec
115
- - spec/helper_spec.rb
230
+ - spec/rspec/timecop/helpers_spec.rb
231
+ - spec/spec_helper.rb
116
232
  homepage: http://github.com/sugarcrm/rspec-timecop
117
233
  licenses:
118
234
  - MIT
119
- metadata: {}
120
- post_install_message:
235
+ metadata:
236
+ rubygems_mfa_required: 'true'
237
+ post_install_message:
121
238
  rdoc_options: []
122
239
  require_paths:
123
240
  - lib
124
241
  required_ruby_version: !ruby/object:Gem::Requirement
125
242
  requirements:
126
- - - '>='
243
+ - - ">="
127
244
  - !ruby/object:Gem::Version
128
- version: '0'
245
+ version: 3.1.2
129
246
  required_rubygems_version: !ruby/object:Gem::Requirement
130
247
  requirements:
131
- - - '>='
248
+ - - ">="
132
249
  - !ruby/object:Gem::Version
133
250
  version: '0'
134
251
  requirements: []
135
- rubyforge_project:
136
- rubygems_version: 2.0.14
137
- signing_key:
252
+ rubygems_version: 3.3.7
253
+ signing_key:
138
254
  specification_version: 4
139
255
  summary: RSpec extension to control time.
140
- test_files:
141
- - spec/helper_spec.rb
256
+ test_files: []