origen_app_generators 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/origen_app_generators/base.rb +3 -1
- data/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/application.rb +2 -0
- data/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/base.rb +2 -0
- data/templates/app_generators/origen_infrastructure/app_generator_plugin/lib/plugin.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5147b6917ea411a7301451a208df0cc0d89bae0f
|
4
|
+
data.tar.gz: 150a7197ed39bfb6f9356204d2ecd9ef61f05433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3057098118011c62953bf03318a1ae5ba49878960ca7fbec7b5ae2db78b61af03e4d8f26ba5c400d8e3a507377b27668c78ca78b0a2fe85d08c5a295edbcaef7
|
7
|
+
data.tar.gz: b0f4c948d2cc71eeeffe741155c0226078e8f0eaf6e5f861293ad6a21e2254e4b5c5e3e1fd437808d12b9338208cd9054531d28f6f78acb50726c115f533a4e9
|
data/config/version.rb
CHANGED
@@ -91,7 +91,9 @@ module OrigenAppGenerators
|
|
91
91
|
create_link file[:dest], file[:source]
|
92
92
|
end
|
93
93
|
elsif file[:type] == :dir || file[:type] == :directory
|
94
|
-
if file[:
|
94
|
+
if file[:copy]
|
95
|
+
directory(file[:dest] || file[:source])
|
96
|
+
elsif file[:nokeep]
|
95
97
|
empty_directory(file[:dest] || file[:source])
|
96
98
|
else
|
97
99
|
copy_file('dot_keep', "#{file[:dest]}/.keep")
|
@@ -36,6 +36,8 @@ module <%= @namespace %>
|
|
36
36
|
# Alternatively specifying a different destination, typically you would do this when
|
37
37
|
# the final location is dynamic
|
38
38
|
# list[:gemspec] = { source: 'gemspec.rb', dest: "#{@name}.gemspec" }
|
39
|
+
# Example of how to recursively copy a directory
|
40
|
+
# list[:copy_dir] = { source: 'src_dir', dest: 'dest_dir', type: :directory, copy: true }
|
39
41
|
# Example of how to create a directory
|
40
42
|
# list[:pattern_dir] = { dest: "pattern", type: :directory }
|
41
43
|
# By default, directories created in this way will contain a .keep file, to inhibit this:
|
@@ -37,6 +37,8 @@ module <%= @namespace %>
|
|
37
37
|
# Alternatively specifying a different destination, typically you would do this when
|
38
38
|
# the final location is dynamic
|
39
39
|
# list[:gemspec] = { source: 'gemspec.rb', dest: "#{@name}.gemspec" }
|
40
|
+
# Example of how to recursively copy a directory
|
41
|
+
# list[:copy_dir] = { source: 'src_dir', dest: 'dest_dir', type: :directory, copy: true }
|
40
42
|
# Example of how to create a directory
|
41
43
|
# list[:pattern_dir] = { dest: "pattern", type: :directory }
|
42
44
|
# By default, directories created in this way will contain a .keep file, to inhibit this:
|
@@ -46,6 +46,8 @@ module <%= @namespace %>
|
|
46
46
|
# Alternatively specifying a different destination, typically you would do this when
|
47
47
|
# the final location is dynamic
|
48
48
|
# list[:gemspec] = { source: 'gemspec.rb', dest: "#{@name}.gemspec" }
|
49
|
+
# Example of how to recursively copy a directory
|
50
|
+
# list[:copy_dir] = { source: 'src_dir', dest: 'dest_dir', type: :directory, copy: true }
|
49
51
|
# Example of how to create a directory
|
50
52
|
# list[:pattern_dir] = { dest: "pattern", type: :directory }
|
51
53
|
# By default, directories created in this way will contain a .keep file, to inhibit this:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen_app_generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: 1.8.11
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.5.2
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Origen application generators
|