timecop-redis 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efe4be6a3df35414a98c987cd9b37a8f1a488e444604b12b19055deb08da97a5
4
- data.tar.gz: 73a64a1815a1de588aebfa868ffc6176335b36196f077877a5f0a5404811b939
3
+ metadata.gz: 126f408065b28e19b4f9b378f1fbe208eafadd1ea3ae632bf552cd493229e6d7
4
+ data.tar.gz: 3977ba609d9eb8fea74c362a82effd18b50e76d24d15c51f7dd3241a76cd31cc
5
5
  SHA512:
6
- metadata.gz: 615bf9efb2718e537e863dc27f4149a6ef79a5f088d6d8a8100987fb17b422d87db2eb7865efaf55305816e2a895f1c48988cc4a69609eb35a258ef1aa158ca7
7
- data.tar.gz: 45c8235a0b6439275e854ac2622bb816bd33ffff55254403b59b0ec478ced89144e089749aa315f128f33063979cc74eaa85c228bf4fa83c00c1b140574c0bac
6
+ metadata.gz: c686711fdd85df87bf1ff562a127f7dba3e587fedad8f44407c3f20ec3bef973afe75f85d2c8a66c1b7ee59f301e8be1a63840574764ce4bf6ae1abe5b5ac805
7
+ data.tar.gz: f75e023104d368ac9f6ba3847f89543cb534ae5f4e943dbd0df20955375b55d2e9da531c37919e0ac597f1974ba101c2f90a6d2cb488a88412227531aa9b014d
@@ -1,4 +1,4 @@
1
- module Timecop
1
+ class Timecop
2
2
  module Redis
3
3
  class Traveler
4
4
  attr_reader :redis
@@ -1,10 +1,10 @@
1
- module Timecop
1
+ class Timecop
2
2
  module Redis
3
3
  # http://semver.org/
4
4
  module Version
5
5
  MAJOR = 0
6
6
  MINOR = 1
7
- PATCH = 0
7
+ PATCH = 1
8
8
 
9
9
  def self.to_s
10
10
  [MAJOR, MINOR, PATCH].join('.')
data/lib/timecop/redis.rb CHANGED
@@ -1,7 +1,8 @@
1
1
  require_relative 'redis/traveler'
2
2
  require 'redis'
3
+ require 'timecop'
3
4
 
4
- module Timecop
5
+ class Timecop
5
6
  module Redis
6
7
  class << self
7
8
  def redis
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_runtime_dependency 'redis', '~> 4.0'
24
+ spec.add_runtime_dependency 'timecop', '~> 0.9'
24
25
 
25
26
  spec.add_development_dependency 'bundler', '~> 1.16'
26
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timecop-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuji Nakayama
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: timecop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement