blazing 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +183 -0
- data/.travis.yml +8 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile +1 -1
- data/Guardfile +6 -7
- data/README.md +30 -152
- data/Rakefile +5 -6
- data/bin/blazing +1 -2
- data/blazing.gemspec +17 -26
- data/lib/blazing.rb +2 -14
- data/lib/blazing/cli.rb +32 -39
- data/lib/blazing/commands.rb +18 -26
- data/lib/blazing/config.rb +21 -51
- data/lib/blazing/dsl.rb +37 -0
- data/lib/blazing/hook.rb +15 -11
- data/lib/blazing/logger.rb +13 -17
- data/lib/blazing/repository.rb +5 -1
- data/lib/blazing/shell.rb +5 -5
- data/lib/blazing/target.rb +3 -3
- data/lib/blazing/templates/config.erb +10 -45
- data/lib/blazing/templates/hook/base.erb +0 -3
- data/lib/blazing/templates/hook/bundler.erb +4 -3
- data/lib/blazing/templates/hook/env-scripts.erb +3 -3
- data/lib/blazing/templates/hook/rake.erb +0 -1
- data/lib/blazing/templates/hook/rvm.erb +3 -31
- data/lib/blazing/templates/hook/setup.erb +1 -1
- data/lib/blazing/version.rb +3 -0
- data/spec/blazing/cli_spec.rb +1 -11
- data/spec/blazing/commands_spec.rb +35 -65
- data/spec/blazing/config_spec.rb +22 -102
- data/spec/blazing/dsl_spec.rb +60 -0
- data/spec/blazing/hook_spec.rb +31 -82
- data/spec/blazing/integration/deployment_spec.rb +20 -22
- data/spec/blazing/integration/init_spec.rb +2 -4
- data/spec/blazing/integration/setup_spec.rb +30 -30
- data/spec/blazing/integration/update_spec.rb +35 -35
- data/spec/blazing/logger_spec.rb +0 -4
- data/spec/blazing/repository_spec.rb +8 -10
- data/spec/blazing/shell_spec.rb +2 -4
- data/spec/blazing/target_spec.rb +12 -13
- data/spec/spec_helper.rb +8 -12
- data/spec/support/dummy_config.rb +6 -0
- metadata +18 -35
- data/lib/blazing/dsl_setter.rb +0 -20
- data/lib/blazing/recipe.rb +0 -45
- data/lib/blazing/templates/hook/recipes.erb +0 -5
- data/spec/blazing/dsl_setter_spec.rb +0 -29
- data/spec/blazing/integration/list_spec.rb +0 -20
- data/spec/blazing/integration/recipes_spec.rb +0 -29
- data/spec/blazing/recipe_spec.rb +0 -42
@@ -1,41 +1,41 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'blazing/config'
|
3
|
+
require 'blazing/cli'
|
4
|
+
require 'blazing/dsl'
|
2
5
|
|
3
6
|
describe '$ blazing setup' do
|
4
|
-
|
7
|
+
before :each do
|
8
|
+
setup_sandbox
|
9
|
+
@config = Blazing::Config.new
|
10
|
+
@config.targets << Blazing::Target.new(:production, "#{@sandbox_directory}/production", @config)
|
11
|
+
@config.targets << Blazing::Target.new(:staging, "#{@sandbox_directory}/staging", @config)
|
12
|
+
@cli = Blazing::CLI.new
|
13
|
+
allow(Blazing::Config).to receive(:parse).and_return @config
|
14
|
+
end
|
15
|
+
|
16
|
+
after :each do
|
17
|
+
teardown_sandbox
|
18
|
+
end
|
19
|
+
|
20
|
+
context 'when a target is specified' do
|
5
21
|
before :each do
|
6
|
-
|
7
|
-
@config = Blazing::Config.new
|
8
|
-
@config.target :production, "#{@sandbox_directory}/target"
|
9
|
-
@config.target :staging, "#{@sandbox_directory}/staging"
|
10
|
-
@cli = Blazing::CLI.new
|
11
|
-
Blazing::Config.stub(:parse).and_return @config
|
22
|
+
capture(:stdout, :stderr) { @cli.setup(:production) }
|
12
23
|
end
|
13
24
|
|
14
|
-
|
15
|
-
|
25
|
+
it 'prepares the repository on the target location' do
|
26
|
+
expect(File.exist?("#{@sandbox_directory}/production/.git")).to be true
|
16
27
|
end
|
17
28
|
|
18
|
-
|
19
|
-
|
20
|
-
before :each do
|
21
|
-
capture(:stdout, :stderr) { @cli.setup(:production) }
|
22
|
-
end
|
23
|
-
|
24
|
-
it 'prepares the repository on the target location' do
|
25
|
-
File.exists?("#{@sandbox_directory}/target/.git").should be true
|
26
|
-
end
|
27
|
-
|
28
|
-
it 'configures the repository to allow pushing to the checked out branch' do
|
29
|
-
Grit::Repo.new("#{@sandbox_directory}/target").config['receive.denycurrentbranch'].should == 'ignore'
|
30
|
-
end
|
29
|
+
it 'configures the repository to allow pushing to the checked out branch' do
|
30
|
+
expect(Grit::Repo.new("#{@sandbox_directory}/production").config['receive.denycurrentbranch']).to eq('ignore')
|
31
31
|
end
|
32
|
+
end
|
32
33
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
end
|
34
|
+
context 'when all is specified as target' do
|
35
|
+
it 'updates all targets' do
|
36
|
+
capture(:stdout, :stderr) { @cli.setup('all') }
|
37
|
+
expect(File.exist?("#{@sandbox_directory}/production/.git/hooks/post-receive")).to be true
|
38
|
+
expect(File.exist?("#{@sandbox_directory}/staging/.git/hooks/post-receive")).to be true
|
39
39
|
end
|
40
|
-
|
41
|
-
|
40
|
+
end
|
41
|
+
end
|
@@ -1,43 +1,43 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'blazing/config'
|
3
|
+
require 'blazing/cli'
|
2
4
|
|
3
5
|
describe '$ blazing update' do
|
4
|
-
|
6
|
+
before :each do
|
7
|
+
setup_sandbox
|
8
|
+
@config = Blazing::Config.new
|
9
|
+
@config.targets << Blazing::Target.new(:production, "#{@sandbox_directory}/production", @config)
|
10
|
+
@config.targets << Blazing::Target.new(:staging, "#{@sandbox_directory}/staging", @config)
|
11
|
+
@cli = Blazing::CLI.new
|
12
|
+
allow(Blazing::Config).to receive(:parse).and_return @config
|
13
|
+
allow(Blazing::Config).to receive(:parse).and_return @config
|
14
|
+
end
|
15
|
+
|
16
|
+
after :each do
|
17
|
+
teardown_sandbox
|
18
|
+
end
|
19
|
+
|
20
|
+
context 'when a target is specified' do
|
5
21
|
before :each do
|
6
|
-
|
7
|
-
|
8
|
-
@config.target :production, "#{@sandbox_directory}/target"
|
9
|
-
@config.target :staging, "#{@sandbox_directory}/staging"
|
10
|
-
@cli = Blazing::CLI.new
|
11
|
-
Blazing::Config.stub(:parse).and_return @config
|
22
|
+
capture(:stdout, :stderr) { @cli.setup(:production) }
|
23
|
+
capture(:stdout, :stderr) { @cli.update(:production) }
|
12
24
|
end
|
13
25
|
|
14
|
-
|
15
|
-
|
26
|
+
it 'generates a post-receive hook based on the current blazing config' do
|
27
|
+
expect(File.exist?('/tmp/post-receive')).to be true
|
16
28
|
end
|
17
29
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
end
|
33
|
-
|
34
|
-
context 'when all is specified as target' do
|
35
|
-
it 'updates all targets' do
|
36
|
-
capture(:stdout, :stderr) { @cli.setup('all') }
|
37
|
-
capture(:stdout, :stderr) { @cli.update('all') }
|
38
|
-
File.exists?("#{@sandbox_directory}/target/.git/hooks/post-receive").should be true
|
39
|
-
File.exists?("#{@sandbox_directory}/staging/.git/hooks/post-receive").should be true
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
30
|
+
it 'copies the generated post-receive hook to the target' do
|
31
|
+
expect(File.exist?("#{@sandbox_directory}/production/.git/hooks/post-receive")).to be true
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'when all is specified as target' do
|
36
|
+
it 'updates all targets' do
|
37
|
+
capture(:stdout, :stderr) { @cli.setup('all') }
|
38
|
+
capture(:stdout, :stderr) { @cli.update('all') }
|
39
|
+
expect(File.exist?("#{@sandbox_directory}/production/.git/hooks/post-receive")).to be true
|
40
|
+
expect(File.exist?("#{@sandbox_directory}/staging/.git/hooks/post-receive")).to be true
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
data/spec/blazing/logger_spec.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
module Blazing
|
4
|
-
|
5
4
|
describe Logger do
|
6
|
-
|
7
5
|
let(:logger) { Logger.new }
|
8
6
|
let(:dummy) { class Dummy; include Logger; end }
|
9
7
|
|
@@ -27,8 +25,6 @@ module Blazing
|
|
27
25
|
it 'for fatal messages' do
|
28
26
|
dummy.respond_to? :fatal
|
29
27
|
end
|
30
|
-
|
31
28
|
end
|
32
29
|
end
|
33
30
|
end
|
34
|
-
|
@@ -1,40 +1,38 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'blazing/repository'
|
2
3
|
|
3
4
|
module Blazing
|
4
|
-
|
5
5
|
describe Repository do
|
6
|
-
|
7
|
-
let(:shell_probe) { double(:shell, :run => nil) }
|
6
|
+
let(:shell_probe) { double(:shell, run: nil) }
|
8
7
|
|
9
8
|
describe '#setup' do
|
10
9
|
it 'initializes and sets up the repository over ssh' do
|
11
|
-
target = double(:target, :
|
10
|
+
target = double(:target, host: 'host', user: 'user', path: '/some/where')
|
12
11
|
repository = Repository.new(target)
|
13
12
|
repository.instance_variable_set(:@shell, shell_probe)
|
14
13
|
|
15
|
-
shell_probe.
|
14
|
+
expect(shell_probe).to receive(:run).with("ssh user@host 'mkdir /some/where; cd /some/where && git init && cd /some/where && git config receive.denyCurrentBranch ignore'")
|
16
15
|
repository.setup
|
17
16
|
end
|
18
17
|
|
19
18
|
it 'initializes and sets up the repository locally when no host provided' do
|
20
|
-
target = double(:target, :
|
19
|
+
target = double(:target, host: nil, user: 'user', path: '/some/where')
|
21
20
|
repository = Repository.new(target)
|
22
21
|
repository.instance_variable_set(:@shell, shell_probe)
|
23
22
|
|
24
|
-
shell_probe.
|
23
|
+
expect(shell_probe).to receive(:run).with('mkdir /some/where; cd /some/where && git init && cd /some/where && git config receive.denyCurrentBranch ignore')
|
25
24
|
repository.setup
|
26
25
|
end
|
27
26
|
end
|
28
27
|
|
29
28
|
describe '#add_git_remote' do
|
30
|
-
|
31
|
-
let(:target) { double(:target, :host => 'host', :user => 'user', :path => '/some/where', :name => :foo, :location => '/url/for/git/remote') }
|
29
|
+
let(:target) { double(:target, host: 'host', user: 'user', path: '/some/where', name: :foo, location: '/url/for/git/remote') }
|
32
30
|
let(:repository) { Repository.new(target) }
|
33
31
|
let(:grit_object) { repository.instance_variable_get(:@grit_object) }
|
34
32
|
|
35
33
|
it 'adds a git remote for the target' do
|
36
34
|
repository.add_git_remote
|
37
|
-
grit_object.config["remote.#{target.name}.url"].
|
35
|
+
expect(grit_object.config["remote.#{target.name}.url"]).to eq(target.location)
|
38
36
|
end
|
39
37
|
end
|
40
38
|
end
|
data/spec/blazing/shell_spec.rb
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'blazing/shell'
|
2
3
|
|
3
4
|
module Blazing
|
4
|
-
|
5
5
|
describe Shell do
|
6
|
-
|
7
6
|
let(:shell) { Shell.new }
|
8
7
|
|
9
8
|
describe '#run' do
|
10
9
|
it 'runs the provided command' do
|
11
|
-
shell.
|
10
|
+
expect(shell).to receive(:`)
|
12
11
|
shell.run('command')
|
13
12
|
end
|
14
13
|
|
@@ -16,4 +15,3 @@ module Blazing
|
|
16
15
|
end
|
17
16
|
end
|
18
17
|
end
|
19
|
-
|
data/spec/blazing/target_spec.rb
CHANGED
@@ -2,47 +2,46 @@ require 'spec_helper'
|
|
2
2
|
require 'blazing/target'
|
3
3
|
|
4
4
|
describe Blazing::Target do
|
5
|
-
|
6
5
|
describe '#name' do
|
7
6
|
it 'returns the name of the target' do
|
8
|
-
Blazing::Target.new(:sometarget, 'location', :
|
7
|
+
expect(Blazing::Target.new(:sometarget, 'location', blah: 'blah').name).to be :sometarget
|
9
8
|
end
|
10
9
|
end
|
11
10
|
|
12
11
|
describe '#options' do
|
13
12
|
it 'returns the options hash' do
|
14
|
-
Blazing::Target.new(:sometarget, 'location', :
|
13
|
+
expect(Blazing::Target.new(:sometarget, 'location', blah: 'blah').options).to be_a Hash
|
15
14
|
end
|
16
15
|
end
|
17
16
|
|
18
17
|
describe '#path' do
|
19
18
|
it 'extracts the path from the location' do
|
20
|
-
target = Blazing::Target.new(:sometarget, 'user@host:/path', :
|
21
|
-
target.path.
|
19
|
+
target = Blazing::Target.new(:sometarget, 'user@host:/path', blah: 'blah')
|
20
|
+
expect(target.path).to eq('/path')
|
22
21
|
end
|
23
22
|
end
|
24
23
|
|
25
24
|
describe '#host' do
|
26
25
|
it 'extracts the host from the location' do
|
27
|
-
target = Blazing::Target.new(:sometarget, 'user@host:/path', :
|
28
|
-
target.host.
|
26
|
+
target = Blazing::Target.new(:sometarget, 'user@host:/path', blah: 'blah')
|
27
|
+
expect(target.host).to eq('host')
|
29
28
|
end
|
30
29
|
|
31
30
|
it 'returns nil when host is not present' do
|
32
|
-
target = Blazing::Target.new(:sometarget, '/path', :
|
33
|
-
target.host.
|
31
|
+
target = Blazing::Target.new(:sometarget, '/path', blah: 'blah')
|
32
|
+
expect(target.host).to be_nil
|
34
33
|
end
|
35
34
|
end
|
36
35
|
|
37
36
|
describe '#user' do
|
38
37
|
it 'extracts the user from the location' do
|
39
|
-
target = Blazing::Target.new(:sometarget, 'user@host:/path', :
|
40
|
-
target.user.
|
38
|
+
target = Blazing::Target.new(:sometarget, 'user@host:/path', blah: 'blah')
|
39
|
+
expect(target.user).to eq('user')
|
41
40
|
end
|
42
41
|
|
43
42
|
it 'returns nil user is not present' do
|
44
|
-
target = Blazing::Target.new(:sometarget, '/path', :
|
45
|
-
target.user.
|
43
|
+
target = Blazing::Target.new(:sometarget, '/path', blah: 'blah')
|
44
|
+
expect(target.user).to be_nil
|
46
45
|
end
|
47
46
|
end
|
48
47
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -2,6 +2,8 @@ require 'blazing'
|
|
2
2
|
require 'rspec'
|
3
3
|
require 'stringio'
|
4
4
|
require 'pry'
|
5
|
+
require 'logging'
|
6
|
+
require 'blazing/logger'
|
5
7
|
|
6
8
|
ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
|
7
9
|
|
@@ -9,6 +11,7 @@ ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File:
|
|
9
11
|
# Stuff borrowed from carlhuda/bundler
|
10
12
|
#
|
11
13
|
RSpec.configure do |config|
|
14
|
+
config.warnings = false
|
12
15
|
|
13
16
|
#
|
14
17
|
# Reset Logger
|
@@ -16,16 +19,16 @@ RSpec.configure do |config|
|
|
16
19
|
Logging.appenders.reset
|
17
20
|
Logging.appenders.string_io(
|
18
21
|
'string_io',
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
+
layout: Logging.layouts.pattern(
|
23
|
+
pattern: ' ------> [blazing] %-5l: %m\n',
|
24
|
+
color_scheme: 'bright'
|
22
25
|
)
|
23
26
|
)
|
24
27
|
|
25
28
|
Logging.logger.root.appenders = 'string_io'
|
26
29
|
|
27
30
|
def capture(*streams)
|
28
|
-
streams.map!
|
31
|
+
streams.map!(&:to_s)
|
29
32
|
begin
|
30
33
|
result = StringIO.new
|
31
34
|
streams.each { |stream| eval "$#{stream} = result" }
|
@@ -41,7 +44,7 @@ RSpec.configure do |config|
|
|
41
44
|
@sandbox_directory = File.join('/tmp/blazing_sandbox')
|
42
45
|
|
43
46
|
# Sometimes, when specs failed, the sandbox would stick around
|
44
|
-
FileUtils.rm_rf(@sandbox_directory) if File.
|
47
|
+
FileUtils.rm_rf(@sandbox_directory) if File.exist?(@sandbox_directory)
|
45
48
|
|
46
49
|
# Setup Sandbox and cd into it
|
47
50
|
Dir.mkdir(@sandbox_directory)
|
@@ -68,11 +71,4 @@ RSpec.configure do |config|
|
|
68
71
|
def spec_root
|
69
72
|
File.dirname(__FILE__)
|
70
73
|
end
|
71
|
-
|
72
|
-
#def prepare_sample_config
|
73
|
-
#sample_config = File.join(spec_root, 'support', 'sample_config_1.rb')
|
74
|
-
#Dir.mkdir(@sandbox_directory + '/config')
|
75
|
-
#FileUtils.cp(sample_config, @sandbox_directory + '/config/blazing.rb')
|
76
|
-
#end
|
77
|
-
|
78
74
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blazing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felipe Kaufmann
|
8
|
+
- Alexander Adam
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
+
date: 2015-08-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rdoc
|
@@ -44,14 +45,14 @@ dependencies:
|
|
44
45
|
requirements:
|
45
46
|
- - ">="
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
+
version: '3.0'
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
53
|
- - ">="
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
+
version: '3.0'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: guard
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,13 +138,13 @@ dependencies:
|
|
137
138
|
- !ruby/object:Gem::Version
|
138
139
|
version: '0'
|
139
140
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
141
|
+
name: rubocop
|
141
142
|
requirement: !ruby/object:Gem::Requirement
|
142
143
|
requirements:
|
143
144
|
- - ">="
|
144
145
|
- !ruby/object:Gem::Version
|
145
146
|
version: '0'
|
146
|
-
type: :
|
147
|
+
type: :development
|
147
148
|
prerelease: false
|
148
149
|
version_requirements: !ruby/object:Gem::Requirement
|
149
150
|
requirements:
|
@@ -151,21 +152,7 @@ dependencies:
|
|
151
152
|
- !ruby/object:Gem::Version
|
152
153
|
version: '0'
|
153
154
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '1.8'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '1.8'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: thor
|
155
|
+
name: grit
|
169
156
|
requirement: !ruby/object:Gem::Requirement
|
170
157
|
requirements:
|
171
158
|
- - ">="
|
@@ -179,7 +166,7 @@ dependencies:
|
|
179
166
|
- !ruby/object:Gem::Version
|
180
167
|
version: '0'
|
181
168
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
169
|
+
name: logging
|
183
170
|
requirement: !ruby/object:Gem::Requirement
|
184
171
|
requirements:
|
185
172
|
- - ">="
|
@@ -193,7 +180,7 @@ dependencies:
|
|
193
180
|
- !ruby/object:Gem::Version
|
194
181
|
version: '0'
|
195
182
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
183
|
+
name: thor
|
197
184
|
requirement: !ruby/object:Gem::Requirement
|
198
185
|
requirements:
|
199
186
|
- - ">="
|
@@ -215,6 +202,7 @@ extensions: []
|
|
215
202
|
extra_rdoc_files: []
|
216
203
|
files:
|
217
204
|
- ".gitignore"
|
205
|
+
- ".rubocop.yml"
|
218
206
|
- ".rvmrc"
|
219
207
|
- ".travis.yml"
|
220
208
|
- CHANGELOG.md
|
@@ -230,10 +218,9 @@ files:
|
|
230
218
|
- lib/blazing/cli.rb
|
231
219
|
- lib/blazing/commands.rb
|
232
220
|
- lib/blazing/config.rb
|
233
|
-
- lib/blazing/
|
221
|
+
- lib/blazing/dsl.rb
|
234
222
|
- lib/blazing/hook.rb
|
235
223
|
- lib/blazing/logger.rb
|
236
|
-
- lib/blazing/recipe.rb
|
237
224
|
- lib/blazing/repository.rb
|
238
225
|
- lib/blazing/shell.rb
|
239
226
|
- lib/blazing/target.rb
|
@@ -243,26 +230,24 @@ files:
|
|
243
230
|
- lib/blazing/templates/hook/env-scripts.erb
|
244
231
|
- lib/blazing/templates/hook/git-reset.erb
|
245
232
|
- lib/blazing/templates/hook/rake.erb
|
246
|
-
- lib/blazing/templates/hook/recipes.erb
|
247
233
|
- lib/blazing/templates/hook/rvm.erb
|
248
234
|
- lib/blazing/templates/hook/setup.erb
|
235
|
+
- lib/blazing/version.rb
|
249
236
|
- spec/blazing/cli_spec.rb
|
250
237
|
- spec/blazing/commands_spec.rb
|
251
238
|
- spec/blazing/config_spec.rb
|
252
|
-
- spec/blazing/
|
239
|
+
- spec/blazing/dsl_spec.rb
|
253
240
|
- spec/blazing/hook_spec.rb
|
254
241
|
- spec/blazing/integration/deployment_spec.rb
|
255
242
|
- spec/blazing/integration/init_spec.rb
|
256
|
-
- spec/blazing/integration/list_spec.rb
|
257
|
-
- spec/blazing/integration/recipes_spec.rb
|
258
243
|
- spec/blazing/integration/setup_spec.rb
|
259
244
|
- spec/blazing/integration/update_spec.rb
|
260
245
|
- spec/blazing/logger_spec.rb
|
261
|
-
- spec/blazing/recipe_spec.rb
|
262
246
|
- spec/blazing/repository_spec.rb
|
263
247
|
- spec/blazing/shell_spec.rb
|
264
248
|
- spec/blazing/target_spec.rb
|
265
249
|
- spec/spec_helper.rb
|
250
|
+
- spec/support/dummy_config.rb
|
266
251
|
- spec/support/empty_config.rb
|
267
252
|
- spec/support/gemfile_with_comments
|
268
253
|
- spec/support/gemfile_with_versions
|
@@ -278,7 +263,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
278
263
|
requirements:
|
279
264
|
- - ">="
|
280
265
|
- !ruby/object:Gem::Version
|
281
|
-
version:
|
266
|
+
version: 2.0.0
|
282
267
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
268
|
requirements:
|
284
269
|
- - ">="
|
@@ -294,20 +279,18 @@ test_files:
|
|
294
279
|
- spec/blazing/cli_spec.rb
|
295
280
|
- spec/blazing/commands_spec.rb
|
296
281
|
- spec/blazing/config_spec.rb
|
297
|
-
- spec/blazing/
|
282
|
+
- spec/blazing/dsl_spec.rb
|
298
283
|
- spec/blazing/hook_spec.rb
|
299
284
|
- spec/blazing/integration/deployment_spec.rb
|
300
285
|
- spec/blazing/integration/init_spec.rb
|
301
|
-
- spec/blazing/integration/list_spec.rb
|
302
|
-
- spec/blazing/integration/recipes_spec.rb
|
303
286
|
- spec/blazing/integration/setup_spec.rb
|
304
287
|
- spec/blazing/integration/update_spec.rb
|
305
288
|
- spec/blazing/logger_spec.rb
|
306
|
-
- spec/blazing/recipe_spec.rb
|
307
289
|
- spec/blazing/repository_spec.rb
|
308
290
|
- spec/blazing/shell_spec.rb
|
309
291
|
- spec/blazing/target_spec.rb
|
310
292
|
- spec/spec_helper.rb
|
293
|
+
- spec/support/dummy_config.rb
|
311
294
|
- spec/support/empty_config.rb
|
312
295
|
- spec/support/gemfile_with_comments
|
313
296
|
- spec/support/gemfile_with_versions
|