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.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rspec +1 -0
  4. data/.rubocop.yml +150 -0
  5. data/.ruby-version +1 -1
  6. data/LICENSE.txt +1 -1
  7. data/README.md +4 -265
  8. data/bin/pulsar +1 -1
  9. data/circle.yml +22 -0
  10. data/lib/pulsar.rb +28 -7
  11. data/lib/pulsar/cli.rb +79 -0
  12. data/lib/pulsar/constants.rb +5 -0
  13. data/lib/pulsar/generators/initial_repo/Gemfile +3 -0
  14. data/lib/pulsar/generators/{init_repo → initial_repo}/README.md +1 -1
  15. data/lib/pulsar/generators/initial_repo/apps/Capfile +8 -0
  16. data/lib/pulsar/generators/initial_repo/apps/deploy.rb +35 -0
  17. data/lib/pulsar/generators/initial_repo/apps/your_app/Capfile +18 -0
  18. data/lib/pulsar/generators/initial_repo/apps/your_app/deploy.rb +4 -0
  19. data/lib/pulsar/generators/initial_repo/apps/your_app/production.rb +3 -0
  20. data/lib/pulsar/generators/initial_repo/apps/your_app/staging.rb +3 -0
  21. data/lib/pulsar/generators/initial_repo/recipes/generic/rake.rake +12 -0
  22. data/lib/pulsar/generators/{init_repo/apps/your_app/recipes/production → initial_repo/recipes/rails}/.gitkeep +0 -0
  23. data/lib/pulsar/interactors/add_applications.rb +48 -0
  24. data/lib/pulsar/interactors/cleanup.rb +9 -0
  25. data/lib/pulsar/interactors/clone_repository.rb +50 -0
  26. data/lib/pulsar/interactors/copy_environment_file.rb +30 -0
  27. data/lib/pulsar/interactors/copy_initial_repository.rb +22 -0
  28. data/lib/pulsar/interactors/create_capfile.rb +32 -0
  29. data/lib/pulsar/interactors/create_deploy_file.rb +32 -0
  30. data/lib/pulsar/interactors/create_run_dirs.rb +21 -0
  31. data/lib/pulsar/interactors/identify_repository_location.rb +23 -0
  32. data/lib/pulsar/interactors/identify_repository_type.rb +34 -0
  33. data/lib/pulsar/interactors/run_bundle_install.rb +28 -0
  34. data/lib/pulsar/interactors/run_capistrano.rb +30 -0
  35. data/lib/pulsar/organizers/deploy.rb +16 -0
  36. data/lib/pulsar/organizers/install.rb +7 -0
  37. data/lib/pulsar/organizers/list.rb +12 -0
  38. data/lib/pulsar/version.rb +1 -1
  39. data/pulsar.gemspec +13 -11
  40. data/spec/features/deploy_spec.rb +162 -0
  41. data/spec/features/install_spec.rb +66 -0
  42. data/spec/features/list_spec.rb +140 -0
  43. data/spec/spec_helper.rb +26 -14
  44. data/{lib/pulsar/generators/init_repo/apps/your_app/recipes/staging → spec/support/dummies}/.gitkeep +0 -0
  45. data/spec/support/dummies/conf/dir/Gemfile +3 -0
  46. data/spec/support/dummies/conf/dir/apps/Capfile +9 -0
  47. data/spec/support/dummies/conf/dir/apps/blog/Capfile +1 -0
  48. data/spec/support/dummies/conf/dir/apps/blog/deploy.rb +4 -0
  49. data/spec/support/dummies/conf/dir/apps/blog/production.rb +4 -0
  50. data/spec/support/dummies/conf/dir/apps/blog/staging.rb +4 -0
  51. data/spec/support/dummies/conf/dir/apps/deploy.rb +1 -0
  52. data/{lib/pulsar/generators/init_repo/recipes/rails/.gitkeep → spec/support/dummies/conf/dir/apps/ecommerce/staging.rb} +0 -0
  53. data/spec/support/dummies/conf/dir/recipes/.gitkeep +0 -0
  54. data/spec/support/dummies/conf/dotenv +1 -0
  55. data/spec/support/dummies/conf/empty/apps/.gitkeep +0 -0
  56. data/spec/support/dummies/conf/empty/recipes/.gitkeep +0 -0
  57. data/spec/support/dummies/conf/wrong_bundle/Gemfile +3 -0
  58. data/spec/support/dummies/conf/wrong_bundle/apps/Capfile +9 -0
  59. data/spec/support/dummies/conf/wrong_bundle/apps/blog/Capfile +1 -0
  60. data/spec/support/dummies/conf/wrong_bundle/apps/blog/deploy.rb +4 -0
  61. data/spec/support/dummies/conf/wrong_bundle/apps/blog/production.rb +4 -0
  62. data/spec/support/dummies/conf/wrong_bundle/apps/deploy.rb +1 -0
  63. data/spec/support/dummies/conf/wrong_bundle/recipes/.gitkeep +0 -0
  64. data/spec/support/dummies/conf/wrong_cap/Gemfile +3 -0
  65. data/spec/support/dummies/conf/wrong_cap/apps/Capfile +0 -0
  66. data/spec/support/dummies/conf/wrong_cap/apps/blog/deploy.rb +4 -0
  67. data/spec/support/dummies/conf/wrong_cap/apps/blog/production.rb +4 -0
  68. data/spec/support/dummies/conf/wrong_cap/apps/deploy.rb +1 -0
  69. data/spec/support/dummies/conf/wrong_cap/recipes/.gitkeep +0 -0
  70. data/spec/units/cli/deploy_spec.rb +116 -0
  71. data/spec/units/cli/install_spec.rb +44 -0
  72. data/spec/units/cli/list_spec.rb +107 -0
  73. data/spec/units/constants_spec.rb +21 -0
  74. data/spec/units/interactors/add_applications_spec.rb +46 -0
  75. data/spec/units/interactors/cleanup_spec.rb +21 -0
  76. data/spec/units/interactors/clone_initial_repository_spec.rb +41 -0
  77. data/spec/units/interactors/clone_repository_spec.rb +122 -0
  78. data/spec/units/interactors/copy_environment_file_spec.rb +80 -0
  79. data/spec/units/interactors/create_capfile_spec.rb +77 -0
  80. data/spec/units/interactors/create_deploy_file_spec.rb +70 -0
  81. data/spec/units/interactors/create_run_dirs_spec.rb +47 -0
  82. data/spec/units/interactors/identify_repository_location_spec.rb +49 -0
  83. data/spec/units/interactors/identify_repository_type_spec.rb +85 -0
  84. data/spec/units/interactors/run_bundle_install_spec.rb +60 -0
  85. data/spec/units/interactors/run_capistrano_spec.rb +92 -0
  86. data/spec/units/organizers/deploy_spec.rb +28 -0
  87. data/spec/units/organizers/install_spec.rb +13 -0
  88. data/spec/units/organizers/list_spec.rb +24 -0
  89. metadata +179 -106
  90. data/.ruby-gemset +0 -1
  91. data/.travis.yml +0 -17
  92. data/bin/pulsar-utils +0 -5
  93. data/lib/pulsar/commands/all.rb +0 -6
  94. data/lib/pulsar/commands/init.rb +0 -23
  95. data/lib/pulsar/commands/list.rb +0 -19
  96. data/lib/pulsar/commands/main.rb +0 -64
  97. data/lib/pulsar/commands/utils.rb +0 -14
  98. data/lib/pulsar/generators/init_repo/Gemfile +0 -7
  99. data/lib/pulsar/generators/init_repo/apps/base.rb +0 -41
  100. data/lib/pulsar/generators/init_repo/apps/your_app/defaults.rb +0 -9
  101. data/lib/pulsar/generators/init_repo/apps/your_app/production.rb +0 -12
  102. data/lib/pulsar/generators/init_repo/apps/your_app/recipes/custom_recipe.rb +0 -14
  103. data/lib/pulsar/generators/init_repo/apps/your_app/staging.rb +0 -12
  104. data/lib/pulsar/generators/init_repo/recipes/generic/cleanup.rb +0 -50
  105. data/lib/pulsar/generators/init_repo/recipes/generic/utils.rb +0 -9
  106. data/lib/pulsar/helpers/all.rb +0 -8
  107. data/lib/pulsar/helpers/capistrano.rb +0 -47
  108. data/lib/pulsar/helpers/clamp.rb +0 -223
  109. data/lib/pulsar/helpers/path.rb +0 -71
  110. data/lib/pulsar/helpers/shell.rb +0 -31
  111. data/lib/pulsar/options/all.rb +0 -6
  112. data/lib/pulsar/options/conf_repo.rb +0 -41
  113. data/lib/pulsar/options/shared.rb +0 -15
  114. data/spec/pulsar/commands/init_spec.rb +0 -10
  115. data/spec/pulsar/commands/list_spec.rb +0 -127
  116. data/spec/pulsar/commands/main_spec.rb +0 -360
  117. data/spec/pulsar/commands/utils_spec.rb +0 -33
  118. data/spec/pulsar/helpers/capistrano_spec.rb +0 -70
  119. data/spec/pulsar/helpers/clamp_spec.rb +0 -105
  120. data/spec/pulsar/helpers/shell_spec.rb +0 -11
  121. data/spec/support/dummies/dummy_app/config.ru +0 -3
  122. data/spec/support/dummies/dummy_conf/Gemfile +0 -4
  123. data/spec/support/dummies/dummy_conf/apps/base.rb +0 -46
  124. data/spec/support/dummies/dummy_conf/apps/dummy_app/custom_stage.rb +0 -5
  125. data/spec/support/dummies/dummy_conf/apps/dummy_app/defaults.rb +0 -7
  126. data/spec/support/dummies/dummy_conf/apps/dummy_app/production.rb +0 -5
  127. data/spec/support/dummies/dummy_conf/apps/dummy_app/recipes/custom_recipe.rb +0 -1
  128. data/spec/support/dummies/dummy_conf/apps/dummy_app/recipes/production/custom_recipe.rb +0 -1
  129. data/spec/support/dummies/dummy_conf/apps/dummy_app/recipes/staging/custom_recipe.rb +0 -1
  130. data/spec/support/dummies/dummy_conf/apps/dummy_app/staging.rb +0 -5
  131. data/spec/support/dummies/dummy_conf/apps/other_dummy_app/custom_stage.rb +0 -5
  132. data/spec/support/dummies/dummy_conf/apps/other_dummy_app/defaults.rb +0 -7
  133. data/spec/support/dummies/dummy_conf/apps/other_dummy_app/production.rb +0 -5
  134. data/spec/support/dummies/dummy_conf/apps/other_dummy_app/staging.rb +0 -5
  135. data/spec/support/dummies/dummy_conf/recipes/generic/recipe.rb +0 -3
  136. data/spec/support/modules/helpers.rb +0 -85
  137. 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.3.5
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: 2015-02-20 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: clamp
14
+ name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
16
  requirements:
18
17
  - - "~>"
19
18
  - !ruby/object:Gem::Version
20
- version: '0.5'
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: '0.5'
26
+ version: '1.8'
28
27
  - !ruby/object:Gem::Dependency
29
- name: bundler
28
+ name: thor
30
29
  requirement: !ruby/object:Gem::Requirement
31
30
  requirements:
32
31
  - - "~>"
33
32
  - !ruby/object:Gem::Version
34
- version: '1.2'
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: '1.2'
40
+ version: '0.19'
42
41
  - !ruby/object:Gem::Dependency
43
- name: colored
42
+ name: interactor
44
43
  requirement: !ruby/object:Gem::Requirement
45
44
  requirements:
46
45
  - - "~>"
47
46
  - !ruby/object:Gem::Version
48
- version: '1.2'
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.2'
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.3.2
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.3.2
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.1.0
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.1.0
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.6
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.6
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.29.1
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.29.1
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
- - info@nebulab.it
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
- - bin/pulsar-utils
157
+ - circle.yml
134
158
  - lib/pulsar.rb
135
- - lib/pulsar/commands/all.rb
136
- - lib/pulsar/commands/init.rb
137
- - lib/pulsar/commands/list.rb
138
- - lib/pulsar/commands/main.rb
139
- - lib/pulsar/commands/utils.rb
140
- - lib/pulsar/generators/init_repo/Gemfile
141
- - lib/pulsar/generators/init_repo/README.md
142
- - lib/pulsar/generators/init_repo/apps/base.rb
143
- - lib/pulsar/generators/init_repo/apps/your_app/defaults.rb
144
- - lib/pulsar/generators/init_repo/apps/your_app/production.rb
145
- - lib/pulsar/generators/init_repo/apps/your_app/recipes/custom_recipe.rb
146
- - lib/pulsar/generators/init_repo/apps/your_app/recipes/production/.gitkeep
147
- - lib/pulsar/generators/init_repo/apps/your_app/recipes/staging/.gitkeep
148
- - lib/pulsar/generators/init_repo/apps/your_app/staging.rb
149
- - lib/pulsar/generators/init_repo/recipes/generic/cleanup.rb
150
- - lib/pulsar/generators/init_repo/recipes/generic/utils.rb
151
- - lib/pulsar/generators/init_repo/recipes/rails/.gitkeep
152
- - lib/pulsar/helpers/all.rb
153
- - lib/pulsar/helpers/capistrano.rb
154
- - lib/pulsar/helpers/clamp.rb
155
- - lib/pulsar/helpers/path.rb
156
- - lib/pulsar/helpers/shell.rb
157
- - lib/pulsar/options/all.rb
158
- - lib/pulsar/options/conf_repo.rb
159
- - lib/pulsar/options/shared.rb
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/pulsar/commands/init_spec.rb
163
- - spec/pulsar/commands/list_spec.rb
164
- - spec/pulsar/commands/main_spec.rb
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/dummy_app/config.ru
171
- - spec/support/dummies/dummy_conf/Gemfile
172
- - spec/support/dummies/dummy_conf/apps/base.rb
173
- - spec/support/dummies/dummy_conf/apps/dummy_app/custom_stage.rb
174
- - spec/support/dummies/dummy_conf/apps/dummy_app/defaults.rb
175
- - spec/support/dummies/dummy_conf/apps/dummy_app/production.rb
176
- - spec/support/dummies/dummy_conf/apps/dummy_app/recipes/custom_recipe.rb
177
- - spec/support/dummies/dummy_conf/apps/dummy_app/recipes/production/custom_recipe.rb
178
- - spec/support/dummies/dummy_conf/apps/dummy_app/recipes/staging/custom_recipe.rb
179
- - spec/support/dummies/dummy_conf/apps/dummy_app/staging.rb
180
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/custom_stage.rb
181
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/defaults.rb
182
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/production.rb
183
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/staging.rb
184
- - spec/support/dummies/dummy_conf/recipes/generic/recipe.rb
185
- - spec/support/modules/helpers.rb
186
- - spec/support/modules/output_capture.rb
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: '0'
254
+ version: 1.3.1
205
255
  requirements: []
206
256
  rubyforge_project:
207
- rubygems_version: 2.4.5
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/pulsar/commands/init_spec.rb
215
- - spec/pulsar/commands/list_spec.rb
216
- - spec/pulsar/commands/main_spec.rb
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/dummy_app/config.ru
223
- - spec/support/dummies/dummy_conf/Gemfile
224
- - spec/support/dummies/dummy_conf/apps/base.rb
225
- - spec/support/dummies/dummy_conf/apps/dummy_app/custom_stage.rb
226
- - spec/support/dummies/dummy_conf/apps/dummy_app/defaults.rb
227
- - spec/support/dummies/dummy_conf/apps/dummy_app/production.rb
228
- - spec/support/dummies/dummy_conf/apps/dummy_app/recipes/custom_recipe.rb
229
- - spec/support/dummies/dummy_conf/apps/dummy_app/recipes/production/custom_recipe.rb
230
- - spec/support/dummies/dummy_conf/apps/dummy_app/recipes/staging/custom_recipe.rb
231
- - spec/support/dummies/dummy_conf/apps/dummy_app/staging.rb
232
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/custom_stage.rb
233
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/defaults.rb
234
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/production.rb
235
- - spec/support/dummies/dummy_conf/apps/other_dummy_app/staging.rb
236
- - spec/support/dummies/dummy_conf/recipes/generic/recipe.rb
237
- - spec/support/modules/helpers.rb
238
- - spec/support/modules/output_capture.rb
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
- has_rdoc:
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