singularity_dsl 1.5.7 → 1.5.8

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzQwNjI4MjYwZGZjZDkzMmY5MmRiYWExYjQxMzY2ZjI1NGY0ODIzYQ==
4
+ MDhmYzJmZmU0OGY1YWMxZjA0ZGUyMDQ1ZWQ1ZGY2ZTBlZDFjN2JlZg==
5
5
  data.tar.gz: !binary |-
6
- ZmZlZTRkMWYyZjBkZTI3MmYxNjZjN2FhZmNlN2ZiMTM5MWMwZDU3NA==
6
+ ZmM3MTEwMzlmYzQzYTYxZGIxZWQ3OGZjMGQwMzFiOTZmY2FjZjU5MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDEyMmM1M2FmZGMzYzU4OWU0ZDMxNzAxNjZmZDE1MmI1NDU3NmRiMjZhNmEw
10
- ZGNlM2E3NTg4M2IxMWEyNTA0YmQ3ZGVlMmJjOTJlNDdjNzE3MWJiNmQ1YzVi
11
- NTI5Y2I1ZGEwZDU3ZGJlNGYyMTBjMzZmZGQyMjJlZWRiZmEyMDE=
9
+ Y2ViNjUzNTE5OWJmNGNlNTI1YWExNjdmOGFkZjc1MzExNTkyMjk2MGY3MTM3
10
+ ZTA0OWQyYWE0OTExZDg4MGZjZWVjMmY5YTA0ZjIyM2ZhYmExMDhjYmYyYmQ1
11
+ NTUyMGYxOGQ0NmNiZDQ1OTUzMWY4MzBmZWMxZTc1MmRjMTk2MjI=
12
12
  data.tar.gz: !binary |-
13
- MTJkMzJkNzg1NzczMGVmNDhhMDA2NWQwMzQ5MTYxOGRiOWFlNTEyNjAyYjk0
14
- MjBiMDZjMTgzNDdjZDhmMmFkOWY5ZmI4ZDcwNWVhZGJkZDhhYmUyZWVhMzM3
15
- YWUxOWY2NDg5MmE2NzIwYWYxNTc3YjcyZTJkYTgxMTdiMDc5NzY=
13
+ NmU2MGQ3N2RmNGFiYjc3N2JlMmNhOWM1ZWIzNzk0YjAyNDAxYTAyMTVlMWM3
14
+ MGYwYjE3NjhhNjc4YzNkNWYwOTlkZTNjYTlmZmEzMzQ2Y2M1NGYzODI1ZTc0
15
+ MjA0OWM5YjU2YjZiMzI5NjdjMGI1ZGU5OTgxYTQzNmJiYzllZjg=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- singularity_dsl (1.5.7)
4
+ singularity_dsl (1.5.8)
5
5
  json (~> 1.0)
6
6
  mixlib-shellout (~> 1.6.0)
7
7
  rainbow (~> 2.0.0)
@@ -21,7 +21,7 @@ GEM
21
21
  gem-release (0.7.3)
22
22
  json (1.8.1)
23
23
  mixlib-shellout (1.6.0)
24
- parser (2.2.0.pre.5)
24
+ parser (2.2.0.pre.7)
25
25
  ast (>= 1.1, < 3.0)
26
26
  slop (~> 3.4, >= 3.4.5)
27
27
  powerpack (0.0.9)
@@ -39,13 +39,13 @@ GEM
39
39
  rspec-mocks (3.1.3)
40
40
  rspec-support (~> 3.1.0)
41
41
  rspec-support (3.1.2)
42
- rubocop (0.26.1)
42
+ rubocop (0.27.0)
43
43
  astrolabe (~> 1.3)
44
- parser (>= 2.2.0.pre.4, < 3.0)
44
+ parser (>= 2.2.0.pre.6, < 3.0)
45
45
  powerpack (~> 0.0.6)
46
46
  rainbow (>= 1.99.1, < 3.0)
47
47
  ruby-progressbar (~> 1.4)
48
- ruby-progressbar (1.6.0)
48
+ ruby-progressbar (1.7.0)
49
49
  slop (3.6.0)
50
50
  terminal-table (1.4.5)
51
51
  thor (0.19.1)
@@ -2,5 +2,5 @@
2
2
 
3
3
  # version const for gem
4
4
  module SingularityDsl
5
- VERSION = '1.5.7'
5
+ VERSION = '1.5.8'
6
6
  end
@@ -24,7 +24,7 @@ describe 'Application' do
24
24
  # don't want the entire thing to exit...
25
25
  allow(app).to receive(:post_task_runner_actions)
26
26
  allow(app.runner).to receive(:execute)
27
- .and_raise(SingularityDsl::Errors::ResourceFail)
27
+ .and_raise(SingularityDsl::Errors::ResourceFail)
28
28
  expect(app).to receive(:log_resource_fail)
29
29
  app.run
30
30
  end
@@ -33,7 +33,7 @@ describe 'Application' do
33
33
  allow(app).to receive(:post_task_runner_actions)
34
34
  allow(app).to receive(:log_resource_fail)
35
35
  allow(app.runner).to receive(:execute)
36
- .and_raise(SingularityDsl::Errors::ResourceFail)
36
+ .and_raise(SingularityDsl::Errors::ResourceFail)
37
37
  expect(app).to receive(:post_task_runner_actions)
38
38
  app.run
39
39
  end
@@ -41,7 +41,7 @@ describe 'Application' do
41
41
  it 'logs resource errors' do
42
42
  allow(app).to receive(:post_task_runner_actions)
43
43
  allow(app.runner).to receive(:execute)
44
- .and_raise(SingularityDsl::Errors::ResourceError)
44
+ .and_raise(SingularityDsl::Errors::ResourceError)
45
45
  expect(app).to receive(:log_resource_error)
46
46
  app.run
47
47
  end
@@ -50,7 +50,7 @@ describe 'Application' do
50
50
  allow(app).to receive(:post_task_runner_actions)
51
51
  allow(app).to receive(:log_resource_error)
52
52
  allow(app.runner).to receive(:execute)
53
- .and_raise(SingularityDsl::Errors::ResourceError)
53
+ .and_raise(SingularityDsl::Errors::ResourceError)
54
54
  expect(app).to receive(:post_task_runner_actions)
55
55
  app.run
56
56
  end
@@ -26,14 +26,14 @@ describe 'DslChangeset' do
26
26
  context '#changed_files' do
27
27
  before :each do
28
28
  allow(::File).to receive(:exist?)
29
- .with('something.css')
30
- .and_return(true)
29
+ .with('something.css')
30
+ .and_return(true)
31
31
  allow(::File).to receive(:exist?)
32
- .with('something.js')
33
- .and_return(true)
32
+ .with('something.js')
33
+ .and_return(true)
34
34
  allow(::File).to receive(:exist?)
35
- .with('something.php')
36
- .and_return(false)
35
+ .with('something.php')
36
+ .and_return(false)
37
37
  end
38
38
 
39
39
  it 'correct eval for single file type' do
@@ -5,8 +5,8 @@ require 'singularity_dsl/git_helper'
5
5
  describe 'GitHelper' do
6
6
  before :each do
7
7
  allow_any_instance_of(SingularityDsl::GitHelper)
8
- .to receive(:git_installed)
9
- .and_return true
8
+ .to receive(:git_installed)
9
+ .and_return true
10
10
  end
11
11
  let(:git) { SingularityDsl::GitHelper.new }
12
12
 
@@ -73,9 +73,9 @@ describe 'GitHelper' do
73
73
  it 'generates & calls correct cmd' do
74
74
  allow(git).to receive(:remotes).and_return([])
75
75
  allow(git).to receive(:exec)
76
- .with('git fetch --all')
76
+ .with('git fetch --all')
77
77
  allow(git).to receive(:exec)
78
- .with('git merge bar/foo').and_return(0)
78
+ .with('git merge bar/foo').and_return(0)
79
79
  git.merge_remote 'foo', 'bar'
80
80
  end
81
81
  end
@@ -84,18 +84,18 @@ describe 'GitHelper' do
84
84
  it 'generates & calls correct cmd w/ single flag' do
85
85
  allow(git).to receive(:remotes).and_return([])
86
86
  allow(git).to receive(:exec)
87
- .with('git fetch --all')
87
+ .with('git fetch --all')
88
88
  allow(git).to receive(:exec)
89
- .with('git diff bar/foo --flag').and_return(0)
89
+ .with('git diff bar/foo --flag').and_return(0)
90
90
  git.diff_remote 'foo', 'bar', '--flag'
91
91
  end
92
92
 
93
93
  it 'generates & calls correct cmd w/ multiple flags' do
94
94
  allow(git).to receive(:remotes).and_return([])
95
95
  allow(git).to receive(:exec)
96
- .with('git fetch --all')
96
+ .with('git fetch --all')
97
97
  allow(git).to receive(:exec)
98
- .with('git diff bar/foo --flag --other').and_return(0)
98
+ .with('git diff bar/foo --flag --other').and_return(0)
99
99
  git.diff_remote 'foo', 'bar', %w(--flag, --other)
100
100
  end
101
101
  end
@@ -15,7 +15,7 @@ describe 'ShellTask' do
15
15
 
16
16
  it 'has an echo notification as a default alt cmd' do
17
17
  expect(sh_task.alternative)
18
- .to eql 'echo "no alternative shell cmd defined"'
18
+ .to eql 'echo "no alternative shell cmd defined"'
19
19
  end
20
20
  end
21
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: singularity_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - chr0n1x
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-17 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json