rails_execution 0.1.7 → 0.1.8

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: bc70b3d37b0f57026b998e198b741809e74f194ec4368796ee7de56e54ad8aff
4
- data.tar.gz: 0a6b47c6dc13ca92c1d53cce6c3bbce0a2af6532a74cda69755e611e92cb8569
3
+ metadata.gz: 566c0596d18b5bbd18ff726beb02b0ce9f4c0fe8f4dfe376d235f4a175714915
4
+ data.tar.gz: 233e83813184e919ba323fa577b29c620ae5c2c34c529518b676aaff4f2d7fd1
5
5
  SHA512:
6
- metadata.gz: 1de3ee343da5c3b7848fb9628beda7d5f5c2a7a69c61577c08af0a5aff7faf949d9859ecf5d312e280e245ba9e4f50cbc574a70d59c44afc6ceb238407aa708f
7
- data.tar.gz: 35c3ff052ca5510d2c27f02535aef0b2df7687727360052354f989345332d9c8ccbba0be71206b95f825a41e99581eb78213f521c8093a16491a0345c67a3cf6
6
+ metadata.gz: cbbbb5d454bda3f849d67edf860bf788c39b40d3a8a70685e57c448174694bd15187a306ac5e3556d5feedc67485531d56af6b9c88b7bbd79fb838e7c1de592a
7
+ data.tar.gz: f2b80a8f6d5ebb98ca8f5a9ead50218c42bea603709d6816f1f29e92a9a2005a44c2c6cd0039e130e90574ea28ba000e34bc0cc25e49e5ecddbfd1f5ffb5a0f6
@@ -33,7 +33,7 @@ module RailsExecution
33
33
  attr_reader :task
34
34
 
35
35
  def save_to_tempfile(file_name, url)
36
- file = open(url)
36
+ file = URI.open(url)
37
37
  return file if file.is_a?(Tempfile)
38
38
 
39
39
  raise "Unsupported the Filetype #{file.class.name}" unless file.is_a?(StringIO)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsExecution
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
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.7
4
+ version: 0.1.8
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-08-17 00:00:00.000000000 Z
11
+ date: 2023-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml