polisher 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/README +243 -0
  2. data/app/controllers/application_controller.rb +12 -0
  3. data/app/controllers/callback_controller.rb +47 -0
  4. data/app/controllers/manage_controller.rb +112 -0
  5. data/app/helpers/application_helper.rb +3 -0
  6. data/app/models/artifact.rb +21 -0
  7. data/app/models/event_handler.rb +61 -0
  8. data/app/models/gem_search_criteria.rb +24 -0
  9. data/app/models/gem_source.rb +43 -0
  10. data/app/models/managed_gem.rb +47 -0
  11. data/app/views/callback/gem_updated.rhtml +0 -0
  12. data/app/views/layouts/_header.rhtml +8 -0
  13. data/app/views/layouts/index.rhtml +27 -0
  14. data/app/views/manage/create_event_handler.rhtml +15 -0
  15. data/app/views/manage/create_gem.rhtml +15 -0
  16. data/app/views/manage/create_gem_source.rhtml +15 -0
  17. data/app/views/manage/delete_event_handler.rhtml +15 -0
  18. data/app/views/manage/delete_gem.rhtml +15 -0
  19. data/app/views/manage/delete_gem_source.rhtml +15 -0
  20. data/app/views/manage/list.rhtml +66 -0
  21. data/app/views/manage/new_event_handler.rhtml +38 -0
  22. data/app/views/manage/new_gem.rhtml +21 -0
  23. data/app/views/manage/new_gem_search_criteria.rhtml +3 -0
  24. data/app/views/manage/new_gem_source.rhtml +10 -0
  25. data/config/boot.rb +110 -0
  26. data/config/database.yml +48 -0
  27. data/config/environment.rb +44 -0
  28. data/config/environments/development.rb +17 -0
  29. data/config/environments/production.rb +28 -0
  30. data/config/environments/test.rb +28 -0
  31. data/config/initializers/backtrace_silencers.rb +7 -0
  32. data/config/initializers/inflections.rb +10 -0
  33. data/config/initializers/mime_types.rb +5 -0
  34. data/config/initializers/new_rails_defaults.rb +21 -0
  35. data/config/initializers/session_store.rb +15 -0
  36. data/config/locales/en.yml +5 -0
  37. data/config/polisher.yml +10 -0
  38. data/config/routes.rb +44 -0
  39. data/db/migrate/001_create_gem_sources.rb +34 -0
  40. data/db/migrate/002_create_managed_gems.rb +32 -0
  41. data/db/migrate/003_create_gem_search_criterias.rb +33 -0
  42. data/db/migrate/004_create_event_handlers.rb +32 -0
  43. data/db/migrate/005_create_artifacts.rb +32 -0
  44. data/db/schema.rb +42 -0
  45. data/db/seeds.rb +7 -0
  46. data/lib/email_adapter.rb +46 -0
  47. data/lib/gem2rpm.rb +189 -0
  48. data/lib/gem_api_adapter.rb +87 -0
  49. data/lib/rpm_adapter.rb +39 -0
  50. data/public/404.html +30 -0
  51. data/public/422.html +30 -0
  52. data/public/500.html +30 -0
  53. data/public/dispatch.cgi +10 -0
  54. data/public/dispatch.fcgi +24 -0
  55. data/public/dispatch.rb +29 -0
  56. data/public/favicon.ico +0 -0
  57. data/public/images/rails.png +0 -0
  58. data/public/javascripts/application.js +2 -0
  59. data/public/javascripts/controls.js +963 -0
  60. data/public/javascripts/dragdrop.js +973 -0
  61. data/public/javascripts/effects.js +1128 -0
  62. data/public/javascripts/jquery-1.2.6.min.js +32 -0
  63. data/public/javascripts/prototype.js +4320 -0
  64. data/public/robots.txt +5 -0
  65. data/public/stylesheets/style.css +68 -0
  66. data/script/about +4 -0
  67. data/script/console +3 -0
  68. data/script/dbconsole +3 -0
  69. data/script/destroy +3 -0
  70. data/script/generate +3 -0
  71. data/script/performance/benchmarker +3 -0
  72. data/script/performance/profiler +3 -0
  73. data/script/plugin +3 -0
  74. data/script/runner +3 -0
  75. data/script/server +3 -0
  76. data/tmp/gems/README +1 -0
  77. data/tmp/rpms/README +1 -0
  78. metadata +141 -0
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
@@ -0,0 +1,68 @@
1
+ a{
2
+ text-decoration: none;
3
+ font-size: 85%;
4
+ color: gray;
5
+ }
6
+
7
+ form{
8
+ padding-top: 5px;
9
+ }
10
+
11
+ form td{
12
+ width: 150px;;
13
+ }
14
+
15
+ #header {
16
+ width: 850px;
17
+ margin-left: auto;
18
+ margin-right: auto;
19
+ padding-top: 0px;
20
+ padding-bottom: 70px;
21
+ border-bottom: 1px solid black;
22
+ }
23
+
24
+ #header h3{
25
+ width: 30%;
26
+ float: left;
27
+ padding-top: 15px;
28
+ }
29
+
30
+ #header ul{
31
+ float: right;
32
+ }
33
+
34
+ #header ul li{
35
+ float: left;
36
+ display: block;
37
+ padding-left: 15px;
38
+ }
39
+
40
+ #main {
41
+ width: 850px;
42
+ margin-left: auto;
43
+ margin-right: auto;
44
+ padding-left: 10px;
45
+ }
46
+
47
+ #main h4,
48
+ #main h5,
49
+ #main h6{
50
+ display: inline;
51
+ }
52
+
53
+ #main h6{
54
+ padding-left: 15px;
55
+ }
56
+
57
+ #main ul li{
58
+ list-style: none;
59
+ padding-top: 15px;
60
+ }
61
+
62
+ #main ul li:before {
63
+ content: "\00BB \0020";
64
+ }
65
+
66
+ #main ul li ul li{
67
+ padding-top: 5px;
68
+ }
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ $LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
4
+ require 'commands/about'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/console'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/dbconsole'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/destroy'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/generate'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../../config/boot', __FILE__)
3
+ require 'commands/performance/benchmarker'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../../config/boot', __FILE__)
3
+ require 'commands/performance/profiler'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/plugin'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/runner'
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require File.expand_path('../../config/boot', __FILE__)
3
+ require 'commands/server'
@@ -0,0 +1 @@
1
+ gems downloaded by polisher
@@ -0,0 +1 @@
1
+ specs and srpms generated by polisher
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: polisher
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.1"
5
+ platform: ruby
6
+ authors:
7
+ - Mohammed Morsi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-01-13 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rails
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.3.2
24
+ version:
25
+ description: ruby gem polisher / post-publishing-processor
26
+ email: mmorsi@redhat.com
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files:
32
+ - README
33
+ files:
34
+ - app/controllers/callback_controller.rb
35
+ - app/controllers/manage_controller.rb
36
+ - app/controllers/application_controller.rb
37
+ - app/helpers/application_helper.rb
38
+ - app/models/gem_source.rb
39
+ - app/models/gem_search_criteria.rb
40
+ - app/models/event_handler.rb
41
+ - app/models/managed_gem.rb
42
+ - app/models/artifact.rb
43
+ - app/views/callback/gem_updated.rhtml
44
+ - app/views/manage/list.rhtml
45
+ - app/views/manage/delete_gem_source.rhtml
46
+ - app/views/manage/create_gem.rhtml
47
+ - app/views/manage/delete_event_handler.rhtml
48
+ - app/views/manage/new_gem_source.rhtml
49
+ - app/views/manage/new_event_handler.rhtml
50
+ - app/views/manage/new_gem.rhtml
51
+ - app/views/manage/delete_gem.rhtml
52
+ - app/views/manage/new_gem_search_criteria.rhtml
53
+ - app/views/manage/create_gem_source.rhtml
54
+ - app/views/manage/create_event_handler.rhtml
55
+ - app/views/layouts/index.rhtml
56
+ - app/views/layouts/_header.rhtml
57
+ - config/routes.rb
58
+ - config/environment.rb
59
+ - config/environments/development.rb
60
+ - config/environments/test.rb
61
+ - config/environments/production.rb
62
+ - config/locales/en.yml
63
+ - config/initializers/new_rails_defaults.rb
64
+ - config/initializers/mime_types.rb
65
+ - config/initializers/inflections.rb
66
+ - config/initializers/backtrace_silencers.rb
67
+ - config/initializers/session_store.rb
68
+ - config/boot.rb
69
+ - config/database.yml
70
+ - config/polisher.yml
71
+ - db/migrate/002_create_managed_gems.rb
72
+ - db/migrate/004_create_event_handlers.rb
73
+ - db/migrate/003_create_gem_search_criterias.rb
74
+ - db/migrate/005_create_artifacts.rb
75
+ - db/migrate/001_create_gem_sources.rb
76
+ - db/seeds.rb
77
+ - db/schema.rb
78
+ - lib/rpm_adapter.rb
79
+ - lib/email_adapter.rb
80
+ - lib/gem_api_adapter.rb
81
+ - lib/gem2rpm.rb
82
+ - public/500.html
83
+ - public/favicon.ico
84
+ - public/404.html
85
+ - public/dispatch.fcgi
86
+ - public/javascripts/jquery-1.2.6.min.js
87
+ - public/javascripts/effects.js
88
+ - public/javascripts/dragdrop.js
89
+ - public/javascripts/application.js
90
+ - public/javascripts/controls.js
91
+ - public/javascripts/prototype.js
92
+ - public/images/rails.png
93
+ - public/stylesheets/style.css
94
+ - public/robots.txt
95
+ - public/422.html
96
+ - public/dispatch.rb
97
+ - public/dispatch.cgi
98
+ - script/runner
99
+ - script/about
100
+ - script/server
101
+ - script/dbconsole
102
+ - script/plugin
103
+ - script/performance/profiler
104
+ - script/performance/benchmarker
105
+ - script/destroy
106
+ - script/generate
107
+ - script/console
108
+ - tmp/gems/README
109
+ - tmp/rpms/README
110
+ - README
111
+ has_rdoc: true
112
+ homepage: http://github.com/movitto/polisher
113
+ licenses: []
114
+
115
+ post_install_message:
116
+ rdoc_options:
117
+ - --inline-source
118
+ - --charset=UTF-8
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: "0"
126
+ version:
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 1.3.3
132
+ version:
133
+ requirements: []
134
+
135
+ rubyforge_project:
136
+ rubygems_version: 1.3.5
137
+ signing_key:
138
+ specification_version: 3
139
+ summary: polisher provides a rails based interface for a user to track packages posted to any number of gem repositories and automatically invoke callback handlers upon package events
140
+ test_files: []
141
+