capsulecd 1.0.0

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.
Files changed (104) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +2 -0
  3. data/.dockerignore +5 -0
  4. data/.gitignore +95 -0
  5. data/.rspec +3 -0
  6. data/.simplecov +9 -0
  7. data/Dockerfile +16 -0
  8. data/Dockerfile.chef +26 -0
  9. data/Dockerfile.javascript +7 -0
  10. data/Dockerfile.node +7 -0
  11. data/Dockerfile.python +7 -0
  12. data/Dockerfile.ruby +4 -0
  13. data/FEATURES.md +12 -0
  14. data/Gemfile +26 -0
  15. data/LICENSE.md +22 -0
  16. data/README.md +227 -0
  17. data/Rakefile +43 -0
  18. data/bin/capsulecd +4 -0
  19. data/capsulecd.gemspec +27 -0
  20. data/circle.yml +24 -0
  21. data/lib/capsulecd/base/common/git_utils.rb +90 -0
  22. data/lib/capsulecd/base/common/validation_utils.rb +22 -0
  23. data/lib/capsulecd/base/configuration.rb +151 -0
  24. data/lib/capsulecd/base/engine.rb +163 -0
  25. data/lib/capsulecd/base/runner/circleci.rb +37 -0
  26. data/lib/capsulecd/base/runner/default.rb +38 -0
  27. data/lib/capsulecd/base/source/github.rb +183 -0
  28. data/lib/capsulecd/base/transform_engine.rb +62 -0
  29. data/lib/capsulecd/chef/chef_engine.rb +172 -0
  30. data/lib/capsulecd/chef/chef_helper.rb +29 -0
  31. data/lib/capsulecd/cli.rb +64 -0
  32. data/lib/capsulecd/error.rb +51 -0
  33. data/lib/capsulecd/javascript/javascript_engine.rb +213 -0
  34. data/lib/capsulecd/node/node_engine.rb +141 -0
  35. data/lib/capsulecd/python/python_engine.rb +157 -0
  36. data/lib/capsulecd/ruby/ruby_engine.rb +191 -0
  37. data/lib/capsulecd/ruby/ruby_helper.rb +60 -0
  38. data/lib/capsulecd/version.rb +3 -0
  39. data/lib/capsulecd.rb +16 -0
  40. data/logo.svg +1 -0
  41. data/spec/fixtures/chef/cookbook_analogj_test/CHANGELOG.md +3 -0
  42. data/spec/fixtures/chef/cookbook_analogj_test/Gemfile +18 -0
  43. data/spec/fixtures/chef/cookbook_analogj_test/LICENSE +21 -0
  44. data/spec/fixtures/chef/cookbook_analogj_test/README.md +13 -0
  45. data/spec/fixtures/chef/cookbook_analogj_test/Rakefile +1 -0
  46. data/spec/fixtures/chef/cookbook_analogj_test/Thorfile +12 -0
  47. data/spec/fixtures/chef/cookbook_analogj_test/chefignore +94 -0
  48. data/spec/fixtures/chef/cookbook_analogj_test/metadata.rb +5 -0
  49. data/spec/fixtures/chef/cookbook_analogj_test/recipes/default.rb +6 -0
  50. data/spec/fixtures/incorrect_configuration.yml +4 -0
  51. data/spec/fixtures/javascript/javascript_analogj_test/LICENSE +21 -0
  52. data/spec/fixtures/javascript/javascript_analogj_test/README.md +2 -0
  53. data/spec/fixtures/javascript/javascript_analogj_test/package.json +19 -0
  54. data/spec/fixtures/node/npm_analogj_test/LICENSE +21 -0
  55. data/spec/fixtures/node/npm_analogj_test/README.md +2 -0
  56. data/spec/fixtures/node/npm_analogj_test/package.json +19 -0
  57. data/spec/fixtures/python/pip_analogj_test/LICENSE +21 -0
  58. data/spec/fixtures/python/pip_analogj_test/MANIFEST.in +1 -0
  59. data/spec/fixtures/python/pip_analogj_test/README.md +1 -0
  60. data/spec/fixtures/python/pip_analogj_test/VERSION +1 -0
  61. data/spec/fixtures/python/pip_analogj_test/setup.cfg +5 -0
  62. data/spec/fixtures/python/pip_analogj_test/setup.py +80 -0
  63. data/spec/fixtures/python/pip_analogj_test/tox.ini +14 -0
  64. data/spec/fixtures/ruby/gem_analogj_test/Gemfile +4 -0
  65. data/spec/fixtures/ruby/gem_analogj_test/LICENSE.txt +21 -0
  66. data/spec/fixtures/ruby/gem_analogj_test/README.md +41 -0
  67. data/spec/fixtures/ruby/gem_analogj_test/Rakefile +6 -0
  68. data/spec/fixtures/ruby/gem_analogj_test/bin/console +14 -0
  69. data/spec/fixtures/ruby/gem_analogj_test/bin/setup +8 -0
  70. data/spec/fixtures/ruby/gem_analogj_test/gem_analogj_test.gemspec +25 -0
  71. data/spec/fixtures/ruby/gem_analogj_test/lib/gem_analogj_test/version.rb +3 -0
  72. data/spec/fixtures/ruby/gem_analogj_test/lib/gem_analogj_test.rb +5 -0
  73. data/spec/fixtures/ruby/gem_analogj_test/spec/gem_analogj_test_spec.rb +7 -0
  74. data/spec/fixtures/ruby/gem_analogj_test/spec/spec_helper.rb +2 -0
  75. data/spec/fixtures/ruby/gem_analogj_test-0.1.4.gem +0 -0
  76. data/spec/fixtures/sample_chef_configuration.yml +8 -0
  77. data/spec/fixtures/sample_configuration.yml +7 -0
  78. data/spec/fixtures/sample_global_configuration.yml +23 -0
  79. data/spec/fixtures/sample_node_configuration.yml +7 -0
  80. data/spec/fixtures/sample_python_configuration.yml +8 -0
  81. data/spec/fixtures/sample_repo_configuration.yml +22 -0
  82. data/spec/fixtures/sample_ruby_configuration.yml +5 -0
  83. data/spec/fixtures/vcr_cassettes/chef_build_step.yml +636 -0
  84. data/spec/fixtures/vcr_cassettes/gem_build_step.yml +653 -0
  85. data/spec/fixtures/vcr_cassettes/gem_build_step_without_version_rb.yml +653 -0
  86. data/spec/fixtures/vcr_cassettes/integration_chef.yml +1399 -0
  87. data/spec/fixtures/vcr_cassettes/integration_node.yml +1388 -0
  88. data/spec/fixtures/vcr_cassettes/integration_python.yml +1388 -0
  89. data/spec/fixtures/vcr_cassettes/integration_ruby.yml +1377 -0
  90. data/spec/fixtures/vcr_cassettes/node_build_step.yml +647 -0
  91. data/spec/fixtures/vcr_cassettes/pip_build_step.yml +653 -0
  92. data/spec/lib/capsulecd/base/configuration_spec.rb +75 -0
  93. data/spec/lib/capsulecd/base/engine_spec.rb +51 -0
  94. data/spec/lib/capsulecd/base/source/github_spec.rb +253 -0
  95. data/spec/lib/capsulecd/base/transform_engine_spec.rb +55 -0
  96. data/spec/lib/capsulecd/chef/chef_engine_spec.rb +114 -0
  97. data/spec/lib/capsulecd/cli_spec.rb +57 -0
  98. data/spec/lib/capsulecd/node/node_engine_spec.rb +113 -0
  99. data/spec/lib/capsulecd/python/python_engine_spec.rb +118 -0
  100. data/spec/lib/capsulecd/ruby/ruby_engine_spec.rb +128 -0
  101. data/spec/spec_helper.rb +105 -0
  102. data/spec/support/file_system.rb +21 -0
  103. data/spec/support/package_types.rb +11 -0
  104. metadata +281 -0
metadata ADDED
@@ -0,0 +1,281 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capsulecd
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Jason Kulatunga (AnalogJ)
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: git
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: semverly
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: mkgitignore
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: CapsuleCD is a library for automating package releases (npm, cookbooks,
84
+ gems, pip, jars, etc)
85
+ email:
86
+ executables:
87
+ - capsulecd
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".coveralls.yml"
92
+ - ".dockerignore"
93
+ - ".gitignore"
94
+ - ".rspec"
95
+ - ".simplecov"
96
+ - Dockerfile
97
+ - Dockerfile.chef
98
+ - Dockerfile.javascript
99
+ - Dockerfile.node
100
+ - Dockerfile.python
101
+ - Dockerfile.ruby
102
+ - FEATURES.md
103
+ - Gemfile
104
+ - LICENSE.md
105
+ - README.md
106
+ - Rakefile
107
+ - bin/capsulecd
108
+ - capsulecd.gemspec
109
+ - circle.yml
110
+ - lib/capsulecd.rb
111
+ - lib/capsulecd/base/common/git_utils.rb
112
+ - lib/capsulecd/base/common/validation_utils.rb
113
+ - lib/capsulecd/base/configuration.rb
114
+ - lib/capsulecd/base/engine.rb
115
+ - lib/capsulecd/base/runner/circleci.rb
116
+ - lib/capsulecd/base/runner/default.rb
117
+ - lib/capsulecd/base/source/github.rb
118
+ - lib/capsulecd/base/transform_engine.rb
119
+ - lib/capsulecd/chef/chef_engine.rb
120
+ - lib/capsulecd/chef/chef_helper.rb
121
+ - lib/capsulecd/cli.rb
122
+ - lib/capsulecd/error.rb
123
+ - lib/capsulecd/javascript/javascript_engine.rb
124
+ - lib/capsulecd/node/node_engine.rb
125
+ - lib/capsulecd/python/python_engine.rb
126
+ - lib/capsulecd/ruby/ruby_engine.rb
127
+ - lib/capsulecd/ruby/ruby_helper.rb
128
+ - lib/capsulecd/version.rb
129
+ - logo.svg
130
+ - spec/fixtures/chef/cookbook_analogj_test/CHANGELOG.md
131
+ - spec/fixtures/chef/cookbook_analogj_test/Gemfile
132
+ - spec/fixtures/chef/cookbook_analogj_test/LICENSE
133
+ - spec/fixtures/chef/cookbook_analogj_test/README.md
134
+ - spec/fixtures/chef/cookbook_analogj_test/Rakefile
135
+ - spec/fixtures/chef/cookbook_analogj_test/Thorfile
136
+ - spec/fixtures/chef/cookbook_analogj_test/chefignore
137
+ - spec/fixtures/chef/cookbook_analogj_test/metadata.rb
138
+ - spec/fixtures/chef/cookbook_analogj_test/recipes/default.rb
139
+ - spec/fixtures/incorrect_configuration.yml
140
+ - spec/fixtures/javascript/javascript_analogj_test/LICENSE
141
+ - spec/fixtures/javascript/javascript_analogj_test/README.md
142
+ - spec/fixtures/javascript/javascript_analogj_test/package.json
143
+ - spec/fixtures/node/npm_analogj_test/LICENSE
144
+ - spec/fixtures/node/npm_analogj_test/README.md
145
+ - spec/fixtures/node/npm_analogj_test/package.json
146
+ - spec/fixtures/python/pip_analogj_test/LICENSE
147
+ - spec/fixtures/python/pip_analogj_test/MANIFEST.in
148
+ - spec/fixtures/python/pip_analogj_test/README.md
149
+ - spec/fixtures/python/pip_analogj_test/VERSION
150
+ - spec/fixtures/python/pip_analogj_test/setup.cfg
151
+ - spec/fixtures/python/pip_analogj_test/setup.py
152
+ - spec/fixtures/python/pip_analogj_test/tox.ini
153
+ - spec/fixtures/ruby/gem_analogj_test-0.1.4.gem
154
+ - spec/fixtures/ruby/gem_analogj_test/Gemfile
155
+ - spec/fixtures/ruby/gem_analogj_test/LICENSE.txt
156
+ - spec/fixtures/ruby/gem_analogj_test/README.md
157
+ - spec/fixtures/ruby/gem_analogj_test/Rakefile
158
+ - spec/fixtures/ruby/gem_analogj_test/bin/console
159
+ - spec/fixtures/ruby/gem_analogj_test/bin/setup
160
+ - spec/fixtures/ruby/gem_analogj_test/gem_analogj_test.gemspec
161
+ - spec/fixtures/ruby/gem_analogj_test/lib/gem_analogj_test.rb
162
+ - spec/fixtures/ruby/gem_analogj_test/lib/gem_analogj_test/version.rb
163
+ - spec/fixtures/ruby/gem_analogj_test/spec/gem_analogj_test_spec.rb
164
+ - spec/fixtures/ruby/gem_analogj_test/spec/spec_helper.rb
165
+ - spec/fixtures/sample_chef_configuration.yml
166
+ - spec/fixtures/sample_configuration.yml
167
+ - spec/fixtures/sample_global_configuration.yml
168
+ - spec/fixtures/sample_node_configuration.yml
169
+ - spec/fixtures/sample_python_configuration.yml
170
+ - spec/fixtures/sample_repo_configuration.yml
171
+ - spec/fixtures/sample_ruby_configuration.yml
172
+ - spec/fixtures/vcr_cassettes/chef_build_step.yml
173
+ - spec/fixtures/vcr_cassettes/gem_build_step.yml
174
+ - spec/fixtures/vcr_cassettes/gem_build_step_without_version_rb.yml
175
+ - spec/fixtures/vcr_cassettes/integration_chef.yml
176
+ - spec/fixtures/vcr_cassettes/integration_node.yml
177
+ - spec/fixtures/vcr_cassettes/integration_python.yml
178
+ - spec/fixtures/vcr_cassettes/integration_ruby.yml
179
+ - spec/fixtures/vcr_cassettes/node_build_step.yml
180
+ - spec/fixtures/vcr_cassettes/pip_build_step.yml
181
+ - spec/lib/capsulecd/base/configuration_spec.rb
182
+ - spec/lib/capsulecd/base/engine_spec.rb
183
+ - spec/lib/capsulecd/base/source/github_spec.rb
184
+ - spec/lib/capsulecd/base/transform_engine_spec.rb
185
+ - spec/lib/capsulecd/chef/chef_engine_spec.rb
186
+ - spec/lib/capsulecd/cli_spec.rb
187
+ - spec/lib/capsulecd/node/node_engine_spec.rb
188
+ - spec/lib/capsulecd/python/python_engine_spec.rb
189
+ - spec/lib/capsulecd/ruby/ruby_engine_spec.rb
190
+ - spec/spec_helper.rb
191
+ - spec/support/file_system.rb
192
+ - spec/support/package_types.rb
193
+ homepage: http://www.github.com/AnalogJ/capsulecd
194
+ licenses:
195
+ - MIT
196
+ metadata: {}
197
+ post_install_message:
198
+ rdoc_options: []
199
+ require_paths:
200
+ - lib
201
+ required_ruby_version: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - "~>"
204
+ - !ruby/object:Gem::Version
205
+ version: '2.0'
206
+ required_rubygems_version: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
211
+ requirements: []
212
+ rubyforge_project:
213
+ rubygems_version: 2.6.2
214
+ signing_key:
215
+ specification_version: 4
216
+ summary: CapsuleCD is a library for automating package releases (npm, cookbooks, gems,
217
+ pip, jars, etc)
218
+ test_files:
219
+ - spec/fixtures/chef/cookbook_analogj_test/CHANGELOG.md
220
+ - spec/fixtures/chef/cookbook_analogj_test/Gemfile
221
+ - spec/fixtures/chef/cookbook_analogj_test/LICENSE
222
+ - spec/fixtures/chef/cookbook_analogj_test/README.md
223
+ - spec/fixtures/chef/cookbook_analogj_test/Rakefile
224
+ - spec/fixtures/chef/cookbook_analogj_test/Thorfile
225
+ - spec/fixtures/chef/cookbook_analogj_test/chefignore
226
+ - spec/fixtures/chef/cookbook_analogj_test/metadata.rb
227
+ - spec/fixtures/chef/cookbook_analogj_test/recipes/default.rb
228
+ - spec/fixtures/incorrect_configuration.yml
229
+ - spec/fixtures/javascript/javascript_analogj_test/LICENSE
230
+ - spec/fixtures/javascript/javascript_analogj_test/README.md
231
+ - spec/fixtures/javascript/javascript_analogj_test/package.json
232
+ - spec/fixtures/node/npm_analogj_test/LICENSE
233
+ - spec/fixtures/node/npm_analogj_test/README.md
234
+ - spec/fixtures/node/npm_analogj_test/package.json
235
+ - spec/fixtures/python/pip_analogj_test/LICENSE
236
+ - spec/fixtures/python/pip_analogj_test/MANIFEST.in
237
+ - spec/fixtures/python/pip_analogj_test/README.md
238
+ - spec/fixtures/python/pip_analogj_test/VERSION
239
+ - spec/fixtures/python/pip_analogj_test/setup.cfg
240
+ - spec/fixtures/python/pip_analogj_test/setup.py
241
+ - spec/fixtures/python/pip_analogj_test/tox.ini
242
+ - spec/fixtures/ruby/gem_analogj_test-0.1.4.gem
243
+ - spec/fixtures/ruby/gem_analogj_test/Gemfile
244
+ - spec/fixtures/ruby/gem_analogj_test/LICENSE.txt
245
+ - spec/fixtures/ruby/gem_analogj_test/README.md
246
+ - spec/fixtures/ruby/gem_analogj_test/Rakefile
247
+ - spec/fixtures/ruby/gem_analogj_test/bin/console
248
+ - spec/fixtures/ruby/gem_analogj_test/bin/setup
249
+ - spec/fixtures/ruby/gem_analogj_test/gem_analogj_test.gemspec
250
+ - spec/fixtures/ruby/gem_analogj_test/lib/gem_analogj_test.rb
251
+ - spec/fixtures/ruby/gem_analogj_test/lib/gem_analogj_test/version.rb
252
+ - spec/fixtures/ruby/gem_analogj_test/spec/gem_analogj_test_spec.rb
253
+ - spec/fixtures/ruby/gem_analogj_test/spec/spec_helper.rb
254
+ - spec/fixtures/sample_chef_configuration.yml
255
+ - spec/fixtures/sample_configuration.yml
256
+ - spec/fixtures/sample_global_configuration.yml
257
+ - spec/fixtures/sample_node_configuration.yml
258
+ - spec/fixtures/sample_python_configuration.yml
259
+ - spec/fixtures/sample_repo_configuration.yml
260
+ - spec/fixtures/sample_ruby_configuration.yml
261
+ - spec/fixtures/vcr_cassettes/chef_build_step.yml
262
+ - spec/fixtures/vcr_cassettes/gem_build_step.yml
263
+ - spec/fixtures/vcr_cassettes/gem_build_step_without_version_rb.yml
264
+ - spec/fixtures/vcr_cassettes/integration_chef.yml
265
+ - spec/fixtures/vcr_cassettes/integration_node.yml
266
+ - spec/fixtures/vcr_cassettes/integration_python.yml
267
+ - spec/fixtures/vcr_cassettes/integration_ruby.yml
268
+ - spec/fixtures/vcr_cassettes/node_build_step.yml
269
+ - spec/fixtures/vcr_cassettes/pip_build_step.yml
270
+ - spec/lib/capsulecd/base/configuration_spec.rb
271
+ - spec/lib/capsulecd/base/engine_spec.rb
272
+ - spec/lib/capsulecd/base/source/github_spec.rb
273
+ - spec/lib/capsulecd/base/transform_engine_spec.rb
274
+ - spec/lib/capsulecd/chef/chef_engine_spec.rb
275
+ - spec/lib/capsulecd/cli_spec.rb
276
+ - spec/lib/capsulecd/node/node_engine_spec.rb
277
+ - spec/lib/capsulecd/python/python_engine_spec.rb
278
+ - spec/lib/capsulecd/ruby/ruby_engine_spec.rb
279
+ - spec/spec_helper.rb
280
+ - spec/support/file_system.rb
281
+ - spec/support/package_types.rb