gembox 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.1.4 2009-04-13
2
+
3
+ * Using the brand new release of Vegas for the binary
4
+
1
5
  == 0.1.3 2009-04-06
2
6
 
3
7
  * Support/linking to local RDoc files in Gem pages
data/Rakefile CHANGED
@@ -1,12 +1,10 @@
1
1
  %w[rubygems rake rake/clean fileutils newgem rubigen jeweler].each { |f| require f }
2
2
  require File.dirname(__FILE__) + '/lib/gembox'
3
3
 
4
- require 'jeweler'
5
-
6
4
  # Generate all the Rake tasks
7
5
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
8
6
 
9
- $hoe = Hoe.new('gembox', Jeweler::Version.new(File.expand_path(File.dirname(__FILE__))).to_s) do |p|
7
+ $hoe = Hoe.new('gembox', Gembox::VERSION) do |p|
10
8
  p.developer('Aaron Quint', 'aaron@quirkey.com')
11
9
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
12
10
  p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
@@ -15,6 +13,7 @@ $hoe = Hoe.new('gembox', Jeweler::Version.new(File.expand_path(File.dirname(__FI
15
13
  p.url = ['http://code.quirkey.com/gembox', 'http://github.com/quirkey/gembox']
16
14
  p.extra_deps = [
17
15
  ['sinatra', '>=0.9.1'],
16
+ ['vegas', '>=0.0.1'],
18
17
  ['haml', '>=2.0.9'],
19
18
  ['activesupport', '>=2.2.2'],
20
19
  ['mislav-will_paginate', '>=2.3.7']
data/bin/gembox CHANGED
@@ -4,8 +4,6 @@
4
4
  # Copyright (c) 2009. All rights reserved.
5
5
 
6
6
  require File.expand_path(File.dirname(__FILE__) + "/../lib/gembox")
7
+ require 'vegas'
7
8
 
8
- Gembox::App.set :app_file, File.expand_path(File.dirname(__FILE__) + "/../lib/gembox/app.rb")
9
- Gembox::App.set :environment, :production
10
- Gembox::App.set :port, 5678
11
- Gembox::App.run!
9
+ Vegas::Runner.new(Gembox::App, 'gembox')
@@ -6,6 +6,10 @@ require 'active_support'
6
6
  require 'will_paginate/array'
7
7
  require 'will_paginate/view_helpers'
8
8
 
9
+ module Gembox
10
+ VERSION = '0.1.4'
11
+ end
12
+
9
13
  require 'extensions'
10
14
  require 'gembox/gem_list'
11
15
  require 'gembox/gems'
@@ -8,7 +8,8 @@ module Gembox
8
8
  @@root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
9
9
 
10
10
  set :root, @@root
11
-
11
+ set :app_file, __FILE__
12
+
12
13
  before do
13
14
  Gembox::Gems.load
14
15
  @gems = Gembox::Gems.local_gems.paginate :page => params[:page], :per_page => 30
@@ -65,6 +66,10 @@ module Gembox
65
66
  haml "gems_#{@show_as}".to_sym, :layout => show_layout
66
67
  end
67
68
 
69
+ def self.version
70
+ Gembox::VERSION
71
+ end
72
+
68
73
  private
69
74
 
70
75
  def load_gem_by_version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gembox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Quint
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-06 00:00:00 -04:00
12
+ date: 2009-04-13 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,6 +22,16 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 0.9.1
24
24
  version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: vegas
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.1
34
+ version:
25
35
  - !ruby/object:Gem::Dependency
26
36
  name: haml
27
37
  type: :runtime
@@ -91,17 +101,14 @@ extensions: []
91
101
 
92
102
  extra_rdoc_files:
93
103
  - History.txt
94
- - Manifest.txt
95
104
  - PostInstall.txt
96
105
  - README.rdoc
97
106
  files:
98
107
  - History.txt
99
- - Manifest.txt
100
108
  - PostInstall.txt
101
109
  - README.rdoc
102
110
  - Rakefile
103
111
  - bin/gembox
104
- - gembox.gemspec
105
112
  - lib/extensions.rb
106
113
  - lib/gembox.rb
107
114
  - lib/gembox/app.rb
@@ -1,41 +0,0 @@
1
- History.txt
2
- Manifest.txt
3
- PostInstall.txt
4
- README.rdoc
5
- Rakefile
6
- bin/gembox
7
- gembox.gemspec
8
- lib/extensions.rb
9
- lib/gembox.rb
10
- lib/gembox/app.rb
11
- lib/gembox/config.ru
12
- lib/gembox/gem_list.rb
13
- lib/gembox/gems.rb
14
- lib/gembox/view_helpers.rb
15
- public/images/edit.png
16
- public/images/folder.png
17
- public/images/git.gif
18
- public/images/page.png
19
- public/images/page_white_text.png
20
- public/images/rubygems-125x125t.png
21
- public/javascripts/base.js
22
- public/javascripts/gembox.js
23
- public/javascripts/jquery.form.js
24
- public/javascripts/jquery.js
25
- public/javascripts/jquery.metadata.js
26
- public/javascripts/jquery.ui.js
27
- public/swf/clippy.swf
28
- test/.bacon
29
- test/test_gembox_app.rb
30
- test/test_gembox_gems.rb
31
- test/test_helper.rb
32
- views/doc.haml
33
- views/file_tree.haml
34
- views/gem.haml
35
- views/gembox.sass
36
- views/gems_columns.haml
37
- views/gems_header.haml
38
- views/gems_table.haml
39
- views/index.haml
40
- views/layout.haml
41
- views/no_results.haml
@@ -1,56 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{gembox}
5
- s.version = "0.1.3"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Aaron Quint"]
9
- s.date = %q{2009-04-06}
10
- s.default_executable = %q{gembox}
11
- s.description = %q{A sinatra based interface for browsing and admiring your gems.}
12
- s.email = ["aaron@quirkey.com"]
13
- s.executables = ["gembox"]
14
- s.extra_rdoc_files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc"]
15
- s.files = ["History.txt", "Manifest.txt", "PostInstall.txt", "README.rdoc", "Rakefile", "bin/gembox", "gembox.gemspec", "lib/extensions.rb", "lib/gembox.rb", "lib/gembox/app.rb", "lib/gembox/config.ru", "lib/gembox/gem_list.rb", "lib/gembox/gems.rb", "lib/gembox/view_helpers.rb", "public/images/edit.png", "public/images/folder.png", "public/images/git.gif", "public/images/page.png", "public/images/page_white_text.png", "public/images/rubygems-125x125t.png", "public/javascripts/base.js", "public/javascripts/gembox.js", "public/javascripts/jquery.form.js", "public/javascripts/jquery.js", "public/javascripts/jquery.metadata.js", "public/javascripts/jquery.ui.js", "public/swf/clippy.swf", "test/.bacon", "test/test_gembox_app.rb", "test/test_gembox_gems.rb", "test/test_helper.rb", "views/doc.haml", "views/file_tree.haml", "views/gem.haml", "views/gembox.sass", "views/gems_columns.haml", "views/gems_header.haml", "views/gems_table.haml", "views/index.haml", "views/layout.haml", "views/no_results.haml"]
16
- s.has_rdoc = true
17
- s.homepage = %q{http://code.quirkey.com/gembox}
18
- s.post_install_message = %q{PostInstall.txt}
19
- s.rdoc_options = ["--main", "README.rdoc"]
20
- s.require_paths = ["lib"]
21
- s.rubyforge_project = %q{quirkey}
22
- s.rubygems_version = %q{1.3.1}
23
- s.summary = %q{A sinatra based interface for browsing and admiring your gems.}
24
- s.test_files = ["test/test_gembox_app.rb", "test/test_gembox_gems.rb", "test/test_helper.rb"]
25
-
26
- if s.respond_to? :specification_version then
27
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
28
- s.specification_version = 2
29
-
30
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
31
- s.add_runtime_dependency(%q<sinatra>, [">= 0.9.1"])
32
- s.add_runtime_dependency(%q<haml>, [">= 2.0.9"])
33
- s.add_runtime_dependency(%q<activesupport>, [">= 2.2.2"])
34
- s.add_runtime_dependency(%q<mislav-will_paginate>, [">= 2.3.7"])
35
- s.add_development_dependency(%q<newgem>, [">= 1.2.3"])
36
- s.add_development_dependency(%q<rack-test>, [">= 0.1.0"])
37
- s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
38
- else
39
- s.add_dependency(%q<sinatra>, [">= 0.9.1"])
40
- s.add_dependency(%q<haml>, [">= 2.0.9"])
41
- s.add_dependency(%q<activesupport>, [">= 2.2.2"])
42
- s.add_dependency(%q<mislav-will_paginate>, [">= 2.3.7"])
43
- s.add_dependency(%q<newgem>, [">= 1.2.3"])
44
- s.add_dependency(%q<rack-test>, [">= 0.1.0"])
45
- s.add_dependency(%q<hoe>, [">= 1.8.0"])
46
- end
47
- else
48
- s.add_dependency(%q<sinatra>, [">= 0.9.1"])
49
- s.add_dependency(%q<haml>, [">= 2.0.9"])
50
- s.add_dependency(%q<activesupport>, [">= 2.2.2"])
51
- s.add_dependency(%q<mislav-will_paginate>, [">= 2.3.7"])
52
- s.add_dependency(%q<newgem>, [">= 1.2.3"])
53
- s.add_dependency(%q<rack-test>, [">= 0.1.0"])
54
- s.add_dependency(%q<hoe>, [">= 1.8.0"])
55
- end
56
- end