mack-asset_packager 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/gems.rb ADDED
@@ -0,0 +1,13 @@
1
+ path = File.expand_path(File.join(File.dirname(__FILE__), 'gems'))
2
+ Gem.set_paths(path)
3
+
4
+ Dir.glob(File.join(path, '*')).each do |p|
5
+ full_gem_name = File.basename(p)
6
+ version = full_gem_name.match(/([\d\.?]+)/).to_s
7
+ gem_name = full_gem_name.gsub("-#{version}", '')
8
+ $:.unshift(File.join(p, 'lib'))
9
+ begin
10
+ gem gem_name, "~> #{version}"
11
+ rescue Gem::LoadError
12
+ end
13
+ end
@@ -1,3 +1,5 @@
1
+ require File.join(File.dirname(__FILE__), 'gems')
2
+
1
3
  fl = File.join(File.dirname(__FILE__), "mack-asset_packager")
2
4
 
3
5
  [:package_collection, :link_helpers, :cssmin].each do |f|
@@ -1,3 +1,5 @@
1
+ require File.join(File.dirname(__FILE__), 'gems')
2
+
1
3
  Dir.glob(File.join(File.dirname(__FILE__), "mack-asset_packager", "tasks", "*.rake")).each do |f|
2
4
  load(f)
3
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack-asset_packager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darsono Sutedja
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-26 00:00:00 -04:00
12
+ date: 2008-11-30 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,10 +22,18 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
+ - lib/gems
26
+ - lib/gems/cache
27
+ - lib/gems/doc
28
+ - lib/gems/gems
29
+ - lib/gems/specifications
30
+ - lib/gems.rb
31
+ - lib/mack-asset_packager
25
32
  - lib/mack-asset_packager/cssmin.rb
26
33
  - lib/mack-asset_packager/jsmin.rb
27
34
  - lib/mack-asset_packager/link_helpers.rb
28
35
  - lib/mack-asset_packager/package_collection.rb
36
+ - lib/mack-asset_packager/tasks
29
37
  - lib/mack-asset_packager/tasks/asset_packager.rake
30
38
  - lib/mack-asset_packager.rb
31
39
  - lib/mack-asset_packager_tasks.rb
@@ -33,8 +41,8 @@ files:
33
41
  has_rdoc: true
34
42
  homepage: http://www.mackframework.com
35
43
  post_install_message:
36
- rdoc_options: []
37
-
44
+ rdoc_options:
45
+ - --exclude=gems/
38
46
  require_paths:
39
47
  - lib
40
48
  - lib
@@ -53,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
61
  requirements: []
54
62
 
55
63
  rubyforge_project: magrathea
56
- rubygems_version: 1.2.0
64
+ rubygems_version: 1.3.1
57
65
  signing_key:
58
66
  specification_version: 2
59
67
  summary: Asset Packager