lib/soaspec/exe_helpers.rb in soaspec-0.0.36 vs lib/soaspec/exe_helpers.rb in soaspec-0.0.37

- old
+ new

@@ -121,17 +121,7 @@ Reports are shown in the 'logs' folder. By default Rake produces a junit, an html report, and a traffic.log file with the API request and responses in it EOF end - # Convert key in camelcase to underscore separated (snakecase) - def underscore_key(key) - key.to_s.gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2') - .gsub(/([a-z\d])([A-Z])/,'\1_\2') - .tr('-', '_') - .gsub(/\s/, '_') - .gsub(/__+/, '_') - .downcase - end - end end \ No newline at end of file