okshot 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.org +1 -1
- data/lib/ok/shot.rb +2 -2
- data/lib/ok/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 131d7318463e83a47cb12fae0af1bdb2418fbb19354caa834dd9526eb9de1f8c
|
4
|
+
data.tar.gz: cedad7fba197026b8e83a52e11bcfa9c4346b65b5fc438ebf431e200197d2497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be4831e9d708ca60f499bed87a066356bf10f9a5fd8e798771bdd71b33256ad15792a0d72916ce931413099bc3258ae49adae43c1c73013e42fdbe902f779baa
|
7
|
+
data.tar.gz: db9a5702970aeae21c5c78d4f46c820233ce9dd0209775db8392acabe37cde61d5aa167938efa65bd5af5fad763262b87827b5e1e6a8b6f9a1ea36a963ea71d9
|
data/README.org
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
#+begin_example
|
18
18
|
Usage: okshot [options]
|
19
19
|
-C, --copy-to-clipboard Copy PNG file from clipboard and upload
|
20
|
-
-s, --simple Take a screenshot without annotation and upload
|
20
|
+
-s, --simple Take a screenshot without annotation and upload. This is thedefault.
|
21
21
|
-c, --copy-from-clipboard Copy PNG file from clipboard and upload
|
22
22
|
-i, --inkscape Use inkscape to edit the screenshot and upload
|
23
23
|
#+end_example
|
data/lib/ok/shot.rb
CHANGED
@@ -33,7 +33,7 @@ module OK
|
|
33
33
|
opts.on(
|
34
34
|
'-s',
|
35
35
|
'--simple',
|
36
|
-
'Take a screenshot without annotation and upload'
|
36
|
+
'Take a screenshot without annotation and upload. This is the default.'
|
37
37
|
) do |c|
|
38
38
|
options.flag = 's'
|
39
39
|
end
|
@@ -53,8 +53,8 @@ module OK
|
|
53
53
|
end
|
54
54
|
end.parse!
|
55
55
|
|
56
|
+
options.flag = 's' unless options.flag
|
56
57
|
take_screenshot(options)
|
57
|
-
exit
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
data/lib/ok/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: okshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alain M. Lafon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Take and annotate screenshots in Linux with standard tools.
|
14
14
|
email:
|