fakettp 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +9 -1
  2. data/VERSION +1 -1
  3. data/lib/fakettp/config.ru +3 -5
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -3,7 +3,7 @@
3
3
  == Purpose
4
4
 
5
5
  When you are writing acceptance/integration tests for an application which
6
- makes HTTP requests to a remote application, sometimes you need to be able
6
+ makes HTTP requests to a remote service, sometimes you need to be able
7
7
  to test the interactions in different scenarios without talking to a real
8
8
  instance of the remote application.
9
9
 
@@ -13,6 +13,14 @@ return suitable responses to those requests).
13
13
 
14
14
  == Installation
15
15
 
16
+ === Dependencies
17
+
18
+ FakeTTP uses Sqlite3 by default (although it's possible to use another
19
+ database by editing <tt>fakettp.yml</tt> after installation).
20
+
21
+ It also depends on the <tt>sqlite3-ruby</tt>, <tt>activerecord</tt> and
22
+ <tt>sinatra</tt> gems, which will be installed automatically if necessary.
23
+
16
24
  === Install the gem
17
25
 
18
26
  Add GemCutter as a gem source (you only need to do this once):
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -1,11 +1,9 @@
1
1
  require 'rubygems'
2
2
  require 'sinatra'
3
3
 
4
- Sinatra::Application.default_options.merge!(
5
- :run => false,
6
- :env => :production,
7
- :raise_errors => true
8
- )
4
+ Sinatra::Default.set :run, false
5
+ Sinatra::Default.set :environment, :production
6
+ Sinatra::Default.set :raise_errors, true
9
7
 
10
8
  log = File.new("fakettp.log", "a")
11
9
  STDOUT.reopen(log)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fakettp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kerry Buckley
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-02 00:00:00 +00:00
12
+ date: 2009-11-03 00:00:00 +00:00
13
13
  default_executable: fakettp
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency