-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstring-urlize.gemspec
29 lines (24 loc) · 1.03 KB
/
string-urlize.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "string-urlize/version"
Gem::Specification.new do |s|
s.name = "string-urlize"
s.version = StringUrlize::VERSION
s.authors = ["Ivan Garmatenko"]
s.email = %w([email protected])
s.homepage = "https://github.com/cheef/string-urlize"
s.summary = %q{Converts string to friendly url}
s.description = %q{Extends ruby "String" class with "urlize" method which converts string to friendly url. It
removes all characters that couldn't be used in url and replaces spaces/underscores with dashes. In addition it
transliterate string using I18n library.}
s.rubyforge_project = "string-urlize"
s.files = []
%w(lib).each do |folder|
s.files += Dir.glob("#{folder}/**/*.*")
end
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = %w(lib)
s.add_runtime_dependency 'i18n', '~> 0.5'
s.add_development_dependency "cucumber", '~> 1.1'
s.add_development_dependency "rspec", '~> 2.9'
end