toys-core 0.12.0 → 0.12.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: 2e6f3ce99b43220466c4b43842c1fa78d3cfca815ecc559be749518d26156be9
4
- data.tar.gz: 8a3dbb068001b3a52d5b070ae0f8652aeea5f1763ae19a938aa84da693023c2c
3
+ metadata.gz: f5194e490defa536f8c60e03f8a514cd34a0b9792a1c2e7bea2fff8abcf232f6
4
+ data.tar.gz: 4af2896b0e37dc9b562d0e607e119f32bd59bdec8b2d0ad0e1345240bb0cd37a
5
5
  SHA512:
6
- metadata.gz: de8dc024af7e706749b65a8e2b4fe9430e380b58add4bc9b643bc357dce7d5a5109057a2aaccdbfb657410def1372494b020cab59b1ebd03de83d2359a0746ab
7
- data.tar.gz: 96b6ca463c27eff9fe403d365afe15a6d4c75bed057b8dc162b40c696b0f31606738197c5bdb68ed759d9c0a0f29af0e4ddd4aed929e41649cb6a46b67909ea8
6
+ metadata.gz: 241cf1d02337a0adec166a7cba3e418e62028e40e591ba818ac7e8aa82e1877c6cc9b0fc5c50f368647589782c3fbaf5ff34729aeeebf02c5d4e270684bd196d
7
+ data.tar.gz: 23fd4df87b2721df587ee5077c057770db56c2ad4d7de240ee4dee64c5004adccf400214546379869973f7344ecfb55121e1d62fff1ef320046346ed83cc31b4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History
2
2
 
3
+ ### v0.12.1 / 2021-08-17
4
+
5
+ * FIXED: Fixed a regression in 0.12.0 where bundler could use the wrong Gemfile if you set a custom context directory
6
+
3
7
  ### v0.12.0 / 2021-08-05
4
8
 
5
9
  Toys-Core 0.12.0 is a major release with significant new features and bug fixes, and a few breaking interface changes. Additionally, this release now requires Ruby 2.4 or later.
data/lib/toys/core.rb CHANGED
@@ -9,7 +9,7 @@ module Toys
9
9
  # Current version of Toys core.
10
10
  # @return [String]
11
11
  #
12
- VERSION = "0.12.0"
12
+ VERSION = "0.12.1"
13
13
  end
14
14
 
15
15
  ## @private deprecated
@@ -159,7 +159,8 @@ module Toys
159
159
  def search_toys
160
160
  source_info = @source_info
161
161
  while source_info
162
- if source_info.source_type == :directory
162
+ if source_info.source_type == :directory &&
163
+ source_info.source_path != source_info.context_directory
163
164
  result = ::Toys::Utils::Gems.find_gemfile(source_info.source_path,
164
165
  gemfile_names: @toys_gemfile_names)
165
166
  return result if result
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toys-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-05 00:00:00.000000000 Z
11
+ date: 2021-08-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Toys-Core is the command line tool framework underlying Toys. It can
14
14
  be used to create command line executables using the Toys DSL and classes.
@@ -76,10 +76,10 @@ homepage: https://github.com/dazuma/toys
76
76
  licenses:
77
77
  - MIT
78
78
  metadata:
79
- changelog_uri: https://dazuma.github.io/toys/gems/toys-core/v0.12.0/file.CHANGELOG.html
79
+ changelog_uri: https://dazuma.github.io/toys/gems/toys-core/v0.12.1/file.CHANGELOG.html
80
80
  source_code_uri: https://github.com/dazuma/toys/tree/main/toys-core
81
81
  bug_tracker_uri: https://github.com/dazuma/toys/issues
82
- documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.12.0
82
+ documentation_uri: https://dazuma.github.io/toys/gems/toys-core/v0.12.1
83
83
  post_install_message:
84
84
  rdoc_options: []
85
85
  require_paths: