cucumber-timecop 0.0.1 → 0.0.3
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
- data/README.md +5 -1
- data/lib/cucumber/timecop.rb +5 -0
- data/lib/cucumber/timecop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2368f98985a0c1ebeba787a4d844c4ce282e76fe
|
|
4
|
+
data.tar.gz: 443daf30435a4fac5dcbc996ff77f3072b4cfe25
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8aa6dea5cb9f4f84ea678a54363fa04cc312bde679b6e0154d51d8f345eaaa9c8e37eb4ca6b12a563ea7cdb1ed62d64e3b6422a9ca7a3ac2202bcc5514acd239
|
|
7
|
+
data.tar.gz: 2deb798a380fdaa8059770b1e37fcb61d320a31269cb2b068a1746e9b23fb80342ecfe9593a246988c2c64ca3bc5cd325d6e0e5eeb7360407fc1a94cb53c0cea
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This gem install [timecop](https://github.com/travisjeffery/timecop) and [chroni
|
|
|
6
6
|
|
|
7
7
|
Add this line to your application's Gemfile:
|
|
8
8
|
|
|
9
|
-
gem 'cucumber-timecop'
|
|
9
|
+
gem 'cucumber-timecop', :require => false
|
|
10
10
|
|
|
11
11
|
And then execute:
|
|
12
12
|
|
|
@@ -18,6 +18,10 @@ Or install it yourself as:
|
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
21
|
+
Add the following line to the features/support/env.rb:
|
|
22
|
+
|
|
23
|
+
require 'cucumber/timecop'
|
|
24
|
+
|
|
21
25
|
When this gem is installed, you can use the following cucumber steps:
|
|
22
26
|
|
|
23
27
|
Given it is currently 2 days ago
|
data/lib/cucumber/timecop.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cucumber-timecop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- zedtux
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-11-
|
|
11
|
+
date: 2013-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber
|