phocoder-rails 0.0.47 → 0.0.48
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/VERSION +1 -1
- data/app/models/encodable_job.rb +4 -1
- metadata +3 -3
data/VERSION
CHANGED
data/app/models/encodable_job.rb
CHANGED
|
@@ -94,11 +94,14 @@ class EncodableJob < ActiveRecord::Base
|
|
|
94
94
|
end
|
|
95
95
|
[:file_size,:width,:height,:taken_at,:lat,:lng,:saturated_pixels,:gauss,:bits_per_pixel,:camera_make,
|
|
96
96
|
:camera_model, :orientation, :exposure_time, :f_number, :iso_speed_rating, :exposure_bias_value,
|
|
97
|
-
:focal_length, :focal_length_in_35mm_film, :subsec_time].each do |att|
|
|
97
|
+
:focal_length, :focal_length_in_35mm_film, :subsec_time, :pixels, :processing_time].each do |att|
|
|
98
98
|
setter = att.to_s + "="
|
|
99
99
|
if encodable.respond_to? setter and !img_params[att].blank?
|
|
100
100
|
encodable.send setter, img_params[att]
|
|
101
101
|
end
|
|
102
|
+
if job.respond_to? setter and !img_params[att].blank?
|
|
103
|
+
job.send setter, img_params[att]
|
|
104
|
+
end
|
|
102
105
|
end
|
|
103
106
|
|
|
104
107
|
#job.file_size = img_params[:file_size]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: phocoder-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.48
|
|
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: 2012-
|
|
12
|
+
date: 2012-12-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -297,7 +297,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
297
297
|
version: '0'
|
|
298
298
|
segments:
|
|
299
299
|
- 0
|
|
300
|
-
hash:
|
|
300
|
+
hash: 4355286825974465509
|
|
301
301
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
302
302
|
none: false
|
|
303
303
|
requirements:
|