hanami-rspec 3.11.0.beta3 → 3.11.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/hanami/rspec/generators/action.rb +1 -1
- data/lib/hanami/rspec/generators/slice.rb +10 -10
- data/lib/hanami/rspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee0769c05279751795a397b6905dd8ef7112de35f470b5dd04fdef9306aa7565
|
4
|
+
data.tar.gz: 4ade71c9080db5defd0a26e2311efdf95c65abeefe425e26d65f41032d08ad87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0286f30fd65aaa93c73a06274e39e79c01dcfd8a9751673bc7aad01d65bef6a2d0f62654b7f126ee1d58c9630225b7497f7860191dcf12d1704da1c47ddd1a68'
|
7
|
+
data.tar.gz: 5e40df011dd9d8d22dbd1478c93cc89c7f4d0bf1a2ca6a462789d3bac23d28850e66db1df78990212d095761cfe60807edd29c8430534ef3a613fea2c3de1fb7
|
data/CHANGELOG.md
CHANGED
@@ -15,7 +15,7 @@ module Hanami
|
|
15
15
|
def call(app, slice, controller, action, context: Hanami::CLI::Generators::App::ActionContext.new(inflector, app, slice, controller, action)) # rubocop:disable Layout/LineLength
|
16
16
|
if slice
|
17
17
|
fs.write(
|
18
|
-
"spec/#{slice}/actions/#{controller_directory(controller)}/#{action}_spec.rb",
|
18
|
+
"spec/slices/#{slice}/actions/#{controller_directory(controller)}/#{action}_spec.rb",
|
19
19
|
t("action_slice_spec.erb", context)
|
20
20
|
)
|
21
21
|
else
|
@@ -13,16 +13,16 @@ module Hanami
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def call(slice, context: Hanami::CLI::Generators::App::SliceContext.new(inflector, nil, slice, nil))
|
16
|
-
fs.write("spec/#{slice}/action_spec.rb", t("action_spec.erb", context))
|
17
|
-
# fs.write("spec/#{slice}/view_spec.rb", t("view_spec.erb", context))
|
18
|
-
# fs.write("spec/#{slice}/repository_spec.rb", t("repository_spec.erb", context))
|
19
|
-
|
20
|
-
fs.write("spec/#{slice}/actions/.keep", t("keep.erb", context))
|
21
|
-
# fs.write("spec/#{slice}/views/.keep", t("keep.erb", context))
|
22
|
-
# fs.write("spec/#{slice}/templates/.keep", t("keep.erb", context))
|
23
|
-
# fs.write("spec/#{slice}/templates/layouts/.keep", t("keep.erb", context))
|
24
|
-
# fs.write("spec/#{slice}/entities/.keep", t("keep.erb", context))
|
25
|
-
# fs.write("spec/#{slice}/repositories/.keep", t("keep.erb", context))
|
16
|
+
fs.write("spec/slices/#{slice}/action_spec.rb", t("action_spec.erb", context))
|
17
|
+
# fs.write("spec/slices/#{slice}/view_spec.rb", t("view_spec.erb", context))
|
18
|
+
# fs.write("spec/slices/#{slice}/repository_spec.rb", t("repository_spec.erb", context))
|
19
|
+
|
20
|
+
fs.write("spec/slices/#{slice}/actions/.keep", t("keep.erb", context))
|
21
|
+
# fs.write("spec/slices/#{slice}/views/.keep", t("keep.erb", context))
|
22
|
+
# fs.write("spec/slices/#{slice}/templates/.keep", t("keep.erb", context))
|
23
|
+
# fs.write("spec/slices/#{slice}/templates/layouts/.keep", t("keep.erb", context))
|
24
|
+
# fs.write("spec/slices/#{slice}/entities/.keep", t("keep.erb", context))
|
25
|
+
# fs.write("spec/slices/#{slice}/repositories/.keep", t("keep.erb", context))
|
26
26
|
end
|
27
27
|
|
28
28
|
private
|
data/lib/hanami/rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.11.0.
|
4
|
+
version: 3.11.0.beta4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hanami-cli
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: 1.3.1
|
133
133
|
requirements: []
|
134
|
-
rubygems_version: 3.3.
|
134
|
+
rubygems_version: 3.3.7
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Hanami RSpec
|