Permalink
Browse files

General tidy.

  • Loading branch information...
1 parent 0fa96d0 commit 26837379cc8bf2832125aeeafdab87128cc9d71a @marckysharky marckysharky committed Oct 7, 2012
Showing with 7 additions and 12 deletions.
  1. +1 −1 Guardfile
  2. +1 −1 README.md
  3. +1 −1 Rakefile
  4. +1 −1 lib/fozzie/version.rb
  5. +0 −1 spec/lib/fozzie/rack/middleware_spec.rb
  6. +0 −3 spec/lib/fozzie/sniff_spec.rb
  7. +0 −1 spec/lib/fozzie_spec.rb
  8. +3 −3 spec/spec_helper.rb
View
2 Guardfile
@@ -1,7 +1,7 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
-guard 'rspec', :cli => "--color --order random" do
+guard 'rspec', :cli => "--color" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
View
2 README.md
@@ -210,7 +210,7 @@ To time and register the controller actions within your Rack and Rails applicati
``` ruby
require 'rack'
-require 'fozzie'
+require 'fozzie/rack/middleware'
app = Rack::Builder.new {
use Fozzie::Rack::Middleware
View
2 Rakefile
@@ -4,4 +4,4 @@ Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+task :default => :spec
View
2 lib/fozzie/version.rb
@@ -1,3 +1,3 @@
module Fozzie
- VERSION = "0.0.27"
+ VERSION = "1.0.0"
end
View
1 spec/lib/fozzie/rack/middleware_spec.rb
@@ -1,7 +1,6 @@
require 'spec_helper'
require 'fozzie/rack/middleware'
-
describe Fozzie::Rack::Middleware do
subject do
View
3 spec/lib/fozzie/sniff_spec.rb
@@ -88,7 +88,6 @@ def self.class_method_yielding_to_block
it "yields to a block when given" do
subject.class_method_yielding_to_block {|val| val }.should eq :retval_from_block
end
-
end
context 'instance methods' do
@@ -128,7 +127,5 @@ def self.class_method_yielding_to_block
it "yields to a block when given" do
subject.method_yielding_to_block {|val| val }.should eq :retval_from_block
end
-
end
-
end
View
1 spec/lib/fozzie_spec.rb
@@ -36,5 +36,4 @@
Kernel.const_defined?(k).should == true
end
end
-
end
View
6 spec/spec_helper.rb
@@ -13,7 +13,6 @@
module Fozzie
class Adapter::TestAdapter
def register(*params); end
-
def delimeter; ""; end
def safe_separator; ""; end
end
@@ -25,5 +24,6 @@ def safe_separator; ""; end
config.adapter = "TestAdapter"
end
-
-
+RSpec.configure do |config|
+ config.order = :random
+end

0 comments on commit 2683737

Please sign in to comment.