libclimate-ruby 0.15.0 → 0.15.2

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
- SHA1:
3
- metadata.gz: 3b5494527c8f55a49015bfa7fb78ee362315a117
4
- data.tar.gz: ed66aad3de517bf0aa0689c40cfd4f469a820ad1
2
+ SHA256:
3
+ metadata.gz: 8a80c08e442469251d0436faea56241a72bb4b3c072d915a8d2ca3272430ee44
4
+ data.tar.gz: 80d05c56fd08159bababfb73e0c277e1cfa610f95fcffe75994199f0e9050918
5
5
  SHA512:
6
- metadata.gz: 0b1eece97175423d77773c767dacf8148ea03dfd73c38a11840bf3eb0bfaeab54120be55ac5975c6e5cad9ca7afc82016750856bfccdffa091fa3a709b7141bf
7
- data.tar.gz: 4913b8c35f85347a4c3ccbbe8cf9e89d74caaafdcfc9aa2eb8ac30f3f3d4cc5e7878a779326ac821b6a37f1d6b5f9270dc26f5fa9c5ea415d00d479fcf9ff197
6
+ metadata.gz: f88618dd50e250ccc2b15c9500ff97db1fe922394997a1ba9c4ceee38fa73f6830ea17432ea8666647a593befa0cdcfac0df95b78dcfbb85c15114bbcde384ec
7
+ data.tar.gz: ec7c28f7b08747f6e07f6e5c89e7707a8c3837f8b78b5e57693f72b55bc4dd36ee1ef26dcfc75c384b4bccd425927bdb46b568facf605a3db8cf3e02fed55b17
data/README.md CHANGED
@@ -15,7 +15,9 @@ libCLImate, for Ruby
15
15
 
16
16
  **libCLImate** is a portable, lightweight mini-framework that encapsulates the common aspects of **C**ommand-**L**ine **I**nterface boilerplate, including:
17
17
 
18
- - command-line argument parsing and sorting;
18
+ - command-line argument parsing and sorting, into flags, options, and values;
19
+ - validating given and/or missing arguments;
20
+ - a declarative form of specifying the CLI elements for a program, including associating blocks with flag/option specifications;
19
21
  - provision of de-facto standard CLI facilities, such as responding to '--help' and '--version';
20
22
 
21
23
  **libCLImate.Ruby** is the Ruby version.
@@ -48,7 +50,7 @@ climate = LibCLImate::Climate.new do |cl|
48
50
 
49
51
  options[:debug] = true
50
52
  end
51
- cl.add_option('--verbosity', alias: '-v', help: 'specifies the verbosity', values: [ 'terse', 'quiet', 'silent', 'chatty' ]) do |o, a|
53
+ cl.add_option('--verbosity', alias: '-v', help: 'specifies the verbosity', values: [ 'terse', 'quiet', 'silent', 'chatty' ]) do |o, sp|
52
54
 
53
55
  options[:verbosity] = o.value
54
56
  end
@@ -102,10 +104,13 @@ Defect reports, feature requests, and pull requests are welcome on https://githu
102
104
  * [**CLASP**](https://github.com/synesissoftware/CLASP/)
103
105
  * [**CLASP.Go**](https://github.com/synesissoftware/CLASP.Go/)
104
106
  * [**CLASP.js**](https://github.com/synesissoftware/CLASP.js/)
107
+ * [**CLASP.NET**](https://github.com/synesissoftware/CLASP.NET/)
108
+ * [**CLASP.Python**](https://github.com/synesissoftware/CLASP.Python/)
105
109
  * [**CLASP.Ruby**](https://github.com/synesissoftware/CLASP.Ruby/)
106
- * [**libCLImate** (C/C++)](https://github.com/synesissoftware/libCLImate.Ruby)
110
+ * [**libCLImate** (C/C++)](https://github.com/synesissoftware/libCLImate)
107
111
  * [**xqsr3**](https://github.com/synesissoftware.com/libCLImate.Ruby-xml/)
108
112
 
109
113
  ### License
110
114
 
111
115
  **libCLImate.Ruby** is released under the 3-clause BSD license. See [LICENSE](./LICENSE) for details.
116
+
@@ -153,7 +153,7 @@ processing in 'dir-1' and 'dir-2'
153
153
  If executed with the arguments
154
154
 
155
155
  ```
156
- ruby examples/flag_and_option_specifications.rb -v silent -d
156
+ ruby examples/flag_and_option_specifications.rb dir-1 dir-2 -v silent -d
157
157
  ```
158
158
 
159
159
  it gives the (same) output:
@@ -161,6 +161,7 @@ it gives the (same) output:
161
161
  ```
162
162
  verbosity is specified as: silent
163
163
  Debug mode is specified
164
+ processing in 'dir-1' and 'dir-2'
164
165
  ```
165
166
 
166
167
  ### Specify flags and options in short-form, including an alias for an option-with-value
@@ -168,7 +169,7 @@ Debug mode is specified
168
169
  If executed with the arguments
169
170
 
170
171
  ```
171
- ruby examples/flag_and_option_specifications.rb -c -d
172
+ ruby examples/flag_and_option_specifications.rb -c -d dir-1 dir-2
172
173
  ```
173
174
 
174
175
  it gives the output:
@@ -176,6 +177,7 @@ it gives the output:
176
177
  ```
177
178
  verbosity is specified as: chatty
178
179
  Debug mode is specified
180
+ processing in 'dir-1' and 'dir-2'
179
181
  ```
180
182
 
181
183
  ### Specify flags and options with combined short-form
@@ -183,7 +185,7 @@ Debug mode is specified
183
185
  If executed with the arguments
184
186
 
185
187
  ```
186
- ruby examples/flag_and_option_specifications.rb -dc
188
+ ruby examples/flag_and_option_specifications.rb -dc dir-1 dir-2
187
189
  ```
188
190
 
189
191
  it gives the (same) output:
@@ -191,5 +193,5 @@ it gives the (same) output:
191
193
  ```
192
194
  verbosity is specified as: chatty
193
195
  Debug mode is specified
196
+ processing in 'dir-1' and 'dir-2'
194
197
  ```
195
-
@@ -4,11 +4,11 @@
4
4
  # Purpose: Version for libclimate.Ruby library
5
5
  #
6
6
  # Created: 13th July 2015
7
- # Updated: 29th April 2019
7
+ # Updated: 26th June 2022
8
8
  #
9
9
  # Home: http://github.com/synesissoftware/libCLImate.Ruby
10
10
  #
11
- # Copyright (c) 2015-2019, Matthew Wilson and Synesis Software
11
+ # Copyright (c) 2015-2022, Matthew Wilson and Synesis Software
12
12
  # All rights reserved.
13
13
  #
14
14
  # Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,7 @@
43
43
  module LibCLImate
44
44
 
45
45
  # Current version of the libCLImate.Ruby library
46
- VERSION = '0.15.0'
46
+ VERSION = '0.15.2'
47
47
 
48
48
  private
49
49
  VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libclimate-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wilson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-29 00:00:00.000000000 Z
11
+ date: 2022-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clasp-ruby
@@ -16,29 +16,49 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.21'
19
+ version: '0.22'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.22.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '0.21'
29
+ version: '0.22'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.22.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: xqsr3
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '0.33'
39
+ version: '0.37'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 0.37.2
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
47
  - - "~>"
39
48
  - !ruby/object:Gem::Version
40
- version: '0.33'
41
- description: "\n"
49
+ version: '0.37'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 0.37.2
53
+ description: |
54
+ libCLImate is a portable, lightweight mini-framework that encapsulates the common aspects of Command-Line Interface boilerplate, including:
55
+
56
+ - command-line argument parsing and sorting, into flags, options, and values;
57
+ - validating given and/or missing arguments;
58
+ - a declarative form of specifying the CLI elements for a program, including associating blocks with flag/option specifications;
59
+ - provision of de-facto standard CLI facilities, such as responding to '--help' and '--version';
60
+
61
+ libCLImate.Ruby is the Ruby version.
42
62
  email: matthew@synesis.com.au
43
63
  executables: []
44
64
  extensions: []
@@ -69,11 +89,11 @@ files:
69
89
  - test/unit/tc_with_blocks.rb
70
90
  - test/unit/tc_with_blocks_CLASP.rb
71
91
  - test/unit/ts_all.rb
72
- homepage: http://www.libclimate.org/
92
+ homepage: https://github.com/synesissoftware/libCLImate.Ruby
73
93
  licenses:
74
94
  - BSD-3-Clause
75
95
  metadata: {}
76
- post_install_message:
96
+ post_install_message:
77
97
  rdoc_options: []
78
98
  require_paths:
79
99
  - lib
@@ -88,9 +108,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
108
  - !ruby/object:Gem::Version
89
109
  version: '0'
90
110
  requirements: []
91
- rubyforge_project:
92
- rubygems_version: 2.6.11
93
- signing_key:
111
+ rubygems_version: 3.2.3
112
+ signing_key:
94
113
  specification_version: 4
95
114
  summary: libCLImate.Ruby
96
115
  test_files: []