has_niklas_left_yet 0.0.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a56e4f04826e172d67576d181e75c988f19e5371
4
- data.tar.gz: fcb473f5c93db57e37b0de7f197404bfbd944ea8
3
+ metadata.gz: d23284ba0c694b1aaeb8a9915d356e7479b860e1
4
+ data.tar.gz: af0f79c9b15a7771944bffd1a080923a0114c3e1
5
5
  SHA512:
6
- metadata.gz: 1b2da5683f6137c770e4dc1abee833282b9317e7614a9742f67276d9620271f998c58565a697b47183b7c855a5e4656d109380aa3f3edc94fd3ec7484b7411c2
7
- data.tar.gz: dca0199b2fea2214c4a52f2e72b144a2b468802277be59f904a3e17edad072c94c54b5608cf247412f92618af2ab262ed419b8ff310de5b3412f7181c7cb9556
6
+ metadata.gz: eb9dbcd6eafbfc27c6a5e0e412e8e0250bba6750f7ca90ffb58140245a7770de8a69aa0990d49691dc7726c29dfe454855cc263c30f683d560ddef3fdc39b340
7
+ data.tar.gz: 335389cbe8d44646217715dd505c1f42b3eb4bc70421512f377b617a76aac45e3d013661c19c75a5cc4318d99325a3fbdd0bdcb6aaff1ffd2b8672fd3bf3275f
@@ -20,7 +20,7 @@ class HasNiklasLeftYet
20
20
  end
21
21
 
22
22
  def time_difference
23
- niklas_leaving_time.to_i - current_time.to_i
23
+ (niklas_leaving_time.to_i - current_time.to_i).abs
24
24
  end
25
25
 
26
26
  def time_difference_normal
@@ -1,3 +1,3 @@
1
1
  class HasNiklasLeftYet
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_niklas_left_yet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Giles
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-22 00:00:00.000000000 Z
11
+ date: 2016-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler