phocoder-rails 0.0.39 → 0.0.40
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +2 -1
- data/app/helpers/phocoder_helper.rb +1 -3
- metadata +56 -42
data/VERSION
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
module PhocoderHelper
|
2
2
|
|
3
|
-
require 'active_support/secure_random'
|
4
|
-
|
5
3
|
def preview_reload_timeout
|
6
4
|
#time in ms between preview reloading
|
7
5
|
10000
|
@@ -186,7 +184,7 @@ module PhocoderHelper
|
|
186
184
|
|
187
185
|
# Thumbnail should either be an ActiveRecord or a Hash
|
188
186
|
def pending_phocoder_thumbnail(photo,thumbnail,options,live_video=false,spinner='waiting')
|
189
|
-
random =
|
187
|
+
random = SecureRandom.hex(16)
|
190
188
|
Rails.logger.debug "======================================================"
|
191
189
|
Rails.logger.debug "building pending thumbnail for #{thumbnail.class} #{thumbnail.to_json}"
|
192
190
|
if thumbnail.is_a? Hash
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phocoder-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 79
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
|
9
|
+
- 40
|
10
|
+
segments_generated: true
|
11
|
+
version: 0.0.40
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Jeremy Green
|
@@ -15,11 +16,11 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2012-
|
19
|
+
date: 2012-03-16 00:00:00 -05:00
|
20
|
+
default_executable:
|
19
21
|
dependencies:
|
20
22
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
24
|
none: false
|
24
25
|
requirements:
|
25
26
|
- - ">="
|
@@ -29,13 +30,14 @@ dependencies:
|
|
29
30
|
- 3
|
30
31
|
- 0
|
31
32
|
- 0
|
33
|
+
segments_generated: true
|
32
34
|
version: 3.0.0
|
33
|
-
prerelease: false
|
34
|
-
requirement: *id001
|
35
35
|
type: :runtime
|
36
|
+
name: rails
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: *id001
|
36
39
|
- !ruby/object:Gem::Dependency
|
37
|
-
|
38
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
41
|
none: false
|
40
42
|
requirements:
|
41
43
|
- - ">="
|
@@ -43,13 +45,14 @@ dependencies:
|
|
43
45
|
hash: 3
|
44
46
|
segments:
|
45
47
|
- 0
|
48
|
+
segments_generated: true
|
46
49
|
version: "0"
|
47
|
-
prerelease: false
|
48
|
-
requirement: *id002
|
49
50
|
type: :runtime
|
51
|
+
name: phocoder-rb
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: *id002
|
50
54
|
- !ruby/object:Gem::Dependency
|
51
|
-
|
52
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
56
|
none: false
|
54
57
|
requirements:
|
55
58
|
- - ">="
|
@@ -57,13 +60,14 @@ dependencies:
|
|
57
60
|
hash: 3
|
58
61
|
segments:
|
59
62
|
- 0
|
63
|
+
segments_generated: true
|
60
64
|
version: "0"
|
61
|
-
prerelease: false
|
62
|
-
requirement: *id003
|
63
65
|
type: :runtime
|
66
|
+
name: zencoder
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *id003
|
64
69
|
- !ruby/object:Gem::Dependency
|
65
|
-
|
66
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
67
71
|
none: false
|
68
72
|
requirements:
|
69
73
|
- - ">="
|
@@ -71,13 +75,14 @@ dependencies:
|
|
71
75
|
hash: 3
|
72
76
|
segments:
|
73
77
|
- 0
|
78
|
+
segments_generated: true
|
74
79
|
version: "0"
|
75
|
-
prerelease: false
|
76
|
-
requirement: *id004
|
77
80
|
type: :runtime
|
81
|
+
name: aws-s3
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: *id004
|
78
84
|
- !ruby/object:Gem::Dependency
|
79
|
-
|
80
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
85
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
81
86
|
none: false
|
82
87
|
requirements:
|
83
88
|
- - ">="
|
@@ -85,13 +90,14 @@ dependencies:
|
|
85
90
|
hash: 3
|
86
91
|
segments:
|
87
92
|
- 0
|
93
|
+
segments_generated: true
|
88
94
|
version: "0"
|
89
|
-
prerelease: false
|
90
|
-
requirement: *id005
|
91
95
|
type: :runtime
|
96
|
+
name: spawn
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: *id005
|
92
99
|
- !ruby/object:Gem::Dependency
|
93
|
-
|
94
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
100
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
95
101
|
none: false
|
96
102
|
requirements:
|
97
103
|
- - "="
|
@@ -101,13 +107,14 @@ dependencies:
|
|
101
107
|
- 2
|
102
108
|
- 4
|
103
109
|
- 1
|
110
|
+
segments_generated: true
|
104
111
|
version: 2.4.1
|
105
|
-
prerelease: false
|
106
|
-
requirement: *id006
|
107
112
|
type: :development
|
113
|
+
name: rspec-rails
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: *id006
|
108
116
|
- !ruby/object:Gem::Dependency
|
109
|
-
|
110
|
-
version_requirements: &id007 !ruby/object:Gem::Requirement
|
117
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
111
118
|
none: false
|
112
119
|
requirements:
|
113
120
|
- - ~>
|
@@ -117,13 +124,14 @@ dependencies:
|
|
117
124
|
- 1
|
118
125
|
- 0
|
119
126
|
- 0
|
127
|
+
segments_generated: true
|
120
128
|
version: 1.0.0
|
121
|
-
prerelease: false
|
122
|
-
requirement: *id007
|
123
129
|
type: :development
|
130
|
+
name: bundler
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: *id007
|
124
133
|
- !ruby/object:Gem::Dependency
|
125
|
-
|
126
|
-
version_requirements: &id008 !ruby/object:Gem::Requirement
|
134
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
127
135
|
none: false
|
128
136
|
requirements:
|
129
137
|
- - ~>
|
@@ -133,13 +141,14 @@ dependencies:
|
|
133
141
|
- 1
|
134
142
|
- 5
|
135
143
|
- 1
|
144
|
+
segments_generated: true
|
136
145
|
version: 1.5.1
|
137
|
-
prerelease: false
|
138
|
-
requirement: *id008
|
139
146
|
type: :development
|
147
|
+
name: jeweler
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: *id008
|
140
150
|
- !ruby/object:Gem::Dependency
|
141
|
-
|
142
|
-
version_requirements: &id009 !ruby/object:Gem::Requirement
|
151
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
143
152
|
none: false
|
144
153
|
requirements:
|
145
154
|
- - ">="
|
@@ -147,10 +156,12 @@ dependencies:
|
|
147
156
|
hash: 3
|
148
157
|
segments:
|
149
158
|
- 0
|
159
|
+
segments_generated: true
|
150
160
|
version: "0"
|
151
|
-
prerelease: false
|
152
|
-
requirement: *id009
|
153
161
|
type: :development
|
162
|
+
name: rcov
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: *id009
|
154
165
|
description: Rails engine for easy integration with phocoder.com
|
155
166
|
email: jagthedrummer@gmail.com
|
156
167
|
executables: []
|
@@ -276,6 +287,7 @@ files:
|
|
276
287
|
- spec/phocoder_rails_spec.rb
|
277
288
|
- spec/routing/phocoder_routing_spec.rb
|
278
289
|
- spec/spec_helper.rb
|
290
|
+
has_rdoc: true
|
279
291
|
homepage: http://github.com/jagthedrummer/phocoder-rails
|
280
292
|
licenses:
|
281
293
|
- MIT
|
@@ -292,6 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
292
304
|
hash: 3
|
293
305
|
segments:
|
294
306
|
- 0
|
307
|
+
segments_generated: true
|
295
308
|
version: "0"
|
296
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
297
310
|
none: false
|
@@ -301,11 +314,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
301
314
|
hash: 3
|
302
315
|
segments:
|
303
316
|
- 0
|
317
|
+
segments_generated: true
|
304
318
|
version: "0"
|
305
319
|
requirements: []
|
306
320
|
|
307
321
|
rubyforge_project:
|
308
|
-
rubygems_version: 1.
|
322
|
+
rubygems_version: 1.3.7
|
309
323
|
signing_key:
|
310
324
|
specification_version: 3
|
311
325
|
summary: Rails engine for easy integration with phocoder.com
|