forked from DefV/radiant-relations-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathradiant-relations-extension.gemspec
More file actions
29 lines (26 loc) · 1.08 KB
/
Copy pathradiant-relations-extension.gemspec
File metadata and controls
29 lines (26 loc) · 1.08 KB
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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "radiant-relations-extension"
Gem::Specification.new do |s|
s.name = "radiant-relations-extension"
s.version = RadiantRelationsExtension::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Jan De Poorter", "Benny Degezelle"]
s.email = ["rubygems@monkeypatch.be"]
s.homepage = "http://github.com/jomz/radiant-relations-extension"
s.summary = %q{Relations extension for Radiant CMS}
s.description = %q{Allows you to define relations between pages}
ignores = if File.exist?('.gitignore')
File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
else
[]
end
s.files = Dir['**/*'] - ignores
s.test_files = Dir['test/**/*','spec/**/*','features/**/*'] - ignores
# s.executables = Dir['bin/*'] - ignores
s.require_paths = ["lib"]
s.post_install_message = %{
Add this to your radiant project by putting this line in your Gemfile:
gem "radiant-relations-extension", "~> #{RadiantRelationsExtension::VERSION}"
}
end