Skip to content
This repository was archived by the owner on Feb 20, 2022. It is now read-only.
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 .ruby-version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2.1.2
2.6.5
#2.1.2
#2.0.0-p195
#1.9.3-p194
Expand Down
4 changes: 3 additions & 1 deletion example/try_me.ru
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ class MyLogger < Logger
alias :write :<<
end

use Rack::CommonLogger, logger = MyLogger.new('/tmp/synfeld.log')
use ::Rack::CommonLogger, logger = MyLogger.new('/tmp/synfeld.log')
#use Rack::Reloader, 0

try_me = TryMe.new(
:logger => logger,
:root_dir => File.expand_path(
File.join(File.dirname(__FILE__), 'public')))

# Run with something like:
# thin start -R example/try_me.ru
run try_me.as_rack_app
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

require File.expand_path(
File.join(File.dirname(__FILE__), %w[.. lib synfeld]))
File.join(File.dirname(__FILE__), %w[.. lib synfeld]))

Spec::Runner.configure do |config|
RSpec.configure do |config|
# == Mock Framework
#
# RSpec uses it's own mocking framework by default. If you prefer to
Expand Down
6 changes: 3 additions & 3 deletions synfeld.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = "synfeld"
s.version = "0.0.7"
s.version = "0.0.8"
s.platform = Gem::Platform::RUBY
s.authors = ["Steven Swerling"]
s.email = "sswerling@yahoo.com"
Expand Down Expand Up @@ -44,10 +44,10 @@ code below, you have to look at the template file
s.require_paths = ["lib"]
s.test_files = ["test/test_synfeld.rb"]

#s.add_development_dependency "rake"
s.add_development_dependency "rspec"

# Cant seem to get bundler to work if I add these 2:
s.add_dependency 'rack', '~> 1.4.1'
s.add_dependency 'rack', '~> 2.0.7'
s.add_dependency 'rack-mount', '~> 0.8.3'
s.add_dependency 'haml', '~> 3.1.6'

Expand Down