codebuild 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/codebuild.gemspec +6 -0
- data/lib/codebuild/cli.rb +1 -0
- data/lib/codebuild/init.rb +4 -3
- data/lib/codebuild/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cc48a841592bbd8d7373da80ea27d4f1b6987aec49e25e912875fdbae151668
|
4
|
+
data.tar.gz: 62c43a28ff1ce20b731e2e7837c7b6b1d418b8cbce84e6849ccb9e533b83781b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc664c3bef254672dcb1c25b082881bb70fc4482dc28d314898a5dea97511cf85585f5778d4ffc71bc92fb81e559dc23480a0a23d668d31c2b1c62b64cef2214
|
7
|
+
data.tar.gz: cc8eaf647685475684e1dcbd8f10307ff7fa381705853c80d987d715d37ba015ead979bc55489e230ee8b9c2143cbf0ae78888ebb58757ffe32a7ee05b6acde2
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [0.6.7]
|
7
|
+
- deprecate codebuild for cody: tool has been renamed to cody
|
8
|
+
|
6
9
|
## [0.6.6]
|
7
10
|
- add mode option: bare and full
|
8
11
|
|
data/codebuild.gemspec
CHANGED
@@ -12,6 +12,12 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.homepage = "https://github.com/tongueroo/codebuild"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
15
|
+
spec.post_install_message = <<-MESSAGE
|
16
|
+
! The codebuild gem has been deprecated and has been replaced by cody.
|
17
|
+
! See: https://rubygems.org/gems/cody
|
18
|
+
! And: https://github.com/tongueroo/cody
|
19
|
+
MESSAGE
|
20
|
+
|
15
21
|
vendor_files = Dir.glob("vendor/**/*")
|
16
22
|
gem_files = `git -C "#{File.dirname(__FILE__)}" ls-files -z`.split("\x0").reject do |f|
|
17
23
|
f.match(%r{^(test|spec|features|docs)/})
|
data/lib/codebuild/cli.rb
CHANGED
@@ -20,6 +20,7 @@ module Codebuild
|
|
20
20
|
long_desc Help.text(:deploy)
|
21
21
|
common_options.call
|
22
22
|
def deploy(project_name=nil)
|
23
|
+
puts "[DEPRECATION] This gem has been renamed to cody and will no longer be supported. Please switch to cody as soon as possible."
|
23
24
|
Deploy.new(options.merge(project_name: project_name)).run
|
24
25
|
end
|
25
26
|
|
data/lib/codebuild/init.rb
CHANGED
@@ -5,7 +5,7 @@ module Codebuild
|
|
5
5
|
[
|
6
6
|
[:force, type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files"],
|
7
7
|
[:name, desc: "CodeBuild project name"],
|
8
|
-
[:mode, default: "
|
8
|
+
[:mode, default: "light", desc: "Modes: light or full"],
|
9
9
|
[:template, desc: "Custom template to use"],
|
10
10
|
[:template_mode, desc: "Template mode: replace or additive"],
|
11
11
|
[:type, desc: "Type option creates a subfolder under .codebuild"],
|
@@ -14,6 +14,7 @@ module Codebuild
|
|
14
14
|
cli_options.each { |o| class_option(*o) }
|
15
15
|
|
16
16
|
def setup_template_repo
|
17
|
+
puts "[DEPRECATION] This gem has been renamed to cody and will no longer be supported. Please switch to cody as soon as possible."
|
17
18
|
return unless @options[:template]&.include?('/')
|
18
19
|
|
19
20
|
sync_template_repo
|
@@ -37,7 +38,7 @@ module Codebuild
|
|
37
38
|
puts "Initialize codebuild top-level folder"
|
38
39
|
dest = ".codebuild"
|
39
40
|
excludes = %w[.git]
|
40
|
-
if @options[:mode] == "
|
41
|
+
if @options[:mode] == "light"
|
41
42
|
excludes += %w[
|
42
43
|
settings.yml
|
43
44
|
variables
|
@@ -53,7 +54,7 @@ module Codebuild
|
|
53
54
|
dest = "#{dest}/#{@options[:type]}" if @options[:type]
|
54
55
|
|
55
56
|
excludes = %w[.git]
|
56
|
-
if @options[:mode] == "
|
57
|
+
if @options[:mode] == "light"
|
57
58
|
excludes += %w[
|
58
59
|
role.rb
|
59
60
|
schedule.rb
|
data/lib/codebuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codebuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -324,7 +324,10 @@ homepage: https://github.com/tongueroo/codebuild
|
|
324
324
|
licenses:
|
325
325
|
- MIT
|
326
326
|
metadata: {}
|
327
|
-
post_install_message:
|
327
|
+
post_install_message: |2
|
328
|
+
! The codebuild gem has been deprecated and has been replaced by cody.
|
329
|
+
! See: https://rubygems.org/gems/cody
|
330
|
+
! And: https://github.com/tongueroo/cody
|
328
331
|
rdoc_options: []
|
329
332
|
require_paths:
|
330
333
|
- lib
|