oktags 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.org +4 -3
- data/Rakefile +8 -8
- data/bin/console +3 -3
- data/bin/oktags +1 -1
- data/lib/ok/tags.rb +0 -1
- data/lib/ok/version.rb +1 -1
- data/lib/oktags.rb +1 -1
- data/oktags.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d6afa2948322c1f6e7bb548ad2bc4934b0e7882c9efb5d3d05c4b233f4a7889
|
4
|
+
data.tar.gz: 2e78e3447c5aad24b44adb7870d3f7cd21274e6a6330994b7c6e22fdc1b35f42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e420a42918e5415376ca79efaca92317670d30387e0ca6573f5b11d465022e17d676b8b95751051947580d87efe395640bfe79afa76211a9389104d0f9a9ec3e
|
7
|
+
data.tar.gz: e93c26b04c1d145a3db8584f63483a459a35aa2cb62f46b890901e0b1eaa887321f98ff146bb628ba68f3266982b79d85c183a129d7caddbd7e8b662941d5186
|
data/README.org
CHANGED
@@ -30,9 +30,10 @@
|
|
30
30
|
* DESCRIPTION
|
31
31
|
|
32
32
|
=oktags= helps you organize your files by managing tags on them. It
|
33
|
-
works by adding/removing at the end of the filename
|
34
|
-
|
35
|
-
|
33
|
+
works by adding/removing at the end of the filename. Given a file
|
34
|
+
=cat.jpg=, when adding the tags =tag1= and =tag2=, the filename will
|
35
|
+
become =cat--[tag1,tag2].jpg=. The implementation is OS-agnostic, so
|
36
|
+
it should work on Linux, macOS and Windows.
|
36
37
|
|
37
38
|
* EXAMPLES
|
38
39
|
|
data/Rakefile
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
require './lib/oktags'
|
2
2
|
require './lib/ok/version'
|
3
3
|
|
4
|
-
GEM_NAME =
|
4
|
+
GEM_NAME = 'oktags'
|
5
5
|
GEM_VERSION = OK::Tags::VERSION
|
6
6
|
|
7
|
-
task :
|
7
|
+
task default: :build
|
8
8
|
|
9
9
|
task :build do
|
10
|
-
system
|
10
|
+
system 'gem build ' + GEM_NAME + '.gemspec'
|
11
11
|
end
|
12
12
|
|
13
|
-
task :
|
14
|
-
system
|
13
|
+
task install: :build do
|
14
|
+
system 'gem install ' + GEM_NAME + '-' + GEM_VERSION + '.gem'
|
15
15
|
end
|
16
16
|
|
17
|
-
task :
|
18
|
-
system 'gem push ' + GEM_NAME +
|
17
|
+
task publish: :build do
|
18
|
+
system 'gem push ' + GEM_NAME + '-' + GEM_VERSION + '.gem'
|
19
19
|
end
|
20
20
|
|
21
21
|
task :clean do
|
22
|
-
system
|
22
|
+
system 'rm *.gem'
|
23
23
|
end
|
data/bin/console
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'oktags'
|
5
5
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +10,5 @@ require "oktags"
|
|
10
10
|
# require "pry"
|
11
11
|
# Pry.start
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'irb'
|
14
14
|
IRB.start(__FILE__)
|
data/bin/oktags
CHANGED
data/lib/ok/tags.rb
CHANGED
data/lib/ok/version.rb
CHANGED
data/lib/oktags.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require File.expand_path(File.join(%w
|
1
|
+
require File.expand_path(File.join(%w[.. ok tags]), __FILE__)
|
data/oktags.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.licenses = "AGPL-3.0-or-later"
|
9
9
|
|
10
10
|
spec.summary = %q{Manage tags on plain old files.}
|
11
|
-
spec.description = %q{oktags helps you organize your files by managing tags on them. It works by adding/removing
|
11
|
+
spec.description = %q{oktags helps you organize your files by managing tags on them. It works by adding/removing at the end of the filename. Given a file 'cat.jpg', when adding the tags 'tag1' and 'tag2', the filename will become 'cat--[tag1,tag2].jpg'. The implementation is OS-agnostic, so it should work on Linux, macOS and Windows. }
|
12
12
|
spec.homepage = "https://200ok.ch"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oktags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alain M. Lafon
|
@@ -10,9 +10,10 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: oktags helps you organize your files by managing tags on them. It works
|
14
|
-
by adding/removing
|
15
|
-
|
13
|
+
description: 'oktags helps you organize your files by managing tags on them. It works
|
14
|
+
by adding/removing at the end of the filename. Given a file ''cat.jpg'', when adding
|
15
|
+
the tags ''tag1'' and ''tag2'', the filename will become ''cat--[tag1,tag2].jpg''.
|
16
|
+
The implementation is OS-agnostic, so it should work on Linux, macOS and Windows. '
|
16
17
|
email:
|
17
18
|
- info@200ok.ch
|
18
19
|
executables:
|