torba 0.5.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -1
- data/.travis.yml +6 -2
- data/.yardopts +2 -0
- data/CHANGELOG.md +59 -0
- data/README.md +16 -78
- data/lib/torba.rb +15 -1
- data/lib/torba/cli.rb +45 -0
- data/lib/torba/css_url_to_erb_asset_path.rb +5 -1
- data/lib/torba/manifest.rb +11 -1
- data/lib/torba/package.rb +12 -8
- data/lib/torba/rake_task.rb +10 -3
- data/lib/torba/remote_sources/common.rb +1 -1
- data/lib/torba/remote_sources/targz.rb +1 -1
- data/lib/torba/ui.rb +13 -0
- data/lib/torba/verify.rb +4 -11
- data/test/acceptance-cli/open_test.rb +101 -0
- data/test/acceptance-cli/pack_test.rb +49 -0
- data/test/acceptance-cli/show_test.rb +61 -0
- data/test/acceptance-cli/verify_test.rb +25 -0
- data/test/css_url_to_erb_asset_path_test.rb +5 -0
- data/test/fixtures/home_path/01/trumbowyg/icons-2x.png +0 -0
- data/test/fixtures/home_path/01/trumbowyg/icons.png +0 -0
- data/test/fixtures/home_path/01/trumbowyg/trumbowyg.css.erb +471 -0
- data/test/fixtures/home_path/01/trumbowyg/trumbowyg.js +1124 -0
- data/test/fixtures/home_path/02/lo_dash/lodash.js +2793 -0
- data/test/fixtures/home_path/03/bourbon/_border-image.scss +59 -0
- data/test/fixtures/home_path/03/bourbon/_font-source-declaration.scss +43 -0
- data/test/fixtures/home_path/03/bourbon/_retina-image.scss +25 -0
- data/test/fixtures/torbafiles/01_gh_release.rb +8 -0
- data/test/fixtures/torbafiles/01_image_asset_not_specified.rb +7 -0
- data/test/fixtures/torbafiles/01_targz.rb +7 -0
- data/test/fixtures/torbafiles/01_zip.rb +7 -0
- data/test/fixtures/torbafiles/02_npm.rb +1 -0
- data/test/fixtures/torbafiles/03_not_existed_assets.rb +5 -0
- data/test/fixtures/torbafiles/04_similar_names.rb +2 -0
- data/test/manifest_test.rb +27 -0
- data/test/package_test.rb +10 -0
- data/test/rake_task_test.rb +13 -0
- data/test/test_helper.rb +55 -8
- data/test/torba_test.rb +13 -0
- data/torba.gemspec +5 -4
- metadata +73 -18
- data/lib/torba/rails.rb +0 -13
- data/test/acceptance_test.rb +0 -87
@@ -0,0 +1,59 @@
|
|
1
|
+
@mixin border-image($borders...) {
|
2
|
+
$webkit-borders: ();
|
3
|
+
$spec-borders: ();
|
4
|
+
|
5
|
+
@each $border in $borders {
|
6
|
+
$webkit-border: ();
|
7
|
+
$spec-border: ();
|
8
|
+
$border-type: type-of($border);
|
9
|
+
|
10
|
+
@if $border-type == string or list {
|
11
|
+
$border-str: if($border-type == list, nth($border, 1), $border);
|
12
|
+
|
13
|
+
$url-str: str-slice($border-str, 1, 3);
|
14
|
+
$gradient-type: str-slice($border-str, 1, 6);
|
15
|
+
|
16
|
+
@if $url-str == "url" {
|
17
|
+
$webkit-border: $border;
|
18
|
+
$spec-border: $border;
|
19
|
+
}
|
20
|
+
|
21
|
+
@else if $gradient-type == "linear" {
|
22
|
+
$gradients: _linear-gradient-parser("#{$border}");
|
23
|
+
$webkit-border: map-get($gradients, webkit-image);
|
24
|
+
$spec-border: map-get($gradients, spec-image);
|
25
|
+
}
|
26
|
+
|
27
|
+
@else if $gradient-type == "radial" {
|
28
|
+
$gradients: _radial-gradient-parser("#{$border}");
|
29
|
+
$webkit-border: map-get($gradients, webkit-image);
|
30
|
+
$spec-border: map-get($gradients, spec-image);
|
31
|
+
}
|
32
|
+
|
33
|
+
@else {
|
34
|
+
$webkit-border: $border;
|
35
|
+
$spec-border: $border;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
@else {
|
40
|
+
$webkit-border: $border;
|
41
|
+
$spec-border: $border;
|
42
|
+
}
|
43
|
+
|
44
|
+
$webkit-borders: append($webkit-borders, $webkit-border, comma);
|
45
|
+
$spec-borders: append($spec-borders, $spec-border, comma);
|
46
|
+
}
|
47
|
+
|
48
|
+
-webkit-border-image: $webkit-borders;
|
49
|
+
border-image: $spec-borders;
|
50
|
+
border-style: solid;
|
51
|
+
}
|
52
|
+
|
53
|
+
//Examples:
|
54
|
+
// @include border-image(url("image.png"));
|
55
|
+
// @include border-image(url("image.png") 20 stretch);
|
56
|
+
// @include border-image(linear-gradient(45deg, orange, yellow));
|
57
|
+
// @include border-image(linear-gradient(45deg, orange, yellow) stretch);
|
58
|
+
// @include border-image(linear-gradient(45deg, orange, yellow) 20 30 40 50 stretch round);
|
59
|
+
// @include border-image(radial-gradient(top, cover, orange, yellow, orange));
|
@@ -0,0 +1,43 @@
|
|
1
|
+
// Used for creating the source string for fonts using @font-face
|
2
|
+
// Reference: http://goo.gl/Ru1bKP
|
3
|
+
|
4
|
+
@function font-url-prefixer($asset-pipeline) {
|
5
|
+
@if $asset-pipeline == true {
|
6
|
+
@return font-url;
|
7
|
+
} @else {
|
8
|
+
@return url;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
@function font-source-declaration(
|
13
|
+
$font-family,
|
14
|
+
$file-path,
|
15
|
+
$asset-pipeline,
|
16
|
+
$file-formats,
|
17
|
+
$font-url) {
|
18
|
+
|
19
|
+
$src: ();
|
20
|
+
|
21
|
+
$formats-map: (
|
22
|
+
eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
|
23
|
+
woff2: "#{$file-path}.woff2" format("woff2"),
|
24
|
+
woff: "#{$file-path}.woff" format("woff"),
|
25
|
+
ttf: "#{$file-path}.ttf" format("truetype"),
|
26
|
+
svg: "#{$file-path}.svg##{$font-family}" format("svg")
|
27
|
+
);
|
28
|
+
|
29
|
+
@each $key, $values in $formats-map {
|
30
|
+
@if contains($file-formats, $key) {
|
31
|
+
$file-path: nth($values, 1);
|
32
|
+
$font-format: nth($values, 2);
|
33
|
+
|
34
|
+
@if $asset-pipeline == true {
|
35
|
+
$src: append($src, font-url($file-path) $font-format, comma);
|
36
|
+
} @else {
|
37
|
+
$src: append($src, url($file-path) $font-format, comma);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
@return $src;
|
43
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
@mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $retina-suffix: _2x, $asset-pipeline: $asset-pipeline) {
|
2
|
+
@if $asset-pipeline {
|
3
|
+
background-image: image-url("#{$filename}.#{$extension}");
|
4
|
+
} @else {
|
5
|
+
background-image: url("#{$filename}.#{$extension}");
|
6
|
+
}
|
7
|
+
|
8
|
+
@include hidpi {
|
9
|
+
@if $asset-pipeline {
|
10
|
+
@if $retina-filename {
|
11
|
+
background-image: image-url("#{$retina-filename}.#{$extension}");
|
12
|
+
} @else {
|
13
|
+
background-image: image-url("#{$filename}#{$retina-suffix}.#{$extension}");
|
14
|
+
}
|
15
|
+
} @else {
|
16
|
+
@if $retina-filename {
|
17
|
+
background-image: url("#{$retina-filename}.#{$extension}");
|
18
|
+
} @else {
|
19
|
+
background-image: url("#{$filename}#{$retina-suffix}.#{$extension}");
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
background-size: $background-size;
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
npm "lo_dash", package: "lodash", version: "0.1.0", import: ["lodash.js"]
|
data/test/manifest_test.rb
CHANGED
@@ -111,5 +111,32 @@ module Torba
|
|
111
111
|
|
112
112
|
assert_equal error.packages.map(&:name), %w(angular coffee-script)
|
113
113
|
end
|
114
|
+
|
115
|
+
def test_find_packages_by_name_empty
|
116
|
+
assert_equal [], manifest.find_packages_by_name("coffee-script")
|
117
|
+
end
|
118
|
+
|
119
|
+
def test_find_packages_by_name_no_match
|
120
|
+
manifest.npm "coffee", package: "coffee-script", version: "1.8.3"
|
121
|
+
manifest.npm "angular", package: "angular", version: "1.3.5"
|
122
|
+
assert_equal [], manifest.find_packages_by_name("coffee-script")
|
123
|
+
end
|
124
|
+
|
125
|
+
def test_find_packages_by_name_single_match
|
126
|
+
manifest.npm "coffee", package: "coffee-script", version: "1.8.3"
|
127
|
+
manifest.npm "angular", package: "angular", version: "1.3.5"
|
128
|
+
assert_equal [manifest.packages[0]], manifest.find_packages_by_name("coffee")
|
129
|
+
end
|
130
|
+
|
131
|
+
def test_find_packages_by_name_multiple_match
|
132
|
+
manifest.npm "angular", package: "angular", version: "1.3.5"
|
133
|
+
manifest.npm "angular-routes", package: "angular-routes", version: "1.3.5"
|
134
|
+
assert_equal manifest.packages, manifest.find_packages_by_name("angular")
|
135
|
+
end
|
136
|
+
|
137
|
+
def test_find_packages_by_name_ignorecase
|
138
|
+
manifest.npm "Angular", package: "angular", version: "1.3.5"
|
139
|
+
assert_equal manifest.packages, manifest.find_packages_by_name("angular")
|
140
|
+
end
|
114
141
|
end
|
115
142
|
end
|
data/test/package_test.rb
CHANGED
@@ -38,5 +38,15 @@ module Torba
|
|
38
38
|
|
39
39
|
assert_exists File.join(package.load_path, "package", "hello.css")
|
40
40
|
end
|
41
|
+
|
42
|
+
def test_package_css_with_urls_pointing_to_nonexisting_assets
|
43
|
+
fixture "hello.css", "/*body {\nbackground-image: url(image.png)\n}*/"
|
44
|
+
source = Torba::Test::RemoteSource.new(source_dir)
|
45
|
+
package = Package.new("package", source, import: ["hello.css"])
|
46
|
+
|
47
|
+
package.build
|
48
|
+
|
49
|
+
assert_exists File.join(package.load_path, "package", "hello.css")
|
50
|
+
end
|
41
51
|
end
|
42
52
|
end
|
data/test/rake_task_test.rb
CHANGED
@@ -34,6 +34,19 @@ module Torba
|
|
34
34
|
Rake::Task["torba:pack"].invoke
|
35
35
|
end
|
36
36
|
|
37
|
+
def test_calls_a_block_before_torba_pack
|
38
|
+
Rake::Task.clear
|
39
|
+
|
40
|
+
configuration = Object.new
|
41
|
+
|
42
|
+
order = sequence("correct order")
|
43
|
+
configuration.expects(:setup).in_sequence(order)
|
44
|
+
Torba.expects(:pack).in_sequence(order)
|
45
|
+
|
46
|
+
task = Torba::RakeTask.new("torba:pack") { configuration.setup }
|
47
|
+
Rake::Task["torba:pack"].invoke
|
48
|
+
end
|
49
|
+
|
37
50
|
def test_defines_task_if_doesnt_exist
|
38
51
|
Rake::Task.clear
|
39
52
|
Torba::RakeTask.new("torba:pack", :before => "something:else")
|
data/test/test_helper.rb
CHANGED
@@ -3,26 +3,38 @@ require "torba"
|
|
3
3
|
require "torba/remote_sources/common"
|
4
4
|
|
5
5
|
require "minitest/autorun"
|
6
|
-
require "
|
6
|
+
require "minitest/assert_dirs_equal"
|
7
|
+
require "mocha/minitest"
|
7
8
|
require "tmpdir"
|
8
9
|
require "fileutils"
|
10
|
+
require "open3"
|
9
11
|
|
10
12
|
module Torba
|
11
13
|
module Test
|
12
14
|
module TempHome
|
15
|
+
attr_reader :torba_tmp_dir
|
16
|
+
|
17
|
+
def self.persistent_tmp_dir
|
18
|
+
@persistent_tmp_dir ||= File.realpath(Dir.mktmpdir("torba"))
|
19
|
+
end
|
20
|
+
|
13
21
|
def before_setup
|
14
|
-
Torba.home_path = @
|
22
|
+
Torba.home_path = @torba_tmp_dir = File.realpath(Dir.mktmpdir("torba"))
|
15
23
|
super
|
16
24
|
end
|
17
25
|
|
18
26
|
def after_teardown
|
19
|
-
FileUtils.rm_rf(
|
27
|
+
FileUtils.rm_rf(torba_tmp_dir)
|
20
28
|
Torba.home_path = nil
|
21
29
|
super
|
22
30
|
end
|
31
|
+
|
32
|
+
Minitest.after_run do
|
33
|
+
FileUtils.rm_rf(persistent_tmp_dir)
|
34
|
+
end
|
23
35
|
end
|
24
36
|
|
25
|
-
module
|
37
|
+
module FileSystem
|
26
38
|
def assert_exists(file_path)
|
27
39
|
assert File.exists?(file_path)
|
28
40
|
end
|
@@ -30,13 +42,48 @@ module Torba
|
|
30
42
|
def refute_exists(file_path)
|
31
43
|
refute File.exists?(file_path)
|
32
44
|
end
|
33
|
-
end
|
34
45
|
|
35
|
-
module Touch
|
36
46
|
def touch(path)
|
37
47
|
FileUtils.mkdir_p(File.dirname(path))
|
38
48
|
FileUtils.touch(path)
|
39
49
|
end
|
50
|
+
|
51
|
+
def path_to_packaged(name, home = torba_tmp_dir)
|
52
|
+
path = Dir.glob("#{home}/*").sort.grep(Regexp.new(name)).first
|
53
|
+
assert path, "Couldn't find packaged #{name.inspect} in #{home.inspect}"
|
54
|
+
path
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
module Exec
|
59
|
+
def torba(torba_cmd, options = {})
|
60
|
+
env = {"TORBA_HOME_PATH" => torba_tmp_dir, "TORBA_CACHE_PATH" => TempHome.persistent_tmp_dir}
|
61
|
+
|
62
|
+
if (torbafile = options.delete(:torbafile))
|
63
|
+
env.merge!("TORBA_FILE" => "test/fixtures/torbafiles/#{torbafile}")
|
64
|
+
end
|
65
|
+
|
66
|
+
if (home_path = options.delete(:home_path))
|
67
|
+
env.merge!("TORBA_HOME_PATH" => home_path)
|
68
|
+
end
|
69
|
+
|
70
|
+
if (cache_path = options.delete(:cache_path))
|
71
|
+
env.merge!("TORBA_CACHE_PATH" => cache_path)
|
72
|
+
end
|
73
|
+
|
74
|
+
if (additional_env = options.delete(:env))
|
75
|
+
env.merge!(additional_env)
|
76
|
+
end
|
77
|
+
|
78
|
+
cmd = "ruby bin/torba #{torba_cmd}"
|
79
|
+
Open3.capture3(env, cmd, options)
|
80
|
+
end
|
81
|
+
|
82
|
+
def skip_java_capture3_bug
|
83
|
+
if RUBY_PLATFORM == "java"
|
84
|
+
skip "Skipping test due to Open3.capture3 bug in Jruby"
|
85
|
+
end
|
86
|
+
end
|
40
87
|
end
|
41
88
|
|
42
89
|
class RemoteSource
|
@@ -57,6 +104,6 @@ end
|
|
57
104
|
|
58
105
|
class Minitest::Test
|
59
106
|
include Torba::Test::TempHome
|
60
|
-
include Torba::Test::
|
61
|
-
include Torba::Test::
|
107
|
+
include Torba::Test::FileSystem
|
108
|
+
include Torba::Test::Exec
|
62
109
|
end
|
data/test/torba_test.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
class TorbaTest < Minitest::Test
|
4
|
+
def test_home_path
|
5
|
+
Torba.home_path = "/new/home/path"
|
6
|
+
assert_equal "/new/home/path", Torba.home_path
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_cache_path
|
10
|
+
Torba.cache_path = "/new/cache/path"
|
11
|
+
assert_equal "/new/cache/path", Torba.cache_path
|
12
|
+
end
|
13
|
+
end
|
data/torba.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "torba"
|
3
|
-
spec.version = "
|
3
|
+
spec.version = "1.1.0"
|
4
4
|
spec.authors = ["Andrii Malyshko"]
|
5
5
|
spec.email = ["mail@nashbridges.me"]
|
6
6
|
spec.description = "Bundler for Sprockets"
|
@@ -14,10 +14,11 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.bindir = "bin"
|
15
15
|
spec.require_paths = ["lib"]
|
16
16
|
|
17
|
-
spec.add_dependency "thor", "
|
17
|
+
spec.add_dependency "thor", ">= 0.19.1", "< 2"
|
18
18
|
|
19
|
-
spec.add_development_dependency "bundler"
|
20
|
-
spec.add_development_dependency "rake"
|
19
|
+
spec.add_development_dependency "bundler"
|
20
|
+
spec.add_development_dependency "rake"
|
21
21
|
spec.add_development_dependency "minitest", "~> 5.4"
|
22
22
|
spec.add_development_dependency "mocha"
|
23
|
+
spec.add_development_dependency "assert_dirs_equal", "~> 0.1"
|
23
24
|
end
|
metadata
CHANGED
@@ -1,57 +1,63 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrii Malyshko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.19.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 0.19.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
39
|
+
version: '0'
|
34
40
|
type: :development
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- - "
|
44
|
+
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
46
|
+
version: '0'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rake
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - "
|
51
|
+
- - ">="
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
53
|
+
version: '0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- - "
|
58
|
+
- - ">="
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
60
|
+
version: '0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: minitest
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +86,20 @@ dependencies:
|
|
80
86
|
- - ">="
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: assert_dirs_equal
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.1'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.1'
|
83
103
|
description: Bundler for Sprockets
|
84
104
|
email:
|
85
105
|
- mail@nashbridges.me
|
@@ -104,7 +124,6 @@ files:
|
|
104
124
|
- lib/torba/import_list.rb
|
105
125
|
- lib/torba/manifest.rb
|
106
126
|
- lib/torba/package.rb
|
107
|
-
- lib/torba/rails.rb
|
108
127
|
- lib/torba/rake_task.rb
|
109
128
|
- lib/torba/remote_sources/common.rb
|
110
129
|
- lib/torba/remote_sources/get_file.rb
|
@@ -114,8 +133,26 @@ files:
|
|
114
133
|
- lib/torba/remote_sources/zip.rb
|
115
134
|
- lib/torba/ui.rb
|
116
135
|
- lib/torba/verify.rb
|
117
|
-
- test/
|
136
|
+
- test/acceptance-cli/open_test.rb
|
137
|
+
- test/acceptance-cli/pack_test.rb
|
138
|
+
- test/acceptance-cli/show_test.rb
|
139
|
+
- test/acceptance-cli/verify_test.rb
|
118
140
|
- test/css_url_to_erb_asset_path_test.rb
|
141
|
+
- test/fixtures/home_path/01/trumbowyg/icons-2x.png
|
142
|
+
- test/fixtures/home_path/01/trumbowyg/icons.png
|
143
|
+
- test/fixtures/home_path/01/trumbowyg/trumbowyg.css.erb
|
144
|
+
- test/fixtures/home_path/01/trumbowyg/trumbowyg.js
|
145
|
+
- test/fixtures/home_path/02/lo_dash/lodash.js
|
146
|
+
- test/fixtures/home_path/03/bourbon/_border-image.scss
|
147
|
+
- test/fixtures/home_path/03/bourbon/_font-source-declaration.scss
|
148
|
+
- test/fixtures/home_path/03/bourbon/_retina-image.scss
|
149
|
+
- test/fixtures/torbafiles/01_gh_release.rb
|
150
|
+
- test/fixtures/torbafiles/01_image_asset_not_specified.rb
|
151
|
+
- test/fixtures/torbafiles/01_targz.rb
|
152
|
+
- test/fixtures/torbafiles/01_zip.rb
|
153
|
+
- test/fixtures/torbafiles/02_npm.rb
|
154
|
+
- test/fixtures/torbafiles/03_not_existed_assets.rb
|
155
|
+
- test/fixtures/torbafiles/04_similar_names.rb
|
119
156
|
- test/import_list_test.rb
|
120
157
|
- test/manifest_test.rb
|
121
158
|
- test/package/import_list_test.rb
|
@@ -129,6 +166,7 @@ files:
|
|
129
166
|
- test/remote_sources/targz_test.rb
|
130
167
|
- test/remote_sources/zip_test.rb
|
131
168
|
- test/test_helper.rb
|
169
|
+
- test/torba_test.rb
|
132
170
|
- torba.gemspec
|
133
171
|
homepage: https://github.com/torba-rb/torba
|
134
172
|
licenses:
|
@@ -149,14 +187,31 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
187
|
- !ruby/object:Gem::Version
|
150
188
|
version: '0'
|
151
189
|
requirements: []
|
152
|
-
|
153
|
-
rubygems_version: 2.4.5.1
|
190
|
+
rubygems_version: 3.0.3
|
154
191
|
signing_key:
|
155
192
|
specification_version: 4
|
156
193
|
summary: Bundler for Sprockets
|
157
194
|
test_files:
|
158
|
-
- test/
|
195
|
+
- test/acceptance-cli/open_test.rb
|
196
|
+
- test/acceptance-cli/pack_test.rb
|
197
|
+
- test/acceptance-cli/show_test.rb
|
198
|
+
- test/acceptance-cli/verify_test.rb
|
159
199
|
- test/css_url_to_erb_asset_path_test.rb
|
200
|
+
- test/fixtures/home_path/01/trumbowyg/icons-2x.png
|
201
|
+
- test/fixtures/home_path/01/trumbowyg/icons.png
|
202
|
+
- test/fixtures/home_path/01/trumbowyg/trumbowyg.css.erb
|
203
|
+
- test/fixtures/home_path/01/trumbowyg/trumbowyg.js
|
204
|
+
- test/fixtures/home_path/02/lo_dash/lodash.js
|
205
|
+
- test/fixtures/home_path/03/bourbon/_border-image.scss
|
206
|
+
- test/fixtures/home_path/03/bourbon/_font-source-declaration.scss
|
207
|
+
- test/fixtures/home_path/03/bourbon/_retina-image.scss
|
208
|
+
- test/fixtures/torbafiles/01_gh_release.rb
|
209
|
+
- test/fixtures/torbafiles/01_image_asset_not_specified.rb
|
210
|
+
- test/fixtures/torbafiles/01_targz.rb
|
211
|
+
- test/fixtures/torbafiles/01_zip.rb
|
212
|
+
- test/fixtures/torbafiles/02_npm.rb
|
213
|
+
- test/fixtures/torbafiles/03_not_existed_assets.rb
|
214
|
+
- test/fixtures/torbafiles/04_similar_names.rb
|
160
215
|
- test/import_list_test.rb
|
161
216
|
- test/manifest_test.rb
|
162
217
|
- test/package/import_list_test.rb
|
@@ -170,4 +225,4 @@ test_files:
|
|
170
225
|
- test/remote_sources/targz_test.rb
|
171
226
|
- test/remote_sources/zip_test.rb
|
172
227
|
- test/test_helper.rb
|
173
|
-
|
228
|
+
- test/torba_test.rb
|