bookbindery 8.4.1 → 8.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bookbinder.gemspec +1 -1
- data/lib/bookbinder/cli.rb +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 339d708a52273a3e142c40918a6be2022f0fb4e9
|
4
|
+
data.tar.gz: 0b8b092004e2580d7ca90e71610886018d21c303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23bb176375b82fa847e9792eb94cbb51b377a6eeefec08eae31345b9049550db0d70d6f6ec2da5a046c5b23943a55645cb3c7e66cd7edf2fe39ef5eef92a0e0e
|
7
|
+
data.tar.gz: 14da519c15b02a8f18e6b2b949dbac0310792c6d86c4c2ad55fae62f35af667b1bc689b1f0cc1a8564229186f23119767390e347c8b3b1e7d4ecc15456d42566
|
data/bookbinder.gemspec
CHANGED
@@ -2,7 +2,7 @@ require 'base64'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'bookbindery'
|
5
|
-
s.version = '8.
|
5
|
+
s.version = '8.5.0'
|
6
6
|
s.summary = 'Markdown to Rackup application documentation generator'
|
7
7
|
s.description = 'A command line utility to be run in Book repositories to stitch together their constituent Markdown repos into a static-HTML-serving application'
|
8
8
|
s.authors = ['Mike Grafton', 'Lucas Marks', 'Gavin Morgan', 'Nikhil Gajwani', 'Dan Wendorf', 'Brenda Chan', 'Matthew Boedicker', 'Andrew Bruce', 'Frank Kotsianas', 'Elena Sharma', 'Christa Hartsock', 'Michael Trestman', 'Alpha Chen', 'Sarah McAlear', 'Gregg Van Hove']
|
data/lib/bookbinder/cli.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'thor'
|
2
|
+
require 'ansi/code'
|
2
3
|
|
3
4
|
require_relative 'ingest/git_accessor'
|
4
5
|
require_relative 'legacy/cli'
|
@@ -26,6 +27,7 @@ module Bookbinder
|
|
26
27
|
|
27
28
|
desc 'build_and_push_tarball', 'Create a tarball from the final_app directory and push to the S3 bucket specified in your credentials.yml'
|
28
29
|
def build_and_push_tarball
|
30
|
+
print_deploy_deprecation_message
|
29
31
|
run_legacy_cli('build_and_push_tarball')
|
30
32
|
end
|
31
33
|
|
@@ -41,17 +43,20 @@ module Bookbinder
|
|
41
43
|
|
42
44
|
desc 'push_local_to <environment>', 'Push the contents of final_app to the specified environment using the credentials.yml'
|
43
45
|
def push_local_to(environment)
|
46
|
+
print_deploy_deprecation_message
|
44
47
|
run_legacy_cli('push_local_to', environment)
|
45
48
|
end
|
46
49
|
|
47
50
|
desc 'push_to_prod [build_#]', 'Push latest or <build_#> from your S3 bucket to the production host specified in credentials.yml'
|
48
51
|
def push_to_prod(build_num=nil)
|
52
|
+
print_deploy_deprecation_message
|
49
53
|
args = ['push_to_prod', build_num].compact
|
50
54
|
run_legacy_cli(*args)
|
51
55
|
end
|
52
56
|
|
53
57
|
desc 'run_publish_ci', 'Run publish, push_local_to staging, and build_and_push_tarball for CI purposes'
|
54
58
|
def run_publish_ci
|
59
|
+
print_deploy_deprecation_message
|
55
60
|
run_legacy_cli('run_publish_ci')
|
56
61
|
end
|
57
62
|
|
@@ -94,5 +99,18 @@ module Bookbinder
|
|
94
99
|
status = legacy_cli.run(args)
|
95
100
|
exit status unless status.zero?
|
96
101
|
end
|
102
|
+
|
103
|
+
def print_deploy_deprecation_message
|
104
|
+
message = ANSI.red do
|
105
|
+
<<-EOM
|
106
|
+
|
107
|
+
DEPRECATED: In a future version Bookbinder will no longer deploy to Cloud Foundry
|
108
|
+
The appropriate Concourse pipeline should be doing all deploys going forward.
|
109
|
+
|
110
|
+
EOM
|
111
|
+
end
|
112
|
+
|
113
|
+
puts message
|
114
|
+
end
|
97
115
|
end
|
98
116
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookbindery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Grafton
|
@@ -22,7 +22,7 @@ authors:
|
|
22
22
|
autorequire:
|
23
23
|
bindir: install_bin
|
24
24
|
cert_chain: []
|
25
|
-
date: 2016-04-
|
25
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
26
26
|
dependencies:
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fog-aws
|