acronos_poc 0.1.2 → 0.1.3
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 132902e7b671bea0867d9ae3b6c92bb31fa2905e
|
|
4
|
+
data.tar.gz: 3237ffde9b1bf22e37b2112566b3604d08c7c97b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c26c30f1f157533129c55b7f94d41880540a7db2322438d2cf62b9aa15f3ca55129dc5d23b67f87db03d3dac5ae94242f2eb19b7362c54c9a7f4252f26a26bb
|
|
7
|
+
data.tar.gz: 8a1781e9dbb9dc5149ca96f7e12be9d90461ff72f755ff55a2e0036f1b1544bd5f0b8809b54f463f0ab04b3628fec8104f136fa28b5f9c5fd25f70d55af68e8a
|
data/lib/acronos_poc/version.rb
CHANGED
|
@@ -6,6 +6,6 @@ class AcronosPocGenerator < Rails::Generators::Base
|
|
|
6
6
|
argument :method_name, type: :string, default: "index"
|
|
7
7
|
|
|
8
8
|
def generate_view
|
|
9
|
-
template "#{
|
|
9
|
+
template "#{method_name}.html.erb", "app/views/#{resource_name}/#{method_name}.html.erb"
|
|
10
10
|
end
|
|
11
11
|
end
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<h1>Hello world from the generator</h1>
|
|
2
|
-
Controller is <%%=
|
|
3
|
-
Method is <%%=
|
|
2
|
+
Controller is <%%= <%= resource_name %> %>
|
|
3
|
+
Method is <%%= <%= method_name %> %>
|