spectifly 0.0.9 → 0.0.10

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.
@@ -1,3 +1,3 @@
1
1
  module Spectifly
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -25,9 +25,14 @@ namespace :spectifly do
25
25
  end
26
26
 
27
27
  Spectifly::Task.new('generate_extended_types', [:destination_path]) do |spectifly, args|
28
- File.open(File.join(args[:destination_path], "extended.xsd"), 'w') do |f|
28
+ extended = File.join(args[:destination_path], 'extended.xsd')
29
+ File.open(extended, 'w') do |f|
29
30
  f.write Spectifly::Xsd::Types.build_extended
30
31
  end
32
+ Dir.glob(File.join(args[:destination_path], '*/')).each do |path|
33
+ next unless File.directory?(path)
34
+ FileUtils.cp extended, path
35
+ end
31
36
  end
32
37
 
33
38
  desc 'Generate all XSDs for the configured entity directory, including extended type definitions'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spectifly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-25 00:00:00.000000000 Z
12
+ date: 2013-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -209,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  segments:
211
211
  - 0
212
- hash: 2608447144612966658
212
+ hash: -190850164299161101
213
213
  required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  none: false
215
215
  requirements:
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  segments:
220
220
  - 0
221
- hash: 2608447144612966658
221
+ hash: -190850164299161101
222
222
  requirements: []
223
223
  rubyforge_project:
224
224
  rubygems_version: 1.8.23