serverless_hub 1.0.1 → 1.0.2

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: 0e483461afb6cd5669c76204595b56d195a7064d157cd4b89edea100e8657264
4
- data.tar.gz: 9ed76e35c6c7d014bf41c99a96b09df8f7bb95f503d9fc387660ae622a7c3b9e
3
+ metadata.gz: 7f702400f8ebe1419d8e54b3a54f3804d9fe7471174dd9cfe1db05a1b6a34c16
4
+ data.tar.gz: 43de7f1e021a674fd3622e8cac008f22c6b3c1c13753839eb17f6d1b76617349
5
5
  SHA512:
6
- metadata.gz: 523be73ee0075a87fa3ddcc1bbdd32b1a43dbcf1c601b2ee5b8a86b5f685a472ae52fb1954965bcfc1bcc1407634cb68f4bc19fba85138ab1c5224d333cdb9ff
7
- data.tar.gz: f4a53565f47037ce26ba9f54e2d17338aae845a4709bf27017bbe1b551ab460842d17ac77424d1cd13bcabcc7eb7cb18c1ed74a41de14f31ee3d9daafa464e63
6
+ metadata.gz: 2d3cbe571b2dfef2b8c9ca50f7281ae576cb31dd11d44388bd902aaf6a6840b413eb09cdeeba52b488f937d3e3642797880f175b815df732c3183bbcade6c95e
7
+ data.tar.gz: a24416791d92749b8b672b56204c616c3d1b97a2bb20d81fdfe83ed8bf1a8f10136dfa3c362a554ea6f2a2ffb3de5634dd3ce3619d217f07b8178878f32d021b
data/bin/serverless_hub CHANGED
@@ -4,10 +4,11 @@ require 'serverless_hub'
4
4
  require 'rails/generators'
5
5
 
6
6
  class SLSGenerator < Rails::Generators::Base
7
- source_root File.expand_path('../lib/serverless_hub/templates', __dir__)
7
+ source_root File.expand_path('../lib/serverless_hub/templates/serverless', __dir__)
8
8
 
9
9
  def copy
10
10
  directory "./", "./"
11
+ copy_file "../gitignore", "./.gitignore"
11
12
  end
12
13
  end
13
14
 
@@ -1,7 +1,10 @@
1
1
  if ENV["LAMBDA_TASK_ROOT"].present?
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('./Gemfile.serverless', __dir__)
3
+
2
4
  ENV["RAILS_ENV"] ||= "production"
3
5
 
4
6
  require "bundler"
7
+
5
8
  Bundler.setup(:default, ENV["RAILS_ENV"])
6
9
 
7
10
  require "active_record"
@@ -45,7 +45,6 @@ config.priv.yml
45
45
  node_modules
46
46
  layer
47
47
  node_modules
48
- serverless.priv.yml
49
48
  .serverless
50
49
  .byebug_history
51
50
  tmp
@@ -0,0 +1,3 @@
1
+ dev:
2
+ database_url: postgres://devhub_dev:vtjzeQuxTcss7Am@devhub-dev-database.cmnen8jcnijs.ap-southeast-2.rds.amazonaws.com:5432/pw_reality_dev
3
+ jwks_url: https://cognito-idp.ap-southeast-2.amazonaws.com/ap-southeast-2_CxnrO6P4o/.well-known/jwks.json
@@ -1,3 +1,3 @@
1
1
  module ServerlessHub
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverless_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-17 00:00:00.000000000 Z
11
+ date: 2019-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -137,11 +137,12 @@ files:
137
137
  - lib/serverless_hub.rb
138
138
  - lib/serverless_hub/authorizer.rb
139
139
  - lib/serverless_hub/handler.rb
140
- - lib/serverless_hub/templates/.gitignore
141
- - lib/serverless_hub/templates/Dockerfile
142
- - lib/serverless_hub/templates/config/serverless.yml
143
- - lib/serverless_hub/templates/package.json
140
+ - lib/serverless_hub/templates/gitignore
144
141
  - lib/serverless_hub/templates/serverless.js
142
+ - lib/serverless_hub/templates/serverless/Dockerfile
143
+ - lib/serverless_hub/templates/serverless/config/serverless.priv.yml
144
+ - lib/serverless_hub/templates/serverless/config/serverless.yml
145
+ - lib/serverless_hub/templates/serverless/package.json
145
146
  - lib/serverless_hub/version.rb
146
147
  - serverless_hub.gemspec
147
148
  homepage: https://goolge.com.au