Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issues #43 & #44 - deprecated parameters #45

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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 lib/slacker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def render(template_name, options = {})

begin
sql_template_path_stack.push(File.dirname(template_file_path))
result = render_text(IO.read(template_file_path, {:mode => 'r:BOM|UTF-8'}), options)
result = render_text(IO.read(template_file_path, :mode => 'r:BOM|UTF-8'), options)
rescue => detail
# Report errors in the template
if detail.backtrace[0] =~ /^\(erb\)/
Expand Down
2 changes: 1 addition & 1 deletion lib/slacker/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Slacker
VERSION = "1.0.24"
VERSION = "1.0.25"
end
2 changes: 0 additions & 2 deletions slacker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Gem::Specification.new do |s|
s.description = %q{RSpec-based framework for developing automated tests for SQL Server}
s.license = 'MIT'

s.rubyforge_project = "slacker"

s.files = ['README.md', 'Rakefile', 'Gemfile', 'slacker.gemspec'] + Dir.glob("{bin,lib,spec}/**/*")
s.test_files = Dir.glob("spec/**/*")
s.executables = ['slacker', 'slacker_new']
Expand Down