Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

Commit 75ae7ed

Browse files
committed
Change gem to sassc
1 parent 0c76170 commit 75ae7ed

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015 Franz Heidl
1+
Copyright (c) 2015 Wouter van der Meulen
22

33
MIT License
44

lib/sass_inline_svg.rb lib/sassc_inline_svg.rb

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
require "sass_inline_svg/version"
1+
require "sassc_inline_svg/version"
22
require "sassc"
33
require "cgi"
44

5-
module Sass::Script::Functions
5+
module SassC::Script::Functions
66

77
# Alias function to comply with old documentation
88
def svg_inline(path, repl = nil)
@@ -13,7 +13,7 @@ def inline_svg(path, repl = nil)
1313
assert_type path, :String
1414
path = path.value.strip()
1515

16-
# Use Soprockets / Rails asset pipeline if in Rails context (and handle File not found):
16+
# Use Sprockets / Rails asset pipeline if in Rails context (and handle File not found):
1717
if defined?(Rails)
1818
asset = (Rails.application.assets || ::Sprockets::Railtie.build_environment(Rails.application)).find_asset(path).to_s
1919
raise "File not found or cannot be read (Sprockets): #{path}" if asset.nil?
@@ -51,5 +51,4 @@ def _readFile(path)
5151
raise SassC::SyntaxError, "File not found or cannot be read (native): #{path}"
5252
end
5353
end
54-
5554
end
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module SassInlineSvg
1+
module SassCInlineSvg
22
VERSION = "0.0.7"
33
end

sache.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "sass-inline-svg",
3-
"description": "Inline url-encoded SVG with Sass. Optional variable string replacement included!",
2+
"name": "sassc-inline-svg",
3+
"description": "Inline url-encoded SVG with SassC. Optional variable string replacement included!",
44
"tags": ["svg", "inline", "variable", "replace"]
55
}

sass_inline_svg.gemspec

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# coding: utf-8
22
lib = File.expand_path('../lib', __FILE__)
33
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4-
require 'sass_inline_svg/version'
4+
require 'sassc_inline_svg/version'
55

66
Gem::Specification.new do |spec|
7-
spec.name = "sass_inline_svg"
8-
spec.version = SassInlineSvg::VERSION
9-
spec.authors = ["Franz Heidl"]
10-
spec.email = ["franz@franzheidl.de"]
11-
spec.summary = %q{Inline url-encoded SVG with Sass}
12-
spec.description = %q{Inline url-encoded SVG with Sass. Optional variable string replacement included!}
7+
spec.name = "sassc_inline_svg"
8+
spec.version = SassCInlineSvg::VERSION
9+
spec.authors = ["Wouter van der Meulen"]
10+
spec.email = ["info@clikex.dev"]
11+
spec.summary = %q{Inline url-encoded SVG with SassC}
12+
spec.description = %q{Inline url-encoded SVG with SassC. Optional variable string replacement included!}
1313
spec.homepage = "https://github.com/franzheidl/sass-inline-svg"
1414
spec.license = "MIT"
1515

0 commit comments

Comments
 (0)