bovem 1.2.6 → 2.0.0
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.
- data/.travis.yml +1 -1
- data/Gemfile +1 -1
- data/README.md +5 -2
- data/bovem.gemspec +11 -9
- data/doc/Bovem.html +7 -25
- data/doc/Bovem/Configuration.html +30 -43
- data/doc/Bovem/Console.html +225 -4360
- data/doc/Bovem/ConsoleMethods.html +125 -0
- data/doc/Bovem/ConsoleMethods/Interactions.html +575 -0
- data/doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html +231 -0
- data/doc/Bovem/ConsoleMethods/Logging.html +2218 -0
- data/doc/Bovem/ConsoleMethods/Logging/ClassMethods.html +212 -0
- data/doc/Bovem/ConsoleMethods/Output.html +1213 -0
- data/doc/Bovem/ConsoleMethods/StyleHandling.html +274 -0
- data/doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html +653 -0
- data/doc/Bovem/Errors.html +3 -3
- data/doc/Bovem/Errors/InvalidConfiguration.html +3 -3
- data/doc/Bovem/Errors/InvalidLogger.html +3 -3
- data/doc/Bovem/Logger.html +112 -12
- data/doc/Bovem/Shell.html +58 -1888
- data/doc/Bovem/ShellMethods.html +125 -0
- data/doc/Bovem/ShellMethods/Directories.html +484 -0
- data/doc/Bovem/ShellMethods/Execute.html +565 -0
- data/doc/Bovem/ShellMethods/General.html +450 -0
- data/doc/Bovem/ShellMethods/Read.html +451 -0
- data/doc/Bovem/ShellMethods/Write.html +676 -0
- data/doc/Bovem/Version.html +6 -6
- data/doc/_index.html +145 -4
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +10 -7
- data/doc/frames.html +1 -1
- data/doc/index.html +10 -7
- data/doc/method_list.html +119 -79
- data/doc/top-level-namespace.html +3 -3
- data/lib/bovem.rb +1 -1
- data/lib/bovem/configuration.rb +24 -13
- data/lib/bovem/console.rb +566 -497
- data/lib/bovem/errors.rb +1 -1
- data/lib/bovem/logger.rb +4 -4
- data/lib/bovem/shell.rb +482 -305
- data/lib/bovem/version.rb +4 -4
- data/locales/en.yml +43 -0
- data/locales/it.yml +43 -0
- data/spec/bovem/configuration_spec.rb +3 -3
- data/spec/bovem/console_spec.rb +17 -10
- data/spec/bovem/logger_spec.rb +1 -1
- data/spec/bovem/shell_spec.rb +9 -5
- data/spec/coverage_helper.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +32 -22
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)
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
5
|
#
|
6
6
|
|
@@ -11,13 +11,13 @@ module Bovem
|
|
11
11
|
# @see http://semver.org
|
12
12
|
module Version
|
13
13
|
# The major version.
|
14
|
-
MAJOR =
|
14
|
+
MAJOR = 2
|
15
15
|
|
16
16
|
# The minor version.
|
17
|
-
MINOR =
|
17
|
+
MINOR = 0
|
18
18
|
|
19
19
|
# The patch version.
|
20
|
-
PATCH =
|
20
|
+
PATCH = 0
|
21
21
|
|
22
22
|
# The current version number of Bovem.
|
23
23
|
STRING = [MAJOR, MINOR, PATCH].compact.join(".")
|
data/locales/en.yml
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
#
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
4
|
+
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
|
+
#
|
6
|
+
|
7
|
+
---
|
8
|
+
bovem:
|
9
|
+
configuration:
|
10
|
+
using: "Using configuration file %1."
|
11
|
+
invalid: "Config file %1 is not valid."
|
12
|
+
not_found: "Config file %1 is not existing or not readable."
|
13
|
+
console:
|
14
|
+
prompt: "Please insert a value"
|
15
|
+
unknown_reply: "Sorry, your reply was not understood. Please try again."
|
16
|
+
shell:
|
17
|
+
error: "due to this error: [%1] %2."
|
18
|
+
run: "Running command: {mark=bright}\"%1\"{/mark}..."
|
19
|
+
run_dry: "Will run command: {mark=bright}\"%1\"{/mark}..."
|
20
|
+
remove_dry: "Will remove file(s):"
|
21
|
+
remove_unwritable: "Cannot remove following non writable file: {mark=bright}%1{/mark}"
|
22
|
+
remove_not_found: "Cannot remove following non existent file: {mark=bright}%1{/mark}"
|
23
|
+
remove_error: "Cannot remove following file(s):"
|
24
|
+
copy: "copy"
|
25
|
+
move: "move"
|
26
|
+
copy_move_single_dry: "Will %1 a file:"
|
27
|
+
copy_move_multi_dry: "Will %1 following entries:"
|
28
|
+
copy_move_from: "From: {mark=bright}%1{/mark}"
|
29
|
+
copy_move_to: "To: {mark=bright}%1{/mark}"
|
30
|
+
copy_move_to_multi: "to directory: {mark=bright}%1{/mark}"
|
31
|
+
copy_move_single_to_directory: "Cannot %1 file {mark=bright}%2{/mark} to {mark=bright}%3{/mark} because it is currently a directory."
|
32
|
+
copy_move_src_not_found: "Cannot %1 non existent file {mark=bright}%2{/mark}."
|
33
|
+
copy_move_dst_not_writable_single: "Cannot %1 file {mark=bright}%2{/mark} to non writable directory {mark=bright}%3{/mark}."
|
34
|
+
copy_move_dst_not_writable_multi: "Cannot %1 following file(s) to non writable directory {mark=bright}%2{/mark}:"
|
35
|
+
copy_move_error_single: "Cannot %1 file {mark=bright}%2{/mark} to directory {mark=bright}%3{/mark} due to this error: [%4] %5."
|
36
|
+
copy_move_error_multi: "Cannot %1 following entries to {mark=bright}%2{/mark}:"
|
37
|
+
move_in: "Moving into directory {mark=bright}%1{/mark}"
|
38
|
+
move_out: "Moving back into directory {mark=bright}%1{/mark}"
|
39
|
+
mkdir_dry: "Will create directories:"
|
40
|
+
mkdir_existing: "The directory {mark=bright}%1{/mark} already exists."
|
41
|
+
mkdir_file: "Path {mark=bright}%1{/mark} is currently a file."
|
42
|
+
mkdir_denied: "Cannot create following directory due to permission denied: {mark=bright}%1{/mark}."
|
43
|
+
mkdir_error: "Cannot create following directories:"
|
data/locales/it.yml
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
#
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
4
|
+
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
|
+
#
|
6
|
+
|
7
|
+
---
|
8
|
+
bovem:
|
9
|
+
configuration:
|
10
|
+
using: "Uso il file di configurazione %1."
|
11
|
+
invalid: "Il file di configurazione %1 non è valido."
|
12
|
+
not_found: "Il file di configurazione %1 non esiste o non è leggibile."
|
13
|
+
console:
|
14
|
+
prompt: "Per favore inserisci un valore"
|
15
|
+
unknown_reply: "Mi dispiace, la tua risposta non è stata compresa. Per favore prova di nuovo."
|
16
|
+
shell:
|
17
|
+
error: "a causa di quest'errore: [%1] %2."
|
18
|
+
run: "Eseguo il comando: {mark=bright}\"%1\"{/mark}..."
|
19
|
+
run_dry: "Eseguirò il comando: {mark=bright}\"%1\"{/mark}..."
|
20
|
+
remove_dry: "Rimuoverò i files:"
|
21
|
+
remove_unwritable: "Non posso rimuovere il file di sola lettura: {mark=bright}%1{/mark}"
|
22
|
+
remove_not_found: "Non posso rimuovere il file non esistente: {mark=bright}%1{/mark}"
|
23
|
+
remove_error: "Non posso rimuovere i seguenti file:"
|
24
|
+
copy: "la copia"
|
25
|
+
move: "lo spostamento"
|
26
|
+
copy_move_single_dry: "Eseguirò %1 di un file:"
|
27
|
+
copy_move_multi_dry: "Eseguirò %1 dei seguenti elementi:"
|
28
|
+
copy_move_from: "Da: {mark=bright}%1{/mark}"
|
29
|
+
copy_move_to: "A: {mark=bright}%1{/mark}"
|
30
|
+
copy_move_to_multi: "nella cartella: {mark=bright}%1{/mark}"
|
31
|
+
copy_move_single_to_directory: "Impossibile eseguire %1 del file {mark=bright}%2{/mark} in {mark=bright}%3{/mark} perché è attualmente una cartella."
|
32
|
+
copy_move_src_not_found: "Impossibile eseguire %1 del file non esistente {mark=bright}%2{/mark}."
|
33
|
+
copy_move_dst_not_writable_single: "Impossibile eseguire %1 del file {mark=bright}%2{/mark} nella cartella di sola lettura {mark=bright}%3{/mark}."
|
34
|
+
copy_move_dst_not_writable_multi: "Impossibile eseguire %1 dei seguenti elementi nella cartella di sola lettura {mark=bright}%2{/mark}:"
|
35
|
+
copy_move_error_single: "Impossibile eseguire %1 file {mark=bright}%2{/mark} nella cartella {mark=bright}%3{/mark} a causa di quest'errore: [%4] %5."
|
36
|
+
copy_move_error_multi: "Impossibile eseguire %1 dei seguenti elementi {mark=bright}%2{/mark}:"
|
37
|
+
move_in: "Entro nella cartella {mark=bright}%1{/mark}"
|
38
|
+
move_out: "Torno indietro alla cartella {mark=bright}%1{/mark}"
|
39
|
+
mkdir_dry: "Creerò le cartelle:"
|
40
|
+
mkdir_existing: "La cartella {mark=bright}%1{/mark} è già esistente."
|
41
|
+
mkdir_file: "Il percorso {mark=bright}%1{/mark} è attualmente un file."
|
42
|
+
mkdir_denied: "Impossible creare la seguente cartella a causa di permessi negati: {mark=bright}%1{/mark}."
|
43
|
+
mkdir_error: "Impossibile creare le seguenti cartelle:"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
|
-
# This file is part of the bovem gem. Copyright (C)
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
5
|
#
|
6
6
|
|
@@ -41,7 +41,7 @@ describe Bovem::Configuration do
|
|
41
41
|
it "allows overrides" do
|
42
42
|
file = ::File.open("#{test_prefix}", "w") {|f| f.write("config.property = 1234") }
|
43
43
|
|
44
|
-
config = BaseConfiguration.new(test_prefix, {:
|
44
|
+
config = BaseConfiguration.new(test_prefix, {property: 5678, non_property: 1234})
|
45
45
|
expect(config.property).to eq(5678)
|
46
46
|
|
47
47
|
File.unlink(test_prefix)
|
@@ -54,7 +54,7 @@ describe Bovem::Configuration do
|
|
54
54
|
|
55
55
|
expect(subject.respond_to?(:new_property)).to be_false
|
56
56
|
expect(subject.respond_to?(:new_property=)).to be_false
|
57
|
-
BaseConfiguration.property
|
57
|
+
BaseConfiguration.property(:new_property, default: "VALUE")
|
58
58
|
expect(subject.respond_to?(:new_property)).to be_true
|
59
59
|
expect(subject.respond_to?(:new_property=)).to be_true
|
60
60
|
expect(subject.new_property).to eq("VALUE")
|
data/spec/bovem/console_spec.rb
CHANGED
@@ -1,15 +1,20 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
|
-
# This file is part of the bovem gem. Copyright (C)
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
5
|
#
|
6
6
|
|
7
7
|
require "spec_helper"
|
8
8
|
|
9
9
|
describe Bovem::Console do
|
10
|
-
let(:console) {
|
10
|
+
let(:console) {
|
11
|
+
c = ::Bovem::Console.new
|
12
|
+
c.i18n = :en
|
13
|
+
c
|
14
|
+
}
|
11
15
|
|
12
16
|
before(:each) do
|
17
|
+
ENV["TERM"] = "xterm-256color"
|
13
18
|
Kernel.stub(:puts).and_return(nil)
|
14
19
|
end
|
15
20
|
|
@@ -28,6 +33,7 @@ describe Bovem::Console do
|
|
28
33
|
expect(::Bovem::Console.parse_style("FOO")).to eq("")
|
29
34
|
expect(::Bovem::Console.parse_style(nil)).to eq("")
|
30
35
|
expect(::Bovem::Console.parse_style(["A"])).to eq("")
|
36
|
+
expect(::Bovem::Console.parse_style("-")).to eq("")
|
31
37
|
end
|
32
38
|
end
|
33
39
|
|
@@ -66,8 +72,9 @@ describe Bovem::Console do
|
|
66
72
|
end
|
67
73
|
|
68
74
|
describe "#get_screen_width" do
|
69
|
-
it "should execute tput cols" do
|
70
|
-
::Bovem::Console.should_receive(:execute).with("tput cols").at_least(1)
|
75
|
+
it "should execute \"tput cols\" and \"which stty\"" do
|
76
|
+
::Bovem::Console.should_receive(:execute).with("tput cols").at_least(1).and_call_original
|
77
|
+
::Bovem::Console.should_receive(:execute).with("which stty").at_least(1).and_call_original
|
71
78
|
console.get_screen_width
|
72
79
|
end
|
73
80
|
|
@@ -297,12 +304,12 @@ describe Bovem::Console do
|
|
297
304
|
|
298
305
|
describe "status" do
|
299
306
|
it "should get the right status" do
|
300
|
-
expect(console.status(:ok, false, true, false)).to eq({:
|
301
|
-
expect(console.status(:pass, false, true, false)).to eq({:
|
302
|
-
expect(console.status(:warn, false, true, false)).to eq({:
|
303
|
-
expect(console.status(:fail, false, true, false)).to eq({:
|
304
|
-
expect(console.status("NO", false, true, false)).to eq({:
|
305
|
-
expect(console.status(nil, false, true, false)).to eq({:
|
307
|
+
expect(console.status(:ok, false, true, false)).to eq({label: " OK ", color: "bright green"})
|
308
|
+
expect(console.status(:pass, false, true, false)).to eq({label: "PASS", color: "bright cyan"})
|
309
|
+
expect(console.status(:warn, false, true, false)).to eq({label: "WARN", color: "bright yellow"})
|
310
|
+
expect(console.status(:fail, false, true, false)).to eq({label: "FAIL", color: "bright red"})
|
311
|
+
expect(console.status("NO", false, true, false)).to eq({label: " OK ", color: "bright green"})
|
312
|
+
expect(console.status(nil, false, true, false)).to eq({label: " OK ", color: "bright green"})
|
306
313
|
end
|
307
314
|
|
308
315
|
it "should create the banner" do
|
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)
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
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,13 +1,17 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
#
|
3
|
-
# This file is part of the bovem gem. Copyright (C)
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
5
|
#
|
6
6
|
|
7
7
|
require "spec_helper"
|
8
8
|
|
9
9
|
describe Bovem::Shell do
|
10
|
-
let(:shell) {
|
10
|
+
let(:shell) {
|
11
|
+
s = ::Bovem::Shell.new
|
12
|
+
s.i18n = :en
|
13
|
+
s
|
14
|
+
}
|
11
15
|
let(:temp_file_1) { "/tmp/bovem-test-1-#{Time.now.strftime("%Y%m%d-%H%M%S")}" }
|
12
16
|
let(:temp_file_2) { "/tmp/bovem-test-2-#{Time.now.strftime("%Y%m%d-%H%M%S")}" }
|
13
17
|
let(:temp_file_3) { "/tmp/bovem-test-3-#{Time.now.strftime("%Y%m%d-%H%M%S")}" }
|
@@ -52,7 +56,7 @@ describe Bovem::Shell do
|
|
52
56
|
|
53
57
|
it "should only execute a command" do
|
54
58
|
shell.console.should_not_receive("warn").with("Will run command: {mark=bright}\"echo OK\"{/mark}...")
|
55
|
-
::Open4.should_receive("popen4").and_return(::OpenStruct.new(:
|
59
|
+
::Open4.should_receive("popen4").and_return(::OpenStruct.new(exitstatus: 0))
|
56
60
|
shell.run("echo OK", nil, true, false)
|
57
61
|
end
|
58
62
|
|
@@ -242,10 +246,10 @@ describe Bovem::Shell do
|
|
242
246
|
it "should complain about non writeable parent directory" do
|
243
247
|
File.open(temp_file_1, "w") {|f| f.write("OK") }
|
244
248
|
|
245
|
-
shell.console.should_receive(:error).with("Cannot copy file {mark=bright}#{temp_file_1}{/mark} to non writable directory {mark=bright}/dev{/mark}.")
|
249
|
+
shell.console.should_receive(:error).with("Cannot copy file {mark=bright}#{temp_file_1}{/mark} to non writable directory {mark=bright}/dev{/mark}.", "\n", 5)
|
246
250
|
expect(shell.copy_or_move(temp_file_1, "/dev/bovem", :copy, true, false, false)).to be_false
|
247
251
|
|
248
|
-
shell.console.should_receive(:error).with("Cannot move file {mark=bright}#{temp_file_1}{/mark} to non writable directory {mark=bright}/dev{/mark}.")
|
252
|
+
shell.console.should_receive(:error).with("Cannot move file {mark=bright}#{temp_file_1}{/mark} to non writable directory {mark=bright}/dev{/mark}.", "\n", 5)
|
249
253
|
expect(shell.copy_or_move(temp_file_1, "/dev/bovem", :move, true, false, false)).to be_false
|
250
254
|
end
|
251
255
|
|
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)
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
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)
|
3
|
+
# This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bovem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: lazier
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.5.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.5.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: open4
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 2.
|
53
|
+
version: 2.12.0
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
61
|
+
version: 2.12.0
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rake
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 10.0.3
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
77
|
+
version: 10.0.3
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: simplecov
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
requirements:
|
83
83
|
- - ~>
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.7.
|
85
|
+
version: 0.7.1
|
86
86
|
type: :development
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0.7.
|
93
|
+
version: 0.7.1
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: pry
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.8.
|
117
|
+
version: 0.8.3
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.8.
|
125
|
+
version: 0.8.3
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: redcarpet
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +146,7 @@ dependencies:
|
|
146
146
|
requirements:
|
147
147
|
- - ~>
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0.7.
|
149
|
+
version: 0.7.5
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -154,7 +154,7 @@ dependencies:
|
|
154
154
|
requirements:
|
155
155
|
- - ~>
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 0.7.
|
157
|
+
version: 0.7.5
|
158
158
|
description: A collection of utilities for developers.
|
159
159
|
email:
|
160
160
|
- shogun_panda@me.com
|
@@ -173,11 +173,25 @@ files:
|
|
173
173
|
- doc/Bovem.html
|
174
174
|
- doc/Bovem/Configuration.html
|
175
175
|
- doc/Bovem/Console.html
|
176
|
+
- doc/Bovem/ConsoleMethods.html
|
177
|
+
- doc/Bovem/ConsoleMethods/Interactions.html
|
178
|
+
- doc/Bovem/ConsoleMethods/Interactions/ClassMethods.html
|
179
|
+
- doc/Bovem/ConsoleMethods/Logging.html
|
180
|
+
- doc/Bovem/ConsoleMethods/Logging/ClassMethods.html
|
181
|
+
- doc/Bovem/ConsoleMethods/Output.html
|
182
|
+
- doc/Bovem/ConsoleMethods/StyleHandling.html
|
183
|
+
- doc/Bovem/ConsoleMethods/StyleHandling/ClassMethods.html
|
176
184
|
- doc/Bovem/Errors.html
|
177
185
|
- doc/Bovem/Errors/InvalidConfiguration.html
|
178
186
|
- doc/Bovem/Errors/InvalidLogger.html
|
179
187
|
- doc/Bovem/Logger.html
|
180
188
|
- doc/Bovem/Shell.html
|
189
|
+
- doc/Bovem/ShellMethods.html
|
190
|
+
- doc/Bovem/ShellMethods/Directories.html
|
191
|
+
- doc/Bovem/ShellMethods/Execute.html
|
192
|
+
- doc/Bovem/ShellMethods/General.html
|
193
|
+
- doc/Bovem/ShellMethods/Read.html
|
194
|
+
- doc/Bovem/ShellMethods/Write.html
|
181
195
|
- doc/Bovem/Version.html
|
182
196
|
- doc/_index.html
|
183
197
|
- doc/class_list.html
|
@@ -200,13 +214,15 @@ files:
|
|
200
214
|
- lib/bovem/logger.rb
|
201
215
|
- lib/bovem/shell.rb
|
202
216
|
- lib/bovem/version.rb
|
217
|
+
- locales/en.yml
|
218
|
+
- locales/it.yml
|
203
219
|
- spec/bovem/configuration_spec.rb
|
204
220
|
- spec/bovem/console_spec.rb
|
205
221
|
- spec/bovem/logger_spec.rb
|
206
222
|
- spec/bovem/shell_spec.rb
|
207
223
|
- spec/coverage_helper.rb
|
208
224
|
- spec/spec_helper.rb
|
209
|
-
homepage: http://
|
225
|
+
homepage: http://sw.cow.tc/bovem
|
210
226
|
licenses: []
|
211
227
|
post_install_message:
|
212
228
|
rdoc_options: []
|
@@ -217,19 +233,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
217
233
|
requirements:
|
218
234
|
- - ! '>='
|
219
235
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
221
|
-
segments:
|
222
|
-
- 0
|
223
|
-
hash: 1890320634245801331
|
236
|
+
version: 1.9.2
|
224
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
238
|
none: false
|
226
239
|
requirements:
|
227
240
|
- - ! '>='
|
228
241
|
- !ruby/object:Gem::Version
|
229
242
|
version: '0'
|
230
|
-
segments:
|
231
|
-
- 0
|
232
|
-
hash: 1890320634245801331
|
233
243
|
requirements: []
|
234
244
|
rubyforge_project: bovem
|
235
245
|
rubygems_version: 1.8.24
|