mock_server 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mock_server/playback.rb +1 -1
  2. metadata +62 -35
@@ -55,7 +55,7 @@ module MockServer
55
55
  request = Hashie::Mash.new hashified_request
56
56
 
57
57
  # Filter out data records by path and method
58
- @data.select! { |record|
58
+ @data = @data.select { |record|
59
59
  record[:request][:path] == request[:path] and record[:request][:method] == request[:method]
60
60
  }
61
61
 
metadata CHANGED
@@ -1,45 +1,61 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mock_server
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 17
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 3
10
+ version: 0.2.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Charles Barbier
9
14
  - Saimon Moore
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2011-11-21 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2011-11-22 00:00:00 +01:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
16
23
  name: rack
17
- requirement: &70337703392860 !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
18
26
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
23
34
  type: :runtime
24
- prerelease: false
25
- version_requirements: *70337703392860
26
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
27
37
  name: hashie
28
- requirement: &70337703391880 !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
29
40
  none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
34
48
  type: :runtime
35
- prerelease: false
36
- version_requirements: *70337703391880
49
+ version_requirements: *id002
37
50
  description:
38
51
  email: unixcharles@gmail.com
39
52
  executables: []
53
+
40
54
  extensions: []
55
+
41
56
  extra_rdoc_files: []
42
- files:
57
+
58
+ files:
43
59
  - README.md
44
60
  - LICENSE
45
61
  - lib/mock_server.rb
@@ -49,28 +65,39 @@ files:
49
65
  - lib/mock_server/state.rb
50
66
  - lib/mock_server/store/global.rb
51
67
  - lib/mock_server/spec/helpers.rb
68
+ has_rdoc: true
52
69
  homepage: http://www.github.com/unixcharles/mock_server
53
70
  licenses: []
71
+
54
72
  post_install_message:
55
73
  rdoc_options: []
56
- require_paths:
74
+
75
+ require_paths:
57
76
  - lib
58
- required_ruby_version: !ruby/object:Gem::Requirement
77
+ required_ruby_version: !ruby/object:Gem::Requirement
59
78
  none: false
60
- requirements:
61
- - - ! '>='
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- required_rubygems_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ hash: 3
83
+ segments:
84
+ - 0
85
+ version: "0"
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
87
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ hash: 3
92
+ segments:
93
+ - 0
94
+ version: "0"
70
95
  requirements: []
96
+
71
97
  rubyforge_project:
72
- rubygems_version: 1.8.10
98
+ rubygems_version: 1.6.2
73
99
  signing_key:
74
100
  specification_version: 3
75
101
  summary: Mock you're entire application
76
102
  test_files: []
103
+