-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ec1a94
commit 0e5baea
Showing
14 changed files
with
175 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
task :default => :spec | ||
task default: :spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
|
||
module RSpec | ||
module Sorbet | ||
VERSION = '1.9.1' | ||
VERSION = "1.9.1" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
lib = File.expand_path('lib', __dir__) | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path("lib", __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
|
||
require 'rspec/sorbet/version' | ||
require "rspec/sorbet/version" | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'rspec-sorbet' | ||
spec.name = "rspec-sorbet" | ||
spec.version = RSpec::Sorbet::VERSION | ||
spec.authors = ['Samuel Giles'] | ||
spec.email = ['[email protected]'] | ||
spec.authors = ["Samuel Giles"] | ||
spec.email = ["[email protected]"] | ||
|
||
spec.summary = 'A small gem consisting of helpers for using Sorbet & RSpec together.' | ||
spec.homepage = 'https://github.com/tricycle/rspec-sorbet' | ||
spec.license = 'MIT' | ||
spec.summary = "A small gem consisting of helpers for using Sorbet & RSpec together." | ||
spec.homepage = "https://github.com/tricycle/rspec-sorbet" | ||
spec.license = "MIT" | ||
|
||
# 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 = `git ls-files -z`.split("\x0").reject do |f| | ||
spec.files = %x(git ls-files -z).split("\x0").reject do |f| | ||
f.match(%r{^(sorbet|spec)/}) && !f.match(%r{^spec/support/factories/}) | ||
end | ||
spec.bindir = 'exe' | ||
spec.bindir = "exe" | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ['lib'] | ||
spec.require_paths = ["lib"] | ||
|
||
spec.add_dependency 'sorbet-runtime' | ||
spec.add_dependency("sorbet-runtime") | ||
|
||
spec.add_development_dependency 'bundler' | ||
spec.add_development_dependency 'pry' | ||
spec.add_development_dependency 'rake', '>= 13.0' | ||
spec.add_development_dependency 'rspec', '>= 3.0' | ||
spec.add_development_dependency 'sorbet' | ||
spec.add_development_dependency("bundler") | ||
spec.add_development_dependency("pry") | ||
spec.add_development_dependency("rake", ">= 13.0") | ||
spec.add_development_dependency("rspec", ">= 3.0") | ||
spec.add_development_dependency("sorbet") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require 'rspec/sorbet/version' | ||
require "rspec/sorbet/version" | ||
|
||
module RSpec | ||
describe Sorbet do | ||
it 'has a version number' do | ||
expect(described_class::VERSION).not_to be nil | ||
it "has a version number" do | ||
expect(described_class::VERSION).not_to(be(nil)) | ||
end | ||
end | ||
end |
Oops, something went wrong.