soaspec 0.0.40 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/Gemfile.lock +1 -1
- data/exe/soaspec-init +1 -1
- data/lib/soaspec/exe_helpers.rb +18 -0
- data/lib/soaspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1c6fa639355be8a6c8d60c4bc917bfc69a11b6b
|
4
|
+
data.tar.gz: '09bf42fc69f85dd63136b382333f0b423357b8b4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd2cd2db218e4ff2d76d245e9bbaf3cedf38e8a2720c223ef7d8e044e6f9c1bbcc59da01b0b672ec69d1457639bcd021b6c0c01b09c57fa21eb78b30155afa0b
|
7
|
+
data.tar.gz: 13a3c6b2753ccbdbe4afc6a64ee729ed88991c3502b4b9f1a7d67892b418198a3665c721ebd6fe7a7cff82afde7b17b9ec4d7bedcbe2d6cb72d314b09b8c619c
|
data/ChangeLog
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
Version 0.0.41
|
2
|
+
* Bug fix
|
3
|
+
* soaspec-generate not designed to work with virtual service. Rakefile not try to set that up
|
4
|
+
|
1
5
|
Version 0.0.40
|
2
6
|
* Enhancements
|
3
7
|
* soaspec-generate now handle a wsdl without parameters in the operation and rather look up input element type
|
data/Gemfile.lock
CHANGED
data/exe/soaspec-init
CHANGED
@@ -224,7 +224,7 @@ test_wsdl_content = <<EOF
|
|
224
224
|
EOF
|
225
225
|
|
226
226
|
create_file(filename: 'Gemfile', content: gem_content)
|
227
|
-
create_file(filename: 'Rakefile', content:
|
227
|
+
create_file(filename: 'Rakefile', content: rake__virtual_content)
|
228
228
|
create_file(filename: 'README.md', content: readme_content)
|
229
229
|
create_folder 'lib'
|
230
230
|
create_file(filename: 'lib/blz_service.rb', content: weather_web_service)
|
data/lib/soaspec/exe_helpers.rb
CHANGED
@@ -34,6 +34,24 @@ module Soaspec
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def rake_content
|
37
|
+
<<-RAKE
|
38
|
+
# The list of task for a Rake file can be seen with `rake -T`
|
39
|
+
require 'rspec/core/rake_task' # See See https://relishapp.com/rspec/rspec-core/docs/command-line/rake-task for details
|
40
|
+
|
41
|
+
# This runs `rspec` command with the following options. Type `rake spec` to run this task
|
42
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
43
|
+
t.pattern = "spec/*_spec.rb" # Run all specs in 'spec' folder ending in '_spec'
|
44
|
+
# Next line shows output on the screen, Junit xml report and an HTML report
|
45
|
+
t.rspec_opts = "--format documentation --format RspecJunitFormatter --out logs/spec.xml --format html --out logs/spec.html"
|
46
|
+
t.fail_on_error = false
|
47
|
+
end
|
48
|
+
|
49
|
+
task :default => :spec # This runs the 'spec' task by default when no task is mentioned. E.g., if only `rake` is typed
|
50
|
+
|
51
|
+
RAKE
|
52
|
+
end
|
53
|
+
|
54
|
+
def rake__virtual_content
|
37
55
|
<<-EOF
|
38
56
|
# The list of task for a Rake file can be seen with `rake -T`
|
39
57
|
require 'rspec/core/rake_task' # See See https://relishapp.com/rspec/rspec-core/docs/command-line/rake-task for details
|
data/lib/soaspec/version.rb
CHANGED