guard-bundler 2.2.1 → 3.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3a8f833cf786f2fca3123469a8dfd2a818d6affdbc5a83ed970ec042c8558b2
4
- data.tar.gz: d6b2b2221cd683e0fab812d92409b155c3089adbaeff69bf979f4e2bf629941b
3
+ metadata.gz: b3b6e765ade33aa1ba29426ca321ae56f54aaaae1b2d487837f6850cbe03956b
4
+ data.tar.gz: 99c54e22ba8fcd1d8d947338ae6bd00d10f3117a61a84100fb327a2040adcfbe
5
5
  SHA512:
6
- metadata.gz: 495fcdc3c38886e58d519b8c8fc43e88bb9d3d42af31aa6ad10d27905544746f32317c56e21d86e6c5ad4fb244171e7fdf3a76cf3a41bc9d25cb4eb00417f475
7
- data.tar.gz: 78717921e40e257c4559a87ab41d746cb239c547b9048a039a71a2df6888822aaa2bc80f84cb1e3ccfd4348c8ebb2e3b0d6aa080a042440eb0fea9802561e969
6
+ metadata.gz: dc3b89f2c3f3e3e801d7f0a1a6d5a8db19825a2b07487c2855aa08b79a9c437e394980a877c9f79cc49938409f8def265a23f7f88d984ebc231c56e82984705c
7
+ data.tar.gz: 81a86bc609743cc64c0651b057c6b9d658f273c9314a3065fdfeead6ab7da77cc7f32522d6a2b01d97c2ea7799712e8d96fdcb8fcbe6a36c20efeabcf8735d28
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) [![Dependency Status](https://gemnasium.com/guard/guard-bundler.png)](https://gemnasium.com/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)
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.0.x
8
- * Tested against Ruby 1.9.3, 2.0.0, 2.1.0, JRuby & Rubinius.
7
+ * Compatible with Bundler 2.1.x
8
+ * Tested against the latest Ruby 2.7.x, 3.0.x, 3.1.x & 3.2.x. 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
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Guard
3
3
  module BundlerVersion
4
- VERSION = '2.2.1'
4
+ VERSION = '3.0.1'
5
5
  end
6
6
  end
data/lib/guard/bundler.rb CHANGED
@@ -54,8 +54,8 @@ module Guard
54
54
  end
55
55
 
56
56
  def bundle_check
57
- gemfile_lock_mtime = File.exists?('Gemfile.lock') ? File.mtime('Gemfile.lock') : nil
58
- ::Bundler.with_clean_env do
57
+ gemfile_lock_mtime = File.exist?('Gemfile.lock') ? File.mtime('Gemfile.lock') : nil
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.with_clean_env do
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: 2.2.1
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yann Lugrin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-16 00:00:00.000000000 Z
11
+ date: 2023-01-27 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.3.0
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.3.0
57
+ version: '2.1'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '3'
@@ -76,7 +76,7 @@ homepage: https://rubygems.org/gems/guard-bundler
76
76
  licenses:
77
77
  - MIT
78
78
  metadata: {}
79
- post_install_message:
79
+ post_install_message:
80
80
  rdoc_options: []
81
81
  require_paths:
82
82
  - lib
@@ -84,16 +84,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: 1.9.2
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
- rubyforge_project:
95
- rubygems_version: 2.7.6
96
- signing_key:
94
+ rubygems_version: 3.1.6
95
+ signing_key:
97
96
  specification_version: 4
98
97
  summary: Guard gem for Bundler
99
98
  test_files: []