mj 1.2.1 → 1.2.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/mj/alternative_file/resolvers/ruby/rails_controller_resolver.rb +4 -0
- data/lib/mj/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8245d05f4922356252289cc3b99761b12df7fde1bf437c03e137090af4f21e9d
|
4
|
+
data.tar.gz: 01ed21b96b9b13514f2f5f2d2786fc572c9e898a645980d6dcfdf32808ba31cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80c01158bf45553c5bfd7169be4a55ca19bc13d304c1524127b636390f4ef4197fd765b5bd4cca2ab89e3e90fbfbb42fb62a9b1cd174f97d54a4e7a58cd11c72
|
7
|
+
data.tar.gz: 7b5a8e6dfeab353533d614618421f8dfc729f2186c96c5978297d43e359b737a7089deb72e2d1028e478c3358785985e52bbeaa38fc27ea797933f7caabd8b9e
|
data/Gemfile.lock
CHANGED
@@ -42,6 +42,9 @@ module Mj
|
|
42
42
|
def add_integration_test(file, candidates, type)
|
43
43
|
path = file.without_prefix("app/controllers").without_suffix(".rb").trim_slashes
|
44
44
|
add_candidate("#{type}/integration/#{path}_#{type}.rb", "integration_#{type}", to: candidates)
|
45
|
+
|
46
|
+
path = file.without_prefix("app/controllers").without_suffix(".rb").trim_slashes
|
47
|
+
add_candidate("#{type}/integration/controllers/#{path}_#{type}.rb", "integration_#{type}", to: candidates)
|
45
48
|
end
|
46
49
|
|
47
50
|
def add_request_test(file, candidates, type)
|
@@ -68,6 +71,7 @@ module Mj
|
|
68
71
|
end
|
69
72
|
|
70
73
|
controller_path = file.sub("test/integration", "app/controllers")
|
74
|
+
.sub("spec/integration/controllers", "app/controllers")
|
71
75
|
.sub("spec/integration", "app/controllers")
|
72
76
|
.sub("spec/controllers", "app/controllers")
|
73
77
|
.sub("test/controllers", "app/controllers")
|
data/lib/mj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcelo Jacobus
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: colorize
|
@@ -163,7 +162,6 @@ metadata:
|
|
163
162
|
source_code_uri: https://github.com/mjacobus/mj
|
164
163
|
changelog_uri: https://github.com/mjacobus/mj/blob/main/CHANGELOG.md
|
165
164
|
rubygems_mfa_required: 'true'
|
166
|
-
post_install_message:
|
167
165
|
rdoc_options: []
|
168
166
|
require_paths:
|
169
167
|
- lib
|
@@ -178,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
176
|
- !ruby/object:Gem::Version
|
179
177
|
version: '0'
|
180
178
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
182
|
-
signing_key:
|
179
|
+
rubygems_version: 3.6.7
|
183
180
|
specification_version: 4
|
184
181
|
summary: My personal CLI
|
185
182
|
test_files: []
|