bovem 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis-gemfile +1 -1
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/bovem.gemspec +2 -2
- data/doc/Bovem.html +2 -2
- data/doc/Bovem/Application.html +1 -1
- data/doc/Bovem/Command.html +1 -1
- data/doc/Bovem/CommandMethods.html +1 -1
- data/doc/Bovem/CommandMethods/Children.html +1 -1
- data/doc/Bovem/CommandMethods/Help.html +1 -1
- data/doc/Bovem/Configuration.html +1 -1
- data/doc/Bovem/Console.html +63 -63
- data/doc/Bovem/ConsoleMethods.html +1 -1
- data/doc/Bovem/ConsoleMethods/Interactions.html +31 -31
- data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +5 -5
- data/doc/Bovem/ConsoleMethods/Logging.html +197 -33
- data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +1 -1
- data/doc/Bovem/ConsoleMethods/Output.html +1 -1
- data/doc/Bovem/ConsoleMethods/StyleHandling.html +1 -1
- data/doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +1 -1
- data/doc/Bovem/Errors.html +1 -1
- data/doc/Bovem/Errors/Error.html +1 -1
- data/doc/Bovem/Errors/InvalidConfiguration.html +1 -1
- data/doc/Bovem/Errors/InvalidLogger.html +1 -1
- data/doc/Bovem/Localizer.html +1 -1
- data/doc/Bovem/Logger.html +1 -1
- data/doc/Bovem/Option.html +85 -37
- data/doc/Bovem/Parser.html +7 -7
- data/doc/Bovem/ParserMethods.html +1 -1
- data/doc/Bovem/ParserMethods/General.html +1 -1
- data/doc/Bovem/ParserMethods/General/ClassMethods.html +7 -11
- data/doc/Bovem/Shell.html +1 -1
- data/doc/Bovem/ShellMethods.html +1 -1
- data/doc/Bovem/ShellMethods/Directories.html +1 -1
- data/doc/Bovem/ShellMethods/Execute.html +1 -1
- data/doc/Bovem/ShellMethods/General.html +1 -1
- data/doc/Bovem/ShellMethods/Read.html +1 -1
- data/doc/Bovem/ShellMethods/Write.html +1 -1
- data/doc/Bovem/Version.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +2 -2
- data/doc/index.html +2 -2
- data/doc/method_list.html +49 -43
- data/doc/top-level-namespace.html +1 -1
- data/lib/bovem.rb +1 -1
- data/lib/bovem/application.rb +1 -1
- data/lib/bovem/command.rb +1 -1
- data/lib/bovem/configuration.rb +1 -1
- data/lib/bovem/console.rb +20 -1
- data/lib/bovem/errors.rb +1 -1
- data/lib/bovem/localizer.rb +1 -1
- data/lib/bovem/logger.rb +1 -1
- data/lib/bovem/option.rb +5 -3
- data/lib/bovem/parser.rb +13 -4
- data/lib/bovem/shell.rb +1 -1
- data/lib/bovem/version.rb +2 -2
- data/locales/en.yml +3 -2
- data/locales/it.yml +3 -2
- data/spec/bovem/application_spec.rb +1 -1
- data/spec/bovem/command_spec.rb +1 -1
- data/spec/bovem/configuration_spec.rb +1 -1
- data/spec/bovem/console_spec.rb +20 -1
- data/spec/bovem/errors_spec.rb +1 -1
- data/spec/bovem/logger_spec.rb +1 -1
- data/spec/bovem/option_spec.rb +1 -1
- data/spec/bovem/parser_spec.rb +1 -1
- data/spec/bovem/shell_spec.rb +1 -1
- data/spec/coverage_helper.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -3
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
106
|
+
Generated on Sun Aug 4 15:19:16 2013 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
108
|
0.8.7 (ruby-2.0.0).
|
|
109
109
|
</div>
|
data/lib/bovem.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/application.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/command.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/configuration.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/console.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -332,6 +332,25 @@ module Bovem
|
|
|
332
332
|
"{mark=%s}%s{mark=%s}%s{/mark}%s{/mark}" % [bracket_color.parameterize, brackets[0], base_color.parameterize, label, brackets[1]]
|
|
333
333
|
end
|
|
334
334
|
|
|
335
|
+
# Formats a progress for pretty printing.
|
|
336
|
+
#
|
|
337
|
+
# @param current [Fixnum] The current progress index (e.g. the number of the current operation).
|
|
338
|
+
# @param total [Fixnum] The total progress index (e.g. the total number of operations).
|
|
339
|
+
# @param type [Symbol] The progress type. Can be `:list` (e.g. 01/15) or `:percentage` (e.g. 99.56%).
|
|
340
|
+
# @param precision [Fixnum] The precision of the percentage to return. *Ignored for list progress.*
|
|
341
|
+
# @return [String] The formatted progress.
|
|
342
|
+
def progress(current, total, type = :list, precision = 0)
|
|
343
|
+
if type == :list then
|
|
344
|
+
@progress_list_widths ||= {}
|
|
345
|
+
@progress_list_widths[total] ||= total.to_s.length
|
|
346
|
+
"%0#{@progress_list_widths[total]}d/%d" % [current, total]
|
|
347
|
+
else
|
|
348
|
+
precision = [0, precision].max
|
|
349
|
+
result = total == 0 ? 100 : (100 * (current.to_f / total))
|
|
350
|
+
("%0.#{precision}f %%" % result.round(precision)).rjust(5 + (precision > 0 ? precision + 1 : 0))
|
|
351
|
+
end
|
|
352
|
+
end
|
|
353
|
+
|
|
335
354
|
# Writes a message prepending a green banner.
|
|
336
355
|
#
|
|
337
356
|
# @param message [String] The message to format.
|
data/lib/bovem/errors.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/localizer.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/logger.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/option.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -227,10 +227,12 @@ module Bovem
|
|
|
227
227
|
#
|
|
228
228
|
# @param vs [Symbol] The type of validator.
|
|
229
229
|
def handle_set_failure(vs)
|
|
230
|
+
locale = @parent.i18n
|
|
231
|
+
|
|
230
232
|
if vs == "include?" then
|
|
231
|
-
raise Bovem::Errors::Error.new(self, :validation_failed,
|
|
233
|
+
raise Bovem::Errors::Error.new(self, :validation_failed, locale.invalid_value(label, Bovem::Parser.smart_join(@validator, ", ", locale.join_separator).html_safe))
|
|
232
234
|
else
|
|
233
|
-
raise Bovem::Errors::Error.new(self, :validation_failed,
|
|
235
|
+
raise Bovem::Errors::Error.new(self, :validation_failed, locale.invalid_for_regexp(label, @validator.is_a?(::Proc) ? "[FUNCTION]" : @validator.inspect))
|
|
234
236
|
end
|
|
235
237
|
end
|
|
236
238
|
|
data/lib/bovem/parser.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -35,8 +35,6 @@ module Bovem
|
|
|
35
35
|
# @param separator [String] The separator for joined syntax commands.
|
|
36
36
|
# @return [Hash|NilClass] An hash with `name` and `args` keys if a valid subcommand is found, `nil` otherwise.
|
|
37
37
|
def find_command(arg, command, args, separator = ":")
|
|
38
|
-
args = args.ensure_array.dup
|
|
39
|
-
|
|
40
38
|
if command.commands.present? then
|
|
41
39
|
arg, args = adjust_command(arg, args, separator)
|
|
42
40
|
|
|
@@ -44,7 +42,7 @@ module Bovem
|
|
|
44
42
|
if matching.length == 1 # Found a command
|
|
45
43
|
{name: matching[0], args: args}
|
|
46
44
|
elsif matching.length > 1 # Ambiguous match
|
|
47
|
-
raise Bovem::Errors::Error.new(command, :ambiguous_command, command.i18n.ambigous_command(arg,
|
|
45
|
+
raise Bovem::Errors::Error.new(command, :ambiguous_command, command.i18n.ambigous_command(arg, format_alternatives(matching, command)))
|
|
48
46
|
end
|
|
49
47
|
else
|
|
50
48
|
nil
|
|
@@ -68,6 +66,8 @@ module Bovem
|
|
|
68
66
|
# @param separator [String] The separator for joined syntax commands.
|
|
69
67
|
# @return [Array] Adjust command and arguments.
|
|
70
68
|
def adjust_command(arg, args, separator)
|
|
69
|
+
args = args.ensure_array.dup
|
|
70
|
+
|
|
71
71
|
if arg.index(separator) then
|
|
72
72
|
tokens = arg.split(separator, 2)
|
|
73
73
|
arg = tokens[0]
|
|
@@ -85,6 +85,15 @@ module Bovem
|
|
|
85
85
|
def match_subcommands(arg, command)
|
|
86
86
|
command.commands.keys.select {|c| c =~ /^(#{Regexp.quote(arg)})/ }.compact
|
|
87
87
|
end
|
|
88
|
+
|
|
89
|
+
# Formats alternatives for printing.
|
|
90
|
+
#
|
|
91
|
+
# @param matching [Array] The alternatives to format.
|
|
92
|
+
# @param command [Command] The command which alternatives refers to.
|
|
93
|
+
# @return [String] The formatted alternatives.
|
|
94
|
+
def format_alternatives(matching, command)
|
|
95
|
+
Bovem::Parser.smart_join(matching, ", ", command.i18n.join_separator).html_safe
|
|
96
|
+
end
|
|
88
97
|
end
|
|
89
98
|
end
|
|
90
99
|
end
|
data/lib/bovem/shell.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/lib/bovem/version.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ module Bovem
|
|
|
17
17
|
MINOR = 0
|
|
18
18
|
|
|
19
19
|
# The patch version.
|
|
20
|
-
PATCH =
|
|
20
|
+
PATCH = 2
|
|
21
21
|
|
|
22
22
|
# The current version number of Bovem.
|
|
23
23
|
STRING = [MAJOR, MINOR, PATCH].compact.join(".")
|
data/locales/en.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -73,4 +73,5 @@
|
|
|
73
73
|
existing_command: "The command \"%1\" already exists."
|
|
74
74
|
existing_option_global: "The global option \"%1\" already exists."
|
|
75
75
|
existing_option: "The option \"%1\" already exists for the command \"%2\"."
|
|
76
|
-
missing_app_block: "You have to provide a block to the Bovem::Application constructor!"
|
|
76
|
+
missing_app_block: "You have to provide a block to the Bovem::Application constructor!"
|
|
77
|
+
join_separator: " and "
|
data/locales/it.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -73,4 +73,5 @@
|
|
|
73
73
|
existing_command: "Il comando \"%1\" è già esistente."
|
|
74
74
|
existing_option_global: "L'opzione globale \"%1\" è già esistente."
|
|
75
75
|
existing_option: "L'opzione \"%1\" è già esistente per il comando \"%2\"."
|
|
76
|
-
missing_app_block: "Devi fornire un blocco per il costruttore di Bovem::Application!"
|
|
76
|
+
missing_app_block: "Devi fornire un blocco per il costruttore di Bovem::Application!"
|
|
77
|
+
join_separator: " e "
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/bovem/command_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/bovem/console_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
|
@@ -239,6 +239,25 @@ describe Bovem::Console do
|
|
|
239
239
|
end
|
|
240
240
|
end
|
|
241
241
|
|
|
242
|
+
describe "#progress" do
|
|
243
|
+
it "should format good list progresses" do
|
|
244
|
+
expect(console.progress(1, 14)).to eq("01/14")
|
|
245
|
+
expect(console.progress(135, 14)).to eq("135/14")
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
it "should format good percentage progresses" do
|
|
249
|
+
expect(console.progress(1, 100, :percentage)).to eq(" 1 %")
|
|
250
|
+
expect(console.progress(33, 100, :percentage)).to eq(" 33 %")
|
|
251
|
+
expect(console.progress(1400, 100, :percentage)).to eq("1400 %")
|
|
252
|
+
expect(console.progress(50, 70, :percentage)).to eq(" 71 %")
|
|
253
|
+
expect(console.progress(50, 70, :percentage, 2)).to eq(" 71.43 %")
|
|
254
|
+
expect(console.progress(50, 70, :percentage, 3)).to eq(" 71.429 %")
|
|
255
|
+
expect(console.progress(0, 0, :percentage)).to eq("100 %")
|
|
256
|
+
expect(console.progress(1, 0, :percentage)).to eq("100 %")
|
|
257
|
+
expect(console.progress(0, 100, :percentage)).to eq(" 0 %")
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
|
|
242
261
|
describe "#begin" do
|
|
243
262
|
it "should forward everything to #get_banner" do
|
|
244
263
|
expect(console).to receive(:get_banner).with("*", "bright green", false).at_least(1).and_return("")
|
data/spec/bovem/errors_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/bovem/logger_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/bovem/option_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/bovem/parser_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/bovem/shell_spec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/coverage_helper.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
#
|
|
3
|
-
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <
|
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>.
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
5
5
|
#
|
|
6
6
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bovem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shogun
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-08-
|
|
11
|
+
date: 2013-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lazier
|
|
@@ -40,7 +40,7 @@ dependencies:
|
|
|
40
40
|
version: 1.3.0
|
|
41
41
|
description: A command line manager and a collection of utilities for developers.
|
|
42
42
|
email:
|
|
43
|
-
-
|
|
43
|
+
- shogun@cowtech.it
|
|
44
44
|
executables: []
|
|
45
45
|
extensions: []
|
|
46
46
|
extra_rdoc_files: []
|