zonebie-info 0.0.6 → 0.0.7

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmY5NjJlZjg3MmQ2NjIwYzFmNGE0OTViMzE4OGNiNTc4MGRiOTc0OQ==
4
+ N2U2ZWJkNjBmZDE4YzYyN2RiZGM2Nzc0ZGFlZjExNGJiZGExZDhiNg==
5
5
  data.tar.gz: !binary |-
6
- M2VkODI3ZDk1MjRkMGMzMzRjZDY1YzVjNGY5ZmVkMmNjYWI5NGIyNw==
6
+ YzIxYTk0ZjZiMDQxMjM3OTM1YTRkNGEzNTQ5NDcwM2YxYzQzMmI1Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmU4M2Y4ZWQyOTBmMzBhODllMTFhNDAyYzUzNDA2ODU3ZTRiNTlhYmJlMjdj
10
- NDZhNTJjMTZhNmVlYjUxNmI5OTMzMmNiYTc4ZTUyMGQ2ZWQ3Yjg5Yzc0NzI4
11
- ODk2MjJlNjVkMDYzYzNiMmI3NWE1OTVhMjU4Njc4NDFiMWE1MmI=
9
+ NTM3ZjNiOTI2NDYxYzdlNjdjNWEwOWZlN2EyOWZkMmM2OGMyMmU4M2RhYmVj
10
+ MDMwMzYyNWYwZTcyZjJlYjg3MmVlMzBiM2ZlOTMzNzY3Y2VhMDY2MDkxOGZl
11
+ ZGU0OTkyOTExM2M5NmNmODlmYzhmODI0ZDljYzQ3OTM4NmNlZTc=
12
12
  data.tar.gz: !binary |-
13
- ZDMxZDU1OWJjYzExNjRlNjM3Nzc0MDA4NjYxMDdhODc1NmQ4NjQ1ZGY5M2Vk
14
- YjE4M2ZmMjBmYjBkOGU5MDg4Y2Q4OTA4ZWEwNThkN2M3MTllODAyNDgzZTNk
15
- MThmN2VhNmUwZmI5N2YxY2ZjZWY0M2EwZTU3MDVhNTkyNDdkYjA=
13
+ YzBhNTcxZjZmNDRlMzhmYjJiNmQxNDdjZWQ3MmVmZDJmMjg0NDQ0NmRkMTA2
14
+ N2RkMGI4NjBmYTI0MWNmMGQ4OWMzYTgzMDcyNGEwN2E0NjY3NjU5OGY5NzY1
15
+ NjJhZThiZjY0YjY2MDIwZjEwZWVkYmE3NjgyNDAyNDI1ODAzNWM=
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Zonebie Info [![Build Status](https://travis-ci.org/tpbowden/zonebie-info.svg)](https://travis-ci.org/tpbowden/zonebie-info)
2
2
 
3
- Zonebie plugin that prints details of the random timezone where available
3
+ Zonebie plugin that prints details of the random timezone (if available)
4
4
 
5
5
  ## Installation
6
6
 
@@ -8,9 +8,21 @@ Zonebie plugin that prints details of the random timezone where available
8
8
 
9
9
  ## Usage
10
10
 
11
- `zonebie-info` depends on Zonebie so all you have to do is replace calls to Zonebie with:
11
+ ### RSpec
12
12
 
13
- require "zonebie/info"
13
+ In `spec_helper.rb`:
14
+
15
+ require 'zonebie/info/rspec'
16
+
17
+ ### Cucumber
18
+
19
+ In `env.rb`
20
+
21
+ require 'zonebie/info/cucumber'
22
+
23
+ ### Manual Setup
24
+
25
+ `zonebie-info` depends on Zonebie so all you have to do is replace calls to `Zonebie.set_random_timezone` with:
14
26
 
15
27
  Zonebie.set_timezone_with_info
16
28
 
@@ -0,0 +1,7 @@
1
+ require 'zonebie/info'
2
+
3
+ Zonebie.set_timezone_with_info
4
+
5
+ at_exit do
6
+ Zonebie.print_timezone_info
7
+ end
@@ -1,5 +1,5 @@
1
1
  module Zonebie
2
2
  module Info
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zonebie-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Bowden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-13 00:00:00.000000000 Z
11
+ date: 2015-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: zonebie
@@ -165,6 +165,7 @@ files:
165
165
  - README.md
166
166
  - Rakefile
167
167
  - lib/zonebie/info.rb
168
+ - lib/zonebie/info/cucumber.rb
168
169
  - lib/zonebie/info/rspec.rb
169
170
  - lib/zonebie/info/version.rb
170
171
  - spec/integration/info_spec.rb