phocoder-rails 0.0.45 → 0.0.46
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/phocoder_rails/acts_as_phocodable.rb +17 -3
- data/spec/dummy/config/environments/development.rb +1 -1
- data/spec/dummy/config/initializers/phocodable.rb +3 -0
- data/spec/helpers/phocoder_helper_spec.rb +10 -9
- data/spec/models/acts_as_phocodable_spec.rb +29 -14
- metadata +70 -58
data/VERSION
CHANGED
@@ -45,6 +45,10 @@ module ActsAsPhocodable
|
|
45
45
|
mattr_accessor :s3_secret_access_key
|
46
46
|
self.s3_secret_access_key = "your-secret-access-key"
|
47
47
|
|
48
|
+
# The cloudfront host or a Proc that returns a cloud front host
|
49
|
+
mattr_accessor :cloudfront_host
|
50
|
+
self.cloudfront_host = nil
|
51
|
+
|
48
52
|
# The javascript library to use for updates
|
49
53
|
# either 'prototype' or 'jquery'
|
50
54
|
mattr_accessor :javascript_library
|
@@ -62,7 +66,7 @@ module ActsAsPhocodable
|
|
62
66
|
# The actual configuration parameters
|
63
67
|
mattr_accessor :config
|
64
68
|
self.config = nil
|
65
|
-
|
69
|
+
|
66
70
|
def self.phocodable_config
|
67
71
|
#puts "checking phocodable_config for #{self.config}"
|
68
72
|
self.read_phocodable_configuration if self.config.nil?
|
@@ -76,7 +80,8 @@ module ActsAsPhocodable
|
|
76
80
|
self.config = YAML.load(ERB.new(File.read(config_path)).result)[::Rails.env.to_s].symbolize_keys
|
77
81
|
#self.apply_phocodable_configuration
|
78
82
|
end
|
79
|
-
|
83
|
+
|
84
|
+
|
80
85
|
# The list of image content types that are considered web safe
|
81
86
|
# These can be displayed directly, skipping processing if in offline mode
|
82
87
|
mattr_accessor :web_safe_image_types
|
@@ -1040,7 +1045,7 @@ module ActsAsPhocodable
|
|
1040
1045
|
if ActsAsPhocodable.storeage_mode == "local" or ActsAsPhocodable.storeage_mode == "offline"
|
1041
1046
|
base_url + local_url
|
1042
1047
|
else
|
1043
|
-
s3_url
|
1048
|
+
self.class.cloudfront_host.present? ? cloudfront_url : s3_url
|
1044
1049
|
end
|
1045
1050
|
end
|
1046
1051
|
|
@@ -1097,6 +1102,15 @@ module ActsAsPhocodable
|
|
1097
1102
|
self.class.s3_bucket_name
|
1098
1103
|
end
|
1099
1104
|
|
1105
|
+
def cloudfront_base_host
|
1106
|
+
host = self.class.cloudfront_host
|
1107
|
+
host.instance_of?(Proc) ? host.call(s3_key) : host
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
def cloudfront_url
|
1111
|
+
"#{cloudfront_base_host}/#{s3_key}"
|
1112
|
+
end
|
1113
|
+
|
1100
1114
|
def save_s3_file
|
1101
1115
|
#I don't think we need this return check anymore.
|
1102
1116
|
#return if !@saved_a_new_file
|
@@ -11,7 +11,7 @@ Dummy::Application.configure do
|
|
11
11
|
|
12
12
|
# Show full error reports and disable caching
|
13
13
|
config.consider_all_requests_local = true
|
14
|
-
config.action_view.debug_rjs = true
|
14
|
+
#config.action_view.debug_rjs = true
|
15
15
|
config.action_controller.perform_caching = false
|
16
16
|
|
17
17
|
# Don't care if the mailer can't send
|
@@ -3,7 +3,8 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
|
3
3
|
describe PhocoderHelper do #, :debug=>true
|
4
4
|
|
5
5
|
before(:each) do
|
6
|
-
@
|
6
|
+
@fixture_path = ""
|
7
|
+
@attr = { :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg'),:width => 200,:height=>197 }
|
7
8
|
@image = ImageUpload.new(@attr)
|
8
9
|
ActsAsPhocodable.storeage_mode = "local"
|
9
10
|
ActsAsPhocodable.processing_mode = "automatic"
|
@@ -29,7 +30,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
29
30
|
|
30
31
|
describe "phocoder_link" do
|
31
32
|
before(:each) do
|
32
|
-
@attr = { :file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg') }
|
33
|
+
@attr = { :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg') }
|
33
34
|
@image = ImageUpload.new(@attr)
|
34
35
|
end
|
35
36
|
it "should return raw text if the file is not ready" do
|
@@ -54,7 +55,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
54
55
|
helper.phocoder_thumbnail(vid)
|
55
56
|
end
|
56
57
|
it "should delegate to phocoder_image_thumbnail for images" do
|
57
|
-
img = ImageUpload.new({ :file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg') })
|
58
|
+
img = ImageUpload.new({ :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg') })
|
58
59
|
helper.should_receive(:phocoder_image_thumbnail).and_return(nil)
|
59
60
|
helper.phocoder_thumbnail(img)
|
60
61
|
end
|
@@ -167,7 +168,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
167
168
|
describe "when a thumbnail is passed" do
|
168
169
|
it "should return an img tag for a thumbnail that can be resolved by label and is ready" do
|
169
170
|
ActsAsPhocodable.storeage_mode = "local"
|
170
|
-
@tattr = { :file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
171
|
+
@tattr = { :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
171
172
|
@thumb = ImageUpload.new(@tattr)
|
172
173
|
@thumb.filename = "big_eye_tiny_small.jpg"
|
173
174
|
@thumb.encodable_status = @image.encodable_status = "ready"
|
@@ -188,7 +189,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
188
189
|
|
189
190
|
it "should call pending_phcoder_thumbnail if the thumb is not ready" do
|
190
191
|
ActsAsPhocodable.storeage_mode = "local"
|
191
|
-
@tattr = { :file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
192
|
+
@tattr = { :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
192
193
|
@thumb = ImageUpload.new(@tattr)
|
193
194
|
@thumb.filename = "big_eye_tiny_small.jpg"
|
194
195
|
@thumb.encodable_status = "phocoding"
|
@@ -276,7 +277,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
276
277
|
#
|
277
278
|
# it "if the thumbnail is not ready, should call pending_phocoder_thumbnail" do
|
278
279
|
# ActsAsPhocodable.storeage_mode = "local"
|
279
|
-
# @tattr = { :file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
280
|
+
# @tattr = { :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
280
281
|
# @thumb = ImageUpload.new(@tattr)
|
281
282
|
# @thumb.filename = "big_eye_tiny_thumbnail.jpg"
|
282
283
|
# @thumb.encodable_status = "phocoding"
|
@@ -292,7 +293,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
292
293
|
|
293
294
|
# describe "offline_phocoder_image_thumbnail" do
|
294
295
|
# it "should render a thumbnail with the path to the original but the dimensions of the thumbnail" do
|
295
|
-
# @tattr = { :file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg'),:filename=>"big_eye_tiny_thumbnail.jpg", :width => 100, :height => 100 }
|
296
|
+
# @tattr = { :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg'),:filename=>"big_eye_tiny_thumbnail.jpg", :width => 100, :height => 100 }
|
296
297
|
# @thumb = ImageUpload.new(@tattr)
|
297
298
|
# @thumb.filename = "big_eye_tiny_thumbnail.jpg"
|
298
299
|
# output = helper.offline_phocoder_image_thumbnail(@image,@thumb,{})
|
@@ -304,7 +305,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
304
305
|
|
305
306
|
describe "pending_phocoder_thumbnail" do
|
306
307
|
it "should return an image tag that points to a waiting image with the dimensions of the thumbnail" do
|
307
|
-
@tattr = { :file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
308
|
+
@tattr = { :file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg'), :width => 100, :height => 100 }
|
308
309
|
@thumb = ImageUpload.new(@tattr)
|
309
310
|
@thumb.filename = "big_eye_tiny_thumbnail.jpg"
|
310
311
|
output = helper.pending_phocoder_thumbnail(@image,@thumb,{})
|
@@ -372,7 +373,7 @@ describe PhocoderHelper do #, :debug=>true
|
|
372
373
|
describe "video preview functions" do
|
373
374
|
# before(:each) do
|
374
375
|
# @vid_attr = {
|
375
|
-
# :file => fixture_file_upload(fixture_path + '/video-test.mov', 'video/quicktime')
|
376
|
+
# :file => fixture_file_upload(@fixture_path + '/video-test.mov', 'video/quicktime')
|
376
377
|
# }
|
377
378
|
# Zencoder::Job.stub!(:create).and_return(mock(Zencoder::Response,:body=>{
|
378
379
|
# "id"=>1,
|
@@ -9,7 +9,7 @@ include ActionDispatch::TestProcess
|
|
9
9
|
#class TestMigration < ActiveRecord::Migration
|
10
10
|
# def self.up
|
11
11
|
# create_table :images, :force => true do |t|
|
12
|
-
# t.string "filename
|
12
|
+
# t.string "filename
|
13
13
|
# t.datetime "created_at"
|
14
14
|
# t.datetime "updated_at"
|
15
15
|
# t.string "content_type"
|
@@ -52,14 +52,15 @@ describe ActsAsPhocodable do
|
|
52
52
|
# )
|
53
53
|
# }
|
54
54
|
ImageUpload.destroy_all
|
55
|
+
@fixture_path = ""
|
55
56
|
@attr = {
|
56
|
-
:file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg','image/jpeg')
|
57
|
+
:file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg','image/jpeg')
|
57
58
|
}
|
58
59
|
@vid_attr = {
|
59
|
-
:file => fixture_file_upload(fixture_path + '/video-test.mov', 'video/quicktime')
|
60
|
+
:file => fixture_file_upload(@fixture_path + '/video-test.mov', 'video/quicktime')
|
60
61
|
}
|
61
62
|
@txt_attr = {
|
62
|
-
:file => fixture_file_upload(fixture_path + '/test.txt', 'text/plain')
|
63
|
+
:file => fixture_file_upload(@fixture_path + '/test.txt', 'text/plain')
|
63
64
|
}
|
64
65
|
end
|
65
66
|
|
@@ -87,8 +88,9 @@ describe ActsAsPhocodable do
|
|
87
88
|
ActsAsPhocodable.processing_mode = "automatic"
|
88
89
|
end
|
89
90
|
|
90
|
-
it "should default to the url in the config" do
|
91
|
-
ActsAsPhocodable.
|
91
|
+
it "should default to the url in the config" do
|
92
|
+
ActsAsPhocodable.read_phocodable_configuration
|
93
|
+
ActsAsPhocodable.base_url.should == "http://thephotolabs-test.herokuapp.com"
|
92
94
|
end
|
93
95
|
|
94
96
|
it "should take a new base_url" do
|
@@ -129,8 +131,8 @@ describe ActsAsPhocodable do
|
|
129
131
|
# it is currently excluded from git since it contains an API key
|
130
132
|
# this will fail for any one other than me.
|
131
133
|
# what to do?
|
132
|
-
iu.phocodable_config[:phocoder_url].should == "http://
|
133
|
-
iu.phocodable_config[:base_url].should == "http://
|
134
|
+
iu.phocodable_config[:phocoder_url].should == "http://phocoder.herokuapp.com"
|
135
|
+
iu.phocodable_config[:base_url].should == "http://thephotolabs-test.herokuapp.com"
|
134
136
|
end
|
135
137
|
|
136
138
|
|
@@ -172,11 +174,11 @@ describe ActsAsPhocodable do
|
|
172
174
|
|
173
175
|
describe "automatically setting the content type" do
|
174
176
|
it "should work for jpgs" do
|
175
|
-
iu = ImageUpload.new(:file => fixture_file_upload(fixture_path + '/big_eye_tiny.jpg'))
|
177
|
+
iu = ImageUpload.new(:file => fixture_file_upload(@fixture_path + '/big_eye_tiny.jpg'))
|
176
178
|
iu.content_type.should == "image/jpeg"
|
177
179
|
end
|
178
180
|
it "should work for nefs" do
|
179
|
-
iu = ImageUpload.new(:file => fixture_file_upload(fixture_path + '/test_image.nef'))
|
181
|
+
iu = ImageUpload.new(:file => fixture_file_upload(@fixture_path + '/test_image.nef'))
|
180
182
|
iu.content_type.should == "image/x-nikon-nef"
|
181
183
|
end
|
182
184
|
end
|
@@ -611,9 +613,9 @@ describe ActsAsPhocodable do
|
|
611
613
|
# Now we should have a thumb
|
612
614
|
#puts "@@@@@@@@@@@@@@@@@@@@@@@@@@@"
|
613
615
|
#puts iu.thumbnails.map{|t| t.thumbnail }.to_json
|
614
|
-
iu.thumbnails.size.should ==
|
616
|
+
iu.thumbnails.size.should == 2
|
615
617
|
# Mock the AWS reqeust for deleting the file and it's thumbnail
|
616
|
-
AWS::S3::S3Object.should_receive(:delete).
|
618
|
+
AWS::S3::S3Object.should_receive(:delete).exactly(3).times.and_return(nil)
|
617
619
|
iu.destroy
|
618
620
|
end
|
619
621
|
|
@@ -640,7 +642,7 @@ describe ActsAsPhocodable do
|
|
640
642
|
iu.save
|
641
643
|
#puts "======================================="
|
642
644
|
#puts iu.thumbnails.to_json
|
643
|
-
iu.thumbnails.size.should ==
|
645
|
+
iu.thumbnails.size.should == 2
|
644
646
|
|
645
647
|
iu.destroy
|
646
648
|
end
|
@@ -670,10 +672,23 @@ describe ActsAsPhocodable do
|
|
670
672
|
|
671
673
|
#now store in S3 + phocode
|
672
674
|
iu.save
|
673
|
-
iu.thumbnails.size.should ==
|
675
|
+
iu.thumbnails.size.should == 2
|
674
676
|
|
675
677
|
iu.destroy
|
676
678
|
end
|
677
679
|
|
680
|
+
describe "cloudfront_base_host" do
|
681
|
+
before(:each) do
|
682
|
+
@iu = ImageUpload.new(@attr)
|
683
|
+
end
|
684
|
+
it "should return a plain string" do
|
685
|
+
ActsAsPhocodable.cloudfront_host = "http://1234.cloudfront.net"
|
686
|
+
@iu.cloudfront_base_host.should == "http://1234.cloudfront.net"
|
687
|
+
end
|
688
|
+
it "should execute a Proc" do
|
689
|
+
ActsAsPhocodable.cloudfront_host = lambda{|path| "http://asset0.myhost.com" }
|
690
|
+
@iu.cloudfront_base_host.should == "http://asset0.myhost.com"
|
691
|
+
end
|
692
|
+
end
|
678
693
|
|
679
694
|
end
|
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.46
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.0.0
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: phocoder-rb
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: zencoder
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :runtime
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: mimetype-fu
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ~>
|
@@ -54,10 +69,15 @@ dependencies:
|
|
54
69
|
version: 0.1.2
|
55
70
|
type: :runtime
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.1.2
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: aws-s3
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,10 +85,15 @@ dependencies:
|
|
65
85
|
version: '0'
|
66
86
|
type: :runtime
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
69
94
|
- !ruby/object:Gem::Dependency
|
70
95
|
name: spawn
|
71
|
-
requirement:
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
72
97
|
none: false
|
73
98
|
requirements:
|
74
99
|
- - ! '>='
|
@@ -76,21 +101,31 @@ dependencies:
|
|
76
101
|
version: '0'
|
77
102
|
type: :runtime
|
78
103
|
prerelease: false
|
79
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
80
110
|
- !ruby/object:Gem::Dependency
|
81
111
|
name: rspec-rails
|
82
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
83
113
|
none: false
|
84
114
|
requirements:
|
85
|
-
- - =
|
115
|
+
- - '='
|
86
116
|
- !ruby/object:Gem::Version
|
87
117
|
version: 2.4.1
|
88
118
|
type: :development
|
89
119
|
prerelease: false
|
90
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - '='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 2.4.1
|
91
126
|
- !ruby/object:Gem::Dependency
|
92
127
|
name: bundler
|
93
|
-
requirement:
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
94
129
|
none: false
|
95
130
|
requirements:
|
96
131
|
- - ! '>='
|
@@ -98,10 +133,15 @@ dependencies:
|
|
98
133
|
version: '0'
|
99
134
|
type: :development
|
100
135
|
prerelease: false
|
101
|
-
version_requirements:
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
102
142
|
- !ruby/object:Gem::Dependency
|
103
143
|
name: jeweler
|
104
|
-
requirement:
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
105
145
|
none: false
|
106
146
|
requirements:
|
107
147
|
- - ! '>='
|
@@ -109,7 +149,12 @@ dependencies:
|
|
109
149
|
version: '0'
|
110
150
|
type: :development
|
111
151
|
prerelease: false
|
112
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
113
158
|
description: Rails engine for easy integration with phocoder.com
|
114
159
|
email: jagthedrummer@gmail.com
|
115
160
|
executables: []
|
@@ -199,6 +244,7 @@ files:
|
|
199
244
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
200
245
|
- spec/dummy/config/initializers/inflections.rb
|
201
246
|
- spec/dummy/config/initializers/mime_types.rb
|
247
|
+
- spec/dummy/config/initializers/phocodable.rb
|
202
248
|
- spec/dummy/config/initializers/secret_token.rb
|
203
249
|
- spec/dummy/config/initializers/session_store.rb
|
204
250
|
- spec/dummy/config/locales/en.yml
|
@@ -251,7 +297,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
251
297
|
version: '0'
|
252
298
|
segments:
|
253
299
|
- 0
|
254
|
-
hash: -
|
300
|
+
hash: -2003942532947744819
|
255
301
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
302
|
none: false
|
257
303
|
requirements:
|
@@ -260,42 +306,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
306
|
version: '0'
|
261
307
|
requirements: []
|
262
308
|
rubyforge_project:
|
263
|
-
rubygems_version: 1.8.
|
309
|
+
rubygems_version: 1.8.24
|
264
310
|
signing_key:
|
265
311
|
specification_version: 3
|
266
312
|
summary: Rails engine for easy integration with phocoder.com
|
267
|
-
test_files:
|
268
|
-
- spec/controllers/phocoder_controller_spec.rb
|
269
|
-
- spec/dummy/app/controllers/application_controller.rb
|
270
|
-
- spec/dummy/app/controllers/images_controller.rb
|
271
|
-
- spec/dummy/app/helpers/application_helper.rb
|
272
|
-
- spec/dummy/app/helpers/images_helper.rb
|
273
|
-
- spec/dummy/app/models/image.rb
|
274
|
-
- spec/dummy/app/models/image_thumbnail.rb
|
275
|
-
- spec/dummy/app/models/image_upload.rb
|
276
|
-
- spec/dummy/config/application.rb
|
277
|
-
- spec/dummy/config/boot.rb
|
278
|
-
- spec/dummy/config/environment.rb
|
279
|
-
- spec/dummy/config/environments/development.rb
|
280
|
-
- spec/dummy/config/environments/production.rb
|
281
|
-
- spec/dummy/config/environments/test.rb
|
282
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
283
|
-
- spec/dummy/config/initializers/inflections.rb
|
284
|
-
- spec/dummy/config/initializers/mime_types.rb
|
285
|
-
- spec/dummy/config/initializers/secret_token.rb
|
286
|
-
- spec/dummy/config/initializers/session_store.rb
|
287
|
-
- spec/dummy/config/routes.rb
|
288
|
-
- spec/dummy/db/migrate/001_create_image_uploads.rb
|
289
|
-
- spec/dummy/db/migrate/20110523165213_add_parent_type_to_image_uploads.rb
|
290
|
-
- spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
|
291
|
-
- spec/dummy/db/migrate/20111101024507_create_images.rb
|
292
|
-
- spec/dummy/db/migrate/20120423030345_add_exif_data_to_image_uploads.rb
|
293
|
-
- spec/dummy/db/schema.rb
|
294
|
-
- spec/engine_spec.rb
|
295
|
-
- spec/helpers/phocoder_helper_spec.rb
|
296
|
-
- spec/integration/navigation_spec.rb
|
297
|
-
- spec/models/acts_as_phocodable_spec.rb
|
298
|
-
- spec/models/encodable_job_spec.rb
|
299
|
-
- spec/phocoder_rails_spec.rb
|
300
|
-
- spec/routing/phocoder_routing_spec.rb
|
301
|
-
- spec/spec_helper.rb
|
313
|
+
test_files: []
|