fe_core_ext 0.2.1 → 0.2.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: 1fea49ac19df0b21d7a9770ee4c26ad1492643d9
4
- data.tar.gz: f2f898728740f4dffcbc52e3bc805a120a5eaca0
3
+ metadata.gz: 4477881218bbd37c06b633a69c072702e9edb075
4
+ data.tar.gz: 40937f2ea94d14d78ffec7c6434ee0c54b4ea5a3
5
5
  SHA512:
6
- metadata.gz: 97e664f5cea02296d8f8d49257c35465ff5b7ca048f5863471948ac775e3165c6ee0ca1c54a89ef944fdbe92c5eae5d1c11d3962a18cda725e6b21fd59e562f1
7
- data.tar.gz: '0841162ad39e502b9a340354480dbc0589b10bc2a44b71fd02b252db3d08778e458f5ff57a4591c6011563df69e6406fac31d89a1842e59235dee5dbd723b2c8'
6
+ metadata.gz: fa7b879c6aa8d8ce2629c6aa860d394d87df5706186033df3ef7caa855d677c28fdc190e32df469d3760e03890c6117683770cf571218543568f9b1b46019b05
7
+ data.tar.gz: ffae65f2d3eb0f3cc8deb578de9218bdf660be18992c9fb87be568833085db6c0a59f843172d5feec002d06c7973e620a6836d74f76d41842af9bc82c0206dc2
@@ -6,6 +6,7 @@ end
6
6
 
7
7
  module URI
8
8
  def download(file)
9
- File.open(file, 'wb') {|f| f.write(OpenURI.open_uri(self).read)}
9
+ binary = OpenURI.open_uri(self).read
10
+ File.open(file, 'wb') {|f| f.write(binary)}
10
11
  end
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module FeCoreExt
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-26 00:00:00.000000000 Z
11
+ date: 2018-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport