Skip to content

Commit

Permalink
cleanup gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Sep 20, 2013
1 parent 340ad14 commit e88f72d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 32 deletions.
5 changes: 4 additions & 1 deletion Gemfile
@@ -1,2 +1,5 @@
source 'https://rubygems.org'
gemspec
gemspec

gem "rspec"
gem "rake"
24 changes: 12 additions & 12 deletions Gemfile.lock
Expand Up @@ -7,22 +7,22 @@ PATH
GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.1.3)
rake (10.0.4)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
diff-lcs (1.2.4)
rake (10.1.0)
rspec (2.14.1)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
rspec-core (2.14.5)
rspec-expectations (2.14.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.3)
unicode_utils (1.4.0)

PLATFORMS
ruby

DEPENDENCIES
rake (>= 2.0.0)
rspec (>= 2.0.0)
rake
rspec
sort_alphabetical!
6 changes: 4 additions & 2 deletions Rakefile
@@ -1,3 +1,5 @@
require "bundler/setup"

task :default do
sh "bundle && bundle exec rspec spec"
end
sh "rspec spec"
end
30 changes: 13 additions & 17 deletions sort_alphabetical.gemspec
@@ -1,20 +1,16 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = 'sort_alphabetical'
s.version = '0.1.4'
s.required_ruby_version = '>= 1.9.0'

s.authors = ['Michael Grosser']
s.date = '2013-09-19'
s.email = 'michael@grosser.it'
s.files = Dir.glob('**/*')
s.homepage = 'http://github.com/grosser/sort_alphabetical'
s.require_paths = ['lib']
name = "sort_alphabetical"

Gem::Specification.new name, '0.1.4' do |s|
s.summary = 'Sort UTF8 Strings alphabetical via Enumerable extension'

s.authors = ["Michael Grosser"]
s.email = "michael@grosser.it"
s.homepage = "https://github.com/grosser/#{name}"
s.files = `git ls-files lib`.split("\n")
s.license = "MIT"
s.add_dependency 'unicode_utils', '>= 1.0.0'
s.add_development_dependency 'rspec', '>= 2.0.0'
s.add_development_dependency 'rake' , '>= 2.0.0'
end
key = File.expand_path("~/.ssh/gem-private_key.pem")
if File.exist?(key)
s.signing_key = key
s.cert_chain = ["gem-public_cert.pem"]
end
end

0 comments on commit e88f72d

Please sign in to comment.