cloudhdr_rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -384,7 +384,9 @@ module ActsAsCloudhdr
384
384
  self.thumbnails << thumb
385
385
  end
386
386
 
387
-
387
+ if self.respond_to?(:user_id) && thumb.respond_to?(:user_id=)
388
+ thumb.user_id = self.user_id
389
+ end
388
390
  thumb.thumbnail = thumb_params["label"]
389
391
  thumb.filename = thumb_params["filename"]
390
392
  thumb.width = thumb_params["width"]
@@ -1,3 +1,3 @@
1
1
  module CloudhdrRails
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudhdr_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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-06-09 00:00:00.000000000 Z
12
+ date: 2013-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -209,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  segments:
211
211
  - 0
212
- hash: 2963536726816567442
212
+ hash: -1738569091697543811
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: 2963536726816567442
221
+ hash: -1738569091697543811
222
222
  requirements: []
223
223
  rubyforge_project:
224
224
  rubygems_version: 1.8.25