mirage 2.0.12 → 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/Gemfile +4 -4
  2. data/Gemfile.lock +39 -24
  3. data/HISTORY +2 -1
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/mirage.gemspec +14 -14
  7. metadata +128 -188
data/Gemfile CHANGED
@@ -1,17 +1,17 @@
1
1
  source :rubygems
2
2
 
3
3
  gem 'sinatra'
4
- gem 'childprocess', '~> 0.1'
4
+ gem 'childprocess'
5
5
  gem "waitforit"
6
6
 
7
7
  group :development do
8
8
  gem 'rake'
9
9
  gem 'cucumber'
10
10
  gem 'rspec'
11
- gem "jeweler", "~> 1.5.2"
11
+ gem "jeweler"
12
12
  gem 'sinatra-contrib'
13
- gem 'mechanize', '1.0.0'
13
+ gem 'mechanize'
14
14
  gem 'gemcutter'
15
- gem "nokogiri", "1.4.7"
15
+ gem "nokogiri"
16
16
  end
17
17
 
data/Gemfile.lock CHANGED
@@ -3,7 +3,7 @@ GEM
3
3
  specs:
4
4
  backports (2.3.0)
5
5
  builder (3.0.0)
6
- childprocess (0.2.3)
6
+ childprocess (0.2.5)
7
7
  ffi (~> 1.0.6)
8
8
  cucumber (1.1.4)
9
9
  builder (>= 2.1.2)
@@ -12,37 +12,47 @@ GEM
12
12
  json (>= 1.4.6)
13
13
  term-ansicolor (>= 1.0.6)
14
14
  diff-lcs (1.1.3)
15
+ domain_name (0.5.1)
16
+ unf (~> 0.0.3)
15
17
  eventmachine (0.12.10)
16
18
  ffi (1.0.11)
17
19
  gemcutter (0.7.1)
18
- gherkin (2.7.1)
20
+ gherkin (2.7.2)
19
21
  json (>= 1.4.6)
20
22
  git (1.2.5)
21
- jeweler (1.5.2)
22
- bundler (~> 1.0.0)
23
+ jeweler (1.6.4)
24
+ bundler (~> 1.0)
23
25
  git (>= 1.2.5)
24
26
  rake
25
- json (1.6.3)
26
- mechanize (1.0.0)
27
- nokogiri (>= 1.2.1)
28
- nokogiri (1.4.7)
29
- rack (1.3.5)
30
- rack-protection (1.1.4)
27
+ json (1.6.4)
28
+ mechanize (2.1)
29
+ domain_name (~> 0.5, >= 0.5.1)
30
+ net-http-digest_auth (~> 1.1, >= 1.1.1)
31
+ net-http-persistent (~> 2.3, >= 2.3.2)
32
+ nokogiri (~> 1.4)
33
+ ntlm-http (~> 0.1, >= 0.1.1)
34
+ webrobots (~> 0.0, >= 0.0.9)
35
+ net-http-digest_auth (1.2)
36
+ net-http-persistent (2.3.3)
37
+ nokogiri (1.5.0)
38
+ ntlm-http (0.1.1)
39
+ rack (1.4.0)
40
+ rack-protection (1.2.0)
31
41
  rack
32
42
  rack-test (0.6.1)
33
43
  rack (>= 1.0)
34
44
  rake (0.9.2.2)
35
- rspec (2.6.0)
36
- rspec-core (~> 2.6.0)
37
- rspec-expectations (~> 2.6.0)
38
- rspec-mocks (~> 2.6.0)
39
- rspec-core (2.6.4)
40
- rspec-expectations (2.6.0)
45
+ rspec (2.8.0)
46
+ rspec-core (~> 2.8.0)
47
+ rspec-expectations (~> 2.8.0)
48
+ rspec-mocks (~> 2.8.0)
49
+ rspec-core (2.8.0)
50
+ rspec-expectations (2.8.0)
41
51
  diff-lcs (~> 1.1.2)
42
- rspec-mocks (2.6.0)
43
- sinatra (1.3.1)
44
- rack (~> 1.3, >= 1.3.4)
45
- rack-protection (~> 1.1, >= 1.1.2)
52
+ rspec-mocks (2.8.0)
53
+ sinatra (1.3.2)
54
+ rack (~> 1.3, >= 1.3.6)
55
+ rack-protection (~> 1.2)
46
56
  tilt (~> 1.3, >= 1.3.3)
47
57
  sinatra-contrib (1.3.1)
48
58
  backports (>= 2.0)
@@ -53,18 +63,23 @@ GEM
53
63
  tilt (~> 1.3)
54
64
  term-ansicolor (1.0.7)
55
65
  tilt (1.3.3)
66
+ unf (0.0.4)
67
+ unf_ext
68
+ unf_ext (0.0.4)
56
69
  waitforit (0.0.1)
70
+ webrobots (0.0.12)
71
+ nokogiri (>= 1.4.4)
57
72
 
58
73
  PLATFORMS
59
74
  ruby
60
75
 
61
76
  DEPENDENCIES
62
- childprocess (~> 0.1)
77
+ childprocess
63
78
  cucumber
64
79
  gemcutter
65
- jeweler (~> 1.5.2)
66
- mechanize (= 1.0.0)
67
- nokogiri (= 1.4.7)
80
+ jeweler
81
+ mechanize
82
+ nokogiri
68
83
  rake
69
84
  rspec
70
85
  sinatra
data/HISTORY CHANGED
@@ -1,4 +1,5 @@
1
- V2.0.8/9/10 - tidy up code, still a lot to do :)
1
+ V2.0.12/13 - updating gem version
2
+ V2.0.8/9/10/11 - tidy up code, still a lot to do :)
2
3
  V2.0.7 - fix missing dependency on waitforit gem
3
4
  V2.0.1/2/3 - tidying up code
4
5
  V2.0.0 - Converted to restful interface
data/README.md CHANGED
@@ -10,7 +10,7 @@ I hope you find it useful,
10
10
 
11
11
  Leon
12
12
 
13
- P.s. Mirage runs on Linux,MacOSX and Windows; Rubies 1.8, 1.9 and JRuby.
13
+ P.s. Mirage runs on Linux,MacOSX and Windows; Rubies 1.8.7, 1.9 and JRuby.
14
14
 
15
15
  Installation
16
16
  ------------
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.12
1
+ 2.0.13
data/mirage.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "mirage"
8
- s.version = "2.0.12"
8
+ s.version = "2.0.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Leon Davis"]
12
- s.date = "2012-01-05"
12
+ s.date = "2012-01-06"
13
13
  s.description = "Mirage aids testing of your applications by hosting mock responses so that your applications do not have to talk to real endpoints. Its accessible via HTTP and has a RESTful interface."
14
14
  s.executables = ["mirage"]
15
15
  s.extra_rdoc_files = [
@@ -70,41 +70,41 @@ Gem::Specification.new do |s|
70
70
 
71
71
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
72
72
  s.add_runtime_dependency(%q<sinatra>, [">= 0"])
73
- s.add_runtime_dependency(%q<childprocess>, ["~> 0.1"])
73
+ s.add_runtime_dependency(%q<childprocess>, [">= 0"])
74
74
  s.add_runtime_dependency(%q<waitforit>, [">= 0"])
75
75
  s.add_development_dependency(%q<rake>, [">= 0"])
76
76
  s.add_development_dependency(%q<cucumber>, [">= 0"])
77
77
  s.add_development_dependency(%q<rspec>, [">= 0"])
78
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
78
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
79
79
  s.add_development_dependency(%q<sinatra-contrib>, [">= 0"])
80
- s.add_development_dependency(%q<mechanize>, ["= 1.0.0"])
80
+ s.add_development_dependency(%q<mechanize>, [">= 0"])
81
81
  s.add_development_dependency(%q<gemcutter>, [">= 0"])
82
- s.add_development_dependency(%q<nokogiri>, ["= 1.4.7"])
82
+ s.add_development_dependency(%q<nokogiri>, [">= 0"])
83
83
  else
84
84
  s.add_dependency(%q<sinatra>, [">= 0"])
85
- s.add_dependency(%q<childprocess>, ["~> 0.1"])
85
+ s.add_dependency(%q<childprocess>, [">= 0"])
86
86
  s.add_dependency(%q<waitforit>, [">= 0"])
87
87
  s.add_dependency(%q<rake>, [">= 0"])
88
88
  s.add_dependency(%q<cucumber>, [">= 0"])
89
89
  s.add_dependency(%q<rspec>, [">= 0"])
90
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
90
+ s.add_dependency(%q<jeweler>, [">= 0"])
91
91
  s.add_dependency(%q<sinatra-contrib>, [">= 0"])
92
- s.add_dependency(%q<mechanize>, ["= 1.0.0"])
92
+ s.add_dependency(%q<mechanize>, [">= 0"])
93
93
  s.add_dependency(%q<gemcutter>, [">= 0"])
94
- s.add_dependency(%q<nokogiri>, ["= 1.4.7"])
94
+ s.add_dependency(%q<nokogiri>, [">= 0"])
95
95
  end
96
96
  else
97
97
  s.add_dependency(%q<sinatra>, [">= 0"])
98
- s.add_dependency(%q<childprocess>, ["~> 0.1"])
98
+ s.add_dependency(%q<childprocess>, [">= 0"])
99
99
  s.add_dependency(%q<waitforit>, [">= 0"])
100
100
  s.add_dependency(%q<rake>, [">= 0"])
101
101
  s.add_dependency(%q<cucumber>, [">= 0"])
102
102
  s.add_dependency(%q<rspec>, [">= 0"])
103
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
103
+ s.add_dependency(%q<jeweler>, [">= 0"])
104
104
  s.add_dependency(%q<sinatra-contrib>, [">= 0"])
105
- s.add_dependency(%q<mechanize>, ["= 1.0.0"])
105
+ s.add_dependency(%q<mechanize>, [">= 0"])
106
106
  s.add_dependency(%q<gemcutter>, [">= 0"])
107
- s.add_dependency(%q<nokogiri>, ["= 1.4.7"])
107
+ s.add_dependency(%q<nokogiri>, [">= 0"])
108
108
  end
109
109
  end
110
110
 
metadata CHANGED
@@ -1,192 +1,147 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mirage
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.13
5
5
  prerelease:
6
- segments:
7
- - 2
8
- - 0
9
- - 12
10
- version: 2.0.12
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Leon Davis
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-01-05 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- requirement: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- hash: 3
27
- segments:
28
- - 0
29
- version: "0"
30
- version_requirements: *id001
12
+ date: 2012-01-06 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
31
15
  name: sinatra
32
- prerelease: false
33
- type: :runtime
34
- - !ruby/object:Gem::Dependency
35
- requirement: &id002 !ruby/object:Gem::Requirement
16
+ requirement: &18311980 !ruby/object:Gem::Requirement
36
17
  none: false
37
- requirements:
38
- - - ~>
39
- - !ruby/object:Gem::Version
40
- hash: 9
41
- segments:
42
- - 0
43
- - 1
44
- version: "0.1"
45
- version_requirements: *id002
46
- name: childprocess
47
- prerelease: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
48
22
  type: :runtime
49
- - !ruby/object:Gem::Dependency
50
- requirement: &id003 !ruby/object:Gem::Requirement
51
- none: false
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- hash: 3
56
- segments:
57
- - 0
58
- version: "0"
59
- version_requirements: *id003
60
- name: waitforit
61
23
  prerelease: false
62
- type: :runtime
63
- - !ruby/object:Gem::Dependency
64
- requirement: &id004 !ruby/object:Gem::Requirement
24
+ version_requirements: *18311980
25
+ - !ruby/object:Gem::Dependency
26
+ name: childprocess
27
+ requirement: &18307660 !ruby/object:Gem::Requirement
65
28
  none: false
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- hash: 3
70
- segments:
71
- - 0
72
- version: "0"
73
- version_requirements: *id004
74
- name: rake
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
75
34
  prerelease: false
76
- type: :development
77
- - !ruby/object:Gem::Dependency
78
- requirement: &id005 !ruby/object:Gem::Requirement
35
+ version_requirements: *18307660
36
+ - !ruby/object:Gem::Dependency
37
+ name: waitforit
38
+ requirement: &18306420 !ruby/object:Gem::Requirement
79
39
  none: false
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- hash: 3
84
- segments:
85
- - 0
86
- version: "0"
87
- version_requirements: *id005
88
- name: cucumber
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
89
45
  prerelease: false
90
- type: :development
91
- - !ruby/object:Gem::Dependency
92
- requirement: &id006 !ruby/object:Gem::Requirement
46
+ version_requirements: *18306420
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: &18305200 !ruby/object:Gem::Requirement
93
50
  none: false
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- hash: 3
98
- segments:
99
- - 0
100
- version: "0"
101
- version_requirements: *id006
102
- name: rspec
103
- prerelease: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
104
55
  type: :development
105
- - !ruby/object:Gem::Dependency
106
- requirement: &id007 !ruby/object:Gem::Requirement
107
- none: false
108
- requirements:
109
- - - ~>
110
- - !ruby/object:Gem::Version
111
- hash: 7
112
- segments:
113
- - 1
114
- - 5
115
- - 2
116
- version: 1.5.2
117
- version_requirements: *id007
118
- name: jeweler
119
56
  prerelease: false
120
- type: :development
121
- - !ruby/object:Gem::Dependency
122
- requirement: &id008 !ruby/object:Gem::Requirement
57
+ version_requirements: *18305200
58
+ - !ruby/object:Gem::Dependency
59
+ name: cucumber
60
+ requirement: &18304040 !ruby/object:Gem::Requirement
123
61
  none: false
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- hash: 3
128
- segments:
129
- - 0
130
- version: "0"
131
- version_requirements: *id008
132
- name: sinatra-contrib
133
- prerelease: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
134
66
  type: :development
135
- - !ruby/object:Gem::Dependency
136
- requirement: &id009 !ruby/object:Gem::Requirement
67
+ prerelease: false
68
+ version_requirements: *18304040
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: &18303040 !ruby/object:Gem::Requirement
137
72
  none: false
138
- requirements:
139
- - - "="
140
- - !ruby/object:Gem::Version
141
- hash: 23
142
- segments:
143
- - 1
144
- - 0
145
- - 0
146
- version: 1.0.0
147
- version_requirements: *id009
148
- name: mechanize
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
149
78
  prerelease: false
79
+ version_requirements: *18303040
80
+ - !ruby/object:Gem::Dependency
81
+ name: jeweler
82
+ requirement: &18301960 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
150
88
  type: :development
151
- - !ruby/object:Gem::Dependency
152
- requirement: &id010 !ruby/object:Gem::Requirement
89
+ prerelease: false
90
+ version_requirements: *18301960
91
+ - !ruby/object:Gem::Dependency
92
+ name: sinatra-contrib
93
+ requirement: &18301180 !ruby/object:Gem::Requirement
153
94
  none: false
154
- requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- hash: 3
158
- segments:
159
- - 0
160
- version: "0"
161
- version_requirements: *id010
162
- name: gemcutter
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :development
163
100
  prerelease: false
101
+ version_requirements: *18301180
102
+ - !ruby/object:Gem::Dependency
103
+ name: mechanize
104
+ requirement: &18300460 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
164
110
  type: :development
165
- - !ruby/object:Gem::Dependency
166
- requirement: &id011 !ruby/object:Gem::Requirement
111
+ prerelease: false
112
+ version_requirements: *18300460
113
+ - !ruby/object:Gem::Dependency
114
+ name: gemcutter
115
+ requirement: &18296060 !ruby/object:Gem::Requirement
167
116
  none: false
168
- requirements:
169
- - - "="
170
- - !ruby/object:Gem::Version
171
- hash: 9
172
- segments:
173
- - 1
174
- - 4
175
- - 7
176
- version: 1.4.7
177
- version_requirements: *id011
178
- name: nokogiri
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ type: :development
179
122
  prerelease: false
123
+ version_requirements: *18296060
124
+ - !ruby/object:Gem::Dependency
125
+ name: nokogiri
126
+ requirement: &18295300 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
180
132
  type: :development
181
- description: Mirage aids testing of your applications by hosting mock responses so that your applications do not have to talk to real endpoints. Its accessible via HTTP and has a RESTful interface.
133
+ prerelease: false
134
+ version_requirements: *18295300
135
+ description: Mirage aids testing of your applications by hosting mock responses so
136
+ that your applications do not have to talk to real endpoints. Its accessible via
137
+ HTTP and has a RESTful interface.
182
138
  email:
183
- executables:
139
+ executables:
184
140
  - mirage
185
141
  extensions: []
186
-
187
- extra_rdoc_files:
142
+ extra_rdoc_files:
188
143
  - README.md
189
- files:
144
+ files:
190
145
  - .rvmrc
191
146
  - Gemfile
192
147
  - Gemfile.lock
@@ -229,48 +184,33 @@ files:
229
184
  - test.rb
230
185
  - views/index.erb
231
186
  homepage: https://github.com/lashd/mirage
232
- licenses:
187
+ licenses:
233
188
  - MIT
234
- post_install_message: |
235
-
236
- ===============================================================================
237
- Thanks you for installing mirage.
238
-
239
- Run Mirage with:
240
-
241
- mirage start
242
-
243
- For more information go to: https://github.com/lashd/mirage/wiki
244
- ===============================================================================
245
-
189
+ post_install_message: ! "\n===============================================================================\nThanks
190
+ you for installing mirage. \n\nRun Mirage with:\n\nmirage start \n\nFor
191
+ more information go to: https://github.com/lashd/mirage/wiki\n===============================================================================\n"
246
192
  rdoc_options: []
247
-
248
- require_paths:
193
+ require_paths:
249
194
  - lib
250
- required_ruby_version: !ruby/object:Gem::Requirement
195
+ required_ruby_version: !ruby/object:Gem::Requirement
251
196
  none: false
252
- requirements:
253
- - - ">="
254
- - !ruby/object:Gem::Version
255
- hash: 3
256
- segments:
197
+ requirements:
198
+ - - ! '>='
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ segments:
257
202
  - 0
258
- version: "0"
259
- required_rubygems_version: !ruby/object:Gem::Requirement
203
+ hash: 1895073867381440874
204
+ required_rubygems_version: !ruby/object:Gem::Requirement
260
205
  none: false
261
- requirements:
262
- - - ">="
263
- - !ruby/object:Gem::Version
264
- hash: 3
265
- segments:
266
- - 0
267
- version: "0"
206
+ requirements:
207
+ - - ! '>='
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
268
210
  requirements: []
269
-
270
211
  rubyforge_project:
271
212
  rubygems_version: 1.8.10
272
213
  signing_key:
273
214
  specification_version: 3
274
215
  summary: Mirage is a easy mock server for testing your applications
275
216
  test_files: []
276
-