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 +4 -4
- data/lib/chop/form.rb +2 -2
- data/lib/chop/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18cb4900f0bba25d3f588ab577061e98f7c76652
|
4
|
+
data.tar.gz: dcde9c227d8676b0ec2cb25edfc4b3756d96e68e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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
|
+
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.
|
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!
|