diff --git a/lib/progressbar.rb b/lib/progressbar.rb deleted file mode 100644 index 08f3792..0000000 --- a/lib/progressbar.rb +++ /dev/null @@ -1,12 +0,0 @@ -# frozen_string_literal: true - -require 'ruby-progressbar/base' -require 'ruby-progressbar/refinements' if Module. - private_instance_methods. - include?(:using) - -class ProgressBar - def self.create(*args) - ProgressBar::Base.new(*args) - end -end diff --git a/lib/progressbar.rb b/lib/progressbar.rb new file mode 120000 index 0000000..8b6c57d --- /dev/null +++ b/lib/progressbar.rb @@ -0,0 +1 @@ +ruby-progressbar.rb \ No newline at end of file diff --git a/progressbar.gemspec b/progressbar.gemspec index c8fee06..10f1ad6 100644 --- a/progressbar.gemspec +++ b/progressbar.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.signing_key = File.expand_path('~/.gem/certs/jfelchner-private_key.pem') if $0 =~ /gem\z/ spec.executables = [] - spec.files = Dir['{app,config,db,lib/ruby-progressbar}/**/*'] + %w{lib/progressbar.rb Rakefile README.md LICENSE.txt} + spec.files = Dir['{app,config,db,lib/ruby-progressbar}/**/*'] + %w{lib/progressbar.rb lib/ruby-progressbar.rb Rakefile README.md LICENSE.txt} spec.metadata = { 'bug_tracker_uri' => 'https://github.com/jfelchner/ruby-progressbar/issues', diff --git a/ruby-progressbar.gemspec b/ruby-progressbar.gemspec index 5a2fd4a..5a08fc7 100644 --- a/ruby-progressbar.gemspec +++ b/ruby-progressbar.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.signing_key = File.expand_path('~/.gem/certs/jfelchner-private_key.pem') if $0 =~ /gem\z/ spec.executables = [] - spec.files = Dir['{app,config,db,lib/ruby-progressbar}/**/*'] + %w{lib/ruby-progressbar.rb Rakefile README.md LICENSE.txt} + spec.files = Dir['{app,config,db,lib/ruby-progressbar}/**/*'] + %w{lib/progressbar.rb lib/ruby-progressbar.rb Rakefile README.md LICENSE.txt} spec.metadata = { 'bug_tracker_uri' => 'https://github.com/jfelchner/ruby-progressbar/issues',