Skip to content

Commit

Permalink
Merge pull request #617 from standardrb/restore-to-1.35.1-state
Browse files Browse the repository at this point in the history
Restores to the state at tag v1.35.1
  • Loading branch information
camilopayan committed Mar 12, 2024
2 parents 67f82bd + 9f45192 commit a90b60f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 55 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PATH
remote: .
specs:
standard (1.35.0.1)
standard (1.35.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.62)
rubocop (~> 1.62.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.3)

Expand Down
5 changes: 2 additions & 3 deletions lib/standard/cli.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require_relative "builds_config"
require_relative "loads_runner"
require_relative "prints_big_hairy_version_warning"

module Standard
class Cli
Expand All @@ -11,8 +10,8 @@ def initialize(argv)
end

def run
PrintsBigHairyVersionWarning.new.call
exit 1
config = @builds_config.call(@argv)
@loads_runner.call(config.runner).call(config).to_i
end
end
end
45 changes: 0 additions & 45 deletions lib/standard/prints_big_hairy_version_warning.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/standard/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Standard
VERSION = Gem::Version.new("1.35.0.1")
VERSION = Gem::Version.new("1.35.1")
end
5 changes: 1 addition & 4 deletions standard.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "standard/version"
require "standard/prints_big_hairy_version_warning"

Gem::Specification.new do |spec|
spec.name = "standard"
Expand All @@ -24,14 +23,12 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"

spec.add_dependency "rubocop", "~> 1.62"
spec.add_dependency "rubocop", "~> 1.62.0"

spec.add_dependency "lint_roller", "~> 1.0"
spec.add_dependency "standard-custom", "~> 1.0.0"
spec.add_dependency "standard-performance", "~> 1.3"

spec.post_install_message = Standard::PrintsBigHairyVersionWarning::WARNING

# not semver: first three are lsp protocol version, last is patch
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
end

0 comments on commit a90b60f

Please sign in to comment.