bundleup 2.2.0 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/lib/bundleup/backup.rb +2 -2
- data/lib/bundleup/gemfile.rb +2 -2
- data/lib/bundleup/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4328692a3fe22887498d7ddd8889e93196ed11de780cb4a5edb8fb4d7087872d
|
4
|
+
data.tar.gz: 8069ef5ee5f6e14298f510df4ff1d905f80b406cac73c4c9c478c928150a96a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adf4468580b84f81a4d0cd4f7805e6f3a3e2b658f5cd63616cbcac30f63a06755074d867e93793509b517891074f6ca358335b6c11c8f6a2d2ed63c2656e4e8c
|
7
|
+
data.tar.gz: d8698ec95ec34d124acf0cdfab984842b7a638e500dacc22909b1e80c1e9d7f7f213f92c5c8e86f9a67317f675c676bc3b345df1f8cfac4910acca9eb0feaa7a
|
data/LICENSE.txt
CHANGED
data/lib/bundleup/backup.rb
CHANGED
@@ -12,13 +12,13 @@ module Bundleup
|
|
12
12
|
|
13
13
|
def initialize(*paths)
|
14
14
|
@original_contents = paths.each_with_object({}) do |path, hash|
|
15
|
-
hash[path] =
|
15
|
+
hash[path] = File.read(path)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
19
|
def restore
|
20
20
|
original_contents.each do |path, contents|
|
21
|
-
|
21
|
+
File.write(path, contents)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/lib/bundleup/gemfile.rb
CHANGED
@@ -4,7 +4,7 @@ module Bundleup
|
|
4
4
|
|
5
5
|
def initialize(path="Gemfile")
|
6
6
|
@path = path
|
7
|
-
@contents =
|
7
|
+
@contents = File.read(path)
|
8
8
|
end
|
9
9
|
|
10
10
|
def gem_comments
|
@@ -45,7 +45,7 @@ module Bundleup
|
|
45
45
|
end
|
46
46
|
raise "Can't rewrite version for #{gem_name}; it does not have a pin" unless found
|
47
47
|
|
48
|
-
|
48
|
+
File.write(path, contents)
|
49
49
|
end
|
50
50
|
|
51
51
|
attr_reader :contents
|
data/lib/bundleup/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundleup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Use `bundleup` whenever you want to update the locked Gemfile dependencies
|
14
14
|
of a Ruby project. It shows exactly what gems will be updated with color output
|
@@ -47,6 +47,7 @@ metadata:
|
|
47
47
|
changelog_uri: https://github.com/mattbrictson/bundleup/releases
|
48
48
|
source_code_uri: https://github.com/mattbrictson/bundleup
|
49
49
|
homepage_uri: https://github.com/mattbrictson/bundleup
|
50
|
+
rubygems_mfa_required: 'true'
|
50
51
|
post_install_message:
|
51
52
|
rdoc_options: []
|
52
53
|
require_paths:
|
@@ -55,14 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
56
|
requirements:
|
56
57
|
- - ">="
|
57
58
|
- !ruby/object:Gem::Version
|
58
|
-
version: 2.6
|
59
|
+
version: '2.6'
|
59
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
61
|
requirements:
|
61
62
|
- - ">="
|
62
63
|
- !ruby/object:Gem::Version
|
63
64
|
version: '0'
|
64
65
|
requirements: []
|
65
|
-
rubygems_version: 3.
|
66
|
+
rubygems_version: 3.3.13
|
66
67
|
signing_key:
|
67
68
|
specification_version: 4
|
68
69
|
summary: A friendlier command-line interface for Bundler’s `update` and `outdated`
|