u2i-ci_utils 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a5fba243b67c8992e3465f0f9564ca4e0a23dbc
4
- data.tar.gz: d80330ae6412e4e6873c2b2e905422dc5aad32ee
3
+ metadata.gz: c5adbbf2741c1a3f23841334984e7e6dea549ddb
4
+ data.tar.gz: c600a8eb9a776d1f1943ca1fbfbb04a34689bf88
5
5
  SHA512:
6
- metadata.gz: 3c08e0f9fa6a986c242b762d6c0be1d30d46ec6494d56ebf71679352ac695f769f1e6bc910fd6d9cf6fd7793c626eec90f5c91e47a0707c4cdca81151d4ee6c5
7
- data.tar.gz: e712bfa7259c0b7bd376f6a3a87a5567cfc182ce43fef94789675aec95117a8274dbb119d63cb6a2891c0eff3d106d467461126c613b6a10abc9b0d5d34c6162
6
+ metadata.gz: 4ecee21c470c2153de48053f00d8b7b4c1424b6a5a2360c718108064df4c8b186959f14d7bf74fc002066fd2c451633b92db184b9f48e7a30e22bec1664864f6
7
+ data.tar.gz: 2c5465fbd295b6dc5d103c3d6f408ad77e3de7584944940b3029f84fa01a91d94e58ee5ef27c6eedd418dbb5ffa832c94a9a7d2ceb8a29edaf48ea4fa936608a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.3
1
+ 2.3.0
@@ -1,4 +1,3 @@
1
- load 'u2i/ci_utils/rake_tasks/pronto.rake'
2
1
  load 'u2i/ci_utils/rake_tasks/rspec.rake'
3
2
  load 'u2i/ci_utils/rake_tasks/rubocop.rake'
4
3
  load 'u2i/ci_utils/rake_tasks/changelog.rake'
@@ -3,5 +3,4 @@ require 'github_changelog_generator/task'
3
3
  namespace :ci do
4
4
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
5
5
  end
6
-
7
6
  end
@@ -1,5 +1,5 @@
1
1
  module U2i
2
2
  module CiUtils
3
- VERSION = '1.0.2'
3
+ VERSION = '2.0.0'
4
4
  end
5
5
  end
@@ -22,12 +22,6 @@ Gem::Specification.new do |spec|
22
22
  # TODO - check if we need production dependency
23
23
  spec.add_dependency 'rake'
24
24
 
25
- unless defined?(JRUBY_VERSION)
26
- spec.add_dependency 'pronto'
27
- spec.add_dependency 'pronto-rubocop'
28
- else
29
- spec.platform = 'java'
30
- end
31
25
  spec.add_dependency 'rubocop-rspec'
32
26
  spec.add_dependency 'rubocop-checkstyle_formatter'
33
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: u2i-ci_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Zima
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-05 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,34 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: pronto
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: pronto-rubocop
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
41
  - !ruby/object:Gem::Dependency
70
42
  name: rubocop-rspec
71
43
  requirement: !ruby/object:Gem::Requirement
@@ -208,16 +180,15 @@ files:
208
180
  - LICENSE.txt
209
181
  - README.md
210
182
  - Rakefile
211
- - ci-rake_tasks.gemspec
212
183
  - lib/u2i/ci_utils.rb
213
184
  - lib/u2i/ci_utils/coverage.rb
214
185
  - lib/u2i/ci_utils/railtie.rb
215
186
  - lib/u2i/ci_utils/rake_tasks/all.rb
216
187
  - lib/u2i/ci_utils/rake_tasks/changelog.rake
217
- - lib/u2i/ci_utils/rake_tasks/pronto.rake
218
188
  - lib/u2i/ci_utils/rake_tasks/rspec.rake
219
189
  - lib/u2i/ci_utils/rake_tasks/rubocop.rake
220
190
  - lib/u2i/ci_utils/version.rb
191
+ - u2i-ci_utils.gemspec
221
192
  homepage: ''
222
193
  licenses:
223
194
  - MIT
@@ -1,46 +0,0 @@
1
- namespace :ns do
2
- namespace :pronto do
3
- task :local => '^ci:pronto:local'
4
- task :branch, [:branch_name] => '^ci:pronto:branch'
5
- task :pr, [:branch_name] => '^ci:pronto:pr'
6
- end
7
- end
8
-
9
- if defined?(JRUBY_VERSION)
10
- namespace :ci do
11
- namespace :pronto do
12
- task :local do
13
- end
14
-
15
- task :branch, [:branch_name] do |_t, _args|
16
- end
17
-
18
- task :pr, [:branch_name] do |_t, _args|
19
- end
20
- end
21
- end
22
- else
23
- require 'pronto'
24
-
25
- namespace :ci do
26
- Pronto.gem_names.each { |gem_name| require "pronto/#{gem_name}" }
27
-
28
- namespace :pronto do
29
- desc 'run pronto against unstaged'
30
- task :local do
31
- Pronto.run('HEAD', '.')
32
- end
33
-
34
- desc 'run pronto against branch, eg. origin/master'
35
- task :branch, [:branch_name] do |_t, args|
36
- Pronto.run(args[:branch_name], '.')
37
- end
38
-
39
- desc 'run pronto on PR, provide base branch as argument and GITHUB_ACCESS_TOKEN=token PULL_REQUEST_ID=id and env variables'
40
- task :pr, [:branch_name] do |_t, args|
41
- formatter = Pronto::Formatter::GithubPullRequestFormatter.new
42
- Pronto.run(args[:branch_name], '.', formatter)
43
- end
44
- end
45
- end
46
- end