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