fe_core_ext 0.1.38 → 0.1.39

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: 9539f8fa15b7e7cccde2eda68244e85882c4b6ba
4
- data.tar.gz: 77122cec33c7e6d561b2f80c2cfdca6ee3eadd00
3
+ metadata.gz: f9893e0f18eb9b249c90c64bcbcd1169381dc1af
4
+ data.tar.gz: bb93076dea4b453532f322857731e97440c888d2
5
5
  SHA512:
6
- metadata.gz: b4f0f2da2d45d3f249777eca923b896c2f2b809ae1619c859cf13b2092c79b7c534f3c8030efd6b60133205a8b1bcc9dbb91833e36070298fb62dea292d15153
7
- data.tar.gz: 59443a6cf4ce5e61dc204d5f799d047a2460b5d3ad93f3603c5ab6018c64f54a1ccb71a72af062c237195e0b2ab0f3da90c39ca6f4c9fd44c96b34460995a39b
6
+ metadata.gz: 8b3071773d0033529d9b91ae82e8e11541db83db9f20f89ee2c143f546cddd05204ae0c044352185287aebb15fdfcf8385fcc2f2b962122fae25787f107ec3d5
7
+ data.tar.gz: 1baf03272ffbcef347c31ead03cf43b14400f5ce822b105a9c44073dbcaf6439e7156637484a94479ecd58260d07b17369fb2ee0bc356509e2116e902f7fa0dc
@@ -8,9 +8,9 @@ module FeCoreExt::CoreExt::Date
8
8
  def end_of_month?
9
9
  self == end_of_month
10
10
  end
11
-
11
+ class Date
12
12
  def range(duration)
13
- Range.new([(self + duration), self].min, [self + duration, self].max)
13
+ Range.new(*[(self + duration), self].minmax)
14
14
  end
15
15
  end
16
16
 
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.1.38'
2
+ VERSION = '0.1.39'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fe_core_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.38
4
+ version: 0.1.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport