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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d678e6b3797d0340afda2997d3e23a8d4aad1a41
4
- data.tar.gz: 00a791674220af78c744b9c7fff5a45f2e379c37
3
+ metadata.gz: 00179bd64d106f8b6a721fbc5db5f5482c1eb6d8
4
+ data.tar.gz: fed344968bf74831c833c2d9b5728dcb42d394c7
5
5
  SHA512:
6
- metadata.gz: 239edb45e57abd02f9f9a0df443ae39402b3fc985faa3e317b413ffda27fcb16f4cbd51a45d44495ceb5de118eb93bd82c81bbdf41aff7232aa52cf87a34274e
7
- data.tar.gz: 055589ff2ea9ca2bf5c4fe0854ffbbc7622103bf8702fc11b3b0ec6854ea45006bc191639b885f781a896dfe31497f60f3c2b3227f5601b8a4bb1cde7d3ff26a
6
+ metadata.gz: 7d69b2af3044f4b6df40fe317d8d1488d9afc620a810a15ca0744f5980ee2fb34da7a7bd990e7cd67679a31c11769278d189d0fbeeef60d85f868367a2552b00
7
+ data.tar.gz: 3b08ea5c8308edfb2a5829e0878bbb24f3b9f4509a0db882ebb80ab5745bfab005304ef37482279d1172ec35271012c5d8e192a88db9b2e0a7a4feabdf868f80
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et (0.2.0)
4
+ et (0.3.0)
5
5
  gli (= 2.11.0)
6
6
  rest-client (~> 1.7)
7
7
 
@@ -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} . --exclude='.challenge'"
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
@@ -1,3 +1,3 @@
1
1
  module ET
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.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-14 00:00:00.000000000 Z
11
+ date: 2014-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake