├── .github └── workflows │ └── ruby.yml ├── .gitignore ├── .rubocop.yml ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── danger-swiftformat.gemspec ├── lib ├── danger_plugin.rb ├── danger_swiftformat.rb └── swiftformat │ ├── cmd.rb │ ├── gem_version.rb │ ├── plugin.rb │ └── swiftformat.rb ├── scripts └── release.sh └── spec ├── fixtures ├── 0_GoodFile.swift ├── 1_BadFile.swift ├── 2_GoodFile.swift ├── swiftformat_output.txt ├── swiftformat_output_bad.txt └── swiftformat_output_with_errors.txt ├── spec_helper.rb └── swiftformat ├── plugin_spec.rb └── swiftformat_spec.rb /.github/workflows/ruby.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/.github/workflows/ruby.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | pkg 3 | .idea/ 4 | .yardoc 5 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/Rakefile -------------------------------------------------------------------------------- /danger-swiftformat.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/danger-swiftformat.gemspec -------------------------------------------------------------------------------- /lib/danger_plugin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/lib/danger_plugin.rb -------------------------------------------------------------------------------- /lib/danger_swiftformat.rb: -------------------------------------------------------------------------------- 1 | require "swiftformat/gem_version" 2 | -------------------------------------------------------------------------------- /lib/swiftformat/cmd.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/lib/swiftformat/cmd.rb -------------------------------------------------------------------------------- /lib/swiftformat/gem_version.rb: -------------------------------------------------------------------------------- 1 | module Swiftformat 2 | VERSION = "0.9.0".freeze 3 | end 4 | -------------------------------------------------------------------------------- /lib/swiftformat/plugin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/lib/swiftformat/plugin.rb -------------------------------------------------------------------------------- /lib/swiftformat/swiftformat.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/lib/swiftformat/swiftformat.rb -------------------------------------------------------------------------------- /scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/scripts/release.sh -------------------------------------------------------------------------------- /spec/fixtures/0_GoodFile.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/fixtures/0_GoodFile.swift -------------------------------------------------------------------------------- /spec/fixtures/1_BadFile.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/fixtures/1_BadFile.swift -------------------------------------------------------------------------------- /spec/fixtures/2_GoodFile.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/fixtures/2_GoodFile.swift -------------------------------------------------------------------------------- /spec/fixtures/swiftformat_output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/fixtures/swiftformat_output.txt -------------------------------------------------------------------------------- /spec/fixtures/swiftformat_output_bad.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/fixtures/swiftformat_output_bad.txt -------------------------------------------------------------------------------- /spec/fixtures/swiftformat_output_with_errors.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/fixtures/swiftformat_output_with_errors.txt -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/swiftformat/plugin_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/swiftformat/plugin_spec.rb -------------------------------------------------------------------------------- /spec/swiftformat/swiftformat_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garriguv/danger-ruby-swiftformat/HEAD/spec/swiftformat/swiftformat_spec.rb --------------------------------------------------------------------------------