smallvictories 0.0.14 → 0.0.15
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.
- checksums.yaml +4 -4
- data/.gitkeep +0 -0
- data/README.md +12 -0
- data/_sv/_includes/_snippet.liquid +1 -0
- data/_sv/_javascripts/scripts.coffee +1 -0
- data/_sv/_javascripts/scripts.js +1 -0
- data/_sv/_layout.liquid +3 -0
- data/_sv/_sprite/.gitkeep +0 -0
- data/_sv/_sprite/blank.png +0 -0
- data/_sv/_stylesheets/bootstrap.scss +4 -0
- data/_sv/_stylesheets/extra.scss +3 -0
- data/_sv/_stylesheets/stylesheet.scss +5 -0
- data/_sv/application.css +19 -0
- data/_sv/application.js +14 -0
- data/_sv/index.html +2 -0
- data/_sv_config.yml +16 -0
- data/_sv_custom.css +4 -0
- data/_sv_custom.js +1 -0
- data/application.css +4 -0
- data/application.js +1 -0
- data/bin/sv +11 -0
- data/index.html +2 -0
- data/lib/smallvictories.rb +1 -0
- data/lib/smallvictories/builder.rb +2 -2
- data/lib/smallvictories/configuration.rb +4 -0
- data/lib/smallvictories/constants.rb +2 -0
- data/lib/smallvictories/deployer.rb +35 -0
- data/lib/smallvictories/version.rb +1 -1
- data/spec/builder_spec.rb +2 -1
- data/spec/configuration_spec.rb +8 -0
- data/spec/deployer_spec.rb +43 -0
- data/spec/fixtures/deploy/.gitkeep +0 -0
- data/spec/fixtures/deploy/index.html +2 -0
- data/spec/fixtures/deployable/_sv/_includes/_snippet.liquid +1 -0
- data/spec/fixtures/deployable/_sv/_javascripts/scripts.coffee +1 -0
- data/spec/fixtures/deployable/_sv/_javascripts/scripts.js +1 -0
- data/spec/fixtures/deployable/_sv/_layout.liquid +3 -0
- data/spec/fixtures/deployable/_sv/_sprite/.gitkeep +0 -0
- data/spec/fixtures/deployable/_sv/_sprite/blank.png +0 -0
- data/spec/fixtures/deployable/_sv/_stylesheets/bootstrap.scss +4 -0
- data/spec/fixtures/deployable/_sv/_stylesheets/extra.scss +3 -0
- data/spec/fixtures/deployable/_sv/_stylesheets/stylesheet.scss +5 -0
- data/spec/fixtures/deployable/_sv/_sv_config.yml +16 -0
- data/spec/fixtures/deployable/_sv/application.css +19 -0
- data/spec/fixtures/deployable/_sv/application.js +14 -0
- data/spec/fixtures/deployable/_sv/index.html +2 -0
- data/spec/fixtures/deployable/_sv_config.yml +16 -0
- data/spec/fixtures/deployable/_sv_custom.css +4 -0
- data/spec/fixtures/deployable/_sv_custom.js +1 -0
- data/spec/fixtures/deployable/index.html +2 -0
- data/spec/fixtures/source/_sv_config.yml +1 -0
- data/src/{stylesheet.css → stylesheet.scss} +0 -0
- metadata +62 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f731d5d6df1739579b31fcbe694c4795a0f640a4
|
|
4
|
+
data.tar.gz: 5a5bb5a7266da54154008320f0ca1a0fa96e507c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 245511be3d12b3d8f3971474247a9c353437609c93b6f4283468462382e0e10e2fd607691d749605ca8df98d0515eba22e2d3ba43c7a5162e0a7cb9a8b4a368d
|
|
7
|
+
data.tar.gz: 6ce3b4d002e499b90c6513ffe1034801fa8d9113ec9dec96e0fcff41ea9d7c26f11079355d33a8787e2c74b96e0fffd383f92a34a6535d593817b1afd6358ab7
|
data/.gitkeep
ADDED
|
File without changes
|
data/README.md
CHANGED
|
@@ -67,12 +67,24 @@ folder.
|
|
|
67
67
|
|
|
68
68
|
Command: `sv compile`
|
|
69
69
|
|
|
70
|
+
### Deploy
|
|
71
|
+
|
|
72
|
+
Minify and copy files to deploy folder.
|
|
73
|
+
|
|
74
|
+
Command: `sv deploy`
|
|
75
|
+
|
|
70
76
|
### Inline
|
|
71
77
|
|
|
72
78
|
Compile files and then inline CSS in your HTML files.
|
|
73
79
|
|
|
74
80
|
Command: `sv inline`
|
|
75
81
|
|
|
82
|
+
### Minify
|
|
83
|
+
|
|
84
|
+
Minify CSS and JS files for production.
|
|
85
|
+
|
|
86
|
+
Command: `sv minify`
|
|
87
|
+
|
|
76
88
|
### Watch
|
|
77
89
|
|
|
78
90
|
Watch for changes then compile files and notify LiveReload.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p>My snippet</p>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
alert 'hi'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.log('hi');
|
data/_sv/_layout.liquid
ADDED
|
File without changes
|
|
Binary file
|
data/_sv/application.css
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* Small Victories Sprockets File
|
|
2
|
+
*
|
|
3
|
+
* Any CSS and SCSS file within this directory and your sass directory
|
|
4
|
+
* can be referenced here using a relative path.
|
|
5
|
+
*
|
|
6
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
7
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
|
8
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
|
9
|
+
* file per style scope.
|
|
10
|
+
*
|
|
11
|
+
* Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
12
|
+
* about supported directives.
|
|
13
|
+
*
|
|
14
|
+
*= require_tree .
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
p {
|
|
18
|
+
font-size: 30px;
|
|
19
|
+
}
|
data/_sv/application.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Small Victories Sprockets File
|
|
2
|
+
//
|
|
3
|
+
// For more details see
|
|
4
|
+
// https://github.com/rails/sprockets#the-directive-processor
|
|
5
|
+
// Any JavaScript/Coffee file within this directory
|
|
6
|
+
// can be referenced here using a relative path.
|
|
7
|
+
//
|
|
8
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
9
|
+
// compiled file.
|
|
10
|
+
//
|
|
11
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
12
|
+
// about supported directives.
|
|
13
|
+
//
|
|
14
|
+
//= require_tree .
|
data/_sv/index.html
ADDED
data/_sv_config.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
source: '/my-source-folder/'
|
|
2
|
+
destination: 'my-site-folder/'
|
|
3
|
+
deploy: '../my-deploy-folder'
|
|
4
|
+
source_stylesheet: 'my-stylesheet.css'
|
|
5
|
+
source_javascript: 'my-javascript.js'
|
|
6
|
+
source_sprite: 'my-sprite'
|
|
7
|
+
destination_stylesheet: 'stylesheet.css'
|
|
8
|
+
destination_javascript: 'javascript.js'
|
|
9
|
+
destination_sprite_file: 'my-sprite.png'
|
|
10
|
+
destination_sprite_style: 'my-sprite.css'
|
|
11
|
+
layout: '_my-template.liquid'
|
|
12
|
+
includes: 'snippets'
|
|
13
|
+
compile_html: false
|
|
14
|
+
compile_js: false
|
|
15
|
+
compile_css: false
|
|
16
|
+
compile_sprite: false
|
data/_sv_custom.css
ADDED
data/_sv_custom.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(){alert("hi")}).call(this),console.log("hi");
|
data/application.css
ADDED
data/application.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(){alert("hi")}).call(this),console.log("hi");
|
data/bin/sv
CHANGED
|
@@ -9,7 +9,9 @@ def help
|
|
|
9
9
|
Commands:
|
|
10
10
|
bootstrap, bootstrap FOLDER Setup folder with default files
|
|
11
11
|
compile Compile files
|
|
12
|
+
deploy Minify and copy files to deploy folder
|
|
12
13
|
inline Inline CSS in your HTML files
|
|
14
|
+
minify Minify files for production
|
|
13
15
|
watch Watch for changes and compile files
|
|
14
16
|
help Prints this help document
|
|
15
17
|
version Prints the small victories gem version
|
|
@@ -38,6 +40,13 @@ def compile
|
|
|
38
40
|
compiler.compile_html
|
|
39
41
|
end
|
|
40
42
|
|
|
43
|
+
def deploy folder=nil
|
|
44
|
+
config = SmallVictories::Configuration.new
|
|
45
|
+
deployer = SmallVictories::Deployer.new(config: config)
|
|
46
|
+
minify
|
|
47
|
+
deployer.copy folder
|
|
48
|
+
end
|
|
49
|
+
|
|
41
50
|
def inline
|
|
42
51
|
config = SmallVictories::Configuration.new
|
|
43
52
|
compiler = SmallVictories::Compiler.new(config: config)
|
|
@@ -76,6 +85,8 @@ when 'bootstrap'
|
|
|
76
85
|
bootstrap ARGV[1]
|
|
77
86
|
when 'compile'
|
|
78
87
|
compile
|
|
88
|
+
when 'deploy'
|
|
89
|
+
deploy ARGV[1]
|
|
79
90
|
when 'inline'
|
|
80
91
|
inline
|
|
81
92
|
when 'watch'
|
data/index.html
ADDED
data/lib/smallvictories.rb
CHANGED
|
@@ -7,6 +7,7 @@ require "smallvictories/logger"
|
|
|
7
7
|
require "smallvictories/configuration"
|
|
8
8
|
require "smallvictories/builder"
|
|
9
9
|
require "smallvictories/compiler"
|
|
10
|
+
require "smallvictories/deployer"
|
|
10
11
|
require "smallvictories/watcher"
|
|
11
12
|
require "sassc/compressor"
|
|
12
13
|
require "sassc/functions"
|
|
@@ -65,11 +65,11 @@ module SmallVictories
|
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
def setup_guardfile
|
|
68
|
-
create_src_file('Guardfile', File.join(folder_path,
|
|
68
|
+
create_src_file('Guardfile', File.join(folder_path, GUARD_FILE))
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
def setup_stylesheet
|
|
72
|
-
create_src_file('stylesheet.
|
|
72
|
+
create_src_file('stylesheet.scss', File.join(folder_source_path, config.stylesheets.first))
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
def setup_javascript
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
require 'find'
|
|
2
|
+
require 'fileutils'
|
|
3
|
+
|
|
4
|
+
module SmallVictories
|
|
5
|
+
class Deployer
|
|
6
|
+
attr_accessor :config
|
|
7
|
+
attr_accessor :folder
|
|
8
|
+
|
|
9
|
+
def initialize attributes={}
|
|
10
|
+
self.config = attributes[:config]
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def copy folder=nil
|
|
14
|
+
folder ||= config.deploy
|
|
15
|
+
deploy_path = File.join(ROOT, folder)
|
|
16
|
+
begin
|
|
17
|
+
Find.find(config.full_destination_path) do |source|
|
|
18
|
+
Find.prune if self.ignore_files.include?(File.basename(source))
|
|
19
|
+
target = source.sub(/^#{config.full_destination_path}/, deploy_path)
|
|
20
|
+
if File.directory? source
|
|
21
|
+
FileUtils.mkdir target unless File.exists? target
|
|
22
|
+
else
|
|
23
|
+
FileUtils.copy(source, target)
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
rescue => e
|
|
27
|
+
SmallVictories.logger.error "Error deploying: #{e}"
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
def ignore_files
|
|
32
|
+
['.git', config.source, CONFIG_FILE, GUARD_FILE]
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
data/spec/builder_spec.rb
CHANGED
|
@@ -2,12 +2,13 @@ require 'spec_helper'
|
|
|
2
2
|
|
|
3
3
|
describe SmallVictories do
|
|
4
4
|
let(:builder) { SmallVictories::Builder.new(config: SmallVictories::Configuration.new) }
|
|
5
|
-
let(:files) { %w(fixtures/new/_sv_config.yml fixtures/new/.sv_guardfile fixtures/new/_sv/index.liquid fixtures/new/_sv/application.
|
|
5
|
+
let(:files) { %w(fixtures/new/_sv_config.yml fixtures/new/.sv_guardfile fixtures/new/_sv/index.liquid fixtures/new/_sv/application.scss fixtures/new/_sv/application.js fixtures/new/_sv/_includes/_head.liquid fixtures/new/_sv/_layout.liquid fixtures/new/_sv/_sprite/empty.png) }
|
|
6
6
|
|
|
7
7
|
context 'with folder' do
|
|
8
8
|
it 'sets up default files' do
|
|
9
9
|
builder.setup 'spec/fixtures/new'
|
|
10
10
|
files.each do |file|
|
|
11
|
+
puts file
|
|
11
12
|
expect(File.exists?(file)).to eq true
|
|
12
13
|
end
|
|
13
14
|
end
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -8,6 +8,10 @@ describe SmallVictories do
|
|
|
8
8
|
expect(configuration.source).to eq '_sv'
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
+
it 'defaults to deploy directory' do
|
|
12
|
+
expect(configuration.deploy).to eq ''
|
|
13
|
+
end
|
|
14
|
+
|
|
11
15
|
it 'defaults to destination directory' do
|
|
12
16
|
expect(configuration.destination).to eq ''
|
|
13
17
|
end
|
|
@@ -74,6 +78,10 @@ describe SmallVictories do
|
|
|
74
78
|
expect(configuration.source).to eq 'my-source-folder'
|
|
75
79
|
end
|
|
76
80
|
|
|
81
|
+
it 'reads to deploy directory' do
|
|
82
|
+
expect(configuration.deploy).to eq '../my-deploy-folder'
|
|
83
|
+
end
|
|
84
|
+
|
|
77
85
|
it 'reads the destination folder' do
|
|
78
86
|
expect(configuration.destination).to eq 'my-site-folder'
|
|
79
87
|
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
|
|
3
|
+
describe SmallVictories do
|
|
4
|
+
before do
|
|
5
|
+
allow_any_instance_of(SmallVictories::Configuration).to receive(:destination).and_return('./spec/fixtures/deployable')
|
|
6
|
+
end
|
|
7
|
+
let(:deployer) { SmallVictories::Deployer.new(config: SmallVictories::Configuration.new ) }
|
|
8
|
+
let(:files) { %w(fixtures/deploy/_sv_custom.css fixtures/deploy/_sv_custom.js) }
|
|
9
|
+
|
|
10
|
+
it 'does not copy to the same folder' do
|
|
11
|
+
deployer.copy
|
|
12
|
+
files.each do |file|
|
|
13
|
+
expect(File.exists?(file)).to eq false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
context 'with destination' do
|
|
18
|
+
it 'does not copy to a folder that does not exist' do
|
|
19
|
+
deployer.copy 'spec/test/deploy'
|
|
20
|
+
files.each do |file|
|
|
21
|
+
expect(File.exists?(file)).to eq false
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
it 'copies the destination files' do
|
|
26
|
+
deployer.copy 'spec/fixtures/deploy'
|
|
27
|
+
files.each do |file|
|
|
28
|
+
expect(File.exists?(file)).to eq true
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
it 'does not copy the ignore files' do
|
|
33
|
+
deployer.copy 'spec/fixtures/deploy'
|
|
34
|
+
expect(Dir.exists?('fixtures/deploy/_sv')).to eq false
|
|
35
|
+
expect(File.exists?('fixtures/deploy/_sv_config.yml')).to eq false
|
|
36
|
+
expect(File.exists?('fixtures/deploy/.sv_guarfile')).to eq false
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
after do
|
|
40
|
+
files.each { |path| clean_file(path) }
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p>My snippet</p>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
alert 'hi'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.log('hi');
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
source: '/my-source-folder/'
|
|
2
|
+
destination: 'my-site-folder/'
|
|
3
|
+
deploy: '../my-deploy-folder'
|
|
4
|
+
source_stylesheet: 'my-stylesheet.css'
|
|
5
|
+
source_javascript: 'my-javascript.js'
|
|
6
|
+
source_sprite: 'my-sprite'
|
|
7
|
+
destination_stylesheet: 'stylesheet.css'
|
|
8
|
+
destination_javascript: 'javascript.js'
|
|
9
|
+
destination_sprite_file: 'my-sprite.png'
|
|
10
|
+
destination_sprite_style: 'my-sprite.css'
|
|
11
|
+
layout: '_my-template.liquid'
|
|
12
|
+
includes: 'snippets'
|
|
13
|
+
compile_html: false
|
|
14
|
+
compile_js: false
|
|
15
|
+
compile_css: false
|
|
16
|
+
compile_sprite: false
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* Small Victories Sprockets File
|
|
2
|
+
*
|
|
3
|
+
* Any CSS and SCSS file within this directory and your sass directory
|
|
4
|
+
* can be referenced here using a relative path.
|
|
5
|
+
*
|
|
6
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
7
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
|
8
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
|
9
|
+
* file per style scope.
|
|
10
|
+
*
|
|
11
|
+
* Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
12
|
+
* about supported directives.
|
|
13
|
+
*
|
|
14
|
+
*= require_tree .
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
p {
|
|
18
|
+
font-size: 30px;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Small Victories Sprockets File
|
|
2
|
+
//
|
|
3
|
+
// For more details see
|
|
4
|
+
// https://github.com/rails/sprockets#the-directive-processor
|
|
5
|
+
// Any JavaScript/Coffee file within this directory
|
|
6
|
+
// can be referenced here using a relative path.
|
|
7
|
+
//
|
|
8
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
9
|
+
// compiled file.
|
|
10
|
+
//
|
|
11
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
12
|
+
// about supported directives.
|
|
13
|
+
//
|
|
14
|
+
//= require_tree .
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
source: '/my-source-folder/'
|
|
2
|
+
destination: 'my-site-folder/'
|
|
3
|
+
deploy: '../my-deploy-folder'
|
|
4
|
+
source_stylesheet: 'my-stylesheet.css'
|
|
5
|
+
source_javascript: 'my-javascript.js'
|
|
6
|
+
source_sprite: 'my-sprite'
|
|
7
|
+
destination_stylesheet: 'stylesheet.css'
|
|
8
|
+
destination_javascript: 'javascript.js'
|
|
9
|
+
destination_sprite_file: 'my-sprite.png'
|
|
10
|
+
destination_sprite_style: 'my-sprite.css'
|
|
11
|
+
layout: '_my-template.liquid'
|
|
12
|
+
includes: 'snippets'
|
|
13
|
+
compile_html: false
|
|
14
|
+
compile_js: false
|
|
15
|
+
compile_css: false
|
|
16
|
+
compile_sprite: false
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(){alert("hi")}).call(this),console.log("hi");
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smallvictories
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Dijkstra
|
|
@@ -285,11 +285,30 @@ extensions: []
|
|
|
285
285
|
extra_rdoc_files: []
|
|
286
286
|
files:
|
|
287
287
|
- ".gitignore"
|
|
288
|
+
- ".gitkeep"
|
|
288
289
|
- Gemfile
|
|
289
290
|
- LICENSE.txt
|
|
290
291
|
- README.md
|
|
291
292
|
- Rakefile
|
|
293
|
+
- _sv/_includes/_snippet.liquid
|
|
294
|
+
- _sv/_javascripts/scripts.coffee
|
|
295
|
+
- _sv/_javascripts/scripts.js
|
|
296
|
+
- _sv/_layout.liquid
|
|
297
|
+
- _sv/_sprite/.gitkeep
|
|
298
|
+
- _sv/_sprite/blank.png
|
|
299
|
+
- _sv/_stylesheets/bootstrap.scss
|
|
300
|
+
- _sv/_stylesheets/extra.scss
|
|
301
|
+
- _sv/_stylesheets/stylesheet.scss
|
|
302
|
+
- _sv/application.css
|
|
303
|
+
- _sv/application.js
|
|
304
|
+
- _sv/index.html
|
|
305
|
+
- _sv_config.yml
|
|
306
|
+
- _sv_custom.css
|
|
307
|
+
- _sv_custom.js
|
|
308
|
+
- application.css
|
|
309
|
+
- application.js
|
|
292
310
|
- bin/sv
|
|
311
|
+
- index.html
|
|
293
312
|
- lib/sassc/compressor.rb
|
|
294
313
|
- lib/sassc/functions.rb
|
|
295
314
|
- lib/sassc/importer.rb
|
|
@@ -299,6 +318,7 @@ files:
|
|
|
299
318
|
- lib/smallvictories/compiler.rb
|
|
300
319
|
- lib/smallvictories/configuration.rb
|
|
301
320
|
- lib/smallvictories/constants.rb
|
|
321
|
+
- lib/smallvictories/deployer.rb
|
|
302
322
|
- lib/smallvictories/logger.rb
|
|
303
323
|
- lib/smallvictories/version.rb
|
|
304
324
|
- lib/smallvictories/watcher.rb
|
|
@@ -306,7 +326,27 @@ files:
|
|
|
306
326
|
- spec/builder_spec.rb
|
|
307
327
|
- spec/compiler_spec.rb
|
|
308
328
|
- spec/configuration_spec.rb
|
|
329
|
+
- spec/deployer_spec.rb
|
|
309
330
|
- spec/fixtures/_sv_custom.css
|
|
331
|
+
- spec/fixtures/deploy/.gitkeep
|
|
332
|
+
- spec/fixtures/deploy/index.html
|
|
333
|
+
- spec/fixtures/deployable/_sv/_includes/_snippet.liquid
|
|
334
|
+
- spec/fixtures/deployable/_sv/_javascripts/scripts.coffee
|
|
335
|
+
- spec/fixtures/deployable/_sv/_javascripts/scripts.js
|
|
336
|
+
- spec/fixtures/deployable/_sv/_layout.liquid
|
|
337
|
+
- spec/fixtures/deployable/_sv/_sprite/.gitkeep
|
|
338
|
+
- spec/fixtures/deployable/_sv/_sprite/blank.png
|
|
339
|
+
- spec/fixtures/deployable/_sv/_stylesheets/bootstrap.scss
|
|
340
|
+
- spec/fixtures/deployable/_sv/_stylesheets/extra.scss
|
|
341
|
+
- spec/fixtures/deployable/_sv/_stylesheets/stylesheet.scss
|
|
342
|
+
- spec/fixtures/deployable/_sv/_sv_config.yml
|
|
343
|
+
- spec/fixtures/deployable/_sv/application.css
|
|
344
|
+
- spec/fixtures/deployable/_sv/application.js
|
|
345
|
+
- spec/fixtures/deployable/_sv/index.html
|
|
346
|
+
- spec/fixtures/deployable/_sv_config.yml
|
|
347
|
+
- spec/fixtures/deployable/_sv_custom.css
|
|
348
|
+
- spec/fixtures/deployable/_sv_custom.js
|
|
349
|
+
- spec/fixtures/deployable/index.html
|
|
310
350
|
- spec/fixtures/destination/.gitkeep
|
|
311
351
|
- spec/fixtures/destination/application.css
|
|
312
352
|
- spec/fixtures/destination/application.js
|
|
@@ -336,7 +376,7 @@ files:
|
|
|
336
376
|
- src/index.liquid
|
|
337
377
|
- src/javascript.js
|
|
338
378
|
- src/layout.liquid
|
|
339
|
-
- src/stylesheet.
|
|
379
|
+
- src/stylesheet.scss
|
|
340
380
|
homepage: https://github.com/xxix/smallvictories-gem
|
|
341
381
|
licenses:
|
|
342
382
|
- MIT
|
|
@@ -365,7 +405,27 @@ test_files:
|
|
|
365
405
|
- spec/builder_spec.rb
|
|
366
406
|
- spec/compiler_spec.rb
|
|
367
407
|
- spec/configuration_spec.rb
|
|
408
|
+
- spec/deployer_spec.rb
|
|
368
409
|
- spec/fixtures/_sv_custom.css
|
|
410
|
+
- spec/fixtures/deploy/.gitkeep
|
|
411
|
+
- spec/fixtures/deploy/index.html
|
|
412
|
+
- spec/fixtures/deployable/_sv/_includes/_snippet.liquid
|
|
413
|
+
- spec/fixtures/deployable/_sv/_javascripts/scripts.coffee
|
|
414
|
+
- spec/fixtures/deployable/_sv/_javascripts/scripts.js
|
|
415
|
+
- spec/fixtures/deployable/_sv/_layout.liquid
|
|
416
|
+
- spec/fixtures/deployable/_sv/_sprite/.gitkeep
|
|
417
|
+
- spec/fixtures/deployable/_sv/_sprite/blank.png
|
|
418
|
+
- spec/fixtures/deployable/_sv/_stylesheets/bootstrap.scss
|
|
419
|
+
- spec/fixtures/deployable/_sv/_stylesheets/extra.scss
|
|
420
|
+
- spec/fixtures/deployable/_sv/_stylesheets/stylesheet.scss
|
|
421
|
+
- spec/fixtures/deployable/_sv/_sv_config.yml
|
|
422
|
+
- spec/fixtures/deployable/_sv/application.css
|
|
423
|
+
- spec/fixtures/deployable/_sv/application.js
|
|
424
|
+
- spec/fixtures/deployable/_sv/index.html
|
|
425
|
+
- spec/fixtures/deployable/_sv_config.yml
|
|
426
|
+
- spec/fixtures/deployable/_sv_custom.css
|
|
427
|
+
- spec/fixtures/deployable/_sv_custom.js
|
|
428
|
+
- spec/fixtures/deployable/index.html
|
|
369
429
|
- spec/fixtures/destination/.gitkeep
|
|
370
430
|
- spec/fixtures/destination/application.css
|
|
371
431
|
- spec/fixtures/destination/application.js
|