tapioca 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapioca/commands/dsl.rb +2 -0
- data/lib/tapioca/gemfile.rb +7 -8
- data/lib/tapioca/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0409ff7f6d35e2767d201fc3b920d9c3febdd94017dd2f51dda7ddbade8cf322'
|
4
|
+
data.tar.gz: 2a328485d2bd7b961531edd123e8f9b88172078d32f63dcf1bc7d8d120725640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f815bf33068255e641484a8e642c665a782416a08d5b0c4ca7e30690a0ae2034a34fb7a75a2ed159bddaf9271e103f62dadaf16642adc918a3be81b1853efdf2
|
7
|
+
data.tar.gz: 88d826dc3de171edca2dd81d4157ba6c91d6c0177b2a354aa7ccd3b9b9bac35030213f03b1fc256abd91b35f671ce370dd579d3c9c829ef82a5b750b0d4fe28c
|
data/lib/tapioca/commands/dsl.rb
CHANGED
@@ -343,6 +343,8 @@ module Tapioca
|
|
343
343
|
#{set_color("RBI files are out-of-date. In your development environment, please run:", :green)}
|
344
344
|
#{set_color("`#{default_command(command)}`", :green, :bold)}
|
345
345
|
#{set_color("Once it is complete, be sure to commit and push any changes", :green)}
|
346
|
+
If you don't observe any changes after running the command locally, ensure your database is in a good
|
347
|
+
state e.g. run `bin/rails db:reset`
|
346
348
|
|
347
349
|
#{set_color("Reason:", :red)}
|
348
350
|
#{reasons}
|
data/lib/tapioca/gemfile.rb
CHANGED
@@ -105,14 +105,13 @@ module Tapioca
|
|
105
105
|
sig { returns([T::Enumerable[Spec], T::Array[String]]) }
|
106
106
|
def materialize_deps
|
107
107
|
deps = definition.locked_gems.dependencies.values
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
definition.resolve.materialize(deps, missing_specs)
|
108
|
+
materialized_dependencies = definition.resolve.materialize(deps)
|
109
|
+
missing_spec_names = materialized_dependencies.missing_specs.map(&:name).to_set
|
110
|
+
missing_specs = materialized_dependencies.missing_specs.map do |spec|
|
111
|
+
"#{spec.name} (#{spec.version})"
|
112
|
+
end
|
113
|
+
materialized_dependencies = materialized_dependencies.to_a.reject do |spec|
|
114
|
+
missing_spec_names.include?(spec.name)
|
116
115
|
end
|
117
116
|
[materialized_dependencies, missing_specs]
|
118
117
|
end
|
data/lib/tapioca/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tapioca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ufuk Kayserilioglu
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2023-03-
|
14
|
+
date: 2023-03-21 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 2.2.25
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.2.25
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: netrc
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|