rails_execution 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: 2e65360fe3eaab3230eb758208801ce69c78593daf6f3c591494706a496760ac
4
- data.tar.gz: c349a851be4595c39c925799d3eb0f59cd8ae290e4757ca2af41c621a14b0aa8
3
+ metadata.gz: cb0ab6279226fbab64ea8e0a6619202528381361c6c63500dad575b5620f67b5
4
+ data.tar.gz: 97d51f2050d6a9f8ea2ba465eabe86a2c5b6d26b4b16c9f1fd209f22619ee42b
5
5
  SHA512:
6
- metadata.gz: b8c0041a14acb1d0d905225d864b0c4417c21d18c5986fae3abc8c1b7eabc667f8af5a497e1bed003bfa6849ebef38ef1d709cf2e6bf8267c2eb762cad7ab680
7
- data.tar.gz: c7e6ffe4fd22ce9ebd3cb7c38bf1efcff820c458a3c042814f825fd75788848a4bcafb06c129c16060c93e81a71f62cdad79f3b69bbf2accef3637d2cc8f2283
6
+ metadata.gz: 82365cd8b77f73cd78e8caf3672cdbf50dc3093a6a0aee83b8db77e7977a1d87e1414c5248aefec4533f0f59f0fa046403d591dd95f238de813e8d0837f5cc96
7
+ data.tar.gz: fac5f09675ff272f0dc65f1be8b8c0b56c69504c8ac1396d8c7281b255b11b34f8f1c1662fb1d7a8a714c8b836cec464647c2e4afaea6ab7eed5393c18de72d8
@@ -43,6 +43,8 @@ module RailsExecution
43
43
  tempfile = Tempfile.new([file_name, file_extension])
44
44
  tempfile.binmode
45
45
  tempfile.write(file.string)
46
+ tempfile.rewind
47
+ tempfile.close
46
48
  tempfile
47
49
  end
48
50
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsExecution
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khoa Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-21 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml