forked from gma/nesta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nesta.gemspec
50 lines (42 loc) · 1.8 KB
/
nesta.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "nesta/version"
Gem::Specification.new do |s|
s.name = "nesta"
s.version = Nesta::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Graham Ashton"]
s.email = ["graham@effectif.com"]
s.homepage = "http://nestacms.com"
s.summary = %q{Ruby CMS, written in Sinatra}
s.description = <<-EOF
Nesta is a lightweight Content Management System, written in Ruby using
the Sinatra web framework. Nesta has the simplicity of a static site
generator, but (being a fully fledged Rack application) allows you to
serve dynamic content on demand.
Content is stored on disk in plain text files (there is no database).
Edit your content in a text editor and keep it under version control
(most people use git, but any version control system will do fine).
Implementing your site's design is easy, but Nesta also has a small
selection of themes to choose from.
EOF
s.rubyforge_project = "nesta"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency('haml', '~> 3.1')
s.add_dependency('sass', '~> 3.1')
s.add_dependency('rdiscount', '~> 1.6')
s.add_dependency('RedCloth', '~> 4.2')
s.add_dependency('sinatra', '~> 1.3')
s.add_dependency('rack', '~> 1.1')
# Useful in development
s.add_dependency('shotgun', '>= 0.8')
# Test libraries
s.add_development_dependency('hpricot', '0.8.4')
s.add_development_dependency('rack-test', '0.6.1')
s.add_development_dependency('rspec', '1.3.0')
s.add_development_dependency('rspec_hpricot_matchers', '1.0')
s.add_development_dependency('test-unit', '1.2.3')
end