Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 45 lines (38 sloc) 1.463 kb
eef25ab Alex MacCaw Use jeweler
authored
1 begin
2 require 'jeweler'
3 Jeweler::Tasks.new do |gemspec|
4 gemspec.name = "bowline"
5 gemspec.summary = "Bowline GUI framework"
6 gemspec.email = "alex@leadthinking.com"
7 gemspec.homepage = "http://github.com/maccman/bowline"
8 gemspec.description = "Ruby/JS GUI framework"
9 gemspec.authors = ["Alex MacCaw"]
a8766ae Alex MacCaw use bowline-bundler
authored
10 gemspec.add_dependency('templater', '>= 0.3.2')
16512ee Alex MacCaw using activesupport beta4
authored
11 gemspec.add_dependency('activesupport', '>= 3.0.0.beta4')
921c6a8 Alex MacCaw zipruby isn't working on Ruby 1.9.2
authored
12 gemspec.add_dependency('rubyzip2', '>= 2.0.1')
a8766ae Alex MacCaw use bowline-bundler
authored
13 gemspec.add_dependency('supermodel', '>= 0.1.3')
14 gemspec.add_dependency('bowline-bundler','>= 0.0.1')
25bf44a Alex MacCaw docs
authored
15
16 gemspec.post_install_message = <<-POST_INSTALL_MESSAGE
17 #{'*'*50}
18
19 Thank you for installing Bowline.
20
21 If you're on Linux, please install the WebKit library:
22 sudo apt-get install libwebkit-dev
23
24 #{'*'*50}
25 POST_INSTALL_MESSAGE
eef25ab Alex MacCaw Use jeweler
authored
26 end
27 rescue LoadError
db6664b Alex MacCaw Add new JavaScripts - prepare for first public version
authored
28 puts "Jeweler not available. Install it with: sudo gem install jeweler"
a1b8bb9 Alex MacCaw Fix bug with helpers/binders
authored
29 end
30
31 task :write_version do
6a07281 Alex MacCaw Ruby 1.9.2 support - they broke relative paths
authored
32 require File.expand_path(File.join(File.dirname(__FILE__), *%w[lib bowline]))
a1b8bb9 Alex MacCaw Fix bug with helpers/binders
authored
33 File.open('VERSION', 'w') {|f| f.write Bowline::Version::STRING }
00e96c8 Alex MacCaw Add 'rdoc' task, and cleanup some of the RDoc
authored
34 end
35
36 require 'rake/rdoctask'
37 desc "Generate documentation for Bowline."
38 Rake::RDocTask.new(:rdoc) do |rdoc|
39 rdoc.rdoc_dir = "rdoc"
40 rdoc.title = "Bowline"
41 rdoc.options << "--line-numbers" << "--inline-source"
42 rdoc.rdoc_files.include("README.txt")
43 rdoc.rdoc_files.include("lib/**/*.rb")
6ed99fd Alex MacCaw add supermodel as a dependency
authored
44 end
Something went wrong with that request. Please try again.