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 +4 -4
- data/ChangeLog.adoc +4 -0
- data/app/update.rb +0 -5
- data/lib/pirka/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd8b07fbbcff6ffb0afa5824c590651aac00cd8a2b9665f725a7214f5d88439d
|
4
|
+
data.tar.gz: 900bf63e81f78901539030985876d186e8f730255fe22cd2c9804fe0604742b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 516bc23835775ba8124bf4719d740a638f5880dabc2674db59181a549f4d0ebb51beef1f5c47c556327b441f8a1f14cfddba9a706c659179d93702ba56577020
|
7
|
+
data.tar.gz: 8d8f556541e07db4c73dcf27a4330b78d22084302da1624acc07482c90b31916e318cef487e0b67d7f45e19913c6547959a6ebb73b1a12ed195ae5ac43118e3d
|
data/ChangeLog.adoc
CHANGED
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
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
|
+
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:
|
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.
|
302
|
+
rubygems_version: 3.1.2
|
303
303
|
signing_key:
|
304
304
|
specification_version: 4
|
305
305
|
summary: Syntax highlighting tool for EPUB books
|