sergeant 1.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/sergeant.gemspec ADDED
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/sergeant/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'sergeant'
7
+ spec.version = Sergeant::VERSION
8
+ spec.authors = ['Mateusz Grotha']
9
+ spec.email = ['matgrotha@gmail.com']
10
+
11
+ spec.summary = 'Interactive TUI Directory Navigator for Terminal'
12
+ spec.description = 'Sergeant (sgt) is an interactive terminal user interface (TUI) for navigating directories and managing files. Navigate with arrow keys, preview files, copy, move, and organize - all from your terminal.'
13
+ spec.homepage = 'https://github.com/biscoitinho/Sergeant'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 2.7.0'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = 'https://github.com/biscoitinho/Sergeant'
19
+ spec.metadata['changelog_uri'] = 'https://github.com/biscoitinho/Sergeant/blob/main/CHANGELOG.md'
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ f.match(%r{\A(?:test|spec|features)/}) ||
26
+ f.match(%r{\A\.}) ||
27
+ f == 'build.rb' ||
28
+ f == 'install.sh' ||
29
+ f == 'sgt.rb'
30
+ end
31
+ end
32
+
33
+ spec.bindir = 'bin'
34
+ spec.executables = ['sgt']
35
+ spec.require_paths = ['lib']
36
+
37
+ # Runtime dependencies
38
+ spec.add_dependency 'curses', '~> 1.4'
39
+
40
+ # Development dependencies
41
+ spec.add_development_dependency 'rspec', '~> 3.13'
42
+ spec.add_development_dependency 'rubocop', '~> 1.81'
43
+ end
metadata ADDED
@@ -0,0 +1,108 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sergeant
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Mateusz Grotha
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: curses
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '1.4'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '1.4'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rspec
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.13'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.13'
40
+ - !ruby/object:Gem::Dependency
41
+ name: rubocop
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.81'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.81'
54
+ description: Sergeant (sgt) is an interactive terminal user interface (TUI) for navigating
55
+ directories and managing files. Navigate with arrow keys, preview files, copy, move,
56
+ and organize - all from your terminal.
57
+ email:
58
+ - matgrotha@gmail.com
59
+ executables:
60
+ - sgt
61
+ extensions: []
62
+ extra_rdoc_files: []
63
+ files:
64
+ - CHANGELOG.md
65
+ - Gemfile
66
+ - LICENSE
67
+ - README.md
68
+ - bin/sgt
69
+ - lib/.DS_Store
70
+ - lib/sergeant.rb
71
+ - lib/sergeant/.DS_Store
72
+ - lib/sergeant/config.rb
73
+ - lib/sergeant/modals.rb
74
+ - lib/sergeant/modals/.DS_Store
75
+ - lib/sergeant/modals/dialogs.rb
76
+ - lib/sergeant/modals/file_operations.rb
77
+ - lib/sergeant/modals/help.rb
78
+ - lib/sergeant/modals/navigation.rb
79
+ - lib/sergeant/rendering.rb
80
+ - lib/sergeant/utils.rb
81
+ - lib/sergeant/version.rb
82
+ - logo.svg
83
+ - sergeant.gemspec
84
+ homepage: https://github.com/biscoitinho/Sergeant
85
+ licenses:
86
+ - MIT
87
+ metadata:
88
+ homepage_uri: https://github.com/biscoitinho/Sergeant
89
+ source_code_uri: https://github.com/biscoitinho/Sergeant
90
+ changelog_uri: https://github.com/biscoitinho/Sergeant/blob/main/CHANGELOG.md
91
+ rdoc_options: []
92
+ require_paths:
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: 2.7.0
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ requirements: []
105
+ rubygems_version: 4.0.3
106
+ specification_version: 4
107
+ summary: Interactive TUI Directory Navigator for Terminal
108
+ test_files: []