licensed 3.2.1 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 157405d5c26fe8026b4c8d521a5753be821bb2727d9713f7732e2601699660e7
4
- data.tar.gz: 1f02c3bf319500352632331f72dfc40cbfaf6a0d00350570223d3b37b2496ca7
3
+ metadata.gz: 7ed29bbc7c7c643bf2eda9aacca1d64bd5ccb6e9211e4eeda006c33ec1fe3900
4
+ data.tar.gz: eeefafd3638220b419d57353947ab74a17bc5504fca50562a2d63baf0562e485
5
5
  SHA512:
6
- metadata.gz: fa9b3832cfda8a30f99c7718a6e4c9433145e37cb51070c5e1a59009ff5b29269353ddeb68480196bd1f1680bd8c01c4ddd3538bea2f7401fcddcdb542f62ada
7
- data.tar.gz: ee5718fb34a1d23738849101b121db785fdc83d587d0f7750c2cc1e613f0c8a6ece707e427bb18473f04ef67569499db28e75ce80f14f0dde2cd09e18ed14053
6
+ metadata.gz: 9d54389571ce81aadee0c3a46871f38c8c87768d86abd8c1ef50978378d23d4a17524c4188de8f306f4156a2b0ae670a5e437279aa458113b89e311919296332
7
+ data.tar.gz: 3a93838012493a51fd430815d42fa7b3b52ba85ea2513a879517a437e00af05d47f7325cfdeac2440adf299f05af0b0fbf2b0a16bb4b34caa81db4becc632808
data/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 3.2.2
10
+
11
+ 2021-09-09
12
+
13
+ ### Fixed
14
+
15
+ - Bundler source works properly again when used outside of `bundle exec` (https://github.com/github/licensed/pull/397)
16
+
9
17
  ## 3.2.1
10
18
 
11
19
  2021-09-06
@@ -480,4 +488,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
480
488
 
481
489
  Initial release :tada:
482
490
 
483
- [Unreleased]: https://github.com/github/licensed/compare/3.2.1...HEAD
491
+ [Unreleased]: https://github.com/github/licensed/compare/3.2.2...HEAD
@@ -109,9 +109,11 @@ module Licensed
109
109
 
110
110
  # reset bundler to load from the current app's source path
111
111
  ::Bundler.reset!
112
- ::Bundler.load
113
112
  end
114
113
 
114
+ # ensure the bundler environment is loaded before enumeration
115
+ ::Bundler.load
116
+
115
117
  yield
116
118
  end
117
119
  ensure
@@ -119,8 +121,10 @@ module Licensed
119
121
  # restore bundler configuration
120
122
  ENV.replace(backup)
121
123
  ::Bundler.reset!
122
- ::Bundler.load
123
124
  end
125
+
126
+ # reload the bundler environment after enumeration
127
+ ::Bundler.load
124
128
  end
125
129
 
126
130
  # Returns whether the current licensed execution is running ruby-packer
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  module Licensed
3
- VERSION = "3.2.1".freeze
3
+ VERSION = "3.2.2".freeze
4
4
 
5
5
  def self.previous_major_versions
6
6
  major_version = Gem::Version.new(Licensed::VERSION).segments.first
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: licensed
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: licensee