serverlessgems 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 169f172e979f4c558c87169677b011437ebdcacf5b650f0ea6a4e66f0612d704
4
- data.tar.gz: 9e65dba325d5392404a9997cae87a5ba850697c06475a7beafa47da3a949744b
3
+ metadata.gz: 6634f0a8d8bb9ce0b79e4cf834f39c016d9564cb23945bd451f4bfe5cc348e2c
4
+ data.tar.gz: 7aa9d14a70a58ce6d042f86bd46ac5cc69b4d32f7769b5bad3378dc89ea3cadd
5
5
  SHA512:
6
- metadata.gz: 7750adc6ef3c215e37d705b71aa164fdd13ba10bec5045b29f49b9ab0ddcb85113c62c412cd69071d95278f8ae419c075f22c543a297aa18a8d13129ab7a9dd9
7
- data.tar.gz: 522378c0c6d91eb8b74cad83f126ad3fb20dd8b7e73c4220604eb11fa77133ee0f0a4b7a8499a1b91014b266ce6a5b9b5d86b7691c5ebcacfbe7dae58261bc09
6
+ metadata.gz: 7e2a1a50ad495a1430889191b6775ec5d9b5f70aabfda5f0e464bd63b49bfa970c979da824507a327bc0385f367db5e964db99ba83e888342e6ca660b582cf83
7
+ data.tar.gz: 87c73a5acb4afe00f462a45c30a03c4cc7b6a91b07e87f60ebe817c53e63b247400ea0912732c3a2c260d1fbd5e8739c8eb9f44bfc4b32426401798a3006c61e
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 *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.1.3] - 2021-04-13
7
+ - update jets agree messaging
8
+
6
9
  ## [0.1.2] - 2021-01-12
7
10
  - [#2](https://github.com/boltops-tools/serverlessgems/pull/2) fix other_compiled_gems Jets.build_root
8
11
 
@@ -7,19 +7,32 @@ module Jets::Gems
7
7
  # Only prompts if hasnt prompted before and saved a ~/.jets/agree file
8
8
  def prompt
9
9
  return if bypass_prompt
10
- return if File.exist?(@agree_file)
10
+ return if File.exist?(@agree_file) && File.mtime(@agree_file) > Time.parse("2021-04-12")
11
11
 
12
12
  puts <<~EOL
13
- Jets sends data about your gems to serverlessgems.com so that it can build the necessary Lambda layer.
13
+ Jets uses pre-built binary gems from the serverlessgems.com service to
14
+ provide a user-friendly developer experience. The Serverless Gems Service
15
+ rate limits free gem download requests daily. You can upgrade to a paid plan
16
+ for unlimited gem download requests. Open Source projects may also qualify
17
+ for a free unlimited plan. More info:
14
18
 
15
- Reporting gems generally allows Serverless Gems to build new gems within a few minutes.
16
- So if you run into missing gems, you can try deploying again after a few minutes.
17
- Non-reported gems may take several days or longer.
19
+ https://www.serverlessgems.com/rate-limits
18
20
 
19
- Serverless Gems only collects the info it needs to run the service. More info: https://www.serverlessgems.com/privacy
21
+ If you do not want to use Serverless Gems, you can disable the Serverless
22
+ Gems service and provide your own custom Lambda Layer. More info:
20
23
 
24
+ https://rubyonjets.com/docs/serverlessgems/
25
+ https://rubyonjets.com/docs/extras/custom-lambda-layers/
26
+
27
+ Also, reporting gems to Serverless Gems allows it to build new gems typically
28
+ within a few minutes. So if you run into missing gems, you can try deploying
29
+ again after a few minutes. Non-reported gems may take several days or longer.
30
+ Serverless Gems only collects the info it needs to run the service.
31
+ More info: https://www.serverlessgems.com/privacy
21
32
  This message will only appear once on this machine.
22
- You can also automatically skip this message by setting JETS_AGREE=yes or JETS_AGREE=no
33
+
34
+ You can also automatically skip this message by setting:
35
+ JETS_AGREE=yes or JETS_AGREE=no
23
36
 
24
37
  Is it okay to send your gem data to Serverless Gems? (Y/n)?
25
38
  EOL
@@ -1,5 +1,5 @@
1
1
  module Jets
2
2
  module Gems
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverlessgems
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-12 00:00:00.000000000 Z
11
+ date: 2021-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gems