guard-bundler 2.2.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/guard/bundler.rb +2 -2
- data/lib/guard/bundler/version.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6653c7b97c1d3f9db9413b41f9bc58e2c55c8a3172a0f894a35d59f926a25eee
|
4
|
+
data.tar.gz: bbedeb96782350192b7eeab864d8e63b91d7724559928f6b63e3d870f833357c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ae9658cf071e08ced9232f133e2e08d9b22c7ddcaaf5524a7baca090c01f8046156d26084a0c231593db1878d0d7b994976dc0525075d7db02bdc0d965c6199
|
7
|
+
data.tar.gz: 516dd0f98d7d09fe4752dfdcd341eeb7abba56bcdcd1ea8f1fa7dae779614bc2b600c19252803437847a3fc527ee9695962acb0731d8abbee4cb98899e26a52b
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Guard::Bundler
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/guard-bundler.png)](http://badge.fury.io/rb/guard-bundler) [![Build Status](https://travis-ci.org/guard/guard-bundler.png?branch=master)](https://travis-ci.org/guard/guard-bundler) [![
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/guard-bundler.png)](http://badge.fury.io/rb/guard-bundler) [![Build Status](https://travis-ci.org/guard/guard-bundler.png?branch=master)](https://travis-ci.org/guard/guard-bundler) [![Code Climate](https://codeclimate.com/github/guard/guard-bundler.png)](https://codeclimate.com/github/guard/guard-bundler) [![Coverage Status](https://coveralls.io/repos/guard/guard-bundler/badge.png?branch=master)](https://coveralls.io/r/guard/guard-bundler)
|
4
4
|
|
5
5
|
Bundler guard allows to automatically & intelligently install/update bundle when needed.
|
6
6
|
|
7
|
-
* Compatible with Bundler 1.
|
8
|
-
* Tested against Ruby
|
7
|
+
* Compatible with Bundler 2.1.x
|
8
|
+
* Tested against the latest Ruby 2.4.x, 2.5.x, 2.6.x, JRuby & Rubinius. See [`.travis-ci.yml`](https://github.com/guard/guard-bundler/blob/master/.travis.yml) for the exact versions.
|
9
9
|
|
10
10
|
## Install
|
11
11
|
|
data/lib/guard/bundler.rb
CHANGED
@@ -55,7 +55,7 @@ module Guard
|
|
55
55
|
|
56
56
|
def bundle_check
|
57
57
|
gemfile_lock_mtime = File.exists?('Gemfile.lock') ? File.mtime('Gemfile.lock') : nil
|
58
|
-
::Bundler.
|
58
|
+
::Bundler.with_unbundled_env do
|
59
59
|
`bundle check`
|
60
60
|
end
|
61
61
|
return false unless $? == 0
|
@@ -68,7 +68,7 @@ module Guard
|
|
68
68
|
|
69
69
|
def bundle_install
|
70
70
|
Guard::Compat::UI.info 'Bundling...', reset: true
|
71
|
-
::Bundler.
|
71
|
+
::Bundler.with_unbundled_env do
|
72
72
|
system("bundle install#{" #{options[:cli]}" if options[:cli]}")
|
73
73
|
end
|
74
74
|
$? == 0 ? :bundle_installed : false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yann Lugrin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1
|
47
|
+
version: '2.1'
|
48
48
|
- - "<"
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '3'
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
requirements:
|
55
55
|
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 1
|
57
|
+
version: '2.1'
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '3'
|
@@ -84,15 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
87
|
+
version: 2.4.9
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
|
-
|
95
|
-
rubygems_version: 2.7.6
|
94
|
+
rubygems_version: 3.0.3
|
96
95
|
signing_key:
|
97
96
|
specification_version: 4
|
98
97
|
summary: Guard gem for Bundler
|