Fingertips-request_stubber 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/request_stubber.rb +2 -1
- data/rails/init.rb +2 -0
- metadata +2 -1
data/VERSION.yml
CHANGED
data/lib/request_stubber.rb
CHANGED
@@ -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
|
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
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.
|
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
|