upr 0.1.0
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/.document +5 -0
- data/.gitignore +18 -0
- data/COPYING +339 -0
- data/GIT-VERSION-GEN +40 -0
- data/GNUmakefile +150 -0
- data/LICENSE +55 -0
- data/README +108 -0
- data/Rakefile +119 -0
- data/bin/upr-drb +6 -0
- data/examples/rails_app-2.3.4/Rakefile +10 -0
- data/examples/rails_app-2.3.4/app/controllers/application_controller.rb +3 -0
- data/examples/rails_app-2.3.4/app/controllers/files_controller.rb +41 -0
- data/examples/rails_app-2.3.4/app/helpers/application_helper.rb +3 -0
- data/examples/rails_app-2.3.4/app/models/upr_status.rb +35 -0
- data/examples/rails_app-2.3.4/app/views/files/index.html.erb +66 -0
- data/examples/rails_app-2.3.4/config.ru +3 -0
- data/examples/rails_app-2.3.4/config/boot.rb +110 -0
- data/examples/rails_app-2.3.4/config/database.yml +22 -0
- data/examples/rails_app-2.3.4/config/environment.rb +52 -0
- data/examples/rails_app-2.3.4/config/environments/development.rb +17 -0
- data/examples/rails_app-2.3.4/config/environments/production.rb +28 -0
- data/examples/rails_app-2.3.4/config/environments/test.rb +28 -0
- data/examples/rails_app-2.3.4/config/initializers/new_rails_defaults.rb +21 -0
- data/examples/rails_app-2.3.4/config/routes.rb +43 -0
- data/examples/rails_app-2.3.4/db/.gitignore +2 -0
- data/examples/rails_app-2.3.4/db/migrate/19700000000000_add_upr_status.rb +14 -0
- data/examples/rails_app-2.3.4/db/seeds.rb +7 -0
- data/examples/rails_app-2.3.4/lib/tasks/upr_status.rake +8 -0
- data/examples/rails_app-2.3.4/public/404.html +30 -0
- data/examples/rails_app-2.3.4/public/422.html +30 -0
- data/examples/rails_app-2.3.4/public/500.html +30 -0
- data/examples/rails_app-2.3.4/public/favicon.ico +0 -0
- data/examples/rails_app-2.3.4/public/javascripts/application.js +2 -0
- data/examples/rails_app-2.3.4/public/javascripts/controls.js +963 -0
- data/examples/rails_app-2.3.4/public/javascripts/dragdrop.js +973 -0
- data/examples/rails_app-2.3.4/public/javascripts/effects.js +1128 -0
- data/examples/rails_app-2.3.4/public/javascripts/prototype.js +4320 -0
- data/examples/rails_app-2.3.4/public/javascripts/upr.js +119 -0
- data/examples/rails_app-2.3.4/public/robots.txt +5 -0
- data/examples/rails_app-2.3.4/rainbows_config.rb +13 -0
- data/examples/rails_app-2.3.4/test/test_helper.rb +38 -0
- data/lib/upr.rb +35 -0
- data/lib/upr/input_wrapper.rb +110 -0
- data/lib/upr/monitor.rb +41 -0
- data/local.mk.sample +30 -0
- data/setup.rb +1586 -0
- data/upr.gemspec +40 -0
- metadata +127 -0
data/upr.gemspec
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- encoding: binary -*-
|
|
2
|
+
|
|
3
|
+
ENV["VERSION"] or abort "VERSION= must be specified"
|
|
4
|
+
manifest = File.readlines('.manifest').map! { |x| x.chomp! }
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{upr}
|
|
8
|
+
s.version = ENV["VERSION"]
|
|
9
|
+
|
|
10
|
+
s.authors = ["upr hackers"]
|
|
11
|
+
s.date = Time.now.utc.strftime('%Y-%m-%d')
|
|
12
|
+
s.description = File.read("README").split(/\n\n/)[1]
|
|
13
|
+
s.email = %q{upr@librelist.com}
|
|
14
|
+
s.executables = %w(upr-drb)
|
|
15
|
+
|
|
16
|
+
s.extra_rdoc_files = File.readlines('.document').map! do |x|
|
|
17
|
+
x.chomp!
|
|
18
|
+
if File.directory?(x)
|
|
19
|
+
manifest.grep(%r{\A#{x}/})
|
|
20
|
+
elsif File.file?(x)
|
|
21
|
+
x
|
|
22
|
+
else
|
|
23
|
+
nil
|
|
24
|
+
end
|
|
25
|
+
end.flatten.compact
|
|
26
|
+
|
|
27
|
+
s.files = manifest
|
|
28
|
+
s.homepage = %q{http://upr.bogomips.org/}
|
|
29
|
+
s.summary = %q{Upload Progress for Rack}
|
|
30
|
+
s.rdoc_options = [ "-Na", "-t", "upr - #{s.summary}" ]
|
|
31
|
+
s.require_paths = %w(lib)
|
|
32
|
+
s.rubyforge_project = %q{rainbows}
|
|
33
|
+
|
|
34
|
+
s.add_dependency(%q<moneta>)
|
|
35
|
+
|
|
36
|
+
# Folks on intranets sharing humongous files can use Unicorn, too
|
|
37
|
+
# s.add_dependency(%q<rainbows>)
|
|
38
|
+
|
|
39
|
+
# s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older Rubygems
|
|
40
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: upr
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- upr hackers
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-11-11 00:00:00 -08:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: moneta
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: "0"
|
|
24
|
+
version:
|
|
25
|
+
description: |-
|
|
26
|
+
upr is Rack middleware that allows browser-side upload progress
|
|
27
|
+
monitoring. It is based on the "mongrel_upload_progress" module, but
|
|
28
|
+
allows any Moneta-backing store in additon to DRb. There is also a
|
|
29
|
+
packaged example for using an ActiveRecord model for Rails.
|
|
30
|
+
email: upr@librelist.com
|
|
31
|
+
executables:
|
|
32
|
+
- upr-drb
|
|
33
|
+
extensions: []
|
|
34
|
+
|
|
35
|
+
extra_rdoc_files:
|
|
36
|
+
- ChangeLog
|
|
37
|
+
- lib/upr.rb
|
|
38
|
+
- lib/upr/input_wrapper.rb
|
|
39
|
+
- lib/upr/monitor.rb
|
|
40
|
+
- LICENSE
|
|
41
|
+
- NEWS
|
|
42
|
+
- README
|
|
43
|
+
files:
|
|
44
|
+
- .document
|
|
45
|
+
- .gitignore
|
|
46
|
+
- .manifest
|
|
47
|
+
- COPYING
|
|
48
|
+
- ChangeLog
|
|
49
|
+
- GIT-VERSION-FILE
|
|
50
|
+
- GIT-VERSION-GEN
|
|
51
|
+
- GNUmakefile
|
|
52
|
+
- LICENSE
|
|
53
|
+
- NEWS
|
|
54
|
+
- README
|
|
55
|
+
- Rakefile
|
|
56
|
+
- bin/upr-drb
|
|
57
|
+
- examples/rails_app-2.3.4/Rakefile
|
|
58
|
+
- examples/rails_app-2.3.4/app/controllers/application_controller.rb
|
|
59
|
+
- examples/rails_app-2.3.4/app/controllers/files_controller.rb
|
|
60
|
+
- examples/rails_app-2.3.4/app/helpers/application_helper.rb
|
|
61
|
+
- examples/rails_app-2.3.4/app/models/upr_status.rb
|
|
62
|
+
- examples/rails_app-2.3.4/app/views/files/index.html.erb
|
|
63
|
+
- examples/rails_app-2.3.4/config.ru
|
|
64
|
+
- examples/rails_app-2.3.4/config/boot.rb
|
|
65
|
+
- examples/rails_app-2.3.4/config/database.yml
|
|
66
|
+
- examples/rails_app-2.3.4/config/environment.rb
|
|
67
|
+
- examples/rails_app-2.3.4/config/environments/development.rb
|
|
68
|
+
- examples/rails_app-2.3.4/config/environments/production.rb
|
|
69
|
+
- examples/rails_app-2.3.4/config/environments/test.rb
|
|
70
|
+
- examples/rails_app-2.3.4/config/initializers/new_rails_defaults.rb
|
|
71
|
+
- examples/rails_app-2.3.4/config/routes.rb
|
|
72
|
+
- examples/rails_app-2.3.4/db/.gitignore
|
|
73
|
+
- examples/rails_app-2.3.4/db/migrate/19700000000000_add_upr_status.rb
|
|
74
|
+
- examples/rails_app-2.3.4/db/seeds.rb
|
|
75
|
+
- examples/rails_app-2.3.4/lib/tasks/upr_status.rake
|
|
76
|
+
- examples/rails_app-2.3.4/log/.gitignore
|
|
77
|
+
- examples/rails_app-2.3.4/public/404.html
|
|
78
|
+
- examples/rails_app-2.3.4/public/422.html
|
|
79
|
+
- examples/rails_app-2.3.4/public/500.html
|
|
80
|
+
- examples/rails_app-2.3.4/public/favicon.ico
|
|
81
|
+
- examples/rails_app-2.3.4/public/javascripts/application.js
|
|
82
|
+
- examples/rails_app-2.3.4/public/javascripts/controls.js
|
|
83
|
+
- examples/rails_app-2.3.4/public/javascripts/dragdrop.js
|
|
84
|
+
- examples/rails_app-2.3.4/public/javascripts/effects.js
|
|
85
|
+
- examples/rails_app-2.3.4/public/javascripts/prototype.js
|
|
86
|
+
- examples/rails_app-2.3.4/public/javascripts/upr.js
|
|
87
|
+
- examples/rails_app-2.3.4/public/robots.txt
|
|
88
|
+
- examples/rails_app-2.3.4/rainbows_config.rb
|
|
89
|
+
- examples/rails_app-2.3.4/test/test_helper.rb
|
|
90
|
+
- lib/upr.rb
|
|
91
|
+
- lib/upr/input_wrapper.rb
|
|
92
|
+
- lib/upr/monitor.rb
|
|
93
|
+
- local.mk.sample
|
|
94
|
+
- setup.rb
|
|
95
|
+
- upr.gemspec
|
|
96
|
+
has_rdoc: true
|
|
97
|
+
homepage: http://upr.bogomips.org/
|
|
98
|
+
licenses: []
|
|
99
|
+
|
|
100
|
+
post_install_message:
|
|
101
|
+
rdoc_options:
|
|
102
|
+
- -Na
|
|
103
|
+
- -t
|
|
104
|
+
- upr - Upload Progress for Rack
|
|
105
|
+
require_paths:
|
|
106
|
+
- lib
|
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
|
+
requirements:
|
|
109
|
+
- - ">="
|
|
110
|
+
- !ruby/object:Gem::Version
|
|
111
|
+
version: "0"
|
|
112
|
+
version:
|
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: "0"
|
|
118
|
+
version:
|
|
119
|
+
requirements: []
|
|
120
|
+
|
|
121
|
+
rubyforge_project: rainbows
|
|
122
|
+
rubygems_version: 1.3.5
|
|
123
|
+
signing_key:
|
|
124
|
+
specification_version: 3
|
|
125
|
+
summary: Upload Progress for Rack
|
|
126
|
+
test_files: []
|
|
127
|
+
|