spectifly 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spectifly/version.rb +1 -1
- data/lib/tasks/spectifly.rake +1 -13
- metadata +4 -4
data/lib/spectifly/version.rb
CHANGED
data/lib/tasks/spectifly.rake
CHANGED
@@ -30,19 +30,7 @@ namespace :spectifly do
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
Spectifly::Task.new('package_presenter_schemas', [:destination_path]) do |spectifly, args|
|
34
|
-
# just copy all the xsds over into each directory (naively assuming all directories are presenters), for easy zipping and whatnot
|
35
|
-
schema = Dir.glob(File.join(args[:destination_path], '*.xsd'))
|
36
|
-
Dir.glob(File.join(args[:destination_path], '*/')).each do |path|
|
37
|
-
next unless File.directory?(path)
|
38
|
-
schema.each do |file|
|
39
|
-
next if File.exist?(File.join(path, File.basename(file)))
|
40
|
-
FileUtils.cp file, path
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
33
|
desc 'Generate all XSDs for the configured entity directory, including extended type definitions'
|
46
|
-
task :generate_all, [:destination_path] => [:generate_from_entities, :generate_extended_types
|
34
|
+
task :generate_all, [:destination_path] => [:generate_from_entities, :generate_extended_types]
|
47
35
|
end
|
48
36
|
end
|
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.
|
4
|
+
version: 0.0.9
|
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-
|
12
|
+
date: 2013-11-25 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:
|
212
|
+
hash: 2608447144612966658
|
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:
|
221
|
+
hash: 2608447144612966658
|
222
222
|
requirements: []
|
223
223
|
rubyforge_project:
|
224
224
|
rubygems_version: 1.8.23
|