Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit cf3fd1f

Browse files
committed
Fix constant load error
1 parent c78c0af commit cf3fd1f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

betamax.gemspec

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Gem::Specification.new do |s|
1111
s.summary = %q{Stub results of shell commands for test purposes}
1212
s.description = %q{Stubs a set of shell commands and their return values using the backquote operator.}
1313

14-
s.rubyforge_project = "betamax"
15-
1614
s.files = `git ls-files`.split("\n")
1715
s.test_files = `git ls-files -- spec/*`.split("\n")
1816
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }

lib/betamax.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require 'betamax/test_helpers'
2-
31
module Betamax
42
class << self
53
attr_accessor :commands
@@ -8,6 +6,8 @@ class << self
86
self.commands = nil
97
end
108

9+
require 'betamax/test_helpers'
10+
1111
def `(cmd)
1212
cset = Betamax.commands.shift
1313

lib/betamax/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Betamax
2-
VERSION = "0.0.1"
2+
VERSION = "0.0.2"
33
end

0 commit comments

Comments
 (0)