kono_utils_helpers 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad9895208b14b142735e195bfd2a47d661c1c8aff4b925eea7eb392672a049fd
4
- data.tar.gz: 46593ca3f8f5e16412fe55284ff3152aa024c8b3672a675e88f412b9f9415883
3
+ metadata.gz: 99fe12746488617b7cf8a8733553a4d6984f61ee4a2859c1b18be28cbd5980af
4
+ data.tar.gz: a904055b53b1c5d6a78772f8ff3e570385442e52fe4a60222dba7f7619f3a2c4
5
5
  SHA512:
6
- metadata.gz: 3a012829bd99b78637791f157dcddf56a5afa40482d69f4578107e0bb4156796ff09546677eda29982e6186014abfdfd024bc2e21644e55e5d3ef1c32db3828f
7
- data.tar.gz: bed6e6939b7d186d7f8d696316eb0608fd0eca5c3a34b88fdac1f9e7452dc6fb3cdc7b1383db531087d34343c8c61ff3f63516cbb23a59a02d5ece0283d89ee8
6
+ metadata.gz: 8d88849f9352fc7fe7cf23dfab64eff6067635e44ad79459ce2863940e0f381d4e739fa75abf1220f076e4ccc6c12353949f016fb2df1d0ace2e9ba59ea0c402
7
+ data.tar.gz: c25426b2f5a01a977aa5fb670890ef534bdc8ede7f7b0865f8f402549eb6c5c49eae6387bdbea71873c958bfcbc00e7dea6476f53eb5e67e7490f05537134495
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kono_utils_helpers (0.1.1)
4
+ kono_utils_helpers (0.1.2)
5
5
  actionview
6
6
  active_type
7
7
  activesupport (>= 4.2)
@@ -10,37 +10,39 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actionview (6.1.3)
14
- activesupport (= 6.1.3)
13
+ actionview (6.1.3.2)
14
+ activesupport (= 6.1.3.2)
15
15
  builder (~> 3.1)
16
16
  erubi (~> 1.4)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
19
- active_type (1.6.0)
19
+ active_type (1.9.0)
20
20
  activerecord (>= 3.2)
21
- activemodel (6.1.3)
22
- activesupport (= 6.1.3)
23
- activerecord (6.1.3)
24
- activemodel (= 6.1.3)
25
- activesupport (= 6.1.3)
26
- activesupport (6.1.3)
21
+ activemodel (6.1.3.2)
22
+ activesupport (= 6.1.3.2)
23
+ activerecord (6.1.3.2)
24
+ activemodel (= 6.1.3.2)
25
+ activesupport (= 6.1.3.2)
26
+ activesupport (6.1.3.2)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 1.6, < 2)
29
29
  minitest (>= 5.1)
30
30
  tzinfo (~> 2.0)
31
31
  zeitwerk (~> 2.3)
32
32
  builder (3.2.4)
33
- concurrent-ruby (1.1.8)
33
+ concurrent-ruby (1.1.9)
34
34
  crass (1.0.6)
35
35
  diff-lcs (1.3)
36
36
  erubi (1.10.0)
37
- i18n (1.8.9)
37
+ i18n (1.8.10)
38
38
  concurrent-ruby (~> 1.0)
39
- loofah (2.9.0)
39
+ loofah (2.10.0)
40
40
  crass (~> 1.0.2)
41
41
  nokogiri (>= 1.5.9)
42
+ mini_portile2 (2.5.3)
42
43
  minitest (5.14.4)
43
- nokogiri (1.11.1-x86_64-linux)
44
+ nokogiri (1.11.7)
45
+ mini_portile2 (~> 2.5.0)
44
46
  racc (~> 1.4)
45
47
  racc (1.5.2)
46
48
  rails-dom-testing (2.0.3)
@@ -53,6 +53,14 @@ module KonoUtils
53
53
 
54
54
  delegate_missing_to :@tmp_file
55
55
 
56
+ def unlink
57
+ File.unlink(@tmp_file.path)
58
+ rescue Errno::ENOENT
59
+ rescue Errno::EACCES
60
+ # may not be able to unlink on Windows; just ignore
61
+ return
62
+ end
63
+
56
64
  private
57
65
 
58
66
  ##
@@ -1,3 +1,3 @@
1
1
  module KonoUtilsHelpers
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kono_utils_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marino Bonetti