approvals 0.0.18 → 0.0.19

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: 289acfccac3d619495b776d467d8bf86096d25c6
4
- data.tar.gz: 2f4e4d24848514429cab566fb9339f2b5f270fb2
3
+ metadata.gz: 6e2bdf9201b64d91a4d5368e0edf159eb3dd5cb2
4
+ data.tar.gz: f82203e46e50c60ac0d229db67a8ac6651fc6b8a
5
5
  SHA512:
6
- metadata.gz: 79fb265fe4c37fa45b3417c655384e21f6e180895657dc95687d8cd7215fc00e5b1fc456258aa690a418a2d3c33ca21ee5238ba3fd3e3fa5b0826b4d894852c5
7
- data.tar.gz: 6e3e274b370d0893f4c54a4ca2b5e32ddd3870f1f94bcc7bdffd7ecbf08373b1a5713e2b9820095b3c59618462025ae0a089d6c6e6088885764f3eeb1ce485fb
6
+ metadata.gz: 3cbe81a1c8ab477819e5080a7cae752e0fab27f759497eb23bd5e84f0135a7622a7b82915693fc168c1a2d874393043471940c939c99011df56942035e31724a
7
+ data.tar.gz: cf9c5b74d5e40bfcef8b78dfeabb236d2d1328ca5b1264224a02b801d2caa4f9322e9e70cdf7fd3ba8643235cf3335982122584f99c6c0d2009166ef42d94350
@@ -4,6 +4,10 @@
4
4
 
5
5
  * Your contribution here
6
6
 
7
+ ### v0.0.19 (2015-04-20)
8
+
9
+ * [#62](https://github.com/kytrinyx/approvals/issues/62) Fix bug in CLI with --ask option that deletes approval file instead of overwriting it. - [@kytrinyx](https://github.com/kytrinyx)
10
+
7
11
  ### v0.0.18 (2015-04-18)
8
12
 
9
13
  - Greatly improve output on failure (Show the diff even if approved file is missing, don't complain if there's no .approvals file, print diff command before showing each diff for better context, and reverse the order of the arguments to the diff so that the additions/removals make sense). - [@randycoulman](https://github.com/randycoulman)
@@ -16,8 +16,7 @@ module Approvals
16
16
  system(diff_command)
17
17
 
18
18
  if options[:ask] && yes?("Approve? [y/N] ")
19
- approved, received = *approval.split
20
- system("mv #{received} #{approved}")
19
+ system("mv #{approval}")
21
20
  else
22
21
  rejected << approval
23
22
  end
@@ -1,3 +1,3 @@
1
1
  module Approvals
2
- VERSION = '0.0.18'
2
+ VERSION = '0.0.19'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: approvals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-18 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec