jets 1.0.6 → 1.0.7

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: a0f899e409f74150cb787d1e943bc952061eac3750eff304d6e7d657fb982b77
4
- data.tar.gz: 182a1f82f57e0f4a7afd89924f6a90b60dcc1be053b4c0e3ca1cb645030c54d3
3
+ metadata.gz: 5da9ac08bb004e01baf04e9492edef4529f228f0005d35d16680108b549596cf
4
+ data.tar.gz: 8989aaae567491f3eb9aaa82a89c8baaa06ef937fe4efb01f08e670c8a4573e4
5
5
  SHA512:
6
- metadata.gz: c1f6ad92079f026224861aeda73d5552834119dc59504c00ef1fbba5480c817305e3e517372eedf48684d6145fad2ed8bda610dc3223798eb4aa2c65f3a10b23
7
- data.tar.gz: 31f71bf99f2499d3ba8ac00e298abba20a09b9235f8cfd20f400ae005204e07e24271a925be6abc2e728a6e0162f5ea44cbaee1248e11dd2089b397ef82661e8
6
+ metadata.gz: 258f55e1c7b1efaa7a89905f93cc37af964e42aa3dd5d87bdfb42d71c02dd84d563bab15927a9563b090090f44053f43626c576adf1962db5f1795486c209a14
7
+ data.tar.gz: c761939a1ba8e5b55b2d96b0653fad00d60bfecd16769f5f4fa716363f1324eaa71a2c6ff8d9442e53ed193f47bc8b483a45275e1862f258edbb2dfe85e20c32
@@ -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/), even before v1.0.
5
5
 
6
+ ## [1.0.7]
7
+ - jets new: adjust skeleton template project
8
+ - jets import:rails: update config/database.yml
9
+
6
10
  ## [1.0.6]
7
11
  - method fixes: account for inheritance and private keyword #57
8
12
 
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (1.0.6)
14
+ jets (1.0.7)
15
15
  actionpack (>= 5.2.1)
16
16
  actionview (>= 5.2.1)
17
17
  activerecord (>= 5.2.1)
@@ -3,10 +3,10 @@ default: &default
3
3
  encoding: utf8
4
4
  pool: <%%= ENV["DB_POOL"] || 5 %>
5
5
  database: <%%= ENV['DB_NAME'] || '<%= @database_development %>' %>
6
- <% if @adapter == 'mysql' -%>
7
- username: <%%= ENV['DB_USER'] || 'root' %>
8
- <% else -%>
6
+ <% if @adapter == 'postgresql' -%>
9
7
  username: <%%= ENV['DB_USER'] || ENV['USER'] %>
8
+ <% else -%>
9
+ username: <%%= ENV['DB_USER'] || 'root' %>
10
10
  <% end -%>
11
11
  password: <%%= ENV['DB_PASS'] %>
12
12
  host: <%%= ENV["DB_HOST"] %>
@@ -2,8 +2,6 @@
2
2
 
3
3
  This README would normally document whatever steps are necessary to get the application up and running.
4
4
 
5
- [![Gem Version](https://badge.fury.io/rb/GEMNAME.png)](http://badge.fury.io/rb/GEMNAME)
6
-
7
5
  Things you might want to cover:
8
6
 
9
7
  * Dependencies
@@ -2,7 +2,7 @@ default: &default
2
2
  adapter: <%= @options[:database] == 'mysql' ? 'mysql2' : 'postgresql' %>
3
3
  encoding: utf8
4
4
  pool: <%%= ENV["DB_POOL"] || 5 %>
5
- database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_dev' %>
5
+ database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_development' %>
6
6
  <% if @options[:database] == 'mysql' -%>
7
7
  username: <%%= ENV['DB_USER'] || 'root' %>
8
8
  <% else -%>
@@ -14,7 +14,7 @@ default: &default
14
14
 
15
15
  development:
16
16
  <<: *default
17
- database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_dev' %>
17
+ database: <%%= ENV['DB_NAME'] || '<%= @project_name %>_development' %>
18
18
 
19
19
  test:
20
20
  <<: *default
@@ -22,5 +22,5 @@ test:
22
22
 
23
23
  production:
24
24
  <<: *default
25
- database: <%= @project_name %>_prod
25
+ database: <%= @project_name %>_production
26
26
  url: <%%= ENV['DATABASE_URL'] %>
@@ -6,15 +6,9 @@ Jets.application.routes.draw do
6
6
  # http://rubyonjets.com/docs/env-extra/
7
7
  root "jets/public#show"
8
8
 
9
- # The jets/public#show controller serves static utf8 content out of the public folder.
10
- # Replace it with your own controller to customize.
11
- # Note, binary files do not get served on AWS Lambda unless you specify the Accept header.
12
- # This is problematic for images requested by the Browser. IE: We don't control
13
- # that accept header that the browser sends.
14
- # Caveat, setting the Accept header to '*' for the entire API Gateway settings will force
15
- # the public controller to serve binary data when requested by the browser, but it
16
- # also results in form data always being treated as binary data also.
17
- # Instead, it is recommended to serve binary data using s3.
9
+ # The jets/public#show controller can serve static utf8 content out of the public folder.
10
+ # Note, as part of the deploy process Jets uploads files in the public folder to s3
11
+ # and serves them out of s3 directly. S3 is well suited to serve static assets.
18
12
  # More info here: http://rubyonjets.com/docs/assets-serving/
19
13
  any "*catchall", to: "jets/public#show"
20
14
  end
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
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: 1.0.6
4
+ version: 1.0.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: 2018-11-03 00:00:00.000000000 Z
11
+ date: 2018-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack