Skip to content

Commit

Permalink
Files in lib/mspec/commands are not executables
Browse files Browse the repository at this point in the history
There are wrappers for the commands in bin. Remove the executable file
permission, the shebang and the load path modifications.
  • Loading branch information
herwinw authored and eregon committed Jan 8, 2025
1 parent 1520113 commit 0aabb3e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions lib/mspec/commands/mkspec.rb
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env ruby

require 'rbconfig'
require 'mspec/version'
require 'mspec/utils/options'
Expand Down
4 changes: 0 additions & 4 deletions lib/mspec/commands/mspec-ci.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/usr/bin/env ruby

$:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

require 'mspec/version'
require 'mspec/utils/options'
require 'mspec/utils/script'
Expand Down
4 changes: 0 additions & 4 deletions lib/mspec/commands/mspec-run.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/usr/bin/env ruby

$:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

require 'mspec/version'
require 'mspec/utils/options'
require 'mspec/utils/script'
Expand Down
2 changes: 0 additions & 2 deletions lib/mspec/commands/mspec-tag.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env ruby

require 'mspec/version'
require 'mspec/utils/options'
require 'mspec/utils/script'
Expand Down
2 changes: 0 additions & 2 deletions lib/mspec/commands/mspec.rb
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env ruby

require 'mspec/version'
require 'mspec/utils/options'
require 'mspec/utils/script'
Expand Down

0 comments on commit 0aabb3e

Please sign in to comment.