dassets-sass 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +5 -2
- data/{LICENSE.txt → LICENSE} +0 -0
- data/dassets-sass.gemspec +4 -4
- data/lib/dassets-sass/version.rb +1 -1
- data/test/helper.rb +13 -3
- data/test/support/factory.rb +28 -28
- metadata +19 -47
- data/Rakefile +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA512:
|
3
|
+
metadata.gz: eed07b819b6b06f2cb946c8e41fe006d4d09d85c67974d35b11780846b8a8aaca037d9be39626a7e69979979d7677b963b868329c92ab2a6c8d39a1546837417
|
4
|
+
data.tar.gz: 7bca7355569611069937a91a793a37afb6e520f12df66456da7bb5fb6876e5bad0ad2477e768dc14a3ff4a7d6b0461a3e53dc66cb2001070af375faf16ba80e5
|
5
|
+
SHA1:
|
6
|
+
metadata.gz: 1a1f2f5905e4dc17308a01d4669c0bcde43d319c
|
7
|
+
data.tar.gz: 6dd04ce3f788d66c2b77f09af0a05d2eafb157b5
|
data/Gemfile
CHANGED
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
data/dassets-sass.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Dassets::Sass::VERSION
|
9
9
|
gem.authors = ["Kelly Redding", "Collin Redding"]
|
10
10
|
gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"]
|
11
|
-
gem.description = %q{Dassets engine for compiling Sass}
|
12
11
|
gem.summary = %q{Dassets engine for compiling Sass}
|
12
|
+
gem.description = %q{Dassets engine for compiling Sass}
|
13
13
|
gem.homepage = "http://github.com/redding/dassets-sass"
|
14
14
|
gem.license = 'MIT'
|
15
15
|
|
@@ -18,12 +18,12 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_development_dependency("assert", ["~> 2.
|
21
|
+
gem.add_development_dependency("assert", ["~> 2.16.1"])
|
22
22
|
|
23
23
|
# lock in to Sass 3.1 and up b/c this is earliest version implementing
|
24
24
|
# the expected `Sass.compile` api:
|
25
25
|
# https://github.com/nex3/sass/commit/332dd6945a8acd660719e0ea4eb48ae3a3ef9b38
|
26
|
-
gem.add_dependency("sass",
|
27
|
-
gem.add_dependency("dassets")
|
26
|
+
gem.add_dependency("sass", ["~> 3.1"])
|
27
|
+
gem.add_dependency("dassets", ["~> 0.14.0"])
|
28
28
|
|
29
29
|
end
|
data/lib/dassets-sass/version.rb
CHANGED
data/test/helper.rb
CHANGED
@@ -7,9 +7,19 @@ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
|
|
7
7
|
# require pry for debugging (`binding.pry`)
|
8
8
|
require 'pry'
|
9
9
|
|
10
|
-
ENV['DASSETS_TEST_MODE'] = 'yes'
|
11
|
-
|
12
10
|
require 'test/support/factory'
|
11
|
+
|
13
12
|
class Assert::Context
|
14
|
-
setup{ @factory =
|
13
|
+
setup{ @factory = Factory }
|
14
|
+
end
|
15
|
+
|
16
|
+
# 1.8.7 backfills
|
17
|
+
|
18
|
+
# Array#sample
|
19
|
+
if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
|
20
|
+
class Array
|
21
|
+
alias_method :sample, :choice
|
22
|
+
end
|
15
23
|
end
|
24
|
+
|
25
|
+
ENV['DASSETS_TEST_MODE'] = 'yes'
|
data/test/support/factory.rb
CHANGED
@@ -1,37 +1,37 @@
|
|
1
|
-
|
1
|
+
require 'assert/factory'
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
module Factory
|
4
|
+
extend Assert::Factory
|
5
5
|
|
6
|
-
|
7
|
-
"$blue: #3bbfce;\n"\
|
8
|
-
"$margin: 16px;\n"\
|
9
|
-
".border {\n"\
|
10
|
-
" padding: $margin / 2;\n"\
|
11
|
-
" margin: $margin / 2;\n"\
|
12
|
-
" border-color: $blue;\n"\
|
13
|
-
"}\n"
|
14
|
-
end
|
6
|
+
module_function
|
15
7
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
8
|
+
def scss
|
9
|
+
"$blue: #3bbfce;\n"\
|
10
|
+
"$margin: 16px;\n"\
|
11
|
+
".border {\n"\
|
12
|
+
" padding: $margin / 2;\n"\
|
13
|
+
" margin: $margin / 2;\n"\
|
14
|
+
" border-color: $blue;\n"\
|
15
|
+
"}\n"
|
16
|
+
end
|
23
17
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
18
|
+
def scss_compiled
|
19
|
+
".border {\n"\
|
20
|
+
" padding: 8px;\n"\
|
21
|
+
" margin: 8px;\n"\
|
22
|
+
" border-color: #3bbfce; "\
|
23
|
+
"}\n"
|
24
|
+
end
|
28
25
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
end
|
26
|
+
def sass
|
27
|
+
"table.hl\n"\
|
28
|
+
" margin: 2em 0\n"\
|
29
|
+
end
|
34
30
|
|
31
|
+
def sass_compiled
|
32
|
+
"table.hl {\n"\
|
33
|
+
" margin: 2em 0; "\
|
34
|
+
"}\n"\
|
35
35
|
end
|
36
36
|
|
37
37
|
end
|
metadata
CHANGED
@@ -1,13 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dassets-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 0
|
10
|
-
version: 0.3.0
|
4
|
+
version: 0.4.0
|
11
5
|
platform: ruby
|
12
6
|
authors:
|
13
7
|
- Kelly Redding
|
@@ -16,52 +10,38 @@ autorequire:
|
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
12
|
|
19
|
-
date:
|
13
|
+
date: 2016-06-14 00:00:00 Z
|
20
14
|
dependencies:
|
21
15
|
- !ruby/object:Gem::Dependency
|
16
|
+
name: assert
|
17
|
+
prerelease: false
|
22
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
19
|
requirements:
|
25
20
|
- - ~>
|
26
21
|
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
segments:
|
29
|
-
- 2
|
30
|
-
- 12
|
31
|
-
version: "2.12"
|
22
|
+
version: 2.16.1
|
32
23
|
type: :development
|
33
|
-
name: assert
|
34
24
|
version_requirements: *id001
|
35
|
-
prerelease: false
|
36
25
|
- !ruby/object:Gem::Dependency
|
26
|
+
name: sass
|
27
|
+
prerelease: false
|
37
28
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
29
|
requirements:
|
40
30
|
- - ~>
|
41
31
|
- !ruby/object:Gem::Version
|
42
|
-
hash: 5
|
43
|
-
segments:
|
44
|
-
- 3
|
45
|
-
- 1
|
46
32
|
version: "3.1"
|
47
33
|
type: :runtime
|
48
|
-
name: sass
|
49
34
|
version_requirements: *id002
|
50
|
-
prerelease: false
|
51
35
|
- !ruby/object:Gem::Dependency
|
36
|
+
name: dassets
|
37
|
+
prerelease: false
|
52
38
|
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
39
|
requirements:
|
55
|
-
- -
|
40
|
+
- - ~>
|
56
41
|
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
version: "0"
|
42
|
+
version: 0.14.0
|
61
43
|
type: :runtime
|
62
|
-
name: dassets
|
63
44
|
version_requirements: *id003
|
64
|
-
prerelease: false
|
65
45
|
description: Dassets engine for compiling Sass
|
66
46
|
email:
|
67
47
|
- kelly@kellyredding.com
|
@@ -75,9 +55,8 @@ extra_rdoc_files: []
|
|
75
55
|
files:
|
76
56
|
- .gitignore
|
77
57
|
- Gemfile
|
78
|
-
- LICENSE
|
58
|
+
- LICENSE
|
79
59
|
- README.md
|
80
|
-
- Rakefile
|
81
60
|
- dassets-sass.gemspec
|
82
61
|
- lib/dassets-sass.rb
|
83
62
|
- lib/dassets-sass/version.rb
|
@@ -89,35 +68,28 @@ files:
|
|
89
68
|
homepage: http://github.com/redding/dassets-sass
|
90
69
|
licenses:
|
91
70
|
- MIT
|
71
|
+
metadata: {}
|
72
|
+
|
92
73
|
post_install_message:
|
93
74
|
rdoc_options: []
|
94
75
|
|
95
76
|
require_paths:
|
96
77
|
- lib
|
97
78
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
79
|
requirements:
|
100
|
-
-
|
80
|
+
- &id004
|
81
|
+
- ">="
|
101
82
|
- !ruby/object:Gem::Version
|
102
|
-
hash: 3
|
103
|
-
segments:
|
104
|
-
- 0
|
105
83
|
version: "0"
|
106
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
85
|
requirements:
|
109
|
-
-
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
hash: 3
|
112
|
-
segments:
|
113
|
-
- 0
|
114
|
-
version: "0"
|
86
|
+
- *id004
|
115
87
|
requirements: []
|
116
88
|
|
117
89
|
rubyforge_project:
|
118
|
-
rubygems_version:
|
90
|
+
rubygems_version: 2.6.4
|
119
91
|
signing_key:
|
120
|
-
specification_version:
|
92
|
+
specification_version: 4
|
121
93
|
summary: Dassets engine for compiling Sass
|
122
94
|
test_files:
|
123
95
|
- test/helper.rb
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|