Sha256: 5a87b0200723506c968436a805b83e98fea44e38573d6ea3bb2f3517c0364640
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
#!/usr/bin/env ruby version = '0.9.8.11' 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 'refinerycms', '>= 0.9.8' 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.11 | lib/gemspec.rb |