cejo 0.0.5
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 +7 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.rubocop.yml +0 -0
- data/.rufo +3 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/INSTALL +2 -0
- data/LICENSE +674 -0
- data/README.org +23 -0
- data/README.rdoc +28 -0
- data/Rakefile +6 -0
- data/annotations/legacy.org +11 -0
- data/annotations/todo.org +54 -0
- data/bin/console +14 -0
- data/bin/setup +9 -0
- data/cejo.gemspec +50 -0
- data/cejo.rdoc +5 -0
- data/exe/cejo +298 -0
- data/lib/cejo.rb +42 -0
- data/lib/cejo/distro/base.rb +52 -0
- data/lib/cejo/distro/commands.rb +26 -0
- data/lib/cejo/distro/current_packager.rb +18 -0
- data/lib/cejo/distro/help.rb +9 -0
- data/lib/cejo/distro/need.rb +32 -0
- data/lib/cejo/distro/parsed_commands.rb +23 -0
- data/lib/cejo/distro/translate_action.rb +11 -0
- data/lib/cejo/floss/archive.rb +49 -0
- data/lib/cejo/floss/core.rb +55 -0
- data/lib/cejo/floss/grab.rb +44 -0
- data/lib/cejo/floss/project_info.rb +28 -0
- data/lib/cejo/media/get.rb +54 -0
- data/lib/cejo/media/play.rb +45 -0
- data/lib/cejo/ops/brightness.rb +37 -0
- data/lib/cejo/ops/dots.rb +98 -0
- data/lib/cejo/ops/homey.rb +76 -0
- data/lib/cejo/ops/screenshot.rb +78 -0
- data/lib/cejo/ops/sysinfo.rb +27 -0
- data/lib/cejo/ops/volume/sound_manager.rb +45 -0
- data/lib/cejo/ops/volume/volume.rb +117 -0
- data/lib/cejo/projects/builder.rb +138 -0
- data/lib/cejo/projects/dwm.rb +23 -0
- data/lib/cejo/projects/emacs.rb +23 -0
- data/lib/cejo/projects/ruby.rb +23 -0
- data/lib/cejo/projects/st.rb +23 -0
- data/lib/cejo/services/folders.rb +21 -0
- data/lib/cejo/services/utils.rb +54 -0
- data/lib/cejo/version.rb +5 -0
- data/lib/tasks/list.rake +7 -0
- data/lib/tasks/man.rake +7 -0
- data/lib/tasks/spec.rake +5 -0
- data/lib/tasks/test.rake +7 -0
- data/man/cejo.1.ronn +0 -0
- data/spec/distro/action_spec.rb +21 -0
- data/spec/distro/base_spec.rb +67 -0
- data/spec/distro/commands_spec.rb +22 -0
- data/spec/distro/current_packager_spec.rb +17 -0
- data/spec/distro/need_spec.rb +22 -0
- data/spec/floss/archive_spec.rb +1 -0
- data/spec/floss/core_spec.rb +1 -0
- data/spec/floss/grab_spec.rb +1 -0
- data/spec/media/get_spec.rb +20 -0
- data/spec/media/play_spec.rb +41 -0
- data/spec/ops/ops_brightness_spec.rb +16 -0
- data/spec/ops/ops_volume_spec.rb +22 -0
- data/spec/spec_helper.rb +96 -0
- data/spec/utils_spec.rb +18 -0
- data/test/test_cejo.rb +16 -0
- data/test/test_distro_base.rb +13 -0
- data/test/test_floss.rb +13 -0
- data/test/test_media_get.rb +0 -0
- data/test/test_media_play.rb +0 -0
- data/test/test_ops_brightness.rb +0 -0
- data/test/test_ops_dots.rb +0 -0
- data/test/test_ops_homer.rb +0 -0
- data/test/test_ops_oss.rb +18 -0
- data/test/test_ops_screenshot.rb +0 -0
- data/test/test_ops_sysinfo.rb +0 -0
- data/test/test_ops_volume.rb +0 -0
- data/test/test_projects_builder.rb +0 -0
- data/test/test_projects_emacs.rb +0 -0
- metadata +468 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'cejo'
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
|
7
|
+
RSpec.describe 'The marvelous Distro' do
|
8
|
+
context 'What about the Commands?' do
|
9
|
+
let(:raw_command) { { dnf: { autoremove: 'autoremove' } } }
|
10
|
+
|
11
|
+
it 'has, at least, one packager commands set!' do
|
12
|
+
commands = Cejo::Distro::Commands.new(raw_command)
|
13
|
+
expect(commands.any?).to eq(raw_command.any?)
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'gets all of package, just right!' do
|
17
|
+
raw_commands = raw_command.merge({ apt: { autoremove: 'autoremove' } })
|
18
|
+
commands = Cejo::Distro::Commands.new(raw_commands)
|
19
|
+
expect(commands.packagers).to eq(%i[dnf apt])
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'cejo'
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
|
7
|
+
RSpec.describe 'The marvelous Distro' do
|
8
|
+
context 'Current Packager' do
|
9
|
+
let(:raw_cmd) { { dnf: { autoremove: 'autoremove' } } }
|
10
|
+
|
11
|
+
it 'has, at least, one packager commands set!' do
|
12
|
+
cmd = Cejo::Distro::Commands.new(raw_cmd)
|
13
|
+
|
14
|
+
expect(cmd.packagers.any?).to eq(raw_cmd.any?)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'cejo'
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
|
7
|
+
RSpec.describe 'The marvelous Distro' do
|
8
|
+
it 'needs to be admin' do
|
9
|
+
need = Cejo::Distro::Need.new(:install)
|
10
|
+
expect(need.admin?).to eq(true)
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'needs arguments' do
|
14
|
+
need = Cejo::Distro::Need.new(:install)
|
15
|
+
expect(need.arguments?).to eq(true)
|
16
|
+
end
|
17
|
+
|
18
|
+
it 'accepts whatever you wish, arguments or no' do
|
19
|
+
need = Cejo::Distro::Need.new(:autoremove)
|
20
|
+
expect(need.whatever?).to eq(true)
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
# frozen_string_literal: true
|
@@ -0,0 +1 @@
|
|
1
|
+
# frozen_string_literal: true
|
@@ -0,0 +1 @@
|
|
1
|
+
# frozen_string_literal: true
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative '../../lib/cejo'
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
|
7
|
+
RSpec.describe 'Get' do
|
8
|
+
let(:media) { 'https://framatube.org/908ff4b-240.mp4' }
|
9
|
+
let(:codec) { 'vorbis' }
|
10
|
+
|
11
|
+
it 'gets me a nice tune to enjoy' do
|
12
|
+
base = Cejo::Media::Get.new(media, codec)
|
13
|
+
expect(base.final_command).to eq("youtube-dl #{base.audio_command}")
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'gets me an amazing video to watch' do
|
17
|
+
base = Cejo::Media::Get.new(media)
|
18
|
+
expect(base.final_command).to eq("youtube-dl #{base.media}")
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../lib/cejo'
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe 'Play' do
|
6
|
+
let(:media) { '/tmp/Videos/rosa_luxemburgo.ogv' }
|
7
|
+
|
8
|
+
before(:all) do
|
9
|
+
filepath = Pathname.new('/tmp/Videos/rosa_luxemburgo.ogv')
|
10
|
+
|
11
|
+
unless filepath.exist?
|
12
|
+
filepath.dirname.mkdir
|
13
|
+
File.write(filepath, '')
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'plays local file' do
|
18
|
+
base = Cejo::Media::Play.new media
|
19
|
+
expect(base.pick_media).to eq(media)
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'plays random file in folder' do
|
23
|
+
dirpath = Pathname.new(media).dirname
|
24
|
+
base = Cejo::Media::Play.new dirpath.to_path
|
25
|
+
expect(base.pick_random_media_in_folder(dirpath)).to eq(media)
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'plays online media' do
|
29
|
+
url = 'https://framatube.org/908ff4b-240.mp4'
|
30
|
+
base = Cejo::Media::Play.new url
|
31
|
+
|
32
|
+
expect(base.pick_media).to eq(url)
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'plays final command' do
|
36
|
+
url = 'https://framatube.org/908ff4b-240.mp4'
|
37
|
+
base = Cejo::Media::Play.new url
|
38
|
+
|
39
|
+
expect(base.final_command).to eq("#{base.player_settings} #{url}")
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'cejo'
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
|
7
|
+
RSpec.describe 'Brightness' do
|
8
|
+
context 'has the action' do
|
9
|
+
let(:base) { Cejo::Ops::Brightness.new('down') }
|
10
|
+
|
11
|
+
it 'has the final_command' do
|
12
|
+
step = Cejo::Ops::Brightness::STEP
|
13
|
+
expect(base.action).to eq("set #{step}%-")
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'cejo'
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
|
7
|
+
RSpec.describe 'All hail to the Volume King' do
|
8
|
+
utils = Class.new do
|
9
|
+
def which?(_)
|
10
|
+
:pactl
|
11
|
+
end
|
12
|
+
end.new
|
13
|
+
|
14
|
+
let(:volume) { Cejo::Ops::Volume.new(utils, 'down') }
|
15
|
+
let(:sound) { Cejo::Ops::SoundManager.new(utils) }
|
16
|
+
|
17
|
+
it 'has the final_command' do
|
18
|
+
step = Cejo::Ops::Volume::STEP
|
19
|
+
sink = sound.info.sink
|
20
|
+
expect(volume.final_command).to eq("pactl set-sink-volume #{sink} -#{step}%")
|
21
|
+
end
|
22
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
16
|
+
RSpec.configure do |config|
|
17
|
+
# rspec-expectations config goes here. You can use an alternate
|
18
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
19
|
+
# assertions if you prefer.
|
20
|
+
config.expect_with :rspec do |expectations|
|
21
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
22
|
+
# and `failure_message` of custom matchers include text for helper methods
|
23
|
+
# defined using `chain`, e.g.:
|
24
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
25
|
+
# # => "be bigger than 2 and smaller than 4"
|
26
|
+
# ...rather than:
|
27
|
+
# # => "be bigger than 2"
|
28
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
29
|
+
end
|
30
|
+
|
31
|
+
config.example_status_persistence_file_path = "examples.log"
|
32
|
+
|
33
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
34
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
35
|
+
config.mock_with :rspec do |mocks|
|
36
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
37
|
+
# a real object. This is generally recommended, and will default to
|
38
|
+
# `true` in RSpec 4.
|
39
|
+
mocks.verify_partial_doubles = true
|
40
|
+
end
|
41
|
+
|
42
|
+
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
43
|
+
# have no way to turn it off -- the option exists only for backwards
|
44
|
+
# compatibility in RSpec 3). It causes shared context metadata to be
|
45
|
+
# inherited by the metadata hash of host groups and examples, rather than
|
46
|
+
# triggering implicit auto-inclusion in groups with matching metadata.
|
47
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
48
|
+
|
49
|
+
# The settings below are suggested to provide a good initial experience
|
50
|
+
# with RSpec, but feel free to customize to your heart's content.
|
51
|
+
=begin
|
52
|
+
# This allows you to limit a spec run to individual examples or groups
|
53
|
+
# you care about by tagging them with `:focus` metadata. When nothing
|
54
|
+
# is tagged with `:focus`, all examples get run. RSpec also provides
|
55
|
+
# aliases for `it`, `describe`, and `context` that include `:focus`
|
56
|
+
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
57
|
+
config.filter_run_when_matching :focus
|
58
|
+
|
59
|
+
# Focusing Specific
|
60
|
+
# config.filter_run_when_matching(focus: true)
|
61
|
+
|
62
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
63
|
+
config.disable_monkey_patching!
|
64
|
+
|
65
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
66
|
+
# be too noisy due to issues in dependencies.
|
67
|
+
config.warnings = true
|
68
|
+
|
69
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
70
|
+
# file, and it's useful to allow more verbose output when running an
|
71
|
+
# individual spec file.
|
72
|
+
if config.files_to_run.one?
|
73
|
+
# Use the documentation formatter for detailed output,
|
74
|
+
# unless a formatter has already been configured
|
75
|
+
# (e.g. via a command-line flag).
|
76
|
+
config.default_formatter = "doc"
|
77
|
+
end
|
78
|
+
|
79
|
+
# Print the 10 slowest examples and example groups at the
|
80
|
+
# end of the spec run, to help surface which specs are running
|
81
|
+
# particularly slow.
|
82
|
+
config.profile_examples = 10
|
83
|
+
|
84
|
+
# Run specs in random order to surface order dependencies. If you find an
|
85
|
+
# order dependency and want to debug it, you can fix the order by providing
|
86
|
+
# the seed, which is printed after each run.
|
87
|
+
# --seed 1234
|
88
|
+
config.order = :random
|
89
|
+
|
90
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
91
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
92
|
+
# test failures related to randomization by passing the same `--seed` value
|
93
|
+
# as the one that triggered the failure.
|
94
|
+
Kernel.srand config.seed
|
95
|
+
=end
|
96
|
+
end
|
data/spec/utils_spec.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative '../lib/cejo/services/utils'
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe 'Utilities' do
|
6
|
+
let(:utils) { Cejo::Services::Utils.new }
|
7
|
+
context "What about the Commands?" do
|
8
|
+
# it "it does have some command config available!" do
|
9
|
+
# folder = commands.folder
|
10
|
+
# expect(folder.empty?).not_to eq true
|
11
|
+
# end
|
12
|
+
|
13
|
+
# it "it has symbols as packagers names!" do
|
14
|
+
# packagers = utils.parse_folder
|
15
|
+
# expect(packagers[0].class).to eq(Symbol)
|
16
|
+
# end
|
17
|
+
end
|
18
|
+
end
|
data/test/test_cejo.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'cejo'
|
3
|
+
|
4
|
+
class CejoTest < Test::Unit::TestCase
|
5
|
+
def test_english_hello
|
6
|
+
assert_equal "hello world", Cejo.hi("english")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_any_hello
|
10
|
+
assert_equal "hello world", Cejo.hi("ruby")
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_spanish_hello
|
14
|
+
assert_equal "cejo mundo", Cejo.hi("spanish")
|
15
|
+
end
|
16
|
+
end
|
data/test/test_floss.rb
ADDED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'test/unit'
|
4
|
+
|
5
|
+
require 'cejo/ops/floss'
|
6
|
+
require 'cejo/services/configure_services'
|
7
|
+
|
8
|
+
# Test Oss
|
9
|
+
class FlossTest < Test::Unit::TestCase
|
10
|
+
def setup
|
11
|
+
@services = ConfigureServices.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_get
|
15
|
+
floss = Floss.new(@services, 'get')
|
16
|
+
floss.ARCHIVE_THESE
|
17
|
+
end
|
18
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,468 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cejo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- EAS Barbosa
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dry-auto_inject
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: dry-container
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: git
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: tty-spinner
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: coderay
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: gem-man
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: gli
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: minitest
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rake
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rdoc
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: reek
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: ronn
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rspec
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rubocop
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rufo
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: shoulda
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: solargraph
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: sorbet
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
description: |
|
294
|
+
[Cejo]
|
295
|
+
Miscellaneous Unix automation and services utilities
|
296
|
+
|
297
|
+
[Sections]
|
298
|
+
[Ops]
|
299
|
+
Bundle of automation tasks
|
300
|
+
|
301
|
+
[Media]
|
302
|
+
Management of media
|
303
|
+
|
304
|
+
[Projects]
|
305
|
+
Instructions to install FLOSS Project
|
306
|
+
|
307
|
+
[Distro]
|
308
|
+
A one-do-it-all package porcelain for most use Distro Linux package managers
|
309
|
+
|
310
|
+
[Install]
|
311
|
+
[rubygems]
|
312
|
+
gem install cejo
|
313
|
+
|
314
|
+
[local]
|
315
|
+
rake
|
316
|
+
|
317
|
+
[Why Cejo?]
|
318
|
+
Named after my grandparents: Celina & Joseph
|
319
|
+
|
320
|
+
[License]
|
321
|
+
GPL version 3
|
322
|
+
email: easbarbosa@tutanota.com
|
323
|
+
executables:
|
324
|
+
- cejo
|
325
|
+
extensions: []
|
326
|
+
extra_rdoc_files:
|
327
|
+
- README.rdoc
|
328
|
+
- cejo.rdoc
|
329
|
+
files:
|
330
|
+
- ".gitignore"
|
331
|
+
- ".rspec"
|
332
|
+
- ".rubocop.yml"
|
333
|
+
- ".rufo"
|
334
|
+
- ".travis.yml"
|
335
|
+
- CODE_OF_CONDUCT.md
|
336
|
+
- Gemfile
|
337
|
+
- INSTALL
|
338
|
+
- LICENSE
|
339
|
+
- README.org
|
340
|
+
- README.rdoc
|
341
|
+
- Rakefile
|
342
|
+
- annotations/legacy.org
|
343
|
+
- annotations/todo.org
|
344
|
+
- bin/console
|
345
|
+
- bin/setup
|
346
|
+
- cejo.gemspec
|
347
|
+
- cejo.rdoc
|
348
|
+
- exe/cejo
|
349
|
+
- lib/cejo.rb
|
350
|
+
- lib/cejo/distro/base.rb
|
351
|
+
- lib/cejo/distro/commands.rb
|
352
|
+
- lib/cejo/distro/current_packager.rb
|
353
|
+
- lib/cejo/distro/help.rb
|
354
|
+
- lib/cejo/distro/need.rb
|
355
|
+
- lib/cejo/distro/parsed_commands.rb
|
356
|
+
- lib/cejo/distro/translate_action.rb
|
357
|
+
- lib/cejo/floss/archive.rb
|
358
|
+
- lib/cejo/floss/core.rb
|
359
|
+
- lib/cejo/floss/grab.rb
|
360
|
+
- lib/cejo/floss/project_info.rb
|
361
|
+
- lib/cejo/media/get.rb
|
362
|
+
- lib/cejo/media/play.rb
|
363
|
+
- lib/cejo/ops/brightness.rb
|
364
|
+
- lib/cejo/ops/dots.rb
|
365
|
+
- lib/cejo/ops/homey.rb
|
366
|
+
- lib/cejo/ops/screenshot.rb
|
367
|
+
- lib/cejo/ops/sysinfo.rb
|
368
|
+
- lib/cejo/ops/volume/sound_manager.rb
|
369
|
+
- lib/cejo/ops/volume/volume.rb
|
370
|
+
- lib/cejo/projects/builder.rb
|
371
|
+
- lib/cejo/projects/dwm.rb
|
372
|
+
- lib/cejo/projects/emacs.rb
|
373
|
+
- lib/cejo/projects/ruby.rb
|
374
|
+
- lib/cejo/projects/st.rb
|
375
|
+
- lib/cejo/services/folders.rb
|
376
|
+
- lib/cejo/services/utils.rb
|
377
|
+
- lib/cejo/version.rb
|
378
|
+
- lib/tasks/list.rake
|
379
|
+
- lib/tasks/man.rake
|
380
|
+
- lib/tasks/spec.rake
|
381
|
+
- lib/tasks/test.rake
|
382
|
+
- man/cejo.1.ronn
|
383
|
+
- spec/distro/action_spec.rb
|
384
|
+
- spec/distro/base_spec.rb
|
385
|
+
- spec/distro/commands_spec.rb
|
386
|
+
- spec/distro/current_packager_spec.rb
|
387
|
+
- spec/distro/need_spec.rb
|
388
|
+
- spec/floss/archive_spec.rb
|
389
|
+
- spec/floss/core_spec.rb
|
390
|
+
- spec/floss/grab_spec.rb
|
391
|
+
- spec/media/get_spec.rb
|
392
|
+
- spec/media/play_spec.rb
|
393
|
+
- spec/ops/ops_brightness_spec.rb
|
394
|
+
- spec/ops/ops_volume_spec.rb
|
395
|
+
- spec/spec_helper.rb
|
396
|
+
- spec/utils_spec.rb
|
397
|
+
- test/test_cejo.rb
|
398
|
+
- test/test_distro_base.rb
|
399
|
+
- test/test_floss.rb
|
400
|
+
- test/test_media_get.rb
|
401
|
+
- test/test_media_play.rb
|
402
|
+
- test/test_ops_brightness.rb
|
403
|
+
- test/test_ops_dots.rb
|
404
|
+
- test/test_ops_homer.rb
|
405
|
+
- test/test_ops_oss.rb
|
406
|
+
- test/test_ops_screenshot.rb
|
407
|
+
- test/test_ops_sysinfo.rb
|
408
|
+
- test/test_ops_volume.rb
|
409
|
+
- test/test_projects_builder.rb
|
410
|
+
- test/test_projects_emacs.rb
|
411
|
+
homepage: https://git.sr.ht/~easbarbosa/cejo
|
412
|
+
licenses:
|
413
|
+
- GPL-3.0
|
414
|
+
metadata:
|
415
|
+
homepage_uri: https://git.sr.ht/~easbarbosa/cejo
|
416
|
+
post_install_message:
|
417
|
+
rdoc_options:
|
418
|
+
- "--title"
|
419
|
+
- cejo
|
420
|
+
- "--main"
|
421
|
+
- README.rdoc
|
422
|
+
- "-ri"
|
423
|
+
require_paths:
|
424
|
+
- lib
|
425
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
426
|
+
requirements:
|
427
|
+
- - ">="
|
428
|
+
- !ruby/object:Gem::Version
|
429
|
+
version: 3.0.0
|
430
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
431
|
+
requirements:
|
432
|
+
- - ">="
|
433
|
+
- !ruby/object:Gem::Version
|
434
|
+
version: '0'
|
435
|
+
requirements: []
|
436
|
+
rubygems_version: 3.2.3
|
437
|
+
signing_key:
|
438
|
+
specification_version: 4
|
439
|
+
summary: Debian automation and services utilities.
|
440
|
+
test_files:
|
441
|
+
- spec/distro/action_spec.rb
|
442
|
+
- spec/distro/base_spec.rb
|
443
|
+
- spec/distro/commands_spec.rb
|
444
|
+
- spec/distro/current_packager_spec.rb
|
445
|
+
- spec/distro/need_spec.rb
|
446
|
+
- spec/floss/archive_spec.rb
|
447
|
+
- spec/floss/core_spec.rb
|
448
|
+
- spec/floss/grab_spec.rb
|
449
|
+
- spec/media/get_spec.rb
|
450
|
+
- spec/media/play_spec.rb
|
451
|
+
- spec/ops/ops_brightness_spec.rb
|
452
|
+
- spec/ops/ops_volume_spec.rb
|
453
|
+
- spec/spec_helper.rb
|
454
|
+
- spec/utils_spec.rb
|
455
|
+
- test/test_cejo.rb
|
456
|
+
- test/test_distro_base.rb
|
457
|
+
- test/test_floss.rb
|
458
|
+
- test/test_media_get.rb
|
459
|
+
- test/test_media_play.rb
|
460
|
+
- test/test_ops_brightness.rb
|
461
|
+
- test/test_ops_dots.rb
|
462
|
+
- test/test_ops_homer.rb
|
463
|
+
- test/test_ops_oss.rb
|
464
|
+
- test/test_ops_screenshot.rb
|
465
|
+
- test/test_ops_sysinfo.rb
|
466
|
+
- test/test_ops_volume.rb
|
467
|
+
- test/test_projects_builder.rb
|
468
|
+
- test/test_projects_emacs.rb
|