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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/jets/commands/import/templates/config/database.yml +3 -3
- data/lib/jets/commands/templates/skeleton/README.md +0 -2
- data/lib/jets/commands/templates/skeleton/config/database.yml.tt +3 -3
- data/lib/jets/commands/templates/skeleton/config/routes.rb +3 -9
- data/lib/jets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5da9ac08bb004e01baf04e9492edef4529f228f0005d35d16680108b549596cf
|
4
|
+
data.tar.gz: 8989aaae567491f3eb9aaa82a89c8baaa06ef937fe4efb01f08e670c8a4573e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 258f55e1c7b1efaa7a89905f93cc37af964e42aa3dd5d87bdfb42d71c02dd84d563bab15927a9563b090090f44053f43626c576adf1962db5f1795486c209a14
|
7
|
+
data.tar.gz: c761939a1ba8e5b55b2d96b0653fad00d60bfecd16769f5f4fa716363f1324eaa71a2c6ff8d9442e53ed193f47bc8b483a45275e1862f258edbb2dfe85e20c32
|
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/), 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
|
|
data/Gemfile.lock
CHANGED
@@ -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 == '
|
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,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 %>
|
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 %>
|
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 %>
|
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
|
10
|
-
#
|
11
|
-
#
|
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
|
data/lib/jets/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|