html_package 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/html_package/loader.rb +2 -1
  2. metadata +32 -17
@@ -11,6 +11,7 @@ module HTMLPackage
11
11
  end
12
12
 
13
13
  def load_file(uri, out_dir)
14
+ return if uri == nil
14
15
  puts "loading: #{uri.blue}"
15
16
  Thread.new do
16
17
  begin
@@ -40,7 +41,7 @@ module HTMLPackage
40
41
  load_file(uri, @out_dir)
41
42
  end
42
43
 
43
- threads.map(&:join)
44
+ threads.map{|thread| thread and thread.join }
44
45
  end
45
46
  end
46
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_package
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,41 +9,56 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-09 00:00:00.000000000Z
12
+ date: 2012-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colored
16
- requirement: &70254340410780 !ruby/object:Gem::Requirement
17
- none: false
16
+ prerelease: false
17
+ requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '1.2'
22
+ none: false
22
23
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70254340410780
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ! '>='
27
+ - !ruby/object:Gem::Version
28
+ version: '1.2'
29
+ none: false
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: thor
27
- requirement: &70254340409540 !ruby/object:Gem::Requirement
28
- none: false
32
+ prerelease: false
33
+ requirement: !ruby/object:Gem::Requirement
29
34
  requirements:
30
35
  - - ! '>='
31
36
  - !ruby/object:Gem::Version
32
37
  version: '0.14'
38
+ none: false
33
39
  type: :runtime
34
- prerelease: false
35
- version_requirements: *70254340409540
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0.14'
45
+ none: false
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: nokogiri
38
- requirement: &70254340391060 !ruby/object:Gem::Requirement
39
- none: false
48
+ prerelease: false
49
+ requirement: !ruby/object:Gem::Requirement
40
50
  requirements:
41
51
  - - ~>
42
52
  - !ruby/object:Gem::Version
43
53
  version: 1.5.2
54
+ none: false
44
55
  type: :runtime
45
- prerelease: false
46
- version_requirements: *70254340391060
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: 1.5.2
61
+ none: false
47
62
  description: Uses a special text/package+html content type to load packages of javascript
48
63
  files.
49
64
  email:
@@ -65,20 +80,20 @@ rdoc_options: []
65
80
  require_paths:
66
81
  - lib
67
82
  required_ruby_version: !ruby/object:Gem::Requirement
68
- none: false
69
83
  requirements:
70
84
  - - ! '>='
71
85
  - !ruby/object:Gem::Version
72
86
  version: '0'
73
- required_rubygems_version: !ruby/object:Gem::Requirement
74
87
  none: false
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
89
  requirements:
76
90
  - - ! '>='
77
91
  - !ruby/object:Gem::Version
78
92
  version: 1.3.6
93
+ none: false
79
94
  requirements: []
80
95
  rubyforge_project:
81
- rubygems_version: 1.8.10
96
+ rubygems_version: 1.8.24
82
97
  signing_key:
83
98
  specification_version: 3
84
99
  summary: A package loader that reads html files.