Skip to content

Commit e1adf65

Browse files
committed
mirage/crate: Calculate max_version property
1 parent def94b3 commit e1adf65

File tree

8 files changed

+340
-39
lines changed

8 files changed

+340
-39
lines changed

mirage/factories/crate.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export default Factory.extend({
1616
documentation: null,
1717
homepage: null,
1818
repository: null,
19-
max_version: '1.0.0',
2019
newest_version: '1.0.0',
2120

2221
created_at: '2010-06-16T21:30:45Z',

mirage/fixtures/crates.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export default [
1616
homepage: 'https://icorderi.github.io/icorderi/kinetic-rust',
1717
id: 'kinetic-rust',
1818
keywordIds: [],
19-
max_version: '0.0.16',
2019
newest_version: '0.0.16',
2120
name: 'kinetic-rust',
2221
repository: 'https://github.com/icorderi/kinetic-rust/',
@@ -41,7 +40,6 @@ export default [
4140
homepage: 'https://github.com/thehydroimpulse/nanomsg.rs',
4241
id: 'nanomsg',
4342
keywordIds: ['network'],
44-
max_version: '0.7.0-alpha',
4543
newest_version: '0.6.1',
4644
name: 'nanomsg',
4745
repository: 'https://github.com/thehydroimpulse/nanomsg.rs',
@@ -71,7 +69,6 @@ export default [
7169
homepage: 'https://github.com/huonw/external_mixin',
7270
id: 'rust_mixin',
7371
keywordIds: ['rust', 'plugin', 'code-generation'],
74-
max_version: '0.0.1',
7572
newest_version: '0.0.1',
7673
name: 'rust_mixin',
7774
repository: 'https://github.com/huonw/external_mixin',
@@ -144,7 +141,6 @@ export default [
144141
homepage: 'https://github.com/huonw/external_mixin',
145142
id: 'external_mixin',
146143
keywordIds: ['python', 'ruby', 'shell', 'plugin', 'code-generation'],
147-
max_version: '0.0.1',
148144
newest_version: '0.0.1',
149145
name: 'external_mixin',
150146
repository: 'https://github.com/huonw/external_mixin',
@@ -160,7 +156,6 @@ export default [
160156
homepage: 'https://github.com/huonw/external_mixin',
161157
id: 'external_mixin_umbrella',
162158
keywordIds: ['plugin', 'code-generation'],
163-
max_version: '0.0.2',
164159
newest_version: '0.0.2',
165160
name: 'external_mixin_umbrella',
166161
repository: 'https://github.com/huonw/external_mixin',
@@ -177,7 +172,6 @@ export default [
177172
homepage: 'https://github.com/whatisinternet/inflector',
178173
id: 'Inflector',
179174
keywordIds: ['string', 'case', 'camel', 'snake', 'inflection'],
180-
max_version: '0.1.6',
181175
newest_version: '0.1.6',
182176
name: 'Inflector',
183177
repository: 'https://github.com/whatisinternet/inflector',
@@ -193,7 +187,6 @@ export default [
193187
homepage: null,
194188
id: 'rs-es',
195189
keywordIds: ['elasticsearch', 'elastic'],
196-
max_version: '0.1.17',
197190
newest_version: '0.1.17',
198191
name: 'rs-es',
199192
repository: 'https://github.com/benashford/rs-es',
@@ -209,7 +202,6 @@ export default [
209202
homepage: 'https://github.com/DaGenix/rust-crypto/',
210203
id: 'rust-crypto',
211204
keywordIds: [],
212-
max_version: '0.2.34',
213205
newest_version: '0.2.34',
214206
name: 'rust-crypto',
215207
repository: 'https://github.com/DaGenix/rust-crypto/',
@@ -225,7 +217,6 @@ export default [
225217
homepage: null,
226218
id: 'rust-htslib',
227219
keywordIds: [],
228-
max_version: '0.5.2',
229220
newest_version: '0.5.2',
230221
name: 'rust-htslib',
231222
repository: 'https://github.com/rust-bio/rust-htslib.git',
@@ -241,7 +232,6 @@ export default [
241232
homepage: 'https://github.com/rustless/rustless',
242233
id: 'rustless',
243234
keywordIds: [],
244-
max_version: '0.8.0',
245235
newest_version: '0.8.0',
246236
name: 'rustless',
247237
repository: 'https://crates.io/crates/rustless',
@@ -257,7 +247,6 @@ export default [
257247
homepage: null,
258248
id: 'serde',
259249
keywordIds: [],
260-
max_version: '0.6.1',
261250
newest_version: '0.6.1',
262251
name: 'serde',
263252
repository: 'https://github.com/serde-rs/serde',
@@ -273,7 +262,6 @@ export default [
273262
homepage: 'https://github.com/livioribeiro/rusted-cypher',
274263
id: 'rusted_cypher',
275264
keywordIds: [],
276-
max_version: '0.7.1',
277265
newest_version: '0.7.1',
278266
name: 'rusted_cypher',
279267
repository: 'https://github.com/livioribeiro/rusted-cypher',
@@ -290,7 +278,6 @@ export default [
290278
homepage: null,
291279
id: 'zlib',
292280
keywordIds: [],
293-
max_version: '0.0.1',
294281
newest_version: '0.0.1',
295282
name: 'zlib',
296283
repository: null,
@@ -307,7 +294,6 @@ export default [
307294
homepage: null,
308295
id: 'rustful',
309296
keywordIds: [],
310-
max_version: '0.5.0',
311297
newest_version: '0.5.0',
312298
name: 'rustful',
313299
repository: 'https://github.com/Ogeon/rustful',
@@ -323,7 +309,6 @@ export default [
323309
homepage: null,
324310
id: 'postgres',
325311
keywordIds: [],
326-
max_version: '0.10.1',
327312
newest_version: '0.10.1',
328313
name: 'postgres',
329314
repository: 'https://github.com/sfackler/rust-postgres',
@@ -339,7 +324,6 @@ export default [
339324
homepage: 'https://github.com/BurntSushi/quickcheck',
340325
id: 'quickcheck',
341326
keywordIds: [],
342-
max_version: '0.2.24',
343327
newest_version: '0.2.24',
344328
name: 'quickcheck',
345329
repository: 'https://github.com/BurntSushi/quickcheck',
@@ -355,7 +339,6 @@ export default [
355339
homepage: 'https://github.com/BurntSushi/quickcheck',
356340
id: 'quickcheck_macros',
357341
keywordIds: [],
358-
max_version: '0.2.24',
359342
newest_version: '0.2.24',
360343
name: 'quickcheck_macros',
361344
repository: 'https://github.com/BurntSushi/quickcheck',
@@ -372,7 +355,6 @@ export default [
372355
homepage: 'https://github.com/nicolas-cherel/rustlex',
373356
id: 'unicorn-rpc',
374357
keywordIds: [],
375-
max_version: '0.3.1',
376358
newest_version: '0.3.1',
377359
name: 'unicorn-rpc',
378360
repository: 'https://github.com/nicolas-cherel/rustlex',
@@ -388,7 +370,6 @@ export default [
388370
homepage: null,
389371
id: 'nom',
390372
keywordIds: [],
391-
max_version: '1.0.1',
392373
newest_version: '1.0.1',
393374
name: 'nom',
394375
repository: 'https://github.com/Geal/nom',
@@ -398,31 +379,27 @@ export default [
398379
{
399380
id: 'libc',
400381
name: 'libc',
401-
max_version: '1.0.1',
402382
newest_version: '1.0.1',
403383
downloads: 5169,
404384
recent_downloads: 69,
405385
},
406386
{
407387
id: 'nanomsg-sys',
408388
name: 'nanomsg-sys',
409-
max_version: '1.0.1',
410389
newest_version: '1.0.1',
411390
downloads: 5169,
412391
recent_downloads: 69,
413392
},
414393
{
415394
id: 'mock-build-deps',
416395
name: 'mock-build-deps',
417-
max_version: '1.0.1',
418396
newest_version: '1.0.1',
419397
downloads: 5169,
420398
recent_downloads: 69,
421399
},
422400
{
423401
id: 'mock-dev-deps',
424402
name: 'mock-dev-deps',
425-
max_version: '1.0.1',
426403
newest_version: '1.0.1',
427404
downloads: 5169,
428405
recent_downloads: 69,

0 commit comments

Comments
 (0)