keep_up 0.8.1 → 0.9.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/.rubocop.yml +21 -9
- data/.rubocop_todo.yml +8 -3
- data/.simplecov +5 -3
- data/.travis.yml +0 -1
- data/CHANGELOG.md +5 -0
- data/Rakefile +1 -1
- data/keep_up.gemspec +4 -4
- data/lib/keep_up/updater.rb +1 -1
- data/lib/keep_up/version.rb +1 -1
- data/lib/keep_up/version_control.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9a8cf50656d55403aaae2319218ce2801bcd9dffdea0151d86fc90f7051de27
|
4
|
+
data.tar.gz: ea53a52e56e04b9dba8134bdf86c99713847ef2158181a557f93165e326177b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 251e0b63416c6b937831aac2b65cccd5b6e3b38432af375d4210f52071e63edd4688767754c4d94ef8d540176d8fd8ee895ee51ae81926613c39fdc81e1c87cf
|
7
|
+
data.tar.gz: 0eab09bcbfc0c8472a511e9d10cf8132529a3801d5aadc68a138d7d26d6d34c636d8d6e0246ee255c72e2853ed5344019f2ec486fac0b370a4fdf4e31f75f534
|
data/.rubocop.yml
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
inherit_from: .rubocop_todo.yml
|
2
2
|
|
3
3
|
require:
|
4
|
-
- rubocop-rspec
|
5
4
|
- rubocop-performance
|
5
|
+
- rubocop-rspec
|
6
6
|
|
7
7
|
AllCops:
|
8
8
|
Exclude:
|
9
9
|
- 'tmp/**/*'
|
10
|
-
|
10
|
+
NewCops: enable
|
11
|
+
TargetRubyVersion: 2.5
|
11
12
|
|
12
|
-
#
|
13
|
+
# Be lenient with line length
|
13
14
|
Layout/LineLength:
|
14
15
|
Max: 92
|
15
16
|
|
@@ -31,7 +32,7 @@ Layout/MultilineOperationIndentation:
|
|
31
32
|
Layout/SpaceBeforeBlockBraces:
|
32
33
|
EnforcedStyleForEmptyBraces: space
|
33
34
|
|
34
|
-
#
|
35
|
+
# Assume the programmer knows how bracketed block syntax works
|
35
36
|
Lint/AmbiguousBlockAssociation:
|
36
37
|
Enabled: false
|
37
38
|
|
@@ -44,6 +45,9 @@ Metrics/BlockLength:
|
|
44
45
|
Exclude:
|
45
46
|
- 'spec/**/*'
|
46
47
|
|
48
|
+
Performance/StartWith:
|
49
|
+
AutoCorrect: true
|
50
|
+
|
47
51
|
# Allow and/or for control flow only
|
48
52
|
Style/AndOr:
|
49
53
|
EnforcedStyle: conditionals
|
@@ -52,10 +56,20 @@ Style/AndOr:
|
|
52
56
|
Style/GuardClause:
|
53
57
|
MinBodyLength: 2
|
54
58
|
|
59
|
+
# Sometimes an if statement just looks better than next with a guard clause
|
60
|
+
Style/Next:
|
61
|
+
Enabled: false
|
62
|
+
|
55
63
|
# Explicite numbers are often clearer, and more robust.
|
56
64
|
Style/NumericPredicate:
|
57
65
|
Enabled: false
|
58
66
|
|
67
|
+
# Use older RuboCop default
|
68
|
+
Style/PercentLiteralDelimiters:
|
69
|
+
PreferredDelimiters:
|
70
|
+
'%W': ()
|
71
|
+
'%w': ()
|
72
|
+
|
59
73
|
# Allow explicit return with multiple return values
|
60
74
|
Style/RedundantReturn:
|
61
75
|
AllowMultipleReturnValues: true
|
@@ -68,8 +82,6 @@ Style/StringLiterals:
|
|
68
82
|
Style/SymbolArray:
|
69
83
|
EnforcedStyle: brackets
|
70
84
|
|
71
|
-
#
|
72
|
-
|
73
|
-
|
74
|
-
RSpec/NestedGroups:
|
75
|
-
Max: 4
|
85
|
+
# Accessors are only trivial if they match the ivar name
|
86
|
+
Style/TrivialAccessors:
|
87
|
+
ExactNameMatch: true
|
data/.rubocop_todo.yml
CHANGED
@@ -1,16 +1,21 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2020-08-28 11:02:57 UTC using RuboCop version 0.89.1.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
10
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
9
|
+
# Offense count: 2
|
10
|
+
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
|
11
11
|
Metrics/MethodLength:
|
12
12
|
Max: 15
|
13
13
|
|
14
|
+
# Offense count: 8
|
15
|
+
# Configuration parameters: AllowSubject.
|
16
|
+
RSpec/MultipleMemoizedHelpers:
|
17
|
+
Max: 10
|
18
|
+
|
14
19
|
# Offense count: 1
|
15
20
|
Security/Eval:
|
16
21
|
Exclude:
|
data/.simplecov
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
data/keep_up.gemspec
CHANGED
@@ -24,13 +24,13 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ["lib"]
|
26
26
|
|
27
|
-
spec.required_ruby_version = ">= 2.
|
27
|
+
spec.required_ruby_version = ">= 2.5.0"
|
28
28
|
|
29
29
|
spec.add_runtime_dependency "bundler", [">= 1.15", "< 3.0"]
|
30
30
|
|
31
|
-
spec.add_development_dependency "aruba", "~> 0
|
32
|
-
spec.add_development_dependency "cucumber", "~>
|
31
|
+
spec.add_development_dependency "aruba", "~> 1.0"
|
32
|
+
spec.add_development_dependency "cucumber", "~> 5.0"
|
33
33
|
spec.add_development_dependency "rake", "~> 13.0"
|
34
34
|
spec.add_development_dependency "rspec", "~> 3.0"
|
35
|
-
spec.add_development_dependency "simplecov", "~> 0.
|
35
|
+
spec.add_development_dependency "simplecov", "~> 0.19.0"
|
36
36
|
end
|
data/lib/keep_up/updater.rb
CHANGED
@@ -8,7 +8,7 @@ module KeepUp
|
|
8
8
|
attr_reader :bundle, :version_control, :filter
|
9
9
|
|
10
10
|
def initialize(bundle:, version_control:,
|
11
|
-
filter: NullFilter.new, out:
|
11
|
+
filter: NullFilter.new, out: $stdout)
|
12
12
|
@bundle = bundle
|
13
13
|
@version_control = version_control
|
14
14
|
@filter = filter
|
data/lib/keep_up/version.rb
CHANGED
@@ -8,7 +8,7 @@ module KeepUp
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def commit_changes(dependency)
|
11
|
-
@runner.run "git commit -am '
|
11
|
+
@runner.run "git commit -am 'Update #{dependency.name} to version #{dependency.version}'"
|
12
12
|
end
|
13
13
|
|
14
14
|
def revert_changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keep_up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matijs van Zuijlen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -36,28 +36,28 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0
|
39
|
+
version: '1.0'
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0
|
46
|
+
version: '1.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: cucumber
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '5.0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '5.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,14 +92,14 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
95
|
+
version: 0.19.0
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 0.
|
102
|
+
version: 0.19.0
|
103
103
|
description: Automatically update the dependencies listed in your Gemfile, Gemfile.lock,
|
104
104
|
and gemspec.
|
105
105
|
email:
|
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
150
|
requirements:
|
151
151
|
- - ">="
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: 2.
|
153
|
+
version: 2.5.0
|
154
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - ">="
|