Sha256: 3e21bb5f0391690dadfc2177e768c01cc0e92e1bc72f08f5657e4bd877842a2b
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
#!/usr/bin/env ruby version = '0.9.8.3' raise "Could not get version so gemspec can not be built" if version.nil? files = Dir.glob("**/*").flatten.reject do |file| file =~ /\.gem(spec)?$/ end gemspec = <<EOF Gem::Specification.new do |s| s.name = %q{refinerycms-i18n} s.version = %q{#{version}} s.description = %q{i18n logic extracted from RefineryCMS, for Refinery CMS.} s.date = %q{#{Time.now.strftime('%Y-%m-%d')}} s.summary = %q{i18n logic for Refinery CMS.} s.email = %q{info@refinerycms.com} s.homepage = %q{http://refinerycms.com} s.authors = %w(Resolve\\ Digital) s.require_paths = %w(lib) s.add_dependency 'routing-filter', '~> 0.1.6' s.files = [ '#{files.join("',\n '")}' ] #{"s.test_files = [ '#{Dir.glob("test/**/*.rb").join("',\n '")}' ]" if File.directory?("test")} end EOF File.open(File.expand_path("../../refinerycms-i18n.gemspec", __FILE__), 'w').puts(gemspec)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-i18n-0.9.8.3 | lib/gemspec.rb |