cr.rb 4.1.6 → 4.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cr/version.rb +2 -2
  3. data/lib/cr.rb +3 -2
  4. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f2acb1b5dc93e60b954ae421a5e177694a14317b9883dfd54da40dbaefb2d97
4
- data.tar.gz: e603d108e83f7f2b0ed1fc64d27ef2974a15a1ca44b7eb8de24b00869a2e5ef6
3
+ metadata.gz: 949739f802d237a6c0a78c9e89f5a95c8a3234d191ac58e68fbc068e24e11696
4
+ data.tar.gz: 74eea272deaa47f8475104f5158798ccd88bffc55fab9de88d547f6d82271913
5
5
  SHA512:
6
- metadata.gz: b568278c452502f466d4c3730e842df0757409612a2fddb322df44aa090a20deefaa208d5006cb066f6f65911efd8173b4fbb3c74790e50261420b05de5a2583
7
- data.tar.gz: f0e2510cd01776c54878964a6e4bdaf7c6c3002e121e7ccaa2cc5d9e6bdd28ab92bddcfffe678514a0bd18668309485c7651968346c241fc30c9e3835c0631d3
6
+ metadata.gz: 9c915a7b5392dc258fdbb9d404e4fd889f26e0513ffe1a7e99ba8a39010a0dc1009bd6927740944ffa70494c5fc7f47f894ac279f0db85249b8b44a42f8bfecd
7
+ data.tar.gz: 05a7af173eeaa85bcbf6525ec36f7afe27ea90720862c21e6814d8a4e6cf10d84ba11821f42ec76053dde3a1f172055e8cbd71c0ebebf9007a42f3423c3a79fe
data/lib/cr/version.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  # File : version.rb
3
3
  # Authors : Aoran Zeng <ccmywish@qq.com>
4
4
  # Created on : <2023-02-12>
5
- # Last modified : <2023-05-15>
5
+ # Last modified : <2023-07-29>
6
6
  #
7
7
  # version:
8
8
  #
@@ -11,6 +11,6 @@
11
11
 
12
12
  module CrypticResolver
13
13
 
14
- GEM_VERSION = "4.1.6"
14
+ GEM_VERSION = "4.1.7"
15
15
 
16
16
  end
data/lib/cr.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  # File : cr.rb
3
3
  # Authors : Aoran Zeng <ccmywish@qq.com>
4
4
  # Created on : <2022-04-15>
5
- # Last modified : <2023-05-14>
5
+ # Last modified : <2023-07-29>
6
6
  #
7
7
  # cr:
8
8
  #
@@ -541,10 +541,11 @@ class CrypticResolver::Resolver
541
541
 
542
542
  require 'tomlrb'
543
543
  require 'fileutils'
544
+ require 'standard_path'
544
545
 
545
546
  # attr_accessor :default_dicts # Default dictionaries lists
546
547
 
547
- DEFAULT_LIB_PATH = File.expand_path("~/.cryptic-resolver")
548
+ DEFAULT_LIB_PATH = StandardPath.app_data 'Cryptic-Resolver'
548
549
 
549
550
  ORIGINAL_DEFAULT_DICTS = [
550
551
  "https://github.com/cryptic-resolver/cryptic_common.git",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cr.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.6
4
+ version: 4.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aoran Zeng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-15 00:00:00.000000000 Z
11
+ date: 2023-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tomlrb
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: standard_path
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.1'
55
69
  description: |
56
70
  This command line tool `cr` is used to record and explain cryptic commands, acronyms(initialism), abbreviations and so forth in daily life.
57
71
  Not only can it be used in computer filed via our default sheet cryptic_computer, but also you can use this to manage your own knowledge base easily.