bumpit 0.3.0 → 0.3.1
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/lib/bumpit/managers/bundler.rb +5 -3
- data/lib/bumpit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f67d72f391fc1463961ff849e3931208554723114f4044087167af711759188d
|
|
4
|
+
data.tar.gz: 46e643d64311e2b0fb0cf7ba6ee07f616799f0dc070cf4fcd83170c700ea4c3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e68c01e733fa581d817daa9c0750885f209d54019630522596ec2110e9648f890d3827335c80b80f157188c82bc37b6245feae33e000e5ddae2c3d2eb24bd4a
|
|
7
|
+
data.tar.gz: e3ccc2bdc203ef83eefd192f9f4422d4433ba6bbe2769b569c54e3000bce856dfd5500a82650e92fe100ac447e45c90b046b563e9e96e9910b6a9e27a419c644
|
|
@@ -29,12 +29,12 @@ class Bumpit
|
|
|
29
29
|
#
|
|
30
30
|
# @return [void]
|
|
31
31
|
def bump
|
|
32
|
-
update_bundler
|
|
33
|
-
|
|
34
32
|
if outdated.any?
|
|
35
33
|
write_contents
|
|
36
34
|
bundle_update
|
|
37
35
|
end
|
|
36
|
+
|
|
37
|
+
update_bundler
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
# Return a message for which dependencies were bumped.
|
|
@@ -113,7 +113,9 @@ class Bumpit
|
|
|
113
113
|
#
|
|
114
114
|
# @return [Boolean]
|
|
115
115
|
def update_bundler?
|
|
116
|
-
@update_bundler
|
|
116
|
+
return @update_bundler if defined?(@update_bundler)
|
|
117
|
+
|
|
118
|
+
@update_bundler = begin
|
|
117
119
|
_, latest = INFO_MATCHER.match(`#{GEM_INFO_COMMAND}`).to_a
|
|
118
120
|
current = `#{BUNDLE_VERSION_COMMAND}`
|
|
119
121
|
|
data/lib/bumpit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bumpit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tristan Dunn
|
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
74
|
version: '0'
|
|
75
75
|
requirements: []
|
|
76
|
-
rubygems_version: 4.0.
|
|
76
|
+
rubygems_version: 4.0.4
|
|
77
77
|
specification_version: 4
|
|
78
78
|
summary: Automatically bump dependencies in multiple package managers.
|
|
79
79
|
test_files: []
|