origen_app_generators 1.1.2 → 1.1.3

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: 304ebf92e4d7878e15f5c6c7cc0786b209540f3a
4
- data.tar.gz: e714c3418fdcd0b8b99658273df123b9ccd289d6
3
+ metadata.gz: f9c3429bcdc65734380f360f84da45c17731dcb7
4
+ data.tar.gz: d82996ae430e02e8baadd0acf9bf65396158c714
5
5
  SHA512:
6
- metadata.gz: 5f18b18b65dd6fad4552a613fc600e9898c585deb65f7d578e112bd69be7d4573d5226ed3162de519bfbac1545e05030b03315ae34f163709a8c4b8a40facd47
7
- data.tar.gz: f3d4b4452b56b7190d827edc236b2005788b49338f41c2e1f52f250d6f4b7c89aa4d93d580298b898763e93e9076941785a55fa6da9f3bc4917347c07f238664
6
+ metadata.gz: fdcbd5649ecff245a6dda23ba20725be571ca4cc51d9b770d276846ca6a0035605d97ec0c031f7bc5980a9d877e49cdf823df206c797331b54831b86f65376e2
7
+ data.tar.gz: 8dec8b9ecc2bc99c541df07425b410378ba3a6dd5cbdce67bf5c5ceb89216deccb43dccef0992dfd14baf57e5eb91a7ebae9d5f0c064e985bc355fb8b6d2e8d1
@@ -1,7 +1,7 @@
1
1
  module OrigenAppGenerators
2
2
  MAJOR = 1
3
3
  MINOR = 1
4
- BUGFIX = 2
4
+ BUGFIX = 3
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -92,7 +92,11 @@ module OrigenAppGenerators
92
92
  end
93
93
  elsif file[:type] == :dir || file[:type] == :directory
94
94
  if file[:copy]
95
- directory(file[:dest] || file[:source])
95
+ if (file.key? :dest) && (file.key? :source)
96
+ directory(file[:source], file[:dest])
97
+ else
98
+ directory(file[:dest] || file[:source])
99
+ end
96
100
  elsif file[:nokeep]
97
101
  empty_directory(file[:dest] || file[:source])
98
102
  else
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.2
4
+ version: 1.1.3
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-10-16 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen