-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Xenofon Deligiannis
committed
Apr 18, 2019
1 parent
bab317d
commit e278c9b
Showing
2 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
# -*- encoding: utf-8 -*- | ||
require File.expand_path("../lib/truncate_html/version", __FILE__) | ||
require File.expand_path('lib/truncate_html/version', __dir__) | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "truncate_html" | ||
s.name = 'truncate_html' | ||
s.version = TruncateHtml::VERSION | ||
s.authors = ["Harold Giménez"] | ||
s.email = ["[email protected]"] | ||
s.homepage = "https://github.com/hgmnz/truncate_html" | ||
s.summary = %q{Uses an API similar to Rails' truncate helper to truncate HTML and close any lingering open tags.} | ||
s.description = %q{Truncates html so you don't have to} | ||
s.authors = ['Harold Giménez'] | ||
s.email = ['[email protected]'] | ||
s.homepage = 'https://github.com/hgmnz/truncate_html' | ||
s.summary = "Uses an API similar to Rails' truncate helper to truncate HTML and close any lingering open tags." | ||
s.description = "Truncates html so you don't have to" | ||
|
||
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.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } | ||
s.require_paths = ['lib'] | ||
|
||
s.required_ruby_version = '>= 1.9' | ||
|
||
|