fe_core_ext 0.3.0 → 0.4.0

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: 3ff08d035bc106cbe0d9a825002f85d3dae4fdc6
4
- data.tar.gz: bc568caf854c2c52e12ac73fcd7f02960bc73308
3
+ metadata.gz: cbdd99d35e8879e67efbc4e31066b90187aec5dd
4
+ data.tar.gz: 24df0dca0397317fd34245f3fff49b536c041a6f
5
5
  SHA512:
6
- metadata.gz: aa04c39877b5cbe1949d9aab3bc21eb92f5cb7f3e1ec9d4945b7c682a86517e8d121eb7780fd16b5cad441b1897e2e7d5fd6db611486d9fe19cd0f2ff6970946
7
- data.tar.gz: dc0a4ece30f7ed4f95ff705676f100bb2f3a33753d98b86290387810cc862f5b467e91c11c0b895e1a23ba610f901606fc31b085f58e120c21be3bddd50e9bc9
6
+ metadata.gz: 60ae307665479c5ddfd4e9661e0c0cb8e542f28afa50036caf3b23986ce32121f517e257006201c967ed12ebdaf5d6204fc163b9a749dce366fb19bd9f6ef27c
7
+ data.tar.gz: 6316c91012abd621526598f06d22a069929e85f8fc2ccf97b59b0021b21e50d4e88c8381f1d234c94711bc617a5baac92a96bc43d4140eb0bff00798c6e8fd16
@@ -9,4 +9,10 @@ module URI
9
9
  binary = OpenURI.open_uri(self).read
10
10
  File.open(file, 'wb') {|f| f.write(binary)}
11
11
  end
12
- end
12
+ end
13
+
14
+ class URI::Generic
15
+ def basename
16
+ File.basename(path)
17
+ end
18
+ end
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-17 00:00:00.000000000 Z
11
+ date: 2018-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport