-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsolle.gemspec
More file actions
40 lines (33 loc) · 1.66 KB
/
Copy pathconsolle.gemspec
File metadata and controls
40 lines (33 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# frozen_string_literal: true
require_relative 'lib/consolle/version'
Gem::Specification.new do |spec|
spec.name = 'consolle'
spec.version = Consolle::VERSION
spec.authors = ['nacyot']
spec.email = ['propellerheaven@gmail.com']
spec.summary = 'PTY-based Rails console management library'
spec.description = 'Consolle is a library that manages Rails console through PTY (Pseudo-Terminal). Moving away from the traditional eval-based execution method, it manages the actual Rails console process as a subprocess to provide a more stable and secure execution environment.'
spec.homepage = 'https://github.com/nacyot/consolle'
spec.required_ruby_version = '>= 3.1.0'
spec.license = 'MIT'
spec.metadata = {
'homepage_uri' => spec.homepage,
'source_code_uri' => 'https://github.com/nacyot/consolle',
'changelog_uri' => 'https://github.com/nacyot/consolle/blob/main/CHANGELOG.md',
'bug_tracker_uri' => 'https://github.com/nacyot/consolle/issues',
'rubygems_mfa_required' => 'true'
}
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
end
spec.bindir = 'bin'
spec.executables = spec.files.grep(%r{\Abin/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
# Runtime dependencies
spec.add_dependency 'logger', '~> 1.0'
spec.add_dependency 'thor', '~> 1.0'
# Development dependencies
spec.add_development_dependency 'rspec', '~> 3.0'
end