prospectus 0.2.0 → 0.2.1

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: dbc96a9ea158ebcc23030c2fbcc23ae5be421dfd
4
- data.tar.gz: 188cd8a8f9f303a8b27e9a252fa5449c02cce8de
3
+ metadata.gz: d369b5ad0d52a99bf93f5689c77d6f59fe5dbfc6
4
+ data.tar.gz: 130ebcd41dc9580d7fa469cb4e038299ea61c962
5
5
  SHA512:
6
- metadata.gz: 16929c66708d2e628d411bfa59966c23a2ecf97f376212ac11869d85e1917d33219c7638eea5fe995920223371f968266fb2c2f2ceec7bb2caec79a7f2a35d61
7
- data.tar.gz: 7d3f88689b39c81c2707200c5b63e026464baed1f4eb7075d86889e0faffcad89ac79220c7944332b1267280f273b29c52365c766eafa67c254d439800682014
6
+ metadata.gz: 6304ae8db107d70f8b204eca3b09a9cc0b73af52d1100eb4511b6a92a4bb36537ee9c95d4f007f5ed10642dc3b676b01d25861698104a4a29aaa6ae2b0f68d2c
7
+ data.tar.gz: 96c236fe32063434e34178e3c802eed90d2971be7e3d066547ede729a539886ae55be111f6a61efe5117b00f0c6710703fea8018823fef96e12e62eb7441608b
data/.circle-ruby CHANGED
@@ -1,3 +1,3 @@
1
- 2.3.1
2
- 2.2.5
3
- 2.1.10
1
+ 2.4.1
2
+ 2.3.4
3
+ 2.2.7
data/circle.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  dependencies:
2
2
  override:
3
+ - 'for i in $(cat .circle-ruby) ; do rvm-exec $i gem update --system --no-doc || exit 1 ; done'
3
4
  - 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done'
4
5
  test:
5
6
  override:
data/lib/prospectus.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'logcabin'
3
4
 
4
5
  ##
@@ -13,10 +13,6 @@ module LogCabin
13
13
  )
14
14
  end
15
15
 
16
- def gitlab_slug(repo)
17
- repo.sub('/', '%2F')
18
- end
19
-
20
16
  private
21
17
 
22
18
  def gitlab_token
@@ -15,7 +15,7 @@ module LogCabin
15
15
  private
16
16
 
17
17
  def parse_api
18
- %w(red yellow).each do |color|
18
+ %w[red yellow].each do |color|
19
19
  return color if colors.include? color
20
20
  end
21
21
  'green'
@@ -17,7 +17,7 @@ module LogCabin
17
17
  private
18
18
 
19
19
  def tag
20
- @tag ||= gitlab_api.tags(gitlab_slug(@repo)).sort do |*points|
20
+ @tag ||= gitlab_api.tags(@repo).sort do |*points|
21
21
  dates = points.map { |x| Date.parse(x.commit.committed_date) }
22
22
  dates.last <=> dates.first
23
23
  end.first.name
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  ##
3
4
  # Declare package version
4
5
  module Prospectus
5
- VERSION = '0.2.0'.freeze
6
+ VERSION = '0.2.1'.freeze
6
7
  end
data/prospectus.gemspec CHANGED
@@ -20,8 +20,8 @@ Gem::Specification.new do |s|
20
20
  s.add_dependency 'mercenary', '~> 0.3.4'
21
21
  s.add_dependency 'logcabin', '~> 0.1.3'
22
22
 
23
- s.add_development_dependency 'rubocop', '~> 0.43.0'
24
- s.add_development_dependency 'rake', '~> 11.3.0'
23
+ s.add_development_dependency 'rubocop', '~> 0.48.0'
24
+ s.add_development_dependency 'rake', '~> 12.0.0'
25
25
  s.add_development_dependency 'codecov', '~> 0.1.1'
26
26
  s.add_development_dependency 'rspec', '~> 3.5.0'
27
27
  s.add_development_dependency 'fuubar', '~> 2.2.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prospectus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-03 00:00:00.000000000 Z
11
+ date: 2017-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.43.0
47
+ version: 0.48.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.43.0
54
+ version: 0.48.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 11.3.0
61
+ version: 12.0.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 11.3.0
68
+ version: 12.0.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: codecov
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
171
  version: '0'
172
172
  requirements: []
173
173
  rubyforge_project:
174
- rubygems_version: 2.5.1
174
+ rubygems_version: 2.6.11
175
175
  signing_key:
176
176
  specification_version: 4
177
177
  summary: Tool and DSL for checking expected vs actual state