Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PATH
remote: .
specs:
sekrets (1.10.0)
coerce (>= 0.0.3)
fattr (~> 2.2)
highline (~> 1.6)
main (~> 6.1)
map (~> 6.3)
sekrets (1.14.0)
coerce (~> 0.0.8)
fattr (~> 2.4)
main (~> 6.3)
map (~> 6.6)
openssl (~> 3.2)

GEM
remote: https://rubygems.org/
Expand All @@ -15,20 +15,26 @@ GEM
chronic (0.10.2)
coerce (0.0.8)
chronic (>= 0.6.2)
fattr (2.3.0)
highline (1.7.8)
main (6.2.2)
arrayfields (~> 4.7, >= 4.7.4)
chronic (~> 0.6, >= 0.6.2)
fattr (~> 2.2, >= 2.2.0)
map (~> 6.1, >= 6.1.0)
fattr (2.4.0)
main (6.3.0)
arrayfields (~> 4.9, >= 4.9.2)
chronic (~> 0.10, >= 0.10.2)
fattr (~> 2.4, >= 2.4.0)
map (~> 6.6, >= 6.6.0)
map (6.6.0)
openssl (3.2.0)
power_assert (2.0.4)
rake (13.2.1)
test-unit (3.6.2)
power_assert

PLATFORMS
ruby

DEPENDENCIES
rake (~> 13.2)
sekrets!
test-unit (~> 3.6)

BUNDLED WITH
1.14.6
2.5.23
5 changes: 2 additions & 3 deletions lib/sekrets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def Sekrets.prompt_for(*words)

#
def Sekrets.ask(question)
@highline ||= HighLine.new
@highline.ask(prompt_for(question))
print prompt_for(question)
gets.strip
end

#
Expand Down Expand Up @@ -383,7 +383,6 @@ def version
def dependencies
{
'openssl' => [ 'openssl' , ' ~> 3.2' ] ,
'highline' => [ 'highline' , ' ~> 1.7' ] ,
'map' => [ 'map' , ' ~> 6.6' ] ,
'fattr' => [ 'fattr' , ' ~> 2.4' ] ,
'coerce' => [ 'coerce' , ' ~> 0.0.8' ] ,
Expand Down
17 changes: 9 additions & 8 deletions sekrets.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,20 @@ Gem::Specification::new do |spec|

spec.test_files = nil


spec.add_dependency(*["openssl", " ~> 3.2"])

spec.add_dependency(*["highline", " ~> 1.7"])


spec.add_dependency(*["map", " ~> 6.6"])

spec.add_dependency(*["fattr", " ~> 2.4"])

spec.add_dependency(*["coerce", " ~> 0.0.8"])

spec.add_dependency(*["main", " ~> 6.3"])


spec.add_development_dependency(*["rake", " ~> 13.2"])

spec.add_development_dependency(*["test-unit", " ~> 3.6"])

spec.extensions.push(*[])

Expand Down