jenkins_pipeline_builder 0.7.1 → 0.7.2

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: 294473072fd747d1bd02d377b9ddfd17c2c46c38
4
- data.tar.gz: a7a28bae727b44af5402760d465e5e643e55ba16
3
+ metadata.gz: 0471107d7bc99b90f2b8ba83efab5aa9dbf384b6
4
+ data.tar.gz: 011d30ba876efe8eca85362ea92e6abfc35e236b
5
5
  SHA512:
6
- metadata.gz: 2ad2144de19201c8702bfc73c46958a00306c294ce716f0307a6532cc2be0d11b5baeef30d4101ae46a0e4bfff904d92185ac45127f1cebf7769157513d810e4
7
- data.tar.gz: c0d8d748642d6a417e3d022d4cbf6c3fbcc6e1093dc433473e0b3791002048b264af90cc29c3aabc5f6c397abee3764fcbb41b2a2adca6cf1e1f955d6b181c24
6
+ metadata.gz: 969f46d5ab56c0ab7559c8088128cbc5ec9fe333b7cf4fbe12bd5e2da69bcad0b0eb32e603e59ce0907169b9b2bf936e9a1933b33809fb66774944ec8c12a216
7
+ data.tar.gz: 29ef79a18778ae8079899c29de6d4d21bb2e87f7231b84519328885aef195cc7440f0d36d753e37865663b74177fb1bfd424c0b911411a7c6e8386fa8a61bf78
@@ -10,6 +10,9 @@
10
10
  Style/CyclomaticComplexity:
11
11
  Max: 9
12
12
 
13
+ Metrics/PerceivedComplexity:
14
+ Max: 11
15
+
13
16
  ########
14
17
  # Fix these later
15
18
  # Configuration parameters: CountComments.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "https://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in jenkins_pipeline_builder.gemspec
4
4
  gemspec
@@ -42,5 +42,5 @@ automating Job & Pipeline creation from the YAML files checked-in with your appl
42
42
  spec.add_development_dependency 'yard'
43
43
  spec.add_development_dependency 'rspec_junit_formatter'
44
44
  spec.add_development_dependency 'webmock'
45
- spec.add_development_dependency 'rubocop'
45
+ spec.add_development_dependency 'rubocop', '> 0.24.0'
46
46
  end
@@ -66,7 +66,8 @@ def job_attribute(&block)
66
66
  return false
67
67
  end
68
68
  JenkinsPipelineBuilder.registry.register([:job], set)
69
- puts "Successfully registered #{set.name} for versions #{set.min_version} and higher" if set.announced
69
+ versions = set.extensions.map { |ext| ext.min_version }
70
+ puts "Successfully registered #{set.name} for versions #{versions}" if set.announced
70
71
  end
71
72
 
72
73
  module JenkinsPipelineBuilder
@@ -21,5 +21,5 @@
21
21
  #
22
22
 
23
23
  module JenkinsPipelineBuilder
24
- VERSION = '0.7.1'
24
+ VERSION = '0.7.2'
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins_pipeline_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Moochnick
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-11 00:00:00.000000000 Z
12
+ date: 2014-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -295,16 +295,16 @@ dependencies:
295
295
  name: rubocop
296
296
  requirement: !ruby/object:Gem::Requirement
297
297
  requirements:
298
- - - '>='
298
+ - - '>'
299
299
  - !ruby/object:Gem::Version
300
- version: '0'
300
+ version: 0.24.0
301
301
  type: :development
302
302
  prerelease: false
303
303
  version_requirements: !ruby/object:Gem::Requirement
304
304
  requirements:
305
- - - '>='
305
+ - - '>'
306
306
  - !ruby/object:Gem::Version
307
- version: '0'
307
+ version: 0.24.0
308
308
  description: |-
309
309
  This is a simple and easy-to-use Jenkins Pipeline generator with features focused on
310
310
  automating Job & Pipeline creation from the YAML files checked-in with your application source code