pairing_shuffler 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module PairingShuffler
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -46,7 +46,11 @@ module PairingShuffler
46
46
  away_until = content.map { |row| row.index("Away until") }.compact.first
47
47
  !away_until ||
48
48
  row[away_until].to_s.strip.empty? ||
49
- Time.parse(row[away_until]) + DAY < Time.now
49
+ parse_time(row[away_until]) + DAY < Time.now
50
+ end
51
+
52
+ def parse_time(time)
53
+ Time.strptime(time, "%m/%d/%Y")
50
54
  end
51
55
  end
52
56
 
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- ��j�i,Z���V�X�N�����/tq�A's ])�$�簟BT'gt}v6}n�%�����]�� ҽ:L
2
- !���9#����;#*�0�D���r�:��^ �����D͂�Q��E����s_�+��7��"&l������o��玨h �#��"�c�;��W,兿M�w-��t�",.:i�{}C��( �5^�'r����N�;��x)�\�%>��Ʊ8�Y�;+�|���W��~���o&����
1
+ `dz�QW���0������e�ƳJ��3x�eG��$�c�!�l
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pairing_shuffler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,7 +36,7 @@ cert_chain:
36
36
  VHNmKzZNYWVud0FNa0FnSGRzd0dzSnp0T25ObkJhM0YKeTBrQ1NXbUs2RCt4
37
37
  L1NiZlM2cjdLZTA3TVJxemlKZEI5R3VFMSswY0lSdUZoOEVRK0xONkhYQ0tN
38
38
  NXBvbi9HVQp5Y3dNWGZsMAotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2013-06-27 00:00:00.000000000 Z
39
+ date: 2013-07-08 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: google_drive
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  segments:
79
79
  - 0
80
- hash: -2018229648239218957
80
+ hash: -1871156547713194696
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  none: false
83
83
  requirements:
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  segments:
88
88
  - 0
89
- hash: -2018229648239218957
89
+ hash: -1871156547713194696
90
90
  requirements: []
91
91
  rubyforge_project:
92
92
  rubygems_version: 1.8.25
metadata.gz.sig CHANGED
Binary file