chop 0.22.0 → 0.22.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: 3d8b5d95f8ef75182d64f3228722c55ac54c267d
4
- data.tar.gz: 59a7950b76e67a0c5fdeb20c0ae85121c815d5b4
3
+ metadata.gz: 18cb4900f0bba25d3f588ab577061e98f7c76652
4
+ data.tar.gz: dcde9c227d8676b0ec2cb25edfc4b3756d96e68e
5
5
  SHA512:
6
- metadata.gz: dcb1319713dca694adbd7ff509df5ad41754670a70e21cf37d516c817442dbb73fee2c72a03d304bc837171b62a1d41b51df7149f44d7019bfb44c09eefab875
7
- data.tar.gz: f60933bb80e836a13658c787548c2b27459bf5f8c9d03ec0d8ae48ff0884eff32ca226c43a47a85fefe7e89d7f3ca3cc31931f82ec24d350661ac5f868b02958
6
+ metadata.gz: 1e8631cb632f0dcc7dbc537fcd1f848c7d6d296385fbd96f6da6b947488e8f76bda3a23cfe7baf63c8a9f7fb059bd2eac1fceac9efc6f659e6c4aba0c68e9278
7
+ data.tar.gz: 5232dd6b3a332fa9e31c5dac1a5a76494aeae9373539805514e43f9fb9332a0ad703c72f6d1c4bd5dc525a1f80cc98dac96052bc9a99ecd5482857a11d26c486
data/lib/chop/form.rb CHANGED
@@ -171,7 +171,7 @@ module Chop
171
171
  private
172
172
 
173
173
  def file_path
174
- ::File.join(path, value).tap do |path|
174
+ ::File.expand_path(::File.join(path, value)).tap do |path|
175
175
  ::File.open(path){} # raise Errno::ENOENT if file doesn't exist
176
176
  end
177
177
  end
@@ -196,7 +196,7 @@ module Chop
196
196
 
197
197
  def file_paths
198
198
  value.split(" ").map do |filename|
199
- ::File.join(path, filename).tap do |path|
199
+ ::File.expand_path(::File.join(path, filename)).tap do |path|
200
200
  ::File.open(path){} # raise Errno::ENOENT if file doesn't exist
201
201
  end
202
202
  end
data/lib/chop/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chop
2
- VERSION = "0.22.0"
2
+ VERSION = "0.22.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.22.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-11 00:00:00.000000000 Z
11
+ date: 2018-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  requirements: []
158
158
  rubyforge_project:
159
- rubygems_version: 2.4.8
159
+ rubygems_version: 2.6.14
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Slice and dice your cucumber tables with ease!