interpol 0.10.3 → 0.10.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -195,7 +195,7 @@ module Interpol
195
195
  @message_type = message_type
196
196
  @status_codes = StatusCodeMatcher.new(definition['status_codes'])
197
197
  @version = version
198
- @schema = fetch_from(definition, 'schema')
198
+ @schema = Marshal.load(Marshal.dump fetch_from(definition, 'schema'))
199
199
  @path_params = definition.fetch('path_params', DEFAULT_PARAM_HASH.dup)
200
200
  @query_params = definition.fetch('query_params', DEFAULT_PARAM_HASH.dup)
201
201
  @examples = extract_examples_from(definition)
@@ -1,4 +1,4 @@
1
1
  module Interpol
2
- VERSION = "0.10.3"
2
+ VERSION = "0.10.4"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,176 +1,176 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interpol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.3
5
4
  prerelease:
5
+ version: 0.10.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Myron Marston
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-01 00:00:00.000000000 Z
12
+ date: 2013-08-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rack
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
15
+ version_requirements: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
20
  none: false
21
+ prerelease: false
22
+ name: rack
23
+ requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
25
  - - ! '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: '0'
28
+ none: false
29
+ type: :runtime
30
30
  - !ruby/object:Gem::Dependency
31
+ version_requirements: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: 1.1.1
36
+ none: false
37
+ prerelease: false
31
38
  name: json-schema
32
39
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
40
  requirements:
35
41
  - - ~>
36
42
  - !ruby/object:Gem::Version
37
43
  version: 1.1.1
44
+ none: false
38
45
  type: :runtime
39
- prerelease: false
46
+ - !ruby/object:Gem::Dependency
40
47
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
48
  requirements:
43
49
  - - ~>
44
50
  - !ruby/object:Gem::Version
45
- version: 1.1.1
46
- - !ruby/object:Gem::Dependency
51
+ version: '2.13'
52
+ none: false
53
+ prerelease: false
47
54
  name: rspec
48
55
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
56
  requirements:
51
57
  - - ~>
52
58
  - !ruby/object:Gem::Version
53
59
  version: '2.13'
60
+ none: false
54
61
  type: :development
55
- prerelease: false
62
+ - !ruby/object:Gem::Dependency
56
63
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
64
  requirements:
59
65
  - - ~>
60
66
  - !ruby/object:Gem::Version
61
- version: '2.13'
62
- - !ruby/object:Gem::Dependency
67
+ version: '1.2'
68
+ none: false
69
+ prerelease: false
63
70
  name: rspec-fire
64
71
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
72
  requirements:
67
73
  - - ~>
68
74
  - !ruby/object:Gem::Version
69
75
  version: '1.2'
76
+ none: false
70
77
  type: :development
71
- prerelease: false
78
+ - !ruby/object:Gem::Dependency
72
79
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
80
  requirements:
75
81
  - - ~>
76
82
  - !ruby/object:Gem::Version
77
- version: '1.2'
78
- - !ruby/object:Gem::Dependency
83
+ version: '0.6'
84
+ none: false
85
+ prerelease: false
79
86
  name: simplecov
80
87
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
88
  requirements:
83
89
  - - ~>
84
90
  - !ruby/object:Gem::Version
85
91
  version: '0.6'
92
+ none: false
86
93
  type: :development
87
- prerelease: false
94
+ - !ruby/object:Gem::Dependency
88
95
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
96
  requirements:
91
97
  - - ~>
92
98
  - !ruby/object:Gem::Version
93
- version: '0.6'
94
- - !ruby/object:Gem::Dependency
99
+ version: '0'
100
+ none: false
101
+ prerelease: false
95
102
  name: tailor
96
103
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
104
  requirements:
99
105
  - - ~>
100
106
  - !ruby/object:Gem::Version
101
107
  version: '0'
108
+ none: false
102
109
  type: :development
103
- prerelease: false
110
+ - !ruby/object:Gem::Dependency
104
111
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
112
  requirements:
107
113
  - - ~>
108
114
  - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
115
+ version: 0.9.2.2
116
+ none: false
117
+ prerelease: false
111
118
  name: rake
112
119
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
120
  requirements:
115
121
  - - ~>
116
122
  - !ruby/object:Gem::Version
117
123
  version: 0.9.2.2
124
+ none: false
118
125
  type: :development
119
- prerelease: false
126
+ - !ruby/object:Gem::Dependency
120
127
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
128
  requirements:
123
- - - ~>
129
+ - - '='
124
130
  - !ruby/object:Gem::Version
125
- version: 0.9.2.2
126
- - !ruby/object:Gem::Dependency
131
+ version: 0.6.1
132
+ none: false
133
+ prerelease: false
127
134
  name: rack-test
128
135
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
136
  requirements:
131
137
  - - '='
132
138
  - !ruby/object:Gem::Version
133
139
  version: 0.6.1
140
+ none: false
134
141
  type: :development
135
- prerelease: false
142
+ - !ruby/object:Gem::Dependency
136
143
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
144
  requirements:
139
- - - '='
145
+ - - ~>
140
146
  - !ruby/object:Gem::Version
141
- version: 0.6.1
142
- - !ruby/object:Gem::Dependency
147
+ version: '1.2'
148
+ none: false
149
+ prerelease: false
143
150
  name: hashie
144
151
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
152
  requirements:
147
153
  - - ~>
148
154
  - !ruby/object:Gem::Version
149
155
  version: '1.2'
156
+ none: false
150
157
  type: :development
151
- prerelease: false
158
+ - !ruby/object:Gem::Dependency
152
159
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
160
  requirements:
155
161
  - - ~>
156
162
  - !ruby/object:Gem::Version
157
- version: '1.2'
158
- - !ruby/object:Gem::Dependency
163
+ version: '1.4'
164
+ none: false
165
+ prerelease: false
159
166
  name: sinatra
160
167
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
168
  requirements:
163
169
  - - ~>
164
170
  - !ruby/object:Gem::Version
165
171
  version: '1.4'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
172
  none: false
170
- requirements:
171
- - - ~>
172
- - !ruby/object:Gem::Version
173
- version: '1.4'
173
+ type: :development
174
174
  description: Interpol is a toolkit for working with API endpoint definition files,
175
175
  giving you a stub app, a schema validation middleware, and browsable documentation.
176
176
  email:
@@ -233,26 +233,26 @@ rdoc_options: []
233
233
  require_paths:
234
234
  - lib
235
235
  required_ruby_version: !ruby/object:Gem::Requirement
236
- none: false
237
236
  requirements:
238
237
  - - ! '>='
239
238
  - !ruby/object:Gem::Version
240
239
  version: '0'
241
240
  segments:
242
241
  - 0
243
- hash: 4230425968358833339
244
- required_rubygems_version: !ruby/object:Gem::Requirement
242
+ hash: -3531108156490153383
245
243
  none: false
244
+ required_rubygems_version: !ruby/object:Gem::Requirement
246
245
  requirements:
247
246
  - - ! '>='
248
247
  - !ruby/object:Gem::Version
249
248
  version: '0'
250
249
  segments:
251
250
  - 0
252
- hash: 4230425968358833339
251
+ hash: -3531108156490153383
252
+ none: false
253
253
  requirements: []
254
254
  rubyforge_project:
255
- rubygems_version: 1.8.25
255
+ rubygems_version: 1.8.24
256
256
  signing_key:
257
257
  specification_version: 3
258
258
  summary: Interpol is a toolkit for policing your HTTP JSON interface.