soaspec 0.0.40 → 0.0.41

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: 9aade838e7d024eb3dca086547ecaf6bed7e584b
4
- data.tar.gz: 24947358f111dd3f1f4be9893db131a9c61a5f8a
3
+ metadata.gz: c1c6fa639355be8a6c8d60c4bc917bfc69a11b6b
4
+ data.tar.gz: '09bf42fc69f85dd63136b382333f0b423357b8b4'
5
5
  SHA512:
6
- metadata.gz: '0883ca56888ff5929b05c540116a3547593e9b6b0bef689c65158861d2227363f8df0b2476fc0a9a6da8ceb86ede5851f91a9c063a3c8e78eaa6cd953f20af0d'
7
- data.tar.gz: 1dbad99824910612e14afd61d77a73db07ae26a0e9f9a842fd407bf722b6d659fb05750eaece7bde8760ecc46915fa8d96472ddbf81af7ebf1a8fc710a1fecd5
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- soaspec (0.0.40)
4
+ soaspec (0.0.41)
5
5
  jsonpath
6
6
  rest-client (>= 2.0)
7
7
  rspec (~> 3.0)
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: rake_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)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Soaspec
2
- VERSION = '0.0.40'
2
+ VERSION = '0.0.41'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soaspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - SamuelGarrattIQA