provideal-plugin-utils 0.1.1 → 0.1.2

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.
data/Rakefile CHANGED
@@ -6,9 +6,9 @@ begin
6
6
  require 'jeweler'
7
7
  Jeweler::Tasks.new do |gemspec|
8
8
  gemspec.name = "provideal-plugin-utils"
9
- gemspec.summary = "A collection of Rails plugin utilities"
9
+ gemspec.summary = "A small collection of utilities to deal with assets bundled within Rails plugins/engines."
10
10
  gemspec.email = "info@provideal.net"
11
- gemspec.homepage = "http://github.com/provideal/plugin-utils/"
11
+ gemspec.homepage = "http://github.com/provideal/provideal-plugin-utils/"
12
12
  gemspec.authors = ["René Sprotte"]
13
13
  end
14
14
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -34,8 +34,10 @@ module Provideal
34
34
  if options["plugin"]
35
35
  pluginified_source = Provideal::PluginUtils::AssetTagHelper.plugin_asset_path(options["plugin"], "images", source)
36
36
  options.delete("plugin")
37
+ image_tag_without_plugin_support(pluginified_source, options)
38
+ else
39
+ image_tag_without_plugin_support(source, options)
37
40
  end
38
- image_tag_without_plugin_support(pluginified_source, options)
39
41
  end
40
42
 
41
43
  def self.pluginify_sources(type, *sources)
@@ -30,8 +30,7 @@ module Provideal
30
30
  FileUtils.mkdir_p(target_base_path) unless File.exists?(target_base_path)
31
31
  target_path = "#{target_base_path}/#{plugin_name}"
32
32
 
33
- # Only install if the target path does not
34
- # exists
33
+ # Only install if the target path does not exists
35
34
  unless File.exists?(target_path)
36
35
  File.symlink(source_path, target_path)
37
36
  else
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{provideal-plugin-utils}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ren\303\251 Sprotte"]
12
- s.date = %q{2009-09-17}
12
+ s.date = %q{2009-10-23}
13
13
  s.email = %q{info@provideal.net}
14
14
  s.extra_rdoc_files = [
15
15
  "README"
@@ -25,11 +25,11 @@ Gem::Specification.new do |s|
25
25
  "lib/provideal_plugin_utils/asset_tag_helper.rb",
26
26
  "provideal-plugin-utils.gemspec"
27
27
  ]
28
- s.homepage = %q{http://github.com/provideal/plugin-utils/}
28
+ s.homepage = %q{http://github.com/provideal/provideal-plugin-utils/}
29
29
  s.rdoc_options = ["--charset=UTF-8"]
30
30
  s.require_paths = ["lib"]
31
31
  s.rubygems_version = %q{1.3.5}
32
- s.summary = %q{A collection of Rails plugin utilities}
32
+ s.summary = %q{A small collection of utilities to deal with assets bundled within Rails plugins/engines.}
33
33
 
34
34
  if s.respond_to? :specification_version then
35
35
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
@@ -41,3 +41,4 @@ Gem::Specification.new do |s|
41
41
  else
42
42
  end
43
43
  end
44
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: provideal-plugin-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Ren\xC3\xA9 Sprotte"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-17 00:00:00 +02:00
12
+ date: 2009-10-23 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -32,7 +32,7 @@ files:
32
32
  - lib/provideal_plugin_utils/asset_tag_helper.rb
33
33
  - provideal-plugin-utils.gemspec
34
34
  has_rdoc: true
35
- homepage: http://github.com/provideal/plugin-utils/
35
+ homepage: http://github.com/provideal/provideal-plugin-utils/
36
36
  licenses: []
37
37
 
38
38
  post_install_message:
@@ -58,6 +58,6 @@ rubyforge_project:
58
58
  rubygems_version: 1.3.5
59
59
  signing_key:
60
60
  specification_version: 3
61
- summary: A collection of Rails plugin utilities
61
+ summary: A small collection of utilities to deal with assets bundled within Rails plugins/engines.
62
62
  test_files: []
63
63