pirka 0.1.5 → 0.1.6

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: 01fbcc63f6942649b06f3e305a4784f5f0e2a58e61361d20d8ae5c2f54d285e6
4
- data.tar.gz: 7612baf2e3cb96ebc62a843dcbeec3c38b0b613c75b20eec7098a94e7f30b0be
3
+ metadata.gz: fd8b07fbbcff6ffb0afa5824c590651aac00cd8a2b9665f725a7214f5d88439d
4
+ data.tar.gz: 900bf63e81f78901539030985876d186e8f730255fe22cd2c9804fe0604742b0
5
5
  SHA512:
6
- metadata.gz: a07ad8bee9d066ebf98e7953dc97869b2e4d32174aa96018c51405dbf9fcab88c3c6b9153e332a42885d78cebc7974447b2dbc177395a7b4b1563168a8058ef0
7
- data.tar.gz: e11e29a13d71a578d49e900fb859b50c16937c39dcb5c237255e8f2b71c8fbc51cd8daa41d3f7745dbba9c3bd3f949f342f1e2a26b2f6a9b398aef8fcdb99532
6
+ metadata.gz: 516bc23835775ba8124bf4719d740a638f5880dabc2674db59181a549f4d0ebb51beef1f5c47c556327b441f8a1f14cfddba9a706c659179d93702ba56577020
7
+ data.tar.gz: 8d8f556541e07db4c73dcf27a4330b78d22084302da1624acc07482c90b31916e318cef487e0b67d7f45e19913c6547959a6ebb73b1a12ed195ae5ac43118e3d
data/ChangeLog.adoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.1.6 / Unreleased
2
+
3
+ * Don't check `git` command existence by `which` command because Windows has `where` instead of `which`
4
+
1
5
  === 0.1.5 / 2019-12-08
2
6
 
3
7
  * Improve test environment
data/app/update.rb CHANGED
@@ -16,7 +16,6 @@ module Pirka
16
16
 
17
17
  def run(argv)
18
18
  parse_options! argv
19
- ensure_git_command
20
19
  dir = determine_directory(URI)
21
20
  if dir.directory?
22
21
  update_repository(URI, dir)
@@ -36,10 +35,6 @@ module Pirka
36
35
  end
37
36
  end
38
37
 
39
- def ensure_git_command
40
- raise "Cannot find `git` command" unless system("which", "git")
41
- end
42
-
43
38
  # @todo Make more generic
44
39
  def determine_directory(uri)
45
40
  (Pathname.new(Dir.home)/".local/share/pirka"/uri.host/uri.path[1..-1]).sub_ext("")
data/lib/pirka/version.rb CHANGED
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Pirka
19
19
  # pirka version
20
- VERSION = "0.1.5"
20
+ VERSION = "0.1.6"
21
21
  EPUB_PARSER_VERSION = "0.3.2"
22
22
  end
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.5
4
+ version: 0.1.6
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-12-08 00:00:00.000000000 Z
11
+ date: 2020-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: epub-parser
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
299
  - !ruby/object:Gem::Version
300
300
  version: '0'
301
301
  requirements: []
302
- rubygems_version: 3.0.3
302
+ rubygems_version: 3.1.2
303
303
  signing_key:
304
304
  specification_version: 4
305
305
  summary: Syntax highlighting tool for EPUB books