zeta 0.7.3 → 0.7.4

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: 31d8f7e7e576568c9b3160037a403b36b5701e4e
4
- data.tar.gz: 881d7970dbfe28dc37e83c9d9ce23769e0bf8d8e
3
+ metadata.gz: ca76d162e2418f54207481fac9252e2cd88b4a23
4
+ data.tar.gz: e1d8daaf169ecf6899cf462647424f5f410a3ef8
5
5
  SHA512:
6
- metadata.gz: f7f20f0603847749d38ae928887e5d3f4f169b09870c68d7cac69d8c104c686fba1cffd6c55bc436f451d083a4bf8547ac42a8f5afe9eefdf1fc73f1749ec47e
7
- data.tar.gz: ea890c774364b498e2544fde3ef7455d54db0c29d1ce80a19910ae9da9a86cc2db04fdc891a410c08f7256834758210b789f229b79f673bdb9b8c754755ae7ca
6
+ metadata.gz: 1703dd43a13cc7408364fe2a5b7d34a7891b270459e5f972ae417ef3b1d33d9dafef54345a9582e0b19179c740cdf7f1227fdcb3e79fe71321bffa8a2d377a36
7
+ data.tar.gz: dc22a5389000dd5b16c5ef1f6e197cac6098a29f8ece4304a22a3b3ea98adeb625e104fc6ecf6eb52f69c064dfcebd41ff7181a9371117eae623debdff532b67
data/CHANGELOG.markdown CHANGED
@@ -1,6 +1,13 @@
1
+ # 0.7.4
2
+ - hint to --trace option on error
3
+ - fix cache dir cleanup on refetch
4
+
1
5
  # 0.7.3
2
6
  - fix https://github.com/moviepilot/zeta/issues/13
3
7
 
8
+ # 0.7.2
9
+ - broken 😱
10
+
4
11
  # 0.7.1
5
12
  - remove require 'pry'
6
13
 
data/lib/zeta/instance.rb CHANGED
@@ -88,8 +88,8 @@ class Zeta
88
88
  def clear_cache
89
89
  # I'm afraid of FileUtils.rm_rf so I'll just delete all relevant files
90
90
  # and then rmdir all empty directories.
91
- Dir[File.join(cache_dir, "/support/**/*.mson")].each{|f| FileUtils.rm(f) }
92
- Dir[File.join(cache_dir, "/support/**/*.json")].each{|f| FileUtils.rm(f) }
91
+ Dir[File.join(cache_dir, "**/*.mson")].each{|f| FileUtils.rm(f) }
92
+ Dir[File.join(cache_dir, "**/*.json")].each{|f| FileUtils.rm(f) }
93
93
  Dir[File.join(cache_dir, '*')].each do |d|
94
94
  next unless File.directory?(d)
95
95
  FileUtils.rmdir(d) rescue nil
data/lib/zeta/runner.rb CHANGED
@@ -93,6 +93,7 @@ class Zeta::Runner
93
93
  raise
94
94
  else
95
95
  puts "ERROR: ".red + e.message
96
+ puts "(Pssst: try the "+"--trace".yellow+" option?)"
96
97
  end
97
98
  exit(-1)
98
99
  end
data/lib/zeta/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Zeta
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake