mits 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c28b6948a85f7c98e0b37ff069255a868fee2f9d
4
- data.tar.gz: 3cc88d125da8bc56c580a39ca4c31b0dc667479d
3
+ metadata.gz: b671bcd9a9f2623994bad9199ed99101aafdf428
4
+ data.tar.gz: 5e52d9fdd8b3359767e70314441fd6821d12a4e7
5
5
  SHA512:
6
- metadata.gz: 40e77f4afbe66aef1d6934f2aa54ec9dc23cb0d7f58293818b3f9ca52e1ca19331680e66bbaa0e3a80155f8ce78ad264bcc13592d3d1c3d1f74ad332cc6c7aef
7
- data.tar.gz: b68d4615a4c627944592ca743f5dfbda8a4a5b0aca32f0ded11ab9d126b2812b639d3972a5c391f4a2a98d6722cb0b7533d72b41eea47878143f140c9c1efe24
6
+ metadata.gz: 36099bb9c76761de5b0e11b2a89fa21290cd1b9330eccd1ccfa3641cb35a74e5c75e7c8249846ace58b12836496f56dd823a8de3a4e3d126e41b70cb01131729
7
+ data.tar.gz: a34d54aa1e82a1a5909e3e27ed1ed05ef8f4092a67c5f3c0fcd85b4d6d8c9a1700cbe8ad9e32e2a48fe30c30ccccdc62e4ad0d2d23890f6532b3852b648201ea
@@ -12,6 +12,7 @@ module MITS
12
12
  attribute :name
13
13
  attribute :rank
14
14
  attribute :source
15
+ attribute :type
15
16
  attribute :width
16
17
  end
17
18
  end
@@ -17,6 +17,7 @@ module MITS
17
17
  name: tag[:Name],
18
18
  rank: tag[:Rank],
19
19
  source: tag[:Src],
20
+ type: tag[:FileType],
20
21
  width: tag[:Width])
21
22
  end
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module MITS
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
@@ -18,10 +18,10 @@
18
18
  :AddressType: property
19
19
  :Phone:
20
20
  - :PhoneNumber: 727-577-7557
21
- :Extension:
21
+ :Extension:
22
22
  :PhoneType: office
23
23
  - :PhoneNumber: 727-579-0280
24
- :Extension:
24
+ :Extension:
25
25
  :PhoneType: fax
26
26
  :ILS_Identification:
27
27
  :RentalType: Unspecified
@@ -53,9 +53,9 @@
53
53
  - :OpenTime: 10:00 AM
54
54
  :CloseTime: 5:00 PM
55
55
  :Day: Saturday
56
- :ShortDescription: a short description
57
- :LongDescription: a very long description
58
- :LeaseLength:
56
+ :ShortDescription: a short description
57
+ :LongDescription: a very long description
58
+ :LeaseLength:
59
59
  :DrivingDirections: 'Located on Dr. Martin Luther King Jr. Street, just north of
60
60
  the Gandy Bridge. From Tampa: Take Howard Frankland Bridge to 4th Street Exit
61
61
  and we''re located approximately 2 miles on the right.'
@@ -87,7 +87,7 @@
87
87
  - :Pets:
88
88
  :PetType: Cat
89
89
  :Count: '2'
90
- :Comment:
90
+ :Comment:
91
91
  :Deposit: '0'
92
92
  :Fee: '0'
93
93
  :Rent: '0'
@@ -101,7 +101,7 @@
101
101
  - :Pets:
102
102
  :PetType: Dog
103
103
  :Count: '2'
104
- :Comment:
104
+ :Comment:
105
105
  :Deposit: '0'
106
106
  :Fee: '0'
107
107
  :Rent: '0'
@@ -170,9 +170,9 @@
170
170
  :AmenityType: Refrigerator
171
171
  :File:
172
172
  - :FileType: Floorplan
173
- :Description:
174
- :Name:
175
- :Caption:
173
+ :Description:
174
+ :Name:
175
+ :Caption:
176
176
  :Format: jpg
177
177
  :Src: http://capi.myleasestar.com/v2/dimg/8210468/834x768/8210468.jpg
178
178
  :Width: '834'
@@ -182,9 +182,9 @@
182
182
  :Active: 'true'
183
183
  :FileID: '387377'
184
184
  - :FileType: Floorplan
185
- :Description:
186
- :Name:
187
- :Caption:
185
+ :Description:
186
+ :Name:
187
+ :Caption:
188
188
  :Format: jpg
189
189
  :Src: http://capi.myleasestar.com/v2/dimg/8210469/1300x1300/8210469.jpg
190
190
  :Width: '1300'
@@ -233,9 +233,9 @@
233
233
  :AmenityType: Refrigerator
234
234
  :File:
235
235
  - :FileType: Floorplan
236
- :Description:
237
- :Name:
238
- :Caption:
236
+ :Description:
237
+ :Name:
238
+ :Caption:
239
239
  :Format: jpg
240
240
  :Src: http://capi.myleasestar.com/v2/dimg/8210470/904x768/8210470.jpg
241
241
  :Width: '904'
@@ -245,9 +245,9 @@
245
245
  :Active: 'true'
246
246
  :FileID: '387379'
247
247
  - :FileType: Floorplan
248
- :Description:
249
- :Name:
250
- :Caption:
248
+ :Description:
249
+ :Name:
250
+ :Caption:
251
251
  :Format: jpg
252
252
  :Src: http://capi.myleasestar.com/v2/dimg/8210471/1300x1300/8210471.jpg
253
253
  :Width: '1300'
@@ -296,9 +296,9 @@
296
296
  :AmenityType: Refrigerator
297
297
  :File:
298
298
  - :FileType: Floorplan
299
- :Description:
300
- :Name:
301
- :Caption:
299
+ :Description:
300
+ :Name:
301
+ :Caption:
302
302
  :Format: jpg
303
303
  :Src: http://capi.myleasestar.com/v2/dimg/8210472/768x1005/8210472.jpg
304
304
  :Width: '768'
@@ -308,9 +308,9 @@
308
308
  :Active: 'true'
309
309
  :FileID: '387381'
310
310
  - :FileType: Floorplan
311
- :Description:
312
- :Name:
313
- :Caption:
311
+ :Description:
312
+ :Name:
313
+ :Caption:
314
314
  :Format: jpg
315
315
  :Src: http://capi.myleasestar.com/v2/dimg/8210473/1300x1300/8210473.jpg
316
316
  :Width: '1300'
@@ -359,9 +359,9 @@
359
359
  :AmenityType: Refrigerator
360
360
  :File:
361
361
  - :FileType: Floorplan
362
- :Description:
363
- :Name:
364
- :Caption:
362
+ :Description:
363
+ :Name:
364
+ :Caption:
365
365
  :Format: jpg
366
366
  :Src: http://capi.myleasestar.com/v2/dimg/8210477/692x1024/8210477.jpg
367
367
  :Width: '692'
@@ -371,9 +371,9 @@
371
371
  :Active: 'true'
372
372
  :FileID: '387385'
373
373
  - :FileType: Floorplan
374
- :Description:
375
- :Name:
376
- :Caption:
374
+ :Description:
375
+ :Name:
376
+ :Caption:
377
377
  :Format: jpg
378
378
  :Src: http://capi.myleasestar.com/v2/dimg/8210478/1300x1300/8210478.jpg
379
379
  :Width: '1300'
@@ -422,9 +422,9 @@
422
422
  :AmenityType: Refrigerator
423
423
  :File:
424
424
  - :FileType: Floorplan
425
- :Description:
426
- :Name:
427
- :Caption:
425
+ :Description:
426
+ :Name:
427
+ :Caption:
428
428
  :Format: jpg
429
429
  :Src: http://capi.myleasestar.com/v2/dimg/8210474/768x1017/8210474.jpg
430
430
  :Width: '768'
@@ -434,9 +434,9 @@
434
434
  :Active: 'true'
435
435
  :FileID: '387383'
436
436
  - :FileType: Floorplan
437
- :Description:
438
- :Name:
439
- :Caption:
437
+ :Description:
438
+ :Name:
439
+ :Caption:
440
440
  :Format: jpg
441
441
  :Src: http://capi.myleasestar.com/v2/dimg/8210475/1300x1300/8210475.jpg
442
442
  :Width: '1300'
@@ -462,9 +462,9 @@
462
462
  :MajorUtility: Some
463
463
  :File:
464
464
  - :FileType: Logo
465
- :Description:
466
- :Name:
467
- :Caption:
465
+ :Description:
466
+ :Name:
467
+ :Caption:
468
468
  :Format: png
469
469
  :Src: http://capi.myleasestar.com/v2/dimg/5719594/898x428/5719594.png
470
470
  :Width: '898'
@@ -474,9 +474,9 @@
474
474
  :Active: 'true'
475
475
  :FileID: '268135'
476
476
  - :FileType: Photo
477
- :Description:
478
- :Name:
479
- :Caption:
477
+ :Description:
478
+ :Name:
479
+ :Caption:
480
480
  :Format: jpg
481
481
  :Src: http://capi.myleasestar.com/v2/dimg/9850808/640x431/9850808.jpg
482
482
  :Width: '640'
@@ -486,9 +486,9 @@
486
486
  :Active: 'true'
487
487
  :FileID: '408660'
488
488
  - :FileType: Photo
489
- :Description:
490
- :Name:
491
- :Caption:
489
+ :Description:
490
+ :Name:
491
+ :Caption:
492
492
  :Format: jpg
493
493
  :Src: http://capi.myleasestar.com/v2/dimg/9850809/647x428/9850809.jpg
494
494
  :Width: '647'
@@ -498,9 +498,9 @@
498
498
  :Active: 'true'
499
499
  :FileID: '408661'
500
500
  - :FileType: Photo
501
- :Description:
502
- :Name:
503
- :Caption:
501
+ :Description:
502
+ :Name:
503
+ :Caption:
504
504
  :Format: jpg
505
505
  :Src: http://capi.myleasestar.com/v2/dimg/9850810/642x428/9850810.jpg
506
506
  :Width: '642'
@@ -510,9 +510,9 @@
510
510
  :Active: 'true'
511
511
  :FileID: '408662'
512
512
  - :FileType: Photo
513
- :Description:
514
- :Name:
515
- :Caption:
513
+ :Description:
514
+ :Name:
515
+ :Caption:
516
516
  :Format: jpg
517
517
  :Src: http://capi.myleasestar.com/v2/dimg/9850811/644x428/9850811.jpg
518
518
  :Width: '644'
@@ -522,9 +522,9 @@
522
522
  :Active: 'true'
523
523
  :FileID: '408663'
524
524
  - :FileType: Photo
525
- :Description:
526
- :Name:
527
- :Caption:
525
+ :Description:
526
+ :Name:
527
+ :Caption:
528
528
  :Format: jpg
529
529
  :Src: http://capi.myleasestar.com/v2/dimg/9850812/672x428/9850812.jpg
530
530
  :Width: '672'
@@ -534,9 +534,9 @@
534
534
  :Active: 'true'
535
535
  :FileID: '408664'
536
536
  - :FileType: Photo
537
- :Description:
538
- :Name:
539
- :Caption:
537
+ :Description:
538
+ :Name:
539
+ :Caption:
540
540
  :Format: jpg
541
541
  :Src: http://capi.myleasestar.com/v2/dimg/9850817/644x428/9850817.jpg
542
542
  :Width: '644'
@@ -546,9 +546,9 @@
546
546
  :Active: 'true'
547
547
  :FileID: '408665'
548
548
  - :FileType: Photo
549
- :Description:
550
- :Name:
551
- :Caption:
549
+ :Description:
550
+ :Name:
551
+ :Caption:
552
552
  :Format: jpg
553
553
  :Src: http://capi.myleasestar.com/v2/dimg/9850818/642x428/9850818.jpg
554
554
  :Width: '642'
@@ -558,9 +558,9 @@
558
558
  :Active: 'true'
559
559
  :FileID: '408666'
560
560
  - :FileType: Photo
561
- :Description:
562
- :Name:
563
- :Caption:
561
+ :Description:
562
+ :Name:
563
+ :Caption:
564
564
  :Format: jpg
565
565
  :Src: http://capi.myleasestar.com/v2/dimg/9850819/642x428/9850819.jpg
566
566
  :Width: '642'
@@ -570,9 +570,9 @@
570
570
  :Active: 'true'
571
571
  :FileID: '408667'
572
572
  - :FileType: Photo
573
- :Description:
574
- :Name:
575
- :Caption:
573
+ :Description:
574
+ :Name:
575
+ :Caption:
576
576
  :Format: jpg
577
577
  :Src: http://capi.myleasestar.com/v2/dimg/9850820/642x428/9850820.jpg
578
578
  :Width: '642'
@@ -13,6 +13,7 @@ module MITS
13
13
  it { is_expected.to respond_to(:name) }
14
14
  it { is_expected.to respond_to(:rank) }
15
15
  it { is_expected.to respond_to(:source) }
16
+ it { is_expected.to respond_to(:type) }
16
17
  it { is_expected.to respond_to(:width) }
17
18
  end
18
19
  end
@@ -108,6 +108,7 @@ module MITS
108
108
  first = subject.first
109
109
  expect(first).to be_a File
110
110
  expect(first.source).to eq 'http://capi.myleasestar.com/v2/dimg/5719594/898x428/5719594.png'
111
+ expect(first.type).to eq 'Logo'
111
112
  end
112
113
  end
113
114
 
@@ -13,6 +13,7 @@ module MITS
13
13
  it { is_expected.to respond_to(:name) }
14
14
  it { is_expected.to respond_to(:rank) }
15
15
  it { is_expected.to respond_to(:source) }
16
+ it { is_expected.to respond_to(:type) }
16
17
  it { is_expected.to respond_to(:width) }
17
18
  end
18
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Callan