beef-has_assets 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/has_assets.gemspec +5 -5
  3. data/lib/has_assets.rb +1 -1
  4. metadata +5 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/has_assets.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{has_assets}
5
- s.version = "0.2.1"
5
+ s.version = "0.2.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Steve England"]
9
- s.date = %q{2009-07-20}
9
+ s.date = %q{2009-07-29}
10
10
  s.email = %q{steve@wearebeef.co.uk}
11
11
  s.extra_rdoc_files = [
12
12
  "LICENSE",
@@ -58,11 +58,11 @@ Gem::Specification.new do |s|
58
58
  s.homepage = %q{http://github.com/beef/assets}
59
59
  s.rdoc_options = ["--charset=UTF-8"]
60
60
  s.require_paths = ["lib"]
61
- s.rubygems_version = %q{1.3.3}
61
+ s.rubygems_version = %q{1.3.4}
62
62
  s.summary = %q{Rails Engine. Adds uploadable assets to a model and admin area for files}
63
63
  s.test_files = [
64
- "test/has_assets_test.rb",
65
- "test/test_helper.rb"
64
+ "test/test_helper.rb",
65
+ "test/has_assets_test.rb"
66
66
  ]
67
67
 
68
68
  if s.respond_to? :specification_version then
data/lib/has_assets.rb CHANGED
@@ -7,7 +7,7 @@ module Beef
7
7
 
8
8
  module ClassMethods
9
9
  def has_assets
10
- has_many :assetings, :as => :assetable, :order => 'assetable.id', :dependent => :delete_all
10
+ has_many :assetings, :as => :assetable, :dependent => :delete_all
11
11
  has_many :assets, :through => :assetings
12
12
 
13
13
  # Override the default asset_ids method
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-has_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-20 00:00:00 -07:00
12
+ date: 2009-07-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -66,6 +66,7 @@ files:
66
66
  - test/test_helper.rb
67
67
  has_rdoc: false
68
68
  homepage: http://github.com/beef/assets
69
+ licenses:
69
70
  post_install_message:
70
71
  rdoc_options:
71
72
  - --charset=UTF-8
@@ -86,10 +87,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
87
  requirements: []
87
88
 
88
89
  rubyforge_project:
89
- rubygems_version: 1.2.0
90
+ rubygems_version: 1.3.5
90
91
  signing_key:
91
92
  specification_version: 3
92
93
  summary: Rails Engine. Adds uploadable assets to a model and admin area for files
93
94
  test_files:
94
- - test/has_assets_test.rb
95
95
  - test/test_helper.rb
96
+ - test/has_assets_test.rb