timecop-rspec 1.0.3 → 1.0.4
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +164 -9
- data/LICENSE.md +11 -0
- data/README.md +271 -238
- data/lib/timecop/rspec/version.rb +7 -7
- data/lib/timecop/rspec.rb +1 -1
- data/sig/timecop/rspec.rbs +2 -0
- data.tar.gz.sig +0 -0
- metadata +472 -329
- metadata.gz.sig +0 -0
- data/CITATION.cff +0 -20
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -143
- data/LICENSE.txt +0 -22
- data/REEK +0 -0
- data/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/checksums/timecop-rspec-1.0.0.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.0.gem.sha512 +0 -1
- data/checksums/timecop-rspec-1.0.1.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.1.gem.sha512 +0 -1
- data/checksums/timecop-rspec-1.0.2.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.2.gem.sha512 +0 -1
- data/checksums/timecop-rspec-1.0.3.gem.sha256 +0 -1
- data/checksums/timecop-rspec-1.0.3.gem.sha512 +0 -1
- data/sig/timecop.rbs +0 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
class Timecop
|
|
2
4
|
module Rspec
|
|
3
|
-
# Version namespace for
|
|
5
|
+
# Version namespace for this gem.
|
|
4
6
|
module Version
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
VERSION = "1.0.3"
|
|
7
|
+
# Current gem version.
|
|
8
|
+
VERSION = "1.0.4"
|
|
8
9
|
end
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
VERSION = Version::VERSION
|
|
10
|
+
# Current gem version exposed at the traditional constant location.
|
|
11
|
+
VERSION = Version::VERSION # Traditional Constant Location
|
|
12
12
|
end
|
|
13
13
|
end
|
data/lib/timecop/rspec.rb
CHANGED
data/sig/timecop/rspec.rbs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
class Timecop
|
|
2
2
|
module Rspec
|
|
3
3
|
module Version
|
|
4
|
+
VERSION: String
|
|
4
5
|
end
|
|
5
6
|
|
|
6
7
|
class TimeMachine
|
|
@@ -36,5 +37,6 @@ class Timecop
|
|
|
36
37
|
def self.time_machine: (*untyped) -> (SequentialTimeMachine | TimeMachine)
|
|
37
38
|
def self.global_time_configured?: () -> bool
|
|
38
39
|
def self.global_time: () -> ::Time
|
|
40
|
+
VERSION: String
|
|
39
41
|
end
|
|
40
42
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|