Sha256: cd1f9b248951a64e455b32bc93bc1bc0defb37f87f807fb001db111e316fa03f
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
#!/usr/bin/env ruby version = '0.9.9.4' 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' 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.9.4 | lib/gemspec.rb |