danger-spm_version_updates 0.2.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +32 -66
- data/danger-spm_version_updates.gemspec +28 -42
- data/lib/danger_spm_version_updates.rb +1 -1
- data/lib/spm_version_updates/gem_version.rb +4 -3
- data/lib/spm_version_updates/git.rb +19 -27
- data/lib/spm_version_updates/plugin.rb +107 -80
- data/lib/spm_version_updates/xcode.rb +32 -34
- metadata +7 -239
- data/CODE_OF_CONDUCT.md +0 -131
- data/Gemfile +0 -9
- data/Gemfile.lock +0 -248
- data/Guardfile +0 -21
- data/Rakefile +0 -35
data/Guardfile
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# A guardfile for making Danger Plugins
|
|
4
|
-
# For more info see https://github.com/guard/guard#readme
|
|
5
|
-
|
|
6
|
-
# To run, use `bundle exec guard`.
|
|
7
|
-
|
|
8
|
-
guard :rspec, cmd: "bundle exec rspec" do
|
|
9
|
-
require "guard/rspec/dsl"
|
|
10
|
-
dsl = Guard::RSpec::Dsl.new(self)
|
|
11
|
-
|
|
12
|
-
# RSpec files
|
|
13
|
-
rspec = dsl.rspec
|
|
14
|
-
watch(rspec.spec_helper) { rspec.spec_dir }
|
|
15
|
-
watch(rspec.spec_support) { rspec.spec_dir }
|
|
16
|
-
watch(rspec.spec_files)
|
|
17
|
-
|
|
18
|
-
# Ruby files
|
|
19
|
-
ruby = dsl.ruby
|
|
20
|
-
dsl.watch_spec_files_for(ruby.lib_files)
|
|
21
|
-
end
|
data/Rakefile
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "bundler/gem_tasks"
|
|
4
|
-
require "reek/rake/task"
|
|
5
|
-
require "rspec/core/rake_task"
|
|
6
|
-
require "rubocop/rake_task"
|
|
7
|
-
|
|
8
|
-
RSpec::Core::RakeTask.new(:specs)
|
|
9
|
-
|
|
10
|
-
task default: :specs
|
|
11
|
-
|
|
12
|
-
desc "Run all test and lint tasks"
|
|
13
|
-
task :spec do
|
|
14
|
-
Rake::Task["specs"].invoke
|
|
15
|
-
Rake::Task["rubocop"].invoke
|
|
16
|
-
Rake::Task["spec_docs"].invoke
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
desc "Run RuboCop on the lib/specs directory"
|
|
20
|
-
RuboCop::RakeTask.new(:rubocop) { |task|
|
|
21
|
-
task.requires << "rubocop-rspec"
|
|
22
|
-
task.requires << "rubocop-rake"
|
|
23
|
-
task.requires << "rubocop-performance"
|
|
24
|
-
task.patterns = ["lib/**/*.rb", "spec/**/*.rb"]
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
desc "Run Reek on the lib/specs directory"
|
|
28
|
-
Reek::Rake::Task.new(:reek) { |task|
|
|
29
|
-
task.source_files = FileList["lib/**/*.rb", "spec/**/*.rb"]
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
desc "Ensure that the plugin passes `danger plugins lint`"
|
|
33
|
-
task :spec_docs do
|
|
34
|
-
sh "bundle exec danger plugins lint"
|
|
35
|
-
end
|