exe/soaspec in soaspec-0.1.3 vs exe/soaspec in soaspec-0.1.4
- old
+ new
@@ -32,22 +32,17 @@
create_file(filename: 'Gemfile')
create_file(filename: 'Rakefile')
create_file(filename: '.rspec')
create_file(filename: '.travis.yml') if options[:ci] == 'travis'
create_file(filename: 'README.md')
- create_folder 'lib'
if type == 'soap'
create_file filename: 'lib/blz_service.rb'
create_file filename: 'lib/shared_example.rb'
end
- create_folder 'config'
- create_folder 'config/data'
create_file(filename: 'config/data/default.yml')
- create_folder 'spec'
create_file(filename: 'spec/spec_helper.rb')
create_file(filename: 'spec/soap_spec.rb') if type == 'soap'
- create_folder 'template'
create_file(filename: 'template/soap_template.xml', erb: false) if type == 'soap'
create_folder 'logs'
puts "Run 'bundle install' to install necessary gems"
puts "Run 'rake spec' to run the tests"
@@ -78,16 +73,11 @@
create_file filename: 'Rakefile', ignore_if_present: true
create_file filename: 'Gemfile', ignore_if_present: true
create_file(filename: '.rspec')
create_file(filename: '.travis.yml') if options[:ci] == 'travis'
create_file filename: 'README.md', ignore_if_present: true
- create_folder 'spec'
create_file filename: 'spec/spec_helper.rb', ignore_if_present: true
-
create_folder 'logs'
- create_folder 'config'
- create_folder 'config/data'
- create_folder 'lib'
create_file filename: "lib/#{options[:name].snakecase}.rb", content: class_content
# Files according to WSDL
@wsdl_doc.operations.each do |operation, details|
puts "Creating files for operation: #{operation}"
\ No newline at end of file