pirka 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: bd1b22a15c9dd99418edca6f320dc3f6d5fbe152f74b0eaa17ba583610c5b9df
4
- data.tar.gz: 735034a97ad26d56367c5ddb37f927dc17838a533cd23c90ae43d8cb07f3dd54
3
+ metadata.gz: 01fbcc63f6942649b06f3e305a4784f5f0e2a58e61361d20d8ae5c2f54d285e6
4
+ data.tar.gz: 7612baf2e3cb96ebc62a843dcbeec3c38b0b613c75b20eec7098a94e7f30b0be
5
5
  SHA512:
6
- metadata.gz: 993c374b526f34980c0948569256079ce6f75c485f67681a8efaba802242df36b9474f08d46651079ec0c96343924044cc79b7c5ec15695a4ead85a2d8167e69
7
- data.tar.gz: 4a98c2df96fa0355dd8c56e0faa1925d003ad6b2413f9d465888792e1543f31e4ffc0940b49d24205f33fadbbd91b72dadcf193f3945f353a6c3851177e33583
6
+ metadata.gz: a07ad8bee9d066ebf98e7953dc97869b2e4d32174aa96018c51405dbf9fcab88c3c6b9153e332a42885d78cebc7974447b2dbc177395a7b4b1563168a8058ef0
7
+ data.tar.gz: e11e29a13d71a578d49e900fb859b50c16937c39dcb5c237255e8f2b71c8fbc51cd8daa41d3f7745dbba9c3bd3f949f342f1e2a26b2f6a9b398aef8fcdb99532
data/.gitignore CHANGED
@@ -4,3 +4,5 @@
4
4
  /doc/
5
5
  /pkg/
6
6
  /vendor/cache/*.gem
7
+ /gems/
8
+ /coverage/
@@ -1,3 +1,8 @@
1
+ === 0.1.5 / 2019-12-08
2
+
3
+ * Improve test environment
4
+ * [BUG FIX]Use `which` instead of `type` to find git command
5
+
1
6
  === 0.1.4 / 2019-05-03
2
7
 
3
8
  * [BUG FIX]Don't refer to undefined variable
@@ -43,7 +43,6 @@ module Pirka
43
43
  option << "(#{lexer.aliases.join(', ')})" unless lexer.aliases.empty?
44
44
  option
45
45
  }.join(" ")
46
- @commands = ["s) skip", "q) quit", "c) show code", "o) show options"].join(" ")
47
46
  @commands = {
48
47
  "s" => "skip",
49
48
  "q" => "quit",
@@ -37,7 +37,7 @@ module Pirka
37
37
  end
38
38
 
39
39
  def ensure_git_command
40
- raise "Cannot find `git` command" unless system("type", "git")
40
+ raise "Cannot find `git` command" unless system("which", "git")
41
41
  end
42
42
 
43
43
  # @todo Make more generic
@@ -57,8 +57,8 @@ module Pirka
57
57
  end
58
58
 
59
59
  def run_command(command)
60
- output = `#{command}`
61
60
  $stderr.puts "Executing \`#{command}\`"
61
+ output = `#{command}`
62
62
  raise "Failed to execute \`#{command}\`" unless $CHILD_STATUS.success?
63
63
  output
64
64
  end
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Pirka
19
19
  # pirka version
20
- VERSION = "0.1.4"
20
+ VERSION = "0.1.5"
21
21
  EPUB_PARSER_VERSION = "0.3.2"
22
22
  end
@@ -8,7 +8,7 @@ end
8
8
 
9
9
  require "simplecov"
10
10
  SimpleCov.start do
11
- add_filter "/test"
11
+ add_filter /test|gems/
12
12
  end
13
13
 
14
14
  require 'test/unit'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pirka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - KITAITI Makoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-03 00:00:00.000000000 Z
11
+ date: 2019-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: epub-parser