increments-schedule 0.7.1 → 0.7.2

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
  SHA1:
3
- metadata.gz: 896c5a2aaa961ba5c696feebb86504fca89ee8e1
4
- data.tar.gz: 1c80dc20d90b41a84a4a871db71a052c3913d176
3
+ metadata.gz: 5af9bc5241d6bb863be27b1f3cbb446eb527d0d9
4
+ data.tar.gz: f25e5c329de7bf4093e877c777b89644e6f8b22a
5
5
  SHA512:
6
- metadata.gz: 5692346d9fb38b22d08fe691e4e6f205f1754dfb7d09e809d966bb74a5591b340eab7dd56e27d7088c20057aff7912da6b93385c0c87298618092d13df44f560
7
- data.tar.gz: dd55cb509d0d26e9c219baf8b7b874d00b43c8451c8a3677b44865322f10938fa2d3dcfde2034475761fe908089572985c2770d674d2bcceec2d766b357c325b
6
+ metadata.gz: 2c5654c4aee0faa6bd06f428e795d061f26f50320862a70bf386a7cd90a9aee457b89befc6bd516f603ea65e256fbbf8957975fbeccbf8a152a481bf31cbe0fc
7
+ data.tar.gz: cac94e597dec58fd46af36f51a8b1b9bb9ca18c68843c24bbf735c24ffd395c8c6cb9f25731502ed245386521f2ca3579d5411fef9b92fc692dd7ed35e1a058b
@@ -100,7 +100,7 @@ module Increments
100
100
  end
101
101
 
102
102
  def cancelled_tgif_party_day?(date)
103
- rest_day?(date) || yapc_asia_day?(date)
103
+ second_or_fourth_friday_in_month?(date) && (rest_day?(date) || yapc_asia_day?(date))
104
104
  end
105
105
 
106
106
  def yapc_asia_day?(date)
@@ -1,5 +1,5 @@
1
1
  module Increments
2
2
  module Schedule
3
- VERSION = '0.7.1'
3
+ VERSION = '0.7.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increments-schedule
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuji Nakayama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-18 00:00:00.000000000 Z
11
+ date: 2015-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: holiday_japan
@@ -84,4 +84,3 @@ signing_key:
84
84
  specification_version: 4
85
85
  summary: Increments' schedule
86
86
  test_files: []
87
- has_rdoc: