jets 2.3.8 → 2.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60817df8fa7b51e1733f6344a5945c62fde34076afca3918dd48e2101b103616
4
- data.tar.gz: cae2a7133350a6b7538707ea562a03675e185ccd013027e6c5cc920a3c84fd4d
3
+ metadata.gz: 22199a5d15d82e4c9f7ac33921caee3f74555d93b4fa6aee7d23e39c068ee52b
4
+ data.tar.gz: ee43b9e65a5c56646ea62017e96e9666f51ee868448ea9466585e0e6c50678a0
5
5
  SHA512:
6
- metadata.gz: e62d8d18adf5a2868316c9c86ec1c0ec94792581ca1d79277fa679538e9c36e5068f00f07a62ada3d755f5a83a2adf8aaffb30d7f8cf36abc8ca8a78998e2b96
7
- data.tar.gz: 34f177c3d736ae7fef133599868258ad0a74e2a59dfe2e7218d023c6444d979d619e2f7abdd00f59412a71cd8fc359fc98368af42d074f06b3196f4cd4bdb039
6
+ metadata.gz: ea4d208b64be4a4e1528d892f2768a0b0cb5073004030abc0d7a9bdbe908d383696e2e3b6016f79f299bd7b9eb86e3ebe6cc90d8712bdeb3ccdcfe0170050084
7
+ data.tar.gz: 4cf8bf11a1b96d8f2c5bd5ea24a9e246cbc7a000be03918a6f73e2fd8117c9ec82f471f07c8bb444f41370c2aeabcc9244f4cdbc30c7be61f0bd086d82c28f3a
data/.cody/README.md ADDED
@@ -0,0 +1,13 @@
1
+ ## Update Project
2
+
3
+ To update the CodeBuild project:
4
+
5
+ Main services:
6
+
7
+ AWS_PROFILE=bolt-oss cody deploy jets --type docs # mainly cli docs and subnav update
8
+
9
+ ## Start a Deploy
10
+
11
+ To start a CodeBuild build which kicks off a deploy:
12
+
13
+ AWS_PROFILE=bolt-oss cody start jets --type docs
@@ -0,0 +1,7 @@
1
+ #!/bin/bash -eux
2
+
3
+ .cody/docs/bin/git_setup.sh
4
+ .cody/docs/bin/bundler_setup.sh
5
+ .cody/docs/bin/cli_docs.sh
6
+ .cody/docs/bin/subnav.sh
7
+ .cody/docs/bin/git_commit.sh
@@ -0,0 +1,8 @@
1
+ #!/bin/bash -eux
2
+
3
+ # This Docker image needs bundler 1.16.6 installed
4
+ gem install bundler:1.16.6
5
+ echo $BUNDLER_VERSION
6
+
7
+ # Generate docs
8
+ gem update --system
@@ -1,7 +1,5 @@
1
1
  #!/bin/bash -eux
2
2
 
3
- # Generate docs
4
- gem update --system
5
3
  # Unsure why but setting BUNDLE_GEMFILE fixes build in the codebuild docker env
6
4
  export BUNDLE_GEMFILE=$(pwd)/Gemfile
7
5
  bundle
File without changes
File without changes
File without changes
@@ -3,7 +3,7 @@ version: 0.2
3
3
  phases:
4
4
  build:
5
5
  commands:
6
- - .codebuild/docs/bin/build.sh
6
+ - .cody/docs/bin/build.sh
7
7
  cache:
8
8
  paths:
9
9
  - /usr/local/bundle
File without changes
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [2.3.9]
7
+ - #415 docs: aws cli install required, also note how to deploy to multiple regions
8
+ - #417 'jets call' honours region configuration
9
+
6
10
  ## [2.3.8]
7
11
  - #410 Fix `render` doesn't recognize relative patial path with haml
8
12
  - #412 attempt at fixing STI and hot reloading issue
@@ -134,7 +134,7 @@ class Jets::Commands::Call
134
134
  return unless system("type pbcopy > /dev/null")
135
135
 
136
136
  # TODO: for add_console_link_to_clipboard get the region from the ~/.aws/config and AWS_PROFILE setting
137
- region = Aws.config[:region] || 'us-east-1'
137
+ region = Aws::S3::Client.new.config.region || ENV["AWS_REGION"] ||'us-east-1'
138
138
  link = "https://console.aws.amazon.com/lambda/home?region=#{region}#/functions/#{function_name}?tab=configuration"
139
139
  system("echo #{link} | pbcopy")
140
140
  puts "Pro tip: The Lambda Console Link to the #{function_name} function has been added to your clipboard." unless @options[:mute]
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "2.3.8"
2
+ VERSION = "2.3.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.8
4
+ version: 2.3.9
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-12-09 00:00:00.000000000 Z
11
+ date: 2019-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -567,14 +567,15 @@ extensions: []
567
567
  extra_rdoc_files: []
568
568
  files:
569
569
  - ".circleci/config.yml"
570
- - ".codebuild/README.md"
571
- - ".codebuild/docs/bin/build.sh"
572
- - ".codebuild/docs/bin/cli_docs.sh"
573
- - ".codebuild/docs/bin/git_commit.sh"
574
- - ".codebuild/docs/bin/git_setup.sh"
575
- - ".codebuild/docs/bin/subnav.sh"
576
- - ".codebuild/docs/buildspec.yml"
577
- - ".codebuild/docs/project.rb"
570
+ - ".cody/README.md"
571
+ - ".cody/docs/bin/build.sh"
572
+ - ".cody/docs/bin/bundler_setup.sh"
573
+ - ".cody/docs/bin/cli_docs.sh"
574
+ - ".cody/docs/bin/git_commit.sh"
575
+ - ".cody/docs/bin/git_setup.sh"
576
+ - ".cody/docs/bin/subnav.sh"
577
+ - ".cody/docs/buildspec.yml"
578
+ - ".cody/docs/project.rb"
578
579
  - ".github/ISSUE_TEMPLATE.md"
579
580
  - ".github/ISSUE_TEMPLATE/bug_report.md"
580
581
  - ".github/ISSUE_TEMPLATE/documentation.md"
data/.codebuild/README.md DELETED
@@ -1,18 +0,0 @@
1
- ## Update Project
2
-
3
- To update the CodeBuild project:
4
-
5
- Main services:
6
-
7
- export AWS_PROFILE=bolt-oss
8
- cb deploy jets --type docs # mainly cli docs and subnav update
9
-
10
- ## Start a Deploy
11
-
12
- To start a CodeBuild build which kicks off a deploy:
13
-
14
- cb start jets --type docs
15
-
16
- To specify a branch:
17
-
18
- cb start jets --type docs --branch codebuild
@@ -1,6 +0,0 @@
1
- #!/bin/bash -eux
2
-
3
- .codebuild/docs/bin/git_setup.sh
4
- .codebuild/docs/bin/cli_docs.sh
5
- .codebuild/docs/bin/subnav.sh
6
- .codebuild/docs/bin/git_commit.sh