origen_app_generators 1.1.0 → 1.1.1

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: 52ed0cc091ddc22553ff9ef23b89d32a583f5dad
4
- data.tar.gz: 15d517d2d9057b35ce8b10ced794abc241de6332
3
+ metadata.gz: 5147b6917ea411a7301451a208df0cc0d89bae0f
4
+ data.tar.gz: 150a7197ed39bfb6f9356204d2ecd9ef61f05433
5
5
  SHA512:
6
- metadata.gz: 30fb76df25db734b690c4669a79b6bd124e454d97b909daf48fa6811cc7d90800971b4310a8bed202d3d060ffc145eec5bf311c052926815e287c15c8a19814f
7
- data.tar.gz: 35c4fed01e48500f0823a62c29387cdd429b0f9261a68c24829c16f0566853c601a39203580d19b7220a21e7c0a1a36cd04168b7e259e3a921aebf2c213b1a15
6
+ metadata.gz: 3057098118011c62953bf03318a1ae5ba49878960ca7fbec7b5ae2db78b61af03e4d8f26ba5c400d8e3a507377b27668c78ca78b0a2fe85d08c5a295edbcaef7
7
+ data.tar.gz: b0f4c948d2cc71eeeffe741155c0226078e8f0eaf6e5f861293ad6a21e2254e4b5c5e3e1fd437808d12b9338208cd9054531d28f6f78acb50726c115f533a4e9
@@ -1,7 +1,7 @@
1
1
  module OrigenAppGenerators
2
2
  MAJOR = 1
3
3
  MINOR = 1
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -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[:nokeep]
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.0
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-08-29 00:00:00.000000000 Z
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.6.7
138
+ rubygems_version: 2.5.2
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Origen application generators