washout_builder 0.15.4 → 0.15.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,6 @@ require File.expand_path('../dummy/config/environment.rb', __FILE__)
36
36
  require File.expand_path('../../config/routes.rb', __FILE__)
37
37
  require 'rails/test_help'
38
38
  require 'rspec/rails'
39
- require 'rspec/autorun'
40
39
  require 'savon'
41
40
  require 'wash_out'
42
41
 
@@ -49,6 +48,8 @@ Rails.backtrace_cleaner.remove_silencers!
49
48
  # Load support files
50
49
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
51
50
 
51
+ FIxMinitest.disable_autorun
52
+ # Test::Unit.run = true if defined?(Test::Unit) && Test::Unit.respond_to?(:run=)
52
53
  RSpec.configure do |config|
53
54
  require 'rspec/expectations'
54
55
  config.include RSpec::Matchers
@@ -69,6 +70,7 @@ RSpec.configure do |config|
69
70
  namespace: false
70
71
  }
71
72
  end
73
+ #config.expect_with(:rspec) { |c| c.syntax = :should }
72
74
 
73
75
  config.after(:suite) do
74
76
  if SimpleCov.running
@@ -108,6 +110,9 @@ end
108
110
  class WashoutBuilderTestError < base_exception
109
111
  end
110
112
 
111
- def get_wash_out_param(class_name_or_structure, soap_config = soap_config)
113
+ def get_wash_out_param(class_name_or_structure, soap_config = OpenStruct.new(
114
+ camelize_wsdl: false,
115
+ namespace: '/api/wsdl'
116
+ ))
112
117
  WashOut::Param.parse_builder_def(soap_config, class_name_or_structure)[0]
113
118
  end
@@ -0,0 +1,38 @@
1
+
2
+ module FIxMinitest
3
+ def self.disable_autorun
4
+ disable_auto_runner
5
+ override_minitest_run
6
+ override_minitest_unit_run
7
+ end
8
+
9
+ # rubocop:disable NestedMethodDefinition
10
+ def self.override_minitest_run
11
+ Minitest.instance_eval do
12
+ def run(*)
13
+ FIxMinitest.run_mininitest
14
+ end
15
+ end if defined?(Minitest)
16
+ end
17
+
18
+ # rubocop:disable NestedMethodDefinition
19
+ def self.run_mininitest
20
+ case $ERROR_INFO
21
+ when SystemExit
22
+ $ERROR_INFO.status
23
+ else
24
+ true
25
+ end
26
+ end
27
+ # rubocop:disable NestedMethodDefinition
28
+ def self.override_minitest_unit_run
29
+ Minitest::Unit.class_eval do
30
+ def run(*)
31
+ end
32
+ end if defined?(Minitest) && defined?(Minitest::Unit)
33
+ end
34
+
35
+ def self.disable_auto_runner
36
+ Test::Unit::Runner.module_eval('@@stop_auto_run = true') if defined?(Test::Unit::Runner)
37
+ end
38
+ end
@@ -16,36 +16,36 @@ Gem::Specification.new do |s|
16
16
  s.test_files = s.files.grep(/^(spec)/)
17
17
  s.require_paths = ["lib"]
18
18
  s.add_runtime_dependency 'wash_out', '~> 0.9.1', '>= 0.9.1'
19
-
20
- s.add_development_dependency 'wasabi', '~> 3.3', '>= 3.3'
21
- s.add_development_dependency 'savon', '~> 2.5', '>= 2.5'
22
- s.add_development_dependency 'httpi', '~> 2.1', '>= 2.1'
23
- s.add_development_dependency 'nokogiri', '~> 1.6', '>= 1.6'
24
19
 
25
-
26
- s.add_development_dependency 'rspec-rails', '~> 2.0', '>= 2.0'
27
- s.add_development_dependency 'guard', '~> 2.6.1', '>= 2.6'
28
- s.add_development_dependency 'guard-rspec', '~> 4.2.9', '>= 4.2'
29
- s.add_development_dependency 'appraisal', '~> 1.0', '>= 1.0'
20
+ s.add_development_dependency 'wasabi', '~> 3.5', '>= 3.5'
21
+ s.add_development_dependency 'savon', '~> 2.11', '>= 2.11'
22
+ s.add_development_dependency 'httpi', '~> 2.4', '>= 2.4'
23
+ s.add_development_dependency 'nokogiri', '~> 1.6', '>= 1.6'
24
+
25
+ s.add_development_dependency 'rspec-rails', '~> 3.3', '>= 3.3'
26
+ s.add_development_dependency 'guard', '~> 2.13', '>= 2.13'
27
+ s.add_development_dependency 'guard-rspec', '~> 4.6', '>= 4.6'
28
+ s.add_development_dependency 'appraisal', '~> 2.0', '>= 2.0'
30
29
  s.add_development_dependency 'simplecov', '~> 0.9', '>= 0.9'
31
30
  s.add_development_dependency 'simplecov-summary', '~> 0.0.4', '>= 0.0.4'
32
31
  s.add_development_dependency 'mocha','~> 1.1', '>= 1.1'
33
- s.add_development_dependency 'coveralls','~> 0.7', '>= 0.7'
32
+ s.add_development_dependency 'coveralls','~> 0.8', '>= 0.8'
33
+ s.add_development_dependency 'test-unit','~> 3.1', '>= 3.1'
34
34
  # s.add_development_dependency 'codeclimate-test-reporter','~> 0.3', '>= 0.3'
35
35
  # s.add_development_dependency 'rubyntlm','~> 0.3.4', '>= 0.3'
36
36
  s.add_development_dependency 'rvm-tester','~> 1.1', '>= 1.1'
37
37
  s.add_development_dependency 'wwtd','~> 0.9', '>= 0.9.1'
38
38
 
39
- s.add_development_dependency 'capybara', '~> 2.2', '>= 2.2.1'
39
+ s.add_development_dependency 'capybara', '~> 2.4', '>= 2.4'
40
40
  s.add_development_dependency 'selenium-webdriver', '~> 2.41', '>= 2.41.0'
41
- s.add_development_dependency 'headless','~> 1.0', '>= 1.0.1'
41
+ s.add_development_dependency 'headless','~> 2.2', '>= 2.2'
42
42
 
43
- s.add_development_dependency 'rubocop', '0.29'
44
- s.add_development_dependency 'phare', '~> 0.6', '>= 0.6'
43
+ s.add_development_dependency 'rubocop', '~> 0.3', '>= 0.33'
44
+ s.add_development_dependency 'phare', '~> 0.7', '>= 0.7'
45
45
  s.add_development_dependency 'yard', '~> 0.8.7', '>= 0.8.7'
46
46
  s.add_development_dependency 'yard-rspec', '~> 0.1', '>= 0.1'
47
- s.add_development_dependency 'redcarpet', '~> 3.2.2', '>= 3.2.2'
48
- s.add_development_dependency 'github-markup', '~> 1.3.3', '>= 1.3.3'
49
- s.add_development_dependency 'inch', '~> 0.5.10'
47
+ s.add_development_dependency 'redcarpet', '~> 3.3', '>= 3.3'
48
+ s.add_development_dependency 'github-markup', '~> 1.4', '>= 1.4'
49
+ s.add_development_dependency 'inch', '~> 0.6'
50
50
  s.add_development_dependency 'guard-inch', '~> 0.1.0'
51
51
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: washout_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wash_out
@@ -36,60 +36,60 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '3.3'
39
+ version: '3.5'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: '3.3'
42
+ version: '3.5'
43
43
  type: :development
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '3.3'
49
+ version: '3.5'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: '3.3'
52
+ version: '3.5'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: savon
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '2.5'
59
+ version: '2.11'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: '2.5'
62
+ version: '2.11'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.5'
69
+ version: '2.11'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: '2.5'
72
+ version: '2.11'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: httpi
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: '2.1'
79
+ version: '2.4'
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '2.1'
82
+ version: '2.4'
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.1'
89
+ version: '2.4'
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: '2.1'
92
+ version: '2.4'
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: nokogiri
95
95
  requirement: !ruby/object:Gem::Requirement
@@ -116,80 +116,80 @@ dependencies:
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: '2.0'
119
+ version: '3.3'
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
- version: '2.0'
122
+ version: '3.3'
123
123
  type: :development
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: '2.0'
129
+ version: '3.3'
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
- version: '2.0'
132
+ version: '3.3'
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: guard
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: 2.6.1
139
+ version: '2.13'
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
- version: '2.6'
142
+ version: '2.13'
143
143
  type: :development
144
144
  prerelease: false
145
145
  version_requirements: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
- version: 2.6.1
149
+ version: '2.13'
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '2.6'
152
+ version: '2.13'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: guard-rspec
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 4.2.9
159
+ version: '4.6'
160
160
  - - ">="
161
161
  - !ruby/object:Gem::Version
162
- version: '4.2'
162
+ version: '4.6'
163
163
  type: :development
164
164
  prerelease: false
165
165
  version_requirements: !ruby/object:Gem::Requirement
166
166
  requirements:
167
167
  - - "~>"
168
168
  - !ruby/object:Gem::Version
169
- version: 4.2.9
169
+ version: '4.6'
170
170
  - - ">="
171
171
  - !ruby/object:Gem::Version
172
- version: '4.2'
172
+ version: '4.6'
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: appraisal
175
175
  requirement: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '1.0'
179
+ version: '2.0'
180
180
  - - ">="
181
181
  - !ruby/object:Gem::Version
182
- version: '1.0'
182
+ version: '2.0'
183
183
  type: :development
184
184
  prerelease: false
185
185
  version_requirements: !ruby/object:Gem::Requirement
186
186
  requirements:
187
187
  - - "~>"
188
188
  - !ruby/object:Gem::Version
189
- version: '1.0'
189
+ version: '2.0'
190
190
  - - ">="
191
191
  - !ruby/object:Gem::Version
192
- version: '1.0'
192
+ version: '2.0'
193
193
  - !ruby/object:Gem::Dependency
194
194
  name: simplecov
195
195
  requirement: !ruby/object:Gem::Requirement
@@ -256,20 +256,40 @@ dependencies:
256
256
  requirements:
257
257
  - - "~>"
258
258
  - !ruby/object:Gem::Version
259
- version: '0.7'
259
+ version: '0.8'
260
260
  - - ">="
261
261
  - !ruby/object:Gem::Version
262
- version: '0.7'
262
+ version: '0.8'
263
263
  type: :development
264
264
  prerelease: false
265
265
  version_requirements: !ruby/object:Gem::Requirement
266
266
  requirements:
267
267
  - - "~>"
268
268
  - !ruby/object:Gem::Version
269
- version: '0.7'
269
+ version: '0.8'
270
270
  - - ">="
271
271
  - !ruby/object:Gem::Version
272
- version: '0.7'
272
+ version: '0.8'
273
+ - !ruby/object:Gem::Dependency
274
+ name: test-unit
275
+ requirement: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - "~>"
278
+ - !ruby/object:Gem::Version
279
+ version: '3.1'
280
+ - - ">="
281
+ - !ruby/object:Gem::Version
282
+ version: '3.1'
283
+ type: :development
284
+ prerelease: false
285
+ version_requirements: !ruby/object:Gem::Requirement
286
+ requirements:
287
+ - - "~>"
288
+ - !ruby/object:Gem::Version
289
+ version: '3.1'
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '3.1'
273
293
  - !ruby/object:Gem::Dependency
274
294
  name: rvm-tester
275
295
  requirement: !ruby/object:Gem::Requirement
@@ -316,20 +336,20 @@ dependencies:
316
336
  requirements:
317
337
  - - "~>"
318
338
  - !ruby/object:Gem::Version
319
- version: '2.2'
339
+ version: '2.4'
320
340
  - - ">="
321
341
  - !ruby/object:Gem::Version
322
- version: 2.2.1
342
+ version: '2.4'
323
343
  type: :development
324
344
  prerelease: false
325
345
  version_requirements: !ruby/object:Gem::Requirement
326
346
  requirements:
327
347
  - - "~>"
328
348
  - !ruby/object:Gem::Version
329
- version: '2.2'
349
+ version: '2.4'
330
350
  - - ">="
331
351
  - !ruby/object:Gem::Version
332
- version: 2.2.1
352
+ version: '2.4'
333
353
  - !ruby/object:Gem::Dependency
334
354
  name: selenium-webdriver
335
355
  requirement: !ruby/object:Gem::Requirement
@@ -356,54 +376,60 @@ dependencies:
356
376
  requirements:
357
377
  - - "~>"
358
378
  - !ruby/object:Gem::Version
359
- version: '1.0'
379
+ version: '2.2'
360
380
  - - ">="
361
381
  - !ruby/object:Gem::Version
362
- version: 1.0.1
382
+ version: '2.2'
363
383
  type: :development
364
384
  prerelease: false
365
385
  version_requirements: !ruby/object:Gem::Requirement
366
386
  requirements:
367
387
  - - "~>"
368
388
  - !ruby/object:Gem::Version
369
- version: '1.0'
389
+ version: '2.2'
370
390
  - - ">="
371
391
  - !ruby/object:Gem::Version
372
- version: 1.0.1
392
+ version: '2.2'
373
393
  - !ruby/object:Gem::Dependency
374
394
  name: rubocop
375
395
  requirement: !ruby/object:Gem::Requirement
376
396
  requirements:
377
- - - '='
397
+ - - "~>"
378
398
  - !ruby/object:Gem::Version
379
- version: '0.29'
399
+ version: '0.3'
400
+ - - ">="
401
+ - !ruby/object:Gem::Version
402
+ version: '0.33'
380
403
  type: :development
381
404
  prerelease: false
382
405
  version_requirements: !ruby/object:Gem::Requirement
383
406
  requirements:
384
- - - '='
407
+ - - "~>"
408
+ - !ruby/object:Gem::Version
409
+ version: '0.3'
410
+ - - ">="
385
411
  - !ruby/object:Gem::Version
386
- version: '0.29'
412
+ version: '0.33'
387
413
  - !ruby/object:Gem::Dependency
388
414
  name: phare
389
415
  requirement: !ruby/object:Gem::Requirement
390
416
  requirements:
391
417
  - - "~>"
392
418
  - !ruby/object:Gem::Version
393
- version: '0.6'
419
+ version: '0.7'
394
420
  - - ">="
395
421
  - !ruby/object:Gem::Version
396
- version: '0.6'
422
+ version: '0.7'
397
423
  type: :development
398
424
  prerelease: false
399
425
  version_requirements: !ruby/object:Gem::Requirement
400
426
  requirements:
401
427
  - - "~>"
402
428
  - !ruby/object:Gem::Version
403
- version: '0.6'
429
+ version: '0.7'
404
430
  - - ">="
405
431
  - !ruby/object:Gem::Version
406
- version: '0.6'
432
+ version: '0.7'
407
433
  - !ruby/object:Gem::Dependency
408
434
  name: yard
409
435
  requirement: !ruby/object:Gem::Requirement
@@ -450,54 +476,54 @@ dependencies:
450
476
  requirements:
451
477
  - - "~>"
452
478
  - !ruby/object:Gem::Version
453
- version: 3.2.2
479
+ version: '3.3'
454
480
  - - ">="
455
481
  - !ruby/object:Gem::Version
456
- version: 3.2.2
482
+ version: '3.3'
457
483
  type: :development
458
484
  prerelease: false
459
485
  version_requirements: !ruby/object:Gem::Requirement
460
486
  requirements:
461
487
  - - "~>"
462
488
  - !ruby/object:Gem::Version
463
- version: 3.2.2
489
+ version: '3.3'
464
490
  - - ">="
465
491
  - !ruby/object:Gem::Version
466
- version: 3.2.2
492
+ version: '3.3'
467
493
  - !ruby/object:Gem::Dependency
468
494
  name: github-markup
469
495
  requirement: !ruby/object:Gem::Requirement
470
496
  requirements:
471
497
  - - "~>"
472
498
  - !ruby/object:Gem::Version
473
- version: 1.3.3
499
+ version: '1.4'
474
500
  - - ">="
475
501
  - !ruby/object:Gem::Version
476
- version: 1.3.3
502
+ version: '1.4'
477
503
  type: :development
478
504
  prerelease: false
479
505
  version_requirements: !ruby/object:Gem::Requirement
480
506
  requirements:
481
507
  - - "~>"
482
508
  - !ruby/object:Gem::Version
483
- version: 1.3.3
509
+ version: '1.4'
484
510
  - - ">="
485
511
  - !ruby/object:Gem::Version
486
- version: 1.3.3
512
+ version: '1.4'
487
513
  - !ruby/object:Gem::Dependency
488
514
  name: inch
489
515
  requirement: !ruby/object:Gem::Requirement
490
516
  requirements:
491
517
  - - "~>"
492
518
  - !ruby/object:Gem::Version
493
- version: 0.5.10
519
+ version: '0.6'
494
520
  type: :development
495
521
  prerelease: false
496
522
  version_requirements: !ruby/object:Gem::Requirement
497
523
  requirements:
498
524
  - - "~>"
499
525
  - !ruby/object:Gem::Version
500
- version: 0.5.10
526
+ version: '0.6'
501
527
  - !ruby/object:Gem::Dependency
502
528
  name: guard-inch
503
529
  requirement: !ruby/object:Gem::Requirement
@@ -625,6 +651,7 @@ files:
625
651
  - spec/support/complex_types/fluffy_container.rb
626
652
  - spec/support/complex_types/project_type.rb
627
653
  - spec/support/complex_types/test_type.rb
654
+ - spec/support/fix_minitest.rb
628
655
  - washout_builder.gemspec
629
656
  homepage: http://github.com/bogdanRada/washout_builder/
630
657
  licenses:
@@ -646,7 +673,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
646
673
  version: '0'
647
674
  requirements: []
648
675
  rubyforge_project:
649
- rubygems_version: 2.4.6
676
+ rubygems_version: 2.4.8
650
677
  signing_key:
651
678
  specification_version: 4
652
679
  summary: WashOut Soap Service HTML-Documentation generator (extends WashOut https://github.com/inossidabile/wash_out/)
@@ -692,4 +719,5 @@ test_files:
692
719
  - spec/support/complex_types/fluffy_container.rb
693
720
  - spec/support/complex_types/project_type.rb
694
721
  - spec/support/complex_types/test_type.rb
722
+ - spec/support/fix_minitest.rb
695
723
  has_rdoc: