u2i-ci_utils 3.1.1 → 3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 017ad7c8ac8d45368f36ef286b936cc8f836864e
4
- data.tar.gz: 2019f566218fe5dea5af523a8e2a0df9749fdfc7
3
+ metadata.gz: 3b1e8046724e806949d1c9ff7e01f43e2f970b55
4
+ data.tar.gz: e30cfbd7f92e1127271139eba544f3690d81751b
5
5
  SHA512:
6
- metadata.gz: c33a45fee47d072e626c39e284909c32dabb72e6eb1a46094a29e1bdeeeb2c743e4a2dabc0a33624706ab7d6258979abe205ee5f6df23486bdd2c880e7ecc5ff
7
- data.tar.gz: 6fdf2376c0d279b67a818ea0cae1990f1039e165c7686091111340b5fe65e22e6091c7167a55d19aae2014d364d374b88c8209874829cbe58e4283c849c8abb2
6
+ metadata.gz: 0189322786fd419637f3aec6b50dd1a59ebab218568ad4e2ae12fb986c11b289f1aa4a4219fcd1e6ea903bcac85912beb029a8a27146d61a2c4057ee1e924c40
7
+ data.tar.gz: 56d3b40b9d55be44b6f496818a34ad406b66aeb034237e71275f0ae35540e59ba108493a4bdf14a5fbac1773666adf3709ef3838c87b1b3e942e1f3a4d2dd40a
data/CHANGELOG.md ADDED
@@ -0,0 +1,28 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
+ and this project adheres to [Semantic Versioning](http://semver.org/).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ ### Changed
13
+
14
+ ## [3.2.0] - 2016-10-11
15
+
16
+ ### Added
17
+ - Pronto uses Rugged which does not support JRuby.
18
+ Exclude Pronto from dependencies for JRuby
19
+ and add support for Java platform
20
+
21
+ ## [3.1.1] - 2016-10-11
22
+
23
+ ### Added
24
+ - CHANGELOG.md
25
+ - Pronto Rake tasks
26
+ - Pronto Runners as a dependency
27
+
28
+ ## [3.1.0] - 2016-10-11 [YANKED]
@@ -1,26 +1,37 @@
1
- namespace :ci do
2
- namespace :pronto do
3
- task :load_pronto_plugins do
4
- require 'pronto'
5
- Pronto::GemNames.new.to_a.each { |gem_name| require "pronto/#{gem_name}" }
1
+ if RUBY_PLATFORM == 'java'
2
+ namespace :ci do
3
+ namespace :pronto do
4
+ task :load_pronto_plugins
5
+ task local: :load_pronto_plugins
6
+ task branch: :load_pronto_plugins
7
+ task pr: :load_pronto_plugins
6
8
  end
9
+ end
10
+ else
11
+ namespace :ci do
12
+ namespace :pronto do
13
+ task :load_pronto_plugins do
14
+ require 'pronto'
15
+ Pronto::GemNames.new.to_a.each { |gem_name| require "pronto/#{gem_name}" }
16
+ end
7
17
 
8
- desc 'run pronto against unstaged'
9
- task local: :load_pronto_plugins do
10
- Pronto.run('HEAD', '.')
11
- end
18
+ desc 'run pronto against unstaged'
19
+ task local: :load_pronto_plugins do
20
+ Pronto.run('HEAD', '.')
21
+ end
12
22
 
13
- desc 'run pronto against branch, eg. origin/master'
14
- task :branch, [:branch_name] => :load_pronto_plugins do |_t, args|
15
- Pronto.run(args[:branch_name], '.')
16
- end
23
+ desc 'run pronto against branch, eg. origin/master'
24
+ task :branch, [:branch_name] => :load_pronto_plugins do |_t, args|
25
+ Pronto.run(args[:branch_name], '.')
26
+ end
17
27
 
18
- desc 'run pronto on PR, provide base branch as argument and ' \
28
+ desc 'run pronto on PR, provide base branch as argument and ' \
19
29
  'GITHUB_ACCESS_TOKEN=token and PULL_REQUEST_ID=id as ENV variables'
20
- task :pr, [:branch_name] => :load_pronto_plugins do |_t, args|
21
- formatter = Pronto::Formatter::GithubPullRequestFormatter.new
22
- status_formatter = Pronto::Formatter::GithubStatusFormatter.new
23
- Pronto.run(args[:branch_name], '.', [formatter, status_formatter])
30
+ task :pr, [:branch_name] => :load_pronto_plugins do |_t, args|
31
+ formatter = Pronto::Formatter::GithubPullRequestFormatter.new
32
+ status_formatter = Pronto::Formatter::GithubStatusFormatter.new
33
+ Pronto.run(args[:branch_name], '.', [formatter, status_formatter])
34
+ end
24
35
  end
25
36
  end
26
37
  end
@@ -1,5 +1,5 @@
1
1
  module U2i
2
2
  module CiUtils
3
- VERSION = '3.1.1'
3
+ VERSION = '3.2.0'
4
4
  end
5
5
  end
data/u2i-ci_utils.gemspec CHANGED
@@ -33,10 +33,14 @@ Gem::Specification.new do |spec|
33
33
  spec.add_dependency 'ci_reporter'
34
34
  spec.add_dependency 'ci_reporter_rspec'
35
35
 
36
- spec.add_dependency 'pronto', '~> 0.7'
37
- spec.add_dependency 'pronto-rubocop', '~> 0.7'
38
- spec.add_dependency 'pronto-brakeman', '~> 0.7'
39
- spec.add_dependency 'pronto-flay', '~> 0.7'
40
- spec.add_dependency 'pronto-reek', '~> 0.7'
41
- spec.add_dependency 'pronto-fasterer', '~> 0.7'
36
+ if RUBY_PLATFORM == 'java'
37
+ spec.platform = 'java'
38
+ else
39
+ spec.add_dependency 'pronto', '~> 0.7'
40
+ spec.add_dependency 'pronto-rubocop', '~> 0.7'
41
+ spec.add_dependency 'pronto-brakeman', '~> 0.7'
42
+ spec.add_dependency 'pronto-flay', '~> 0.7'
43
+ spec.add_dependency 'pronto-reek', '~> 0.7'
44
+ spec.add_dependency 'pronto-fasterer', '~> 0.7'
45
+ end
42
46
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: u2i-ci_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Zima
@@ -245,6 +245,7 @@ files:
245
245
  - ".gitignore"
246
246
  - ".ruby-version"
247
247
  - ".travis.yml"
248
+ - CHANGELOG.md
248
249
  - Gemfile
249
250
  - LICENSE.txt
250
251
  - README.md