exe/soaspec in soaspec-0.1.13 vs exe/soaspec in soaspec-0.1.14

- old
+ new

@@ -26,25 +26,20 @@ desc 'new [type]', 'Initialize soaspec repository' option :ci, default: 'jenkins', banner: 'What Continuous Integration is used' option :virtual, type: :boolean, default: true, banner: 'Whether to set things up for a virtual server' def new(type = 'initial') @virtual = options[:virtual] + @type = type puts "Creating files for soaspec. options are #{options}" create_file(filename: 'Gemfile') create_file(filename: 'Rakefile') create_file(filename: '.rspec') create_file(filename: 'README.md') create_file(filename: '.travis.yml') if options[:ci] == 'travis' - if type == 'soap' - create_file filename: 'lib/blz_service.rb' - create_file filename: 'lib/shared_example.rb' - end - create_file(filename: 'config/data/default.yml') + create_folder 'lib' + create_files_for type + create_file(filename: 'config/data/default.yml') # Example of data file create_file(filename: 'spec/spec_helper.rb') - create_file(filename: 'spec/soap_spec.rb') if type == 'soap' - 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" end desc 'generate', 'Generate initial test code from wsdl' \ No newline at end of file