sass-archive-importer 1.0.0.beta.7 → 1.0.0.beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,7 +67,7 @@ class ClassLoaderImporter < Sass::Importers::Base
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def find_relative(name, base, options)
|
70
|
-
base = base
|
70
|
+
base = normalize_name(base)
|
71
71
|
if entry = entry_for(name, base)
|
72
72
|
engine(entry, options)
|
73
73
|
end
|
@@ -90,7 +90,8 @@ class ClassLoaderImporter < Sass::Importers::Base
|
|
90
90
|
|
91
91
|
|
92
92
|
def mtime(name, options)
|
93
|
-
|
93
|
+
name = key(name, options).last
|
94
|
+
if entry = find_entry(name)
|
94
95
|
entry.time
|
95
96
|
else
|
96
97
|
nil
|
@@ -113,6 +114,11 @@ class ClassLoaderImporter < Sass::Importers::Base
|
|
113
114
|
|
114
115
|
protected
|
115
116
|
|
117
|
+
def normalize_name(name)
|
118
|
+
name.split("<ClassLoaderImporter>#{'/' if sub_folder}#{sub_folder}", 2).last
|
119
|
+
end
|
120
|
+
|
121
|
+
|
116
122
|
def full_filename(entry)
|
117
123
|
"<ClassLoaderImporter>/#{entry.name}"
|
118
124
|
end
|
metadata
CHANGED
@@ -1,58 +1,73 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-archive-importer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 62196371
|
5
|
+
prerelease: true
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
- beta
|
11
|
+
- 8
|
12
|
+
version: 1.0.0.beta.8
|
5
13
|
platform: ruby
|
6
|
-
authors:
|
14
|
+
authors:
|
7
15
|
- Chris Eppstein
|
8
16
|
autorequire:
|
9
17
|
bindir: bin
|
10
18
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
19
|
+
|
20
|
+
date: 2014-04-24 00:00:00 -07:00
|
21
|
+
default_executable:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
14
24
|
name: sass
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '>='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.1'
|
20
|
-
- - <
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '3.4'
|
23
|
-
type: :runtime
|
24
25
|
prerelease: false
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 5
|
32
|
+
segments:
|
33
|
+
- 3
|
34
|
+
- 1
|
35
|
+
version: "3.1"
|
30
36
|
- - <
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
- - ~>
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 0.9.9
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
hash: 15
|
39
|
+
segments:
|
40
|
+
- 3
|
41
|
+
- 4
|
42
|
+
version: "3.4"
|
40
43
|
type: :runtime
|
44
|
+
version_requirements: *id001
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: rubyzip
|
41
47
|
prerelease: false
|
42
|
-
|
43
|
-
|
48
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
44
51
|
- - ~>
|
45
|
-
- !ruby/object:Gem::Version
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
hash: 41
|
54
|
+
segments:
|
55
|
+
- 0
|
56
|
+
- 9
|
57
|
+
- 9
|
46
58
|
version: 0.9.9
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
email:
|
59
|
+
type: :runtime
|
60
|
+
version_requirements: *id002
|
61
|
+
description: Allows sass, scss, and css files within zip and jar files to be found using Sass @import directives. Also supports loading sass files in JRuby from the java class loader.
|
62
|
+
email:
|
51
63
|
- chris@eppsteins.net
|
52
64
|
executables: []
|
65
|
+
|
53
66
|
extensions: []
|
67
|
+
|
54
68
|
extra_rdoc_files: []
|
55
|
-
|
69
|
+
|
70
|
+
files:
|
56
71
|
- .gitignore
|
57
72
|
- CHANGELOG.markdown
|
58
73
|
- Gemfile
|
@@ -67,30 +82,41 @@ files:
|
|
67
82
|
- lib/sass_archive_importer/monkey_patches.rb
|
68
83
|
- lib/sass_archive_importer/version.rb
|
69
84
|
- sass-archive-importer.gemspec
|
85
|
+
has_rdoc: true
|
70
86
|
homepage: http://github.com/linkedin/sass-archive-importer
|
71
|
-
licenses:
|
87
|
+
licenses:
|
72
88
|
- Apache 2.0
|
73
|
-
metadata: {}
|
74
89
|
post_install_message:
|
75
90
|
rdoc_options: []
|
76
|
-
|
91
|
+
|
92
|
+
require_paths:
|
77
93
|
- lib
|
78
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
version: "0"
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ">"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 25
|
109
|
+
segments:
|
110
|
+
- 1
|
111
|
+
- 3
|
112
|
+
- 1
|
87
113
|
version: 1.3.1
|
88
114
|
requirements: []
|
115
|
+
|
89
116
|
rubyforge_project:
|
90
|
-
rubygems_version:
|
117
|
+
rubygems_version: 1.3.7
|
91
118
|
signing_key:
|
92
|
-
specification_version:
|
93
|
-
summary: Allows sass, scss, and css files within zip and jar files to be found using
|
94
|
-
Sass @import directives.
|
119
|
+
specification_version: 3
|
120
|
+
summary: Allows sass, scss, and css files within zip and jar files to be found using Sass @import directives.
|
95
121
|
test_files: []
|
96
|
-
|
122
|
+
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: f620a322e73081ba8c4f9ec1278005b3e31daa4e
|
4
|
-
data.tar.gz: ebb044e4aac45235f3d29f7207536f1f4b4644d9
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: bd6d8b89b2804339bfce294d0881585e4bec520ad2f720a64bd995961c85ccfe7c28cfe88fcb4d3eb924175eb0c5c8476fe55f33e92897693a73c2bc753ff3d8
|
7
|
-
data.tar.gz: fbbb7ef76d7f90031a05c71603d2d9ea8ac9efd64c58bb6a1f7e07275f8b184f38e1fc38ccae8b84ba21ed965facbe94839c0f80a09a503156b539b6a07c538e
|