smallvictories 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a7e25aa7727dc449bd6efe5156afcaf0576559d
4
- data.tar.gz: 441ca08a9ed5bda3a971a3fcd68512e0b1fe0764
3
+ metadata.gz: b9faaa62c962fb36e4741fc2b55cbd053bffc334
4
+ data.tar.gz: 01bc63dbf679d4da0909ee511c7ed2b10093f478
5
5
  SHA512:
6
- metadata.gz: fcce25d68ac1b1a2790e2605435068b539594926721673793731216a4a1b7263ed36ef39a153869c3b8bb603d8a33f45a29a39308b3f0d26c49b8fb2dab7e1ef
7
- data.tar.gz: 0baa3640fd5995a888937819c8c6c5e0621508526c096719c946518b6bf3d234a010ec02385ae5e439f0e8848d21ee75eca4d3730ac0ddd1ec59a96e0088ba58
6
+ metadata.gz: f97d08f54216b0f09e7627ea54efdd2455cf09e2e8ec047a32682c57c5659268c1027f716bd1cc768df88b29ad539994bb39e63497f572e97469857f6421755c
7
+ data.tar.gz: 2ca870ab41183e1e1ccedf8fccafce87c0820594a4e2eab9815c4026b2b7ce2466ead422a2e3bd701b0485a70cf82d9c371cc9aef33a15ddb6b4bba223540929
@@ -1,6 +1,6 @@
1
1
  module SmallVictories
2
2
  CONFIG_FILE = '_sv_config.yml'
3
- DEFAULT_SOURCE = '_'
3
+ DEFAULT_SOURCE = 'src'
4
4
  DEFAULT_DESTINATION = ''
5
5
  DEFAULT_SOURCE_STYLESHEET = 'application.css'
6
6
  DEFAULT_SOURCE_JAVASCRIPT = 'application.js'
@@ -1,3 +1,3 @@
1
1
  module SmallVictories
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
data/spec/builder_spec.rb CHANGED
@@ -8,15 +8,15 @@ describe SmallVictories do
8
8
  builder.setup 'spec/fixtures/new'
9
9
  expect(File.exists?('fixtures/new/_sv_config.yml')).to eq true
10
10
  expect(File.exists?('fixtures/new/.sv_guardfile')).to eq true
11
- expect(File.exists?('fixtures/new/_/_layout.liquid')).to eq true
12
- expect(File.exists?('fixtures/new/_/index.liquid')).to eq true
13
- expect(File.exists?('fixtures/new/_/_includes/_head.liquid')).to eq true
14
- expect(File.exists?('fixtures/new/_/application.js')).to eq true
15
- expect(File.exists?('fixtures/new/_/application.css')).to eq true
11
+ expect(File.exists?('fixtures/new/src/_layout.liquid')).to eq true
12
+ expect(File.exists?('fixtures/new/src/index.liquid')).to eq true
13
+ expect(File.exists?('fixtures/new/src/_includes/_head.liquid')).to eq true
14
+ expect(File.exists?('fixtures/new/src/application.js')).to eq true
15
+ expect(File.exists?('fixtures/new/src/application.css')).to eq true
16
16
  end
17
17
 
18
18
  after do
19
- %w(fixtures/new/_sv_config.yml fixtures/new/.sv_guardfile fixtures/new/_/index.liquid fixtures/new/_/application.css fixtures/new/_/application.js fixtures/new/_/_includes/_head.liquid fixtures/new/_/_layout.liquid).each { |path| clean_file(path) }
19
+ %w(fixtures/new/_sv_config.yml fixtures/new/.sv_guardfile fixtures/new/src/index.liquid fixtures/new/src/application.css fixtures/new/src/application.js fixtures/new/src/_includes/_head.liquid fixtures/new/src/_layout.liquid).each { |path| clean_file(path) }
20
20
  end
21
21
  end
22
22
  end
@@ -5,7 +5,7 @@ describe SmallVictories do
5
5
 
6
6
  context 'with no config file' do
7
7
  it 'defaults to source directory' do
8
- expect(configuration.source).to eq '_'
8
+ expect(configuration.source).to eq 'src'
9
9
  end
10
10
 
11
11
  it 'defaults to destination directory' do
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.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dijkstra