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.
@@ -1,13 +1,13 @@
1
+ # frozen_string_literal: true
2
+
1
3
  class Timecop
2
4
  module Rspec
3
- # Version namespace for Timecop::Rspec.
5
+ # Version namespace for this gem.
4
6
  module Version
5
- # The gem version.
6
- # @return [String]
7
- VERSION = "1.0.3"
7
+ # Current gem version.
8
+ VERSION = "1.0.4"
8
9
  end
9
- # Convenience constant aliasing Version::VERSION
10
- # @return [String]
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
@@ -1,4 +1,4 @@
1
- require "timecop/rspec/version"
1
+ require_relative "rspec/version"
2
2
 
3
3
  Dir.glob(File.join(__dir__, "rspec", "**", "*.rb")).each { |file| require file }
4
4
 
@@ -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