agile_utils 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: 945a53ebe486e67bac27ef1a40ccd9f9c9639c3d
4
- data.tar.gz: d6df5e8e02d5b92fbaac10c154116782e960fead
3
+ metadata.gz: 2a284643a4b4dfdde3d91734ced9ebd20b150ece
4
+ data.tar.gz: 5348dc5209a681e78d073707252139ee8f60c4f8
5
5
  SHA512:
6
- metadata.gz: 4a76a2d6530179acc2f15e6b44f3c62d28ed7c61f5aa98b58693644c61e4293f1f2332c3672babcdb5e34e811705d30814ad8f9727c8cbde6ed6cedeb8d5cfc5
7
- data.tar.gz: e8555b8f16eda0bd89def4d554459398539ee29b12e45890f8fa24b7b1bcd595559aa12c02f747e23e5cf8894d296b32a79bc4d1aeed85e94ea46341cd7c8365
6
+ metadata.gz: ca39c1ad7ee8d7ee982631666405c93e5049adb1ff88f1203ba38d095c139f6286e220e13b7593589991774b0671317b06461c905c4f3c1d44f84c3951187ceb
7
+ data.tar.gz: 7ac7e2011688c33d755974f989c9d1527f1c74bbf584e6795caf5b987252abbb51054e0e49c50bd990f27d68188464472d74616923d44f73712d38791e2b8d4b
data/README.md CHANGED
@@ -44,6 +44,12 @@ AgileUtils::FileUtils.tar_gzip_files()
44
44
 
45
45
  ### Changelogs
46
46
 
47
+ #### 0.0.7
48
+
49
+ - Remove the `default_options` from `base_option.rb`
50
+
51
+ - Update the description for `base_option.rb`
52
+
47
53
  #### 0.0.6
48
54
 
49
55
  - Fix the `-f` options description
@@ -2,7 +2,7 @@
2
2
  module AgileUtils
3
3
  # Store the options that will be shared by many CLI classes
4
4
  module Options
5
- # Common options {{{
5
+
6
6
  BASE_DIR = [
7
7
  :base_dir,
8
8
  { type: :string,
@@ -23,7 +23,7 @@ module AgileUtils
23
23
  :non_exts,
24
24
  { type: :array,
25
25
  aliases: '-f',
26
- desc: 'List of files without extensions to search for',
26
+ desc: 'List of files without extension to search for',
27
27
  default: [] }
28
28
  ]
29
29
 
@@ -31,7 +31,7 @@ module AgileUtils
31
31
  :inc_words,
32
32
  { type: :array,
33
33
  aliases: '-n',
34
- desc: 'List of words to be included in the result',
34
+ desc: 'List of words to be included in the result if any',
35
35
  default: [] }
36
36
  ]
37
37
 
@@ -39,7 +39,7 @@ module AgileUtils
39
39
  :exc_words,
40
40
  { type: :array,
41
41
  aliases: '-x',
42
- desc: 'List of words to be excluded from the result',
42
+ desc: 'List of words to be excluded from the result if any',
43
43
  default: [] }
44
44
  ]
45
45
 
@@ -66,9 +66,8 @@ module AgileUtils
66
66
  desc: 'Display version information',
67
67
  default: false }
68
68
  ]
69
- # }}}
70
69
 
71
- # Options related to 'VimPrinter' only {{{
70
+ # TODO: move this to `vim_printer` CLI
72
71
  THEME = [
73
72
  :theme,
74
73
  { type: :string,
@@ -76,24 +75,5 @@ module AgileUtils
76
75
  desc: 'Vim colorscheme to use',
77
76
  default: 'default' }
78
77
  ]
79
- # }}}
80
-
81
- # The default options text from the above options
82
- def default_usage
83
- <<-EOT
84
- Options:
85
- -b, [--base-dir=BASE_DIR] # Base directory
86
- # Default: . (current directory)
87
- -e, [--exts=one two three] # List of extensions to search for
88
- -f, [--non-exts=one two three] # List of extensions to search for
89
- -n, [--inc-words=one two three] # List of words to be included in the result
90
- -x, [--exc-words=one two three] # List of words to be excluded from the result
91
- -i, [--ignore-case], [--no-ignore-case] # Match case insensitively
92
- # Default: true
93
- -r, [--recursive], [--no-recursive] # Search for files recursively
94
- # Default: true
95
- -v, [--version], [--no-version] # Display version information
96
- EOT
97
- end
98
78
  end
99
79
  end
@@ -1,3 +1,3 @@
1
1
  module AgileUtils
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agile_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burin Choomnuan