acronos_poc 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d10a326b993ce7a3fd954bd8984edde92ed65d9e
|
4
|
+
data.tar.gz: cd16fcea67b881ac3b0a725197f541d42ddedae8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d02fdb3c552737c0e7c3a4fa209febd4795607ad28883e732ee17e81e03cd783791605b50868270dfcd38693527cd71e46f0aae077d49116417c9b8cbb0af7b
|
7
|
+
data.tar.gz: f7c20eb2a24f5f8301fb268e031dab184d2cce5c41f99b8fade96436ba08cad4ce3bc7a3eab2b3fdd23b5fa3548d9ad487902be8dbb224445f13deb3261141d0
|
Binary file
|
data/lib/acronos_poc/version.rb
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
require 'rails/generators/base'
|
2
2
|
|
3
|
-
class AcronosPocGenerator < Rails::Generators::
|
3
|
+
class AcronosPocGenerator < Rails::Generators::Base
|
4
4
|
source_root File.expand_path('../templates', __FILE__)
|
5
|
+
argument :controller, type: :string
|
6
|
+
argument :method, type: :string, default: "index"
|
7
|
+
|
8
|
+
def generate_view
|
9
|
+
template "#{method}.html.erb", "app/views/#{controller}/#{method}.html.erb"
|
10
|
+
end
|
5
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acronos_poc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damien Le Thiec
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- Gemfile
|
66
66
|
- README.md
|
67
67
|
- Rakefile
|
68
|
+
- acronos_poc-0.1.0.gem
|
68
69
|
- acronos_poc.gemspec
|
69
70
|
- bin/console
|
70
71
|
- bin/setup
|
@@ -72,6 +73,7 @@ files:
|
|
72
73
|
- lib/acronos_poc/version.rb
|
73
74
|
- lib/generators/acronos_poc/USAGE
|
74
75
|
- lib/generators/acronos_poc/acronos_poc_generator.rb
|
76
|
+
- lib/generators/acronos_poc/templates/index.html.erb
|
75
77
|
homepage:
|
76
78
|
licenses: []
|
77
79
|
metadata: {}
|