chili_videos 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/Gemfile CHANGED
@@ -5,12 +5,21 @@ gem 'delayed_job', '~> 2.0.4'
5
5
  gem 'hashie', '~> 1.0.0'
6
6
  gem 'friendly_id', '~> 3.2.1'
7
7
 
8
- group :development do
8
+ group :development, :test do
9
+ gem "rails", "2.3.14"
10
+ gem "fastercsv"
11
+ gem "rubytree", "~> 0.5.2", :require => 'tree'
12
+ gem "sqlite3-ruby", "< 1.3", :require => "sqlite3"
13
+ gem "webrat"
14
+
9
15
  gem 'cucumber'
16
+ gem 'shoulda'
17
+ gem 'rspec', '~> 1.3'
10
18
  gem 'rspec-rails'
11
19
  gem 'redmine_plugin_support'
12
20
  gem 'autotest-rails', '~> 4.1.0'
13
21
  gem 'fakeweb'
14
22
  gem 'hoe', '~> 2.8.0'
23
+ gem 'hoe-git'
15
24
  gem 'ZenTest'
16
25
  end
@@ -2,47 +2,71 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  ZenTest (4.5.0)
5
- autotest-rails (4.1.0)
6
- ZenTest
7
- babosa (0.3.2)
5
+ actionmailer (2.3.14)
6
+ actionpack (= 2.3.14)
7
+ actionpack (2.3.14)
8
+ activesupport (= 2.3.14)
9
+ rack (~> 1.1.0)
10
+ activerecord (2.3.14)
11
+ activesupport (= 2.3.14)
12
+ activeresource (2.3.14)
13
+ activesupport (= 2.3.14)
14
+ activesupport (2.3.14)
15
+ autotest-rails (4.1.1)
16
+ ZenTest (= 4.5)
17
+ babosa (0.3.5)
8
18
  builder (3.0.0)
9
19
  crack (0.1.8)
10
- cucumber (0.10.0)
20
+ cucumber (1.1.3)
11
21
  builder (>= 2.1.2)
12
- diff-lcs (~> 1.1.2)
13
- gherkin (~> 2.3.2)
14
- json (~> 1.4.6)
15
- term-ansicolor (~> 1.0.5)
16
- daemons (1.1.0)
17
- delayed_job (2.0.4)
18
- daemons
19
- diff-lcs (1.1.2)
22
+ diff-lcs (>= 1.1.2)
23
+ gherkin (~> 2.6.7)
24
+ json (>= 1.4.6)
25
+ term-ansicolor (>= 1.0.6)
26
+ daemons (1.0.10)
27
+ delayed_job (2.0.7)
28
+ activesupport (~> 2.0)
29
+ daemons (= 1.0.10)
30
+ diff-lcs (1.1.3)
20
31
  fakeweb (1.3.0)
32
+ fastercsv (1.5.4)
21
33
  friendly_id (3.2.1.1)
22
34
  babosa (~> 0.3.0)
23
- gherkin (2.3.3)
24
- json (~> 1.4.6)
35
+ gherkin (2.6.8)
36
+ json (>= 1.4.6)
25
37
  hashie (1.0.0)
26
38
  hoe (2.8.0)
27
39
  rake (>= 0.8.7)
28
- httparty (0.7.4)
40
+ hoe-git (1.3.0)
41
+ hoe (>= 2.2.0)
42
+ httparty (0.7.8)
29
43
  crack (= 0.1.8)
30
- json (1.4.6)
44
+ json (1.6.1)
45
+ nokogiri (1.5.0)
31
46
  rack (1.1.2)
32
- rake (0.8.7)
47
+ rack-test (0.6.1)
48
+ rack (>= 1.0)
49
+ rails (2.3.14)
50
+ actionmailer (= 2.3.14)
51
+ actionpack (= 2.3.14)
52
+ activerecord (= 2.3.14)
53
+ activeresource (= 2.3.14)
54
+ activesupport (= 2.3.14)
55
+ rake (>= 0.8.3)
56
+ rake (0.9.2.2)
33
57
  redmine_plugin_support (0.0.4)
34
- rspec (2.5.0)
35
- rspec-core (~> 2.5.0)
36
- rspec-expectations (~> 2.5.0)
37
- rspec-mocks (~> 2.5.0)
38
- rspec-core (2.5.1)
39
- rspec-expectations (2.5.0)
40
- diff-lcs (~> 1.1.2)
41
- rspec-mocks (2.5.0)
42
- rspec-rails (1.3.2)
58
+ rspec (1.3.2)
59
+ rspec-rails (1.3.4)
43
60
  rack (>= 1.0.0)
44
- rspec (>= 1.3.0)
45
- term-ansicolor (1.0.5)
61
+ rspec (~> 1.3.1)
62
+ rubytree (0.5.3)
63
+ shoulda (2.11.3)
64
+ sqlite3-ruby (1.2.5)
65
+ term-ansicolor (1.0.7)
66
+ webrat (0.7.3)
67
+ nokogiri (>= 1.2.0)
68
+ rack (>= 1.0)
69
+ rack-test (>= 0.5.3)
46
70
 
47
71
  PLATFORMS
48
72
  ruby
@@ -53,9 +77,17 @@ DEPENDENCIES
53
77
  cucumber
54
78
  delayed_job (~> 2.0.4)
55
79
  fakeweb
80
+ fastercsv
56
81
  friendly_id (~> 3.2.1)
57
82
  hashie (~> 1.0.0)
58
83
  hoe (~> 2.8.0)
84
+ hoe-git
59
85
  httparty (~> 0.7.4)
86
+ rails (= 2.3.14)
60
87
  redmine_plugin_support
88
+ rspec (~> 1.3)
61
89
  rspec-rails
90
+ rubytree (~> 0.5.2)
91
+ shoulda
92
+ sqlite3-ruby (< 1.3)
93
+ webrat
@@ -1,3 +1,8 @@
1
+ == 0.2.2 2011-11-23
2
+
3
+ * Fixed issues in supplied rake tasks for installing gem and
4
+ managing delayed_job daemon. [#11, #12]
5
+
1
6
  == 0.2.1 2011-08-18
2
7
 
3
8
  * Fixed missing link to edit a video's meta-data
@@ -11,6 +11,7 @@ app/helpers/videos_helper.rb
11
11
  app/models/assembly.rb
12
12
  app/models/assembly_observer.rb
13
13
  app/models/assembly_processor.rb
14
+ app/models/encoding.rb
14
15
  app/models/video.rb
15
16
  app/views/settings/_settings.html.erb
16
17
  app/views/videos/edit.html.erb
data/README.md CHANGED
@@ -102,7 +102,7 @@ Cycle your application server (mongrel, unicorn, etc)
102
102
  Start the delayed\_job daemon
103
103
 
104
104
  ```
105
- RAILS_ENV=production rake chili_videos:delayed_job ACTION=start
105
+ RAILS_ENV=production rake "chili_videos:delayed_job[start]"
106
106
  ```
107
107
 
108
108
  ## UNINSTALL:
@@ -110,7 +110,7 @@ RAILS_ENV=production rake chili_videos:delayed_job ACTION=start
110
110
  Stop the delayed\_job daemon
111
111
 
112
112
  ```
113
- RAILS_ENV=production rake chili_videos:delayed_job ACTION=stop
113
+ RAILS_ENV=production rake "chili_videos:delayed_job[stop]"
114
114
  ```
115
115
 
116
116
  Run the uninstall rake task (reverts migrations & uninstalls assets)
@@ -1,6 +1,3 @@
1
- class Encoding < Hashie::Mash
2
- end
3
-
4
1
  class Assembly < ActiveRecord::Base
5
2
  unloadable
6
3
 
@@ -0,0 +1,2 @@
1
+ class Encoding < Hashie::Mash
2
+ end
@@ -10,7 +10,7 @@ require 'chili_videos/config'
10
10
  module ChiliVideos
11
11
  extend self
12
12
 
13
- VERSION = '0.2.1' unless defined?(ChiliVideos::VERSION)
13
+ VERSION = '0.2.2' unless defined?(ChiliVideos::VERSION)
14
14
 
15
15
  def configured?
16
16
  !Config.api_key.blank? && !Config.workflow.blank?
@@ -25,9 +25,11 @@ class ChiliVideosTasks < Rake::TaskLib
25
25
  end
26
26
 
27
27
  desc "Manage delayed_job...requires argument [ACTION=(#{VALID_DJ_ACTIONS.join('|')})]"
28
- task :delayed_job, 'action' => [:environment] do |task, args|
28
+ task :delayed_job, [:action] => [:environment] do |task, args|
29
29
  unless(args[:action] && VALID_DJ_ACTIONS.include?(args[:action]))
30
- puts "'ACTION' is a required parameter. Valid values are: #{VALID_DJ_ACTIONS.join(', ')}"
30
+ puts "No action specified!"
31
+ puts "\nUsage: rake \"#{task.name}[action]\" (Note the quotes, and include the brackets...)"
32
+ puts "Valid values for 'action' are: #{VALID_DJ_ACTIONS.join(', ')}."
31
33
  exit(1)
32
34
  end
33
35
 
@@ -39,7 +41,7 @@ class ChiliVideosTasks < Rake::TaskLib
39
41
  end
40
42
 
41
43
  task :migrate_db => [:environment] do
42
- puts "Migrating chili_videos-#{ChiliVideos::VERSION}..."
44
+ puts "Migrating chili_videos..."
43
45
  ActiveRecord::Migration.verbose = ENV["VERBOSE"] ? ENV["VERBOSE"] == "true" : true
44
46
  ActiveRecord::Migrator.migrate(gem_db_migrate_dir, ENV["VERSION"] ? ENV["VERSION"].to_i : nil)
45
47
  Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby
metadata CHANGED
@@ -1,171 +1,148 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: chili_videos
3
- version: !ruby/object:Gem::Version
4
- hash: 21
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 1
10
- version: 0.2.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Tom Kersten
14
9
  autorequire:
15
10
  bindir: bin
16
- cert_chain:
17
- - |
18
- -----BEGIN CERTIFICATE-----
11
+ cert_chain:
12
+ - ! '-----BEGIN CERTIFICATE-----
13
+
19
14
  MIIDMDCCAhigAwIBAgIBADANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDAN0b20x
15
+
20
16
  GTAXBgoJkiaJk/IsZAEZFgl3aGl0ZXNwdXIxEzARBgoJkiaJk/IsZAEZFgNjb20w
17
+
21
18
  HhcNMTEwNDIyMDQzOTA5WhcNMTIwNDIxMDQzOTA5WjA+MQwwCgYDVQQDDAN0b20x
19
+
22
20
  GTAXBgoJkiaJk/IsZAEZFgl3aGl0ZXNwdXIxEzARBgoJkiaJk/IsZAEZFgNjb20w
21
+
23
22
  ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpxozDQgVN/oZljGlI9opm
23
+
24
24
  CrhNVA/lsNiXZBUmjfQC5XRPYHzmluon2Zz4050ljODKX+b/tkz/WVZ6x7a+Lop2
25
+
25
26
  yCLLWLcHNgB10j3j3k6bM0l3cfCdCvzevE7Zgpw3o/bzazST5x0pNzurasS1ouQk
27
+
26
28
  x/2o9E6qqJRuB51khuZKnh+Ma52/I1KQaMJ4bW6NOgquFCEIum8MJJBJWEdGm4It
29
+
27
30
  vhS/daRe/ADkYlgWl1Y1k7LxuH+1VCx7zMFMe1E0CMJzhGf7zuMS0w+dqwbL5m3N
31
+
28
32
  MLE8vgxwTEOsOwGz4wD6zMUdBY6FGYwRk8LGjvlokn0pZ1jyWHWSg2bUv/1GC2i9
33
+
29
34
  AgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBTN61Az
35
+
30
36
  ykDYheRHtzsjwE7fiLhYmzANBgkqhkiG9w0BAQUFAAOCAQEALwoInWubJXJYVH2N
37
+
31
38
  XnCMT4YlxNsQoYdDSxEagNOmZjK2eKtju0V9GjZAnyYB2q2LLilvbMyVtg/6AN0I
39
+
32
40
  XhCjyYZRRCADyvFGV4aBVv7yjKFQrIyXy8JT1iXxHC1N2o1DJlZUltCYNozJBhsO
41
+
33
42
  VNbnSqe8YYcezsuQ2/w9iavWXCf91QPwnrfHPZTrFPOveskJctm8HinF41fKwG5B
43
+
34
44
  iUHy8qVWGBCpDFYz6Kz+JtigaICcm2D4/WGLsDVOmgJ+g4xoOiCe9ZEkda8K+l/F
45
+
35
46
  yXWqInRlFIlTuwFTxj26jauBoskBPoz5bfkZFjaVRhyUnRnGka66lvcDOGfkRZWQ
47
+
36
48
  NVADJA==
49
+
37
50
  -----END CERTIFICATE-----
38
51
 
39
- date: 2011-08-18 00:00:00 Z
40
- dependencies:
41
- - !ruby/object:Gem::Dependency
52
+ '
53
+ date: 2011-11-24 00:00:00.000000000Z
54
+ dependencies:
55
+ - !ruby/object:Gem::Dependency
42
56
  name: httparty
43
- prerelease: false
44
- requirement: &id001 !ruby/object:Gem::Requirement
57
+ requirement: &2152754240 !ruby/object:Gem::Requirement
45
58
  none: false
46
- requirements:
47
- - - "="
48
- - !ruby/object:Gem::Version
49
- hash: 11
50
- segments:
51
- - 0
52
- - 7
53
- - 4
59
+ requirements:
60
+ - - =
61
+ - !ruby/object:Gem::Version
54
62
  version: 0.7.4
55
63
  type: :runtime
56
- version_requirements: *id001
57
- - !ruby/object:Gem::Dependency
58
- name: daemon-spawn
59
64
  prerelease: false
60
- requirement: &id002 !ruby/object:Gem::Requirement
65
+ version_requirements: *2152754240
66
+ - !ruby/object:Gem::Dependency
67
+ name: daemon-spawn
68
+ requirement: &2152753440 !ruby/object:Gem::Requirement
61
69
  none: false
62
- requirements:
63
- - - "="
64
- - !ruby/object:Gem::Version
65
- hash: 11
66
- segments:
67
- - 0
68
- - 4
69
- - 2
70
+ requirements:
71
+ - - =
72
+ - !ruby/object:Gem::Version
70
73
  version: 0.4.2
71
74
  type: :runtime
72
- version_requirements: *id002
73
- - !ruby/object:Gem::Dependency
74
- name: delayed_job
75
75
  prerelease: false
76
- requirement: &id003 !ruby/object:Gem::Requirement
76
+ version_requirements: *2152753440
77
+ - !ruby/object:Gem::Dependency
78
+ name: delayed_job
79
+ requirement: &2152752760 !ruby/object:Gem::Requirement
77
80
  none: false
78
- requirements:
79
- - - "="
80
- - !ruby/object:Gem::Version
81
- hash: 7
82
- segments:
83
- - 2
84
- - 0
85
- - 4
81
+ requirements:
82
+ - - =
83
+ - !ruby/object:Gem::Version
86
84
  version: 2.0.4
87
85
  type: :runtime
88
- version_requirements: *id003
89
- - !ruby/object:Gem::Dependency
90
- name: friendly_id
91
86
  prerelease: false
92
- requirement: &id004 !ruby/object:Gem::Requirement
87
+ version_requirements: *2152752760
88
+ - !ruby/object:Gem::Dependency
89
+ name: friendly_id
90
+ requirement: &2152752280 !ruby/object:Gem::Requirement
93
91
  none: false
94
- requirements:
95
- - - "="
96
- - !ruby/object:Gem::Version
97
- hash: 105
98
- segments:
99
- - 3
100
- - 2
101
- - 1
102
- - 1
92
+ requirements:
93
+ - - =
94
+ - !ruby/object:Gem::Version
103
95
  version: 3.2.1.1
104
96
  type: :runtime
105
- version_requirements: *id004
106
- - !ruby/object:Gem::Dependency
107
- name: hashie
108
97
  prerelease: false
109
- requirement: &id005 !ruby/object:Gem::Requirement
98
+ version_requirements: *2152752280
99
+ - !ruby/object:Gem::Dependency
100
+ name: hashie
101
+ requirement: &2152751560 !ruby/object:Gem::Requirement
110
102
  none: false
111
- requirements:
112
- - - "="
113
- - !ruby/object:Gem::Version
114
- hash: 23
115
- segments:
116
- - 1
117
- - 0
118
- - 0
103
+ requirements:
104
+ - - =
105
+ - !ruby/object:Gem::Version
119
106
  version: 1.0.0
120
107
  type: :runtime
121
- version_requirements: *id005
122
- - !ruby/object:Gem::Dependency
123
- name: fakeweb
124
108
  prerelease: false
125
- requirement: &id006 !ruby/object:Gem::Requirement
109
+ version_requirements: *2152751560
110
+ - !ruby/object:Gem::Dependency
111
+ name: fakeweb
112
+ requirement: &2152750900 !ruby/object:Gem::Requirement
126
113
  none: false
127
- requirements:
128
- - - "="
129
- - !ruby/object:Gem::Version
130
- hash: 27
131
- segments:
132
- - 1
133
- - 3
134
- - 0
114
+ requirements:
115
+ - - =
116
+ - !ruby/object:Gem::Version
135
117
  version: 1.3.0
136
118
  type: :development
137
- version_requirements: *id006
138
- - !ruby/object:Gem::Dependency
139
- name: hoe
140
119
  prerelease: false
141
- requirement: &id007 !ruby/object:Gem::Requirement
120
+ version_requirements: *2152750900
121
+ - !ruby/object:Gem::Dependency
122
+ name: hoe
123
+ requirement: &2152749960 !ruby/object:Gem::Requirement
142
124
  none: false
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- hash: 47
147
- segments:
148
- - 2
149
- - 8
150
- - 0
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
151
128
  version: 2.8.0
152
129
  type: :development
153
- version_requirements: *id007
154
- description: |-
155
- ChiliProject/Redmine plugin which integrates with [Transload.it](http://transload.it)
156
- to offer a private "YouTube-like" setup to your project site.
157
- email:
130
+ prerelease: false
131
+ version_requirements: *2152749960
132
+ description: ! 'ChiliProject/Redmine plugin which integrates with [Transload.it](http://transload.it)
133
+
134
+ to offer a private "YouTube-like" setup to your project site.'
135
+ email:
158
136
  - tom@whitespur.com
159
- executables:
137
+ executables:
160
138
  - delayed_job
161
139
  extensions: []
162
-
163
- extra_rdoc_files:
140
+ extra_rdoc_files:
164
141
  - History.txt
165
142
  - Manifest.txt
166
143
  - README.md
167
144
  - LICENSE
168
- files:
145
+ files:
169
146
  - .autotest
170
147
  - Gemfile
171
148
  - Gemfile.lock
@@ -179,6 +156,7 @@ files:
179
156
  - app/models/assembly.rb
180
157
  - app/models/assembly_observer.rb
181
158
  - app/models/assembly_processor.rb
159
+ - app/models/encoding.rb
182
160
  - app/models/video.rb
183
161
  - app/views/settings/_settings.html.erb
184
162
  - app/views/videos/edit.html.erb
@@ -231,37 +209,34 @@ files:
231
209
  - test/unit/video_test.rb
232
210
  homepage: http://github.com/tomkersten/chili_videos
233
211
  licenses: []
234
-
235
212
  post_install_message:
236
- rdoc_options:
213
+ rdoc_options:
237
214
  - --main
238
215
  - README.md
239
- require_paths:
216
+ require_paths:
240
217
  - lib
241
- required_ruby_version: !ruby/object:Gem::Requirement
218
+ required_ruby_version: !ruby/object:Gem::Requirement
242
219
  none: false
243
- requirements:
244
- - - ">="
245
- - !ruby/object:Gem::Version
246
- hash: 3
247
- segments:
220
+ requirements:
221
+ - - ! '>='
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ segments:
248
225
  - 0
249
- version: "0"
250
- required_rubygems_version: !ruby/object:Gem::Requirement
226
+ hash: -2279180856632023053
227
+ required_rubygems_version: !ruby/object:Gem::Requirement
251
228
  none: false
252
- requirements:
253
- - - ">="
254
- - !ruby/object:Gem::Version
255
- hash: 3
256
- segments:
257
- - 0
258
- version: "0"
229
+ requirements:
230
+ - - ! '>='
231
+ - !ruby/object:Gem::Version
232
+ version: '0'
259
233
  requirements: []
260
-
261
234
  rubyforge_project: chili_videos
262
- rubygems_version: 1.8.8
235
+ rubygems_version: 1.8.10
263
236
  signing_key:
264
237
  specification_version: 3
265
- summary: ChiliProject (/Redmine) plugin which adds self-hosted videos transcoded using the Transload.it service. The plugin a 'Video' tab to a project site which contains any associated videos.
266
- test_files:
238
+ summary: ChiliProject (/Redmine) plugin which adds self-hosted videos transcoded using
239
+ the Transload.it service. The plugin a 'Video' tab to a project site which contains
240
+ any associated videos.
241
+ test_files:
267
242
  - test/test_helper.rb
metadata.gz.sig CHANGED
Binary file