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
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'https://rubygems.org'
source "https://rubygems.org"

gemspec
4 changes: 2 additions & 2 deletions init.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
require_relative './load_path'
require_relative "./load_path"

require 'invocation'
require "invocation"
22 changes: 11 additions & 11 deletions invocation.gemspec
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-invocation'
s.name = "evt-invocation"
s.summary = "Extract information about a method's invocation including the method name, parameter names, and parameter values"
s.version = '2.2.0.0'
s.description = ' '
s.version = "2.2.0.0"
s.description = " "

s.authors = ['The Eventide Project']
s.email = 'opensource@eventide-project.org'
s.homepage = 'https://github.com/eventide-project/invocation'
s.licenses = ['MIT']
s.authors = ["The Eventide Project"]
s.email = "opensource@eventide-project.org"
s.homepage = "https://github.com/eventide-project/invocation"
s.licenses = ["MIT"]

s.require_paths = ['lib']
s.files = Dir.glob('{lib}/**/*')
s.require_paths = ["lib"]
s.files = Dir.glob("{lib}/**/*")
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.4'
s.required_ruby_version = ">= 2.4"

s.add_development_dependency 'test_bench'
s.add_development_dependency "test_bench"
end
2 changes: 1 addition & 1 deletion lib/invocation.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require 'invocation/invocation'
require "invocation/invocation"
4 changes: 2 additions & 2 deletions lib/invocation/controls.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require 'invocation/controls/no_parameters'
require 'invocation/controls/mixed_parameters'
require "invocation/controls/no_parameters"
require "invocation/controls/mixed_parameters"
6 changes: 3 additions & 3 deletions load_path.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bundler_standalone_loader = 'gems/bundler/setup'
bundler_standalone_loader = "gems/bundler/setup"

begin
require_relative bundler_standalone_loader
Expand All @@ -8,10 +8,10 @@
Bundler.require
end

lib_dir = File.expand_path('lib', __dir__)
lib_dir = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)

libraries_dir = ENV['LIBRARIES_HOME']
libraries_dir = ENV["LIBRARIES_HOME"]
unless libraries_dir.nil?
libraries_dir = File.expand_path(libraries_dir)
$LOAD_PATH.unshift libraries_dir unless $LOAD_PATH.include?(libraries_dir)
Expand Down
6 changes: 3 additions & 3 deletions test/automated.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require_relative './test_init'
require_relative "./test_init"

TestBench::Run.(
'test/automated',
exclude: '{_*,*sketch*,*_init,*_tests}.rb'
"test/automated",
exclude: "{_*,*sketch*,*_init,*_tests}.rb"
) or exit(false)
2 changes: 1 addition & 1 deletion test/automated/automated_init.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require_relative '../test_init'
require_relative "../test_init"
2 changes: 1 addition & 1 deletion test/automated/mixed_parameters.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative 'automated_init'
require_relative "automated_init"

context "Mixed Parameters" do
control_block = proc { }
Expand Down
2 changes: 1 addition & 1 deletion test/automated/no_arguments.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative 'automated_init'
require_relative "automated_init"

context "No Arguments" do
invocation = Invocation::Controls::NoParameters.example
Expand Down
10 changes: 5 additions & 5 deletions test/test_init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

puts RUBY_DESCRIPTION

require_relative '../init.rb'
require_relative "../init.rb"

require 'test_bench'; TestBench.activate
require 'pp'
require 'securerandom'
require "test_bench"; TestBench.activate
require "pp"
require "securerandom"

require 'invocation/controls'
require "invocation/controls"