et 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/et/challenge.rb +4 -2
- data/lib/et/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00179bd64d106f8b6a721fbc5db5f5482c1eb6d8
|
4
|
+
data.tar.gz: fed344968bf74831c833c2d9b5728dcb42d394c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d69b2af3044f4b6df40fe317d8d1488d9afc620a810a15ca0744f5980ee2fb34da7a7bd990e7cd67679a31c11769278d189d0fbeeef60d85f868367a2552b00
|
7
|
+
data.tar.gz: 3b08ea5c8308edfb2a5829e0878bbb24f3b9f4509a0db882ebb80ab5745bfab005304ef37482279d1172ec35271012c5d8e192a88db9b2e0a7a4feabdf868f80
|
data/Gemfile.lock
CHANGED
data/lib/et/challenge.rb
CHANGED
@@ -12,12 +12,14 @@ module ET
|
|
12
12
|
if exists?
|
13
13
|
filepath = random_archive_path
|
14
14
|
|
15
|
-
cmd = "tar zcf #{filepath} -C #{dir}
|
15
|
+
cmd = "tar zcf #{filepath} -C #{dir}"
|
16
16
|
|
17
17
|
ignored_files.each do |file|
|
18
18
|
cmd += " --exclude='#{file}'"
|
19
19
|
end
|
20
20
|
|
21
|
+
cmd += " ."
|
22
|
+
|
21
23
|
if system(cmd)
|
22
24
|
filepath
|
23
25
|
else
|
@@ -41,7 +43,7 @@ module ET
|
|
41
43
|
end
|
42
44
|
|
43
45
|
def ignored_files
|
44
|
-
config["ignore"] || []
|
46
|
+
(config["ignore"] || []) + [".challenge"]
|
45
47
|
end
|
46
48
|
|
47
49
|
private
|
data/lib/et/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: et
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Sheehan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|