1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
require 'rubygems'
# Note that Sass's gem-compilation process requires access to the filesystem.
# This means that it cannot be automatically run by e.g. GitHub's gem system.
# However, a build server automatically packages the master branch
# every time it's pushed to; this is made available as a prerelease gem.
SASS_GEMSPEC = Gem::Specification.new do |spec|
spec.rubyforge_project = 'sass'
spec.name = 'sass'
spec.summary = "A powerful but elegant CSS compiler that makes CSS fun again."
spec.version = File.read(File.dirname(__FILE__) + '/VERSION').strip
spec.authors = ['Natalie Weizenbaum', 'Chris Eppstein', 'Hampton Catlin']
spec.email = 'sass-lang@googlegroups.com'
spec.description = <<-END
Ruby Sass is deprecated! See https://sass-lang.com/ruby-sass for details.
Sass makes CSS fun again. Sass is an extension of CSS, adding
nested rules, variables, mixins, selector inheritance, and more.
It's translated to well-formatted, standard CSS using the
command line tool or a web-framework plugin.
END
spec.required_ruby_version = '>= 2.0.0'
# sass-listen not in Debian
spec.add_runtime_dependency 'listen', '~> 3.0'
spec.add_development_dependency 'yard', '~> 0.8.7.6'
spec.add_development_dependency 'redcarpet', '~> 3.3'
spec.add_development_dependency 'nokogiri', '~> 1.6.0'
spec.add_development_dependency 'minitest', '>= 5'
readmes = Dir['*'].reject{ |x| x =~ /(^|[^.a-z])[a-z]+/ || x == "TODO" }
spec.executables = ['sass', 'sass-convert', 'scss']
spec.files = Dir['rails/init.rb', '{lib,bin,extra}/**/*', 'init.rb', '.yardopts'] + readmes
spec.homepage = 'https://sass-lang.com/'
spec.license = "MIT"
if spec.respond_to?(:metadata)
spec.metadata['source_code_uri'] = 'https://github.com/sass/ruby-sass'
end
spec.post_install_message = <<END
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
END
end
|