abra 1.0.0 → 1.0.1

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: d7797535070616d2e099216ac8960693ea638a05
4
- data.tar.gz: 9a0d5222804bcec867f3c8bb081cabe98ffd4565
3
+ metadata.gz: 3d3522ce9b0c764ff5039b8196f5494e79ad1c6c
4
+ data.tar.gz: 8df5bb9be7c9a626031a0a1065cbf890ba836752
5
5
  SHA512:
6
- metadata.gz: 1cb179ddd98eab7e52b72cec9a3383b7e0cc8bee3728760bbd5b328f4439682bebe67f10f0fdf8381bf1517e45a2163184134925e60625e5416cdcdd59a7446e
7
- data.tar.gz: 14e950b7cc717330212f95fa1ae621b9663d9ce392d99e1115bc01c0fffd706825ba3be2c240c90f704e5a55310422d5334dbe68e5fb88efd7062ff168c6e081
6
+ metadata.gz: 272875c4ba97b7bb59904b5ad01fa150e6aa7a30e1cdbc6b5abd58ebc184912c65100a4c3c9cdf7e3912109d3827fd12e9404344dd01ef87442e3831510fe143
7
+ data.tar.gz: 2cde5815aec2430abb2fb6a90ec8ed221896b34b1ee861610958f88c0ce052ea4e9c65a7d852171b8114ad48ba40e07b13c9cda7a06b4e396a0e3926bd97116e
Binary file
@@ -1,3 +1,3 @@
1
1
  module Abra
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/lib/apk.rb CHANGED
@@ -24,8 +24,9 @@ module Abra
24
24
  if self.icon
25
25
  dst = "/tmp/abra-#{Time.now.to_i.to_s}-#{Process.pid.to_s}-#{("%04d" % rand(9999))}"
26
26
  @resource.extract(self.icon, dst)
27
- File.read(dst)
27
+ data = File.read(dst)
28
28
  File.delete(dst)
29
+ data
29
30
  else
30
31
  nil
31
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - junzhepan
@@ -67,6 +67,7 @@ files:
67
67
  - LICENSE
68
68
  - README.md
69
69
  - Rakefile
70
+ - abra-1.0.0.gem
70
71
  - abra.gemspec
71
72
  - bin/console
72
73
  - bin/setup