pulsar 0.3.5 → 1.0.0.pre
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/.rspec +1 -0
- data/.rubocop.yml +150 -0
- data/.ruby-version +1 -1
- data/LICENSE.txt +1 -1
- data/README.md +4 -265
- data/bin/pulsar +1 -1
- data/circle.yml +22 -0
- data/lib/pulsar.rb +28 -7
- data/lib/pulsar/cli.rb +79 -0
- data/lib/pulsar/constants.rb +5 -0
- data/lib/pulsar/generators/initial_repo/Gemfile +3 -0
- data/lib/pulsar/generators/{init_repo → initial_repo}/README.md +1 -1
- data/lib/pulsar/generators/initial_repo/apps/Capfile +8 -0
- data/lib/pulsar/generators/initial_repo/apps/deploy.rb +35 -0
- data/lib/pulsar/generators/initial_repo/apps/your_app/Capfile +18 -0
- data/lib/pulsar/generators/initial_repo/apps/your_app/deploy.rb +4 -0
- data/lib/pulsar/generators/initial_repo/apps/your_app/production.rb +3 -0
- data/lib/pulsar/generators/initial_repo/apps/your_app/staging.rb +3 -0
- data/lib/pulsar/generators/initial_repo/recipes/generic/rake.rake +12 -0
- data/lib/pulsar/generators/{init_repo/apps/your_app/recipes/production → initial_repo/recipes/rails}/.gitkeep +0 -0
- data/lib/pulsar/interactors/add_applications.rb +48 -0
- data/lib/pulsar/interactors/cleanup.rb +9 -0
- data/lib/pulsar/interactors/clone_repository.rb +50 -0
- data/lib/pulsar/interactors/copy_environment_file.rb +30 -0
- data/lib/pulsar/interactors/copy_initial_repository.rb +22 -0
- data/lib/pulsar/interactors/create_capfile.rb +32 -0
- data/lib/pulsar/interactors/create_deploy_file.rb +32 -0
- data/lib/pulsar/interactors/create_run_dirs.rb +21 -0
- data/lib/pulsar/interactors/identify_repository_location.rb +23 -0
- data/lib/pulsar/interactors/identify_repository_type.rb +34 -0
- data/lib/pulsar/interactors/run_bundle_install.rb +28 -0
- data/lib/pulsar/interactors/run_capistrano.rb +30 -0
- data/lib/pulsar/organizers/deploy.rb +16 -0
- data/lib/pulsar/organizers/install.rb +7 -0
- data/lib/pulsar/organizers/list.rb +12 -0
- data/lib/pulsar/version.rb +1 -1
- data/pulsar.gemspec +13 -11
- data/spec/features/deploy_spec.rb +162 -0
- data/spec/features/install_spec.rb +66 -0
- data/spec/features/list_spec.rb +140 -0
- data/spec/spec_helper.rb +26 -14
- data/{lib/pulsar/generators/init_repo/apps/your_app/recipes/staging → spec/support/dummies}/.gitkeep +0 -0
- data/spec/support/dummies/conf/dir/Gemfile +3 -0
- data/spec/support/dummies/conf/dir/apps/Capfile +9 -0
- data/spec/support/dummies/conf/dir/apps/blog/Capfile +1 -0
- data/spec/support/dummies/conf/dir/apps/blog/deploy.rb +4 -0
- data/spec/support/dummies/conf/dir/apps/blog/production.rb +4 -0
- data/spec/support/dummies/conf/dir/apps/blog/staging.rb +4 -0
- data/spec/support/dummies/conf/dir/apps/deploy.rb +1 -0
- data/{lib/pulsar/generators/init_repo/recipes/rails/.gitkeep → spec/support/dummies/conf/dir/apps/ecommerce/staging.rb} +0 -0
- data/spec/support/dummies/conf/dir/recipes/.gitkeep +0 -0
- data/spec/support/dummies/conf/dotenv +1 -0
- data/spec/support/dummies/conf/empty/apps/.gitkeep +0 -0
- data/spec/support/dummies/conf/empty/recipes/.gitkeep +0 -0
- data/spec/support/dummies/conf/wrong_bundle/Gemfile +3 -0
- data/spec/support/dummies/conf/wrong_bundle/apps/Capfile +9 -0
- data/spec/support/dummies/conf/wrong_bundle/apps/blog/Capfile +1 -0
- data/spec/support/dummies/conf/wrong_bundle/apps/blog/deploy.rb +4 -0
- data/spec/support/dummies/conf/wrong_bundle/apps/blog/production.rb +4 -0
- data/spec/support/dummies/conf/wrong_bundle/apps/deploy.rb +1 -0
- data/spec/support/dummies/conf/wrong_bundle/recipes/.gitkeep +0 -0
- data/spec/support/dummies/conf/wrong_cap/Gemfile +3 -0
- data/spec/support/dummies/conf/wrong_cap/apps/Capfile +0 -0
- data/spec/support/dummies/conf/wrong_cap/apps/blog/deploy.rb +4 -0
- data/spec/support/dummies/conf/wrong_cap/apps/blog/production.rb +4 -0
- data/spec/support/dummies/conf/wrong_cap/apps/deploy.rb +1 -0
- data/spec/support/dummies/conf/wrong_cap/recipes/.gitkeep +0 -0
- data/spec/units/cli/deploy_spec.rb +116 -0
- data/spec/units/cli/install_spec.rb +44 -0
- data/spec/units/cli/list_spec.rb +107 -0
- data/spec/units/constants_spec.rb +21 -0
- data/spec/units/interactors/add_applications_spec.rb +46 -0
- data/spec/units/interactors/cleanup_spec.rb +21 -0
- data/spec/units/interactors/clone_initial_repository_spec.rb +41 -0
- data/spec/units/interactors/clone_repository_spec.rb +122 -0
- data/spec/units/interactors/copy_environment_file_spec.rb +80 -0
- data/spec/units/interactors/create_capfile_spec.rb +77 -0
- data/spec/units/interactors/create_deploy_file_spec.rb +70 -0
- data/spec/units/interactors/create_run_dirs_spec.rb +47 -0
- data/spec/units/interactors/identify_repository_location_spec.rb +49 -0
- data/spec/units/interactors/identify_repository_type_spec.rb +85 -0
- data/spec/units/interactors/run_bundle_install_spec.rb +60 -0
- data/spec/units/interactors/run_capistrano_spec.rb +92 -0
- data/spec/units/organizers/deploy_spec.rb +28 -0
- data/spec/units/organizers/install_spec.rb +13 -0
- data/spec/units/organizers/list_spec.rb +24 -0
- metadata +179 -106
- data/.ruby-gemset +0 -1
- data/.travis.yml +0 -17
- data/bin/pulsar-utils +0 -5
- data/lib/pulsar/commands/all.rb +0 -6
- data/lib/pulsar/commands/init.rb +0 -23
- data/lib/pulsar/commands/list.rb +0 -19
- data/lib/pulsar/commands/main.rb +0 -64
- data/lib/pulsar/commands/utils.rb +0 -14
- data/lib/pulsar/generators/init_repo/Gemfile +0 -7
- data/lib/pulsar/generators/init_repo/apps/base.rb +0 -41
- data/lib/pulsar/generators/init_repo/apps/your_app/defaults.rb +0 -9
- data/lib/pulsar/generators/init_repo/apps/your_app/production.rb +0 -12
- data/lib/pulsar/generators/init_repo/apps/your_app/recipes/custom_recipe.rb +0 -14
- data/lib/pulsar/generators/init_repo/apps/your_app/staging.rb +0 -12
- data/lib/pulsar/generators/init_repo/recipes/generic/cleanup.rb +0 -50
- data/lib/pulsar/generators/init_repo/recipes/generic/utils.rb +0 -9
- data/lib/pulsar/helpers/all.rb +0 -8
- data/lib/pulsar/helpers/capistrano.rb +0 -47
- data/lib/pulsar/helpers/clamp.rb +0 -223
- data/lib/pulsar/helpers/path.rb +0 -71
- data/lib/pulsar/helpers/shell.rb +0 -31
- data/lib/pulsar/options/all.rb +0 -6
- data/lib/pulsar/options/conf_repo.rb +0 -41
- data/lib/pulsar/options/shared.rb +0 -15
- data/spec/pulsar/commands/init_spec.rb +0 -10
- data/spec/pulsar/commands/list_spec.rb +0 -127
- data/spec/pulsar/commands/main_spec.rb +0 -360
- data/spec/pulsar/commands/utils_spec.rb +0 -33
- data/spec/pulsar/helpers/capistrano_spec.rb +0 -70
- data/spec/pulsar/helpers/clamp_spec.rb +0 -105
- data/spec/pulsar/helpers/shell_spec.rb +0 -11
- data/spec/support/dummies/dummy_app/config.ru +0 -3
- data/spec/support/dummies/dummy_conf/Gemfile +0 -4
- data/spec/support/dummies/dummy_conf/apps/base.rb +0 -46
- data/spec/support/dummies/dummy_conf/apps/dummy_app/custom_stage.rb +0 -5
- data/spec/support/dummies/dummy_conf/apps/dummy_app/defaults.rb +0 -7
- data/spec/support/dummies/dummy_conf/apps/dummy_app/production.rb +0 -5
- data/spec/support/dummies/dummy_conf/apps/dummy_app/recipes/custom_recipe.rb +0 -1
- data/spec/support/dummies/dummy_conf/apps/dummy_app/recipes/production/custom_recipe.rb +0 -1
- data/spec/support/dummies/dummy_conf/apps/dummy_app/recipes/staging/custom_recipe.rb +0 -1
- data/spec/support/dummies/dummy_conf/apps/dummy_app/staging.rb +0 -5
- data/spec/support/dummies/dummy_conf/apps/other_dummy_app/custom_stage.rb +0 -5
- data/spec/support/dummies/dummy_conf/apps/other_dummy_app/defaults.rb +0 -7
- data/spec/support/dummies/dummy_conf/apps/other_dummy_app/production.rb +0 -5
- data/spec/support/dummies/dummy_conf/apps/other_dummy_app/staging.rb +0 -5
- data/spec/support/dummies/dummy_conf/recipes/generic/recipe.rb +0 -3
- data/spec/support/modules/helpers.rb +0 -85
- data/spec/support/modules/output_capture.rb +0 -21
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
RSpec.describe Pulsar::Deploy do
|
4
|
+
subject { described_class.new }
|
5
|
+
|
6
|
+
it { is_expected.to be_kind_of(Interactor::Organizer) }
|
7
|
+
|
8
|
+
context 'organizes interactors' do
|
9
|
+
subject { described_class.organized }
|
10
|
+
|
11
|
+
let(:interactors) do
|
12
|
+
[
|
13
|
+
Pulsar::IdentifyRepositoryLocation,
|
14
|
+
Pulsar::IdentifyRepositoryType,
|
15
|
+
Pulsar::CreateRunDirs,
|
16
|
+
Pulsar::CloneRepository,
|
17
|
+
Pulsar::CreateCapfile,
|
18
|
+
Pulsar::CreateDeployFile,
|
19
|
+
Pulsar::CopyEnvironmentFile,
|
20
|
+
Pulsar::RunBundleInstall,
|
21
|
+
Pulsar::RunCapistrano,
|
22
|
+
Pulsar::Cleanup
|
23
|
+
]
|
24
|
+
end
|
25
|
+
|
26
|
+
it { is_expected.to eql interactors }
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
RSpec.describe Pulsar::Install do
|
4
|
+
subject { described_class.new }
|
5
|
+
|
6
|
+
it { is_expected.to be_kind_of(Interactor::Organizer) }
|
7
|
+
|
8
|
+
context 'organizes interactors' do
|
9
|
+
subject { described_class.organized }
|
10
|
+
|
11
|
+
it { is_expected.to eql [Pulsar::CopyInitialRepository] }
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
RSpec.describe Pulsar::List do
|
4
|
+
subject { described_class.new }
|
5
|
+
|
6
|
+
it { is_expected.to be_kind_of(Interactor::Organizer) }
|
7
|
+
|
8
|
+
context 'organizes interactors' do
|
9
|
+
subject { described_class.organized }
|
10
|
+
|
11
|
+
let(:interactors) do
|
12
|
+
[
|
13
|
+
Pulsar::IdentifyRepositoryLocation,
|
14
|
+
Pulsar::IdentifyRepositoryType,
|
15
|
+
Pulsar::CreateRunDirs,
|
16
|
+
Pulsar::CloneRepository,
|
17
|
+
Pulsar::AddApplications,
|
18
|
+
Pulsar::Cleanup
|
19
|
+
]
|
20
|
+
end
|
21
|
+
|
22
|
+
it { is_expected.to eql interactors }
|
23
|
+
end
|
24
|
+
end
|
metadata
CHANGED
@@ -1,120 +1,146 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulsar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Alberto Vena
|
8
7
|
- Matteo Latini
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-03-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
14
|
+
name: bundler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
17
|
- - "~>"
|
19
18
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
19
|
+
version: '1.8'
|
21
20
|
type: :runtime
|
22
21
|
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
24
|
- - "~>"
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
26
|
+
version: '1.8'
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
28
|
+
name: thor
|
30
29
|
requirement: !ruby/object:Gem::Requirement
|
31
30
|
requirements:
|
32
31
|
- - "~>"
|
33
32
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
33
|
+
version: '0.19'
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
36
|
version_requirements: !ruby/object:Gem::Requirement
|
38
37
|
requirements:
|
39
38
|
- - "~>"
|
40
39
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
40
|
+
version: '0.19'
|
42
41
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
42
|
+
name: interactor
|
44
43
|
requirement: !ruby/object:Gem::Requirement
|
45
44
|
requirements:
|
46
45
|
- - "~>"
|
47
46
|
- !ruby/object:Gem::Version
|
48
|
-
version: '1
|
47
|
+
version: '3.1'
|
49
48
|
type: :runtime
|
50
49
|
prerelease: false
|
51
50
|
version_requirements: !ruby/object:Gem::Requirement
|
52
51
|
requirements:
|
53
52
|
- - "~>"
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: '1
|
54
|
+
version: '3.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.0'
|
56
69
|
- !ruby/object:Gem::Dependency
|
57
70
|
name: rake
|
58
71
|
requirement: !ruby/object:Gem::Requirement
|
59
72
|
requirements:
|
60
|
-
- -
|
73
|
+
- - "~>"
|
61
74
|
- !ruby/object:Gem::Version
|
62
|
-
version: 10.
|
75
|
+
version: '10.4'
|
63
76
|
type: :development
|
64
77
|
prerelease: false
|
65
78
|
version_requirements: !ruby/object:Gem::Requirement
|
66
79
|
requirements:
|
67
|
-
- -
|
80
|
+
- - "~>"
|
68
81
|
- !ruby/object:Gem::Version
|
69
|
-
version: 10.
|
82
|
+
version: '10.4'
|
70
83
|
- !ruby/object:Gem::Dependency
|
71
84
|
name: rspec
|
72
85
|
requirement: !ruby/object:Gem::Requirement
|
73
86
|
requirements:
|
74
|
-
- -
|
87
|
+
- - "~>"
|
75
88
|
- !ruby/object:Gem::Version
|
76
|
-
version: 3.
|
89
|
+
version: '3.2'
|
77
90
|
type: :development
|
78
91
|
prerelease: false
|
79
92
|
version_requirements: !ruby/object:Gem::Requirement
|
80
93
|
requirements:
|
81
|
-
- -
|
94
|
+
- - "~>"
|
82
95
|
- !ruby/object:Gem::Version
|
83
|
-
version: 3.
|
96
|
+
version: '3.2'
|
84
97
|
- !ruby/object:Gem::Dependency
|
85
98
|
name: codeclimate-test-reporter
|
86
99
|
requirement: !ruby/object:Gem::Requirement
|
87
100
|
requirements:
|
88
101
|
- - "~>"
|
89
102
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.4
|
103
|
+
version: '0.4'
|
91
104
|
type: :development
|
92
105
|
prerelease: false
|
93
106
|
version_requirements: !ruby/object:Gem::Requirement
|
94
107
|
requirements:
|
95
108
|
- - "~>"
|
96
109
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.4
|
110
|
+
version: '0.4'
|
98
111
|
- !ruby/object:Gem::Dependency
|
99
112
|
name: rubocop
|
100
113
|
requirement: !ruby/object:Gem::Requirement
|
101
114
|
requirements:
|
102
115
|
- - "~>"
|
103
116
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
117
|
+
version: '0.47'
|
105
118
|
type: :development
|
106
119
|
prerelease: false
|
107
120
|
version_requirements: !ruby/object:Gem::Requirement
|
108
121
|
requirements:
|
109
122
|
- - "~>"
|
110
123
|
- !ruby/object:Gem::Version
|
111
|
-
version: 0.
|
124
|
+
version: '0.47'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: timecop
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0.8'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0.8'
|
112
139
|
description: Manage your Capistrano deployments with ease
|
113
140
|
email:
|
114
|
-
-
|
141
|
+
- matteolatini@nebulab.it
|
115
142
|
executables:
|
116
143
|
- pulsar
|
117
|
-
- pulsar-utils
|
118
144
|
extensions: []
|
119
145
|
extra_rdoc_files: []
|
120
146
|
files:
|
@@ -122,69 +148,93 @@ files:
|
|
122
148
|
- ".hound.yml"
|
123
149
|
- ".rspec"
|
124
150
|
- ".rubocop.yml"
|
125
|
-
- ".ruby-gemset"
|
126
151
|
- ".ruby-version"
|
127
|
-
- ".travis.yml"
|
128
152
|
- Gemfile
|
129
153
|
- LICENSE.txt
|
130
154
|
- README.md
|
131
155
|
- Rakefile
|
132
156
|
- bin/pulsar
|
133
|
-
-
|
157
|
+
- circle.yml
|
134
158
|
- lib/pulsar.rb
|
135
|
-
- lib/pulsar/
|
136
|
-
- lib/pulsar/
|
137
|
-
- lib/pulsar/
|
138
|
-
- lib/pulsar/
|
139
|
-
- lib/pulsar/
|
140
|
-
- lib/pulsar/generators/
|
141
|
-
- lib/pulsar/generators/
|
142
|
-
- lib/pulsar/generators/
|
143
|
-
- lib/pulsar/generators/
|
144
|
-
- lib/pulsar/generators/
|
145
|
-
- lib/pulsar/generators/
|
146
|
-
- lib/pulsar/generators/
|
147
|
-
- lib/pulsar/
|
148
|
-
- lib/pulsar/
|
149
|
-
- lib/pulsar/
|
150
|
-
- lib/pulsar/
|
151
|
-
- lib/pulsar/
|
152
|
-
- lib/pulsar/
|
153
|
-
- lib/pulsar/
|
154
|
-
- lib/pulsar/
|
155
|
-
- lib/pulsar/
|
156
|
-
- lib/pulsar/
|
157
|
-
- lib/pulsar/
|
158
|
-
- lib/pulsar/
|
159
|
-
- lib/pulsar/
|
159
|
+
- lib/pulsar/cli.rb
|
160
|
+
- lib/pulsar/constants.rb
|
161
|
+
- lib/pulsar/generators/initial_repo/Gemfile
|
162
|
+
- lib/pulsar/generators/initial_repo/README.md
|
163
|
+
- lib/pulsar/generators/initial_repo/apps/Capfile
|
164
|
+
- lib/pulsar/generators/initial_repo/apps/deploy.rb
|
165
|
+
- lib/pulsar/generators/initial_repo/apps/your_app/Capfile
|
166
|
+
- lib/pulsar/generators/initial_repo/apps/your_app/deploy.rb
|
167
|
+
- lib/pulsar/generators/initial_repo/apps/your_app/production.rb
|
168
|
+
- lib/pulsar/generators/initial_repo/apps/your_app/staging.rb
|
169
|
+
- lib/pulsar/generators/initial_repo/recipes/generic/rake.rake
|
170
|
+
- lib/pulsar/generators/initial_repo/recipes/rails/.gitkeep
|
171
|
+
- lib/pulsar/interactors/add_applications.rb
|
172
|
+
- lib/pulsar/interactors/cleanup.rb
|
173
|
+
- lib/pulsar/interactors/clone_repository.rb
|
174
|
+
- lib/pulsar/interactors/copy_environment_file.rb
|
175
|
+
- lib/pulsar/interactors/copy_initial_repository.rb
|
176
|
+
- lib/pulsar/interactors/create_capfile.rb
|
177
|
+
- lib/pulsar/interactors/create_deploy_file.rb
|
178
|
+
- lib/pulsar/interactors/create_run_dirs.rb
|
179
|
+
- lib/pulsar/interactors/identify_repository_location.rb
|
180
|
+
- lib/pulsar/interactors/identify_repository_type.rb
|
181
|
+
- lib/pulsar/interactors/run_bundle_install.rb
|
182
|
+
- lib/pulsar/interactors/run_capistrano.rb
|
183
|
+
- lib/pulsar/organizers/deploy.rb
|
184
|
+
- lib/pulsar/organizers/install.rb
|
185
|
+
- lib/pulsar/organizers/list.rb
|
160
186
|
- lib/pulsar/version.rb
|
161
187
|
- pulsar.gemspec
|
162
|
-
- spec/
|
163
|
-
- spec/
|
164
|
-
- spec/
|
165
|
-
- spec/pulsar/commands/utils_spec.rb
|
166
|
-
- spec/pulsar/helpers/capistrano_spec.rb
|
167
|
-
- spec/pulsar/helpers/clamp_spec.rb
|
168
|
-
- spec/pulsar/helpers/shell_spec.rb
|
188
|
+
- spec/features/deploy_spec.rb
|
189
|
+
- spec/features/install_spec.rb
|
190
|
+
- spec/features/list_spec.rb
|
169
191
|
- spec/spec_helper.rb
|
170
|
-
- spec/support/dummies
|
171
|
-
- spec/support/dummies/
|
172
|
-
- spec/support/dummies/
|
173
|
-
- spec/support/dummies/
|
174
|
-
- spec/support/dummies/
|
175
|
-
- spec/support/dummies/
|
176
|
-
- spec/support/dummies/
|
177
|
-
- spec/support/dummies/
|
178
|
-
- spec/support/dummies/
|
179
|
-
- spec/support/dummies/
|
180
|
-
- spec/support/dummies/
|
181
|
-
- spec/support/dummies/
|
182
|
-
- spec/support/dummies/
|
183
|
-
- spec/support/dummies/
|
184
|
-
- spec/support/dummies/
|
185
|
-
- spec/support/
|
186
|
-
- spec/support/
|
192
|
+
- spec/support/dummies/.gitkeep
|
193
|
+
- spec/support/dummies/conf/dir/Gemfile
|
194
|
+
- spec/support/dummies/conf/dir/apps/Capfile
|
195
|
+
- spec/support/dummies/conf/dir/apps/blog/Capfile
|
196
|
+
- spec/support/dummies/conf/dir/apps/blog/deploy.rb
|
197
|
+
- spec/support/dummies/conf/dir/apps/blog/production.rb
|
198
|
+
- spec/support/dummies/conf/dir/apps/blog/staging.rb
|
199
|
+
- spec/support/dummies/conf/dir/apps/deploy.rb
|
200
|
+
- spec/support/dummies/conf/dir/apps/ecommerce/staging.rb
|
201
|
+
- spec/support/dummies/conf/dir/recipes/.gitkeep
|
202
|
+
- spec/support/dummies/conf/dotenv
|
203
|
+
- spec/support/dummies/conf/empty/apps/.gitkeep
|
204
|
+
- spec/support/dummies/conf/empty/recipes/.gitkeep
|
205
|
+
- spec/support/dummies/conf/wrong_bundle/Gemfile
|
206
|
+
- spec/support/dummies/conf/wrong_bundle/apps/Capfile
|
207
|
+
- spec/support/dummies/conf/wrong_bundle/apps/blog/Capfile
|
208
|
+
- spec/support/dummies/conf/wrong_bundle/apps/blog/deploy.rb
|
209
|
+
- spec/support/dummies/conf/wrong_bundle/apps/blog/production.rb
|
210
|
+
- spec/support/dummies/conf/wrong_bundle/apps/deploy.rb
|
211
|
+
- spec/support/dummies/conf/wrong_bundle/recipes/.gitkeep
|
212
|
+
- spec/support/dummies/conf/wrong_cap/Gemfile
|
213
|
+
- spec/support/dummies/conf/wrong_cap/apps/Capfile
|
214
|
+
- spec/support/dummies/conf/wrong_cap/apps/blog/deploy.rb
|
215
|
+
- spec/support/dummies/conf/wrong_cap/apps/blog/production.rb
|
216
|
+
- spec/support/dummies/conf/wrong_cap/apps/deploy.rb
|
217
|
+
- spec/support/dummies/conf/wrong_cap/recipes/.gitkeep
|
187
218
|
- spec/support/tmp/.gitkeep
|
219
|
+
- spec/units/cli/deploy_spec.rb
|
220
|
+
- spec/units/cli/install_spec.rb
|
221
|
+
- spec/units/cli/list_spec.rb
|
222
|
+
- spec/units/constants_spec.rb
|
223
|
+
- spec/units/interactors/add_applications_spec.rb
|
224
|
+
- spec/units/interactors/cleanup_spec.rb
|
225
|
+
- spec/units/interactors/clone_initial_repository_spec.rb
|
226
|
+
- spec/units/interactors/clone_repository_spec.rb
|
227
|
+
- spec/units/interactors/copy_environment_file_spec.rb
|
228
|
+
- spec/units/interactors/create_capfile_spec.rb
|
229
|
+
- spec/units/interactors/create_deploy_file_spec.rb
|
230
|
+
- spec/units/interactors/create_run_dirs_spec.rb
|
231
|
+
- spec/units/interactors/identify_repository_location_spec.rb
|
232
|
+
- spec/units/interactors/identify_repository_type_spec.rb
|
233
|
+
- spec/units/interactors/run_bundle_install_spec.rb
|
234
|
+
- spec/units/interactors/run_capistrano_spec.rb
|
235
|
+
- spec/units/organizers/deploy_spec.rb
|
236
|
+
- spec/units/organizers/install_spec.rb
|
237
|
+
- spec/units/organizers/list_spec.rb
|
188
238
|
homepage: http://pulsar.nebulab.it
|
189
239
|
licenses: []
|
190
240
|
metadata: {}
|
@@ -199,42 +249,65 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
249
|
version: '0'
|
200
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
251
|
requirements:
|
202
|
-
- - "
|
252
|
+
- - ">"
|
203
253
|
- !ruby/object:Gem::Version
|
204
|
-
version:
|
254
|
+
version: 1.3.1
|
205
255
|
requirements: []
|
206
256
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.
|
257
|
+
rubygems_version: 2.6.8
|
208
258
|
signing_key:
|
209
259
|
specification_version: 4
|
210
260
|
summary: Pulsar helps with Capistrano configuration management. It uses a repository
|
211
261
|
to store all your precious configurations and recipes to build Capistrano deploys
|
212
262
|
on it.
|
213
263
|
test_files:
|
214
|
-
- spec/
|
215
|
-
- spec/
|
216
|
-
- spec/
|
217
|
-
- spec/pulsar/commands/utils_spec.rb
|
218
|
-
- spec/pulsar/helpers/capistrano_spec.rb
|
219
|
-
- spec/pulsar/helpers/clamp_spec.rb
|
220
|
-
- spec/pulsar/helpers/shell_spec.rb
|
264
|
+
- spec/features/deploy_spec.rb
|
265
|
+
- spec/features/install_spec.rb
|
266
|
+
- spec/features/list_spec.rb
|
221
267
|
- spec/spec_helper.rb
|
222
|
-
- spec/support/dummies
|
223
|
-
- spec/support/dummies/
|
224
|
-
- spec/support/dummies/
|
225
|
-
- spec/support/dummies/
|
226
|
-
- spec/support/dummies/
|
227
|
-
- spec/support/dummies/
|
228
|
-
- spec/support/dummies/
|
229
|
-
- spec/support/dummies/
|
230
|
-
- spec/support/dummies/
|
231
|
-
- spec/support/dummies/
|
232
|
-
- spec/support/dummies/
|
233
|
-
- spec/support/dummies/
|
234
|
-
- spec/support/dummies/
|
235
|
-
- spec/support/dummies/
|
236
|
-
- spec/support/dummies/
|
237
|
-
- spec/support/
|
238
|
-
- spec/support/
|
268
|
+
- spec/support/dummies/.gitkeep
|
269
|
+
- spec/support/dummies/conf/dir/Gemfile
|
270
|
+
- spec/support/dummies/conf/dir/apps/Capfile
|
271
|
+
- spec/support/dummies/conf/dir/apps/blog/Capfile
|
272
|
+
- spec/support/dummies/conf/dir/apps/blog/deploy.rb
|
273
|
+
- spec/support/dummies/conf/dir/apps/blog/production.rb
|
274
|
+
- spec/support/dummies/conf/dir/apps/blog/staging.rb
|
275
|
+
- spec/support/dummies/conf/dir/apps/deploy.rb
|
276
|
+
- spec/support/dummies/conf/dir/apps/ecommerce/staging.rb
|
277
|
+
- spec/support/dummies/conf/dir/recipes/.gitkeep
|
278
|
+
- spec/support/dummies/conf/dotenv
|
279
|
+
- spec/support/dummies/conf/empty/apps/.gitkeep
|
280
|
+
- spec/support/dummies/conf/empty/recipes/.gitkeep
|
281
|
+
- spec/support/dummies/conf/wrong_bundle/Gemfile
|
282
|
+
- spec/support/dummies/conf/wrong_bundle/apps/Capfile
|
283
|
+
- spec/support/dummies/conf/wrong_bundle/apps/blog/Capfile
|
284
|
+
- spec/support/dummies/conf/wrong_bundle/apps/blog/deploy.rb
|
285
|
+
- spec/support/dummies/conf/wrong_bundle/apps/blog/production.rb
|
286
|
+
- spec/support/dummies/conf/wrong_bundle/apps/deploy.rb
|
287
|
+
- spec/support/dummies/conf/wrong_bundle/recipes/.gitkeep
|
288
|
+
- spec/support/dummies/conf/wrong_cap/Gemfile
|
289
|
+
- spec/support/dummies/conf/wrong_cap/apps/Capfile
|
290
|
+
- spec/support/dummies/conf/wrong_cap/apps/blog/deploy.rb
|
291
|
+
- spec/support/dummies/conf/wrong_cap/apps/blog/production.rb
|
292
|
+
- spec/support/dummies/conf/wrong_cap/apps/deploy.rb
|
293
|
+
- spec/support/dummies/conf/wrong_cap/recipes/.gitkeep
|
239
294
|
- spec/support/tmp/.gitkeep
|
240
|
-
|
295
|
+
- spec/units/cli/deploy_spec.rb
|
296
|
+
- spec/units/cli/install_spec.rb
|
297
|
+
- spec/units/cli/list_spec.rb
|
298
|
+
- spec/units/constants_spec.rb
|
299
|
+
- spec/units/interactors/add_applications_spec.rb
|
300
|
+
- spec/units/interactors/cleanup_spec.rb
|
301
|
+
- spec/units/interactors/clone_initial_repository_spec.rb
|
302
|
+
- spec/units/interactors/clone_repository_spec.rb
|
303
|
+
- spec/units/interactors/copy_environment_file_spec.rb
|
304
|
+
- spec/units/interactors/create_capfile_spec.rb
|
305
|
+
- spec/units/interactors/create_deploy_file_spec.rb
|
306
|
+
- spec/units/interactors/create_run_dirs_spec.rb
|
307
|
+
- spec/units/interactors/identify_repository_location_spec.rb
|
308
|
+
- spec/units/interactors/identify_repository_type_spec.rb
|
309
|
+
- spec/units/interactors/run_bundle_install_spec.rb
|
310
|
+
- spec/units/interactors/run_capistrano_spec.rb
|
311
|
+
- spec/units/organizers/deploy_spec.rb
|
312
|
+
- spec/units/organizers/install_spec.rb
|
313
|
+
- spec/units/organizers/list_spec.rb
|