bundler-leak 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bundler/plumber/database.rb +3 -4
- data/lib/bundler/plumber/version.rb +1 -1
- data/spec/spec_helper.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: e8c500b9cff644ec4d39ec693c7695c90632ee13e71a6e089918dfc96975de23
|
4
|
+
data.tar.gz: 92b10475517b8f8dda0faf6e208a27d0a53f0d3d4a5e0c9b38fa57ae67ead53a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0500328327647524b1a814ff99cc28e1cf2732425ff49d86ac717702a8364f4eac0c1b613f657b0baac9ecb495b1834ac0e6f0708b58162af383ce73b49f5075'
|
7
|
+
data.tar.gz: c8f80a5bbcc340245d57af38294e733714bd794b2532bbb57cfccc22c69ac564eb0bd90edd4df3ad2df6e2c98cd9b6311af40e2274d8299ad8ded222c75701ad
|
@@ -93,16 +93,15 @@ module Bundler
|
|
93
93
|
# @note
|
94
94
|
# Requires network access.
|
95
95
|
#
|
96
|
-
# @since 0.3.0
|
97
|
-
#
|
98
96
|
def self.update!(options={})
|
99
97
|
raise "Invalid option(s)" unless (options.keys - [:quiet]).empty?
|
100
98
|
if File.directory?(USER_PATH)
|
101
99
|
if File.directory?(File.join(USER_PATH, ".git"))
|
102
100
|
Dir.chdir(USER_PATH) do
|
103
|
-
command = %w(git
|
101
|
+
command = %w(git fetch --all)
|
102
|
+
command = %w(git reset --hard origin/master)
|
104
103
|
command << '--quiet' if options[:quiet]
|
105
|
-
|
104
|
+
|
106
105
|
system *command
|
107
106
|
end
|
108
107
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler-leak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ombulabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|