Fingertips-request_stubber 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 0
4
+ :patch: 1
@@ -1,7 +1,8 @@
1
1
  # Allows you to stub a request by either delaying the request time,
2
2
  # returning a specific response code, or a combination of both.
3
3
  #
4
- # Note that the RequestStubber module is only mixed-in in development mode.
4
+ # Note that the RequestStubber module should normally only be used in
5
+ # development mode.
5
6
  module RequestStubber
6
7
  # Delays the process time of the request, by n seconds.
7
8
  #
data/rails/init.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'request_stubber'
2
+ ActionController::Base.send :extend, RequestStubber
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Fingertips-request_stubber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -25,6 +25,7 @@ files:
25
25
  - Rakefile
26
26
  - VERSION.yml
27
27
  - lib/request_stubber.rb
28
+ - rails/init.rb
28
29
  - test/request_stubber_test.rb
29
30
  - README
30
31
  has_rdoc: true