luban-rails 0.1.4 → 0.1.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c43c028fd7dabe40f6e3483f71ee3d6e2380153
|
4
|
+
data.tar.gz: 2470c26fe5bd82a3dcfd73c290155c7c0c333623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed044997a50c4775fb71950bc7c0b7fa4ee8de38c72a0ff9cb9299d110b93dca010c4a75f96b717c13778776274500ac46b9149c3980528c94f7d94e50d00ebe
|
7
|
+
data.tar.gz: 64427468477950cbeb8bc21dc3102723fa8f83ac0240566346c06a33fffa65cf8406dbfbc26917ae5200328bd2fd94501aeaedf121821f19c7108c982af59e39
|
data/CHANGELOG.md
CHANGED
@@ -1,18 +1,47 @@
|
|
1
|
-
#
|
2
|
-
#
|
1
|
+
# Please refer to Rails Guides for the details of database configuration:
|
2
|
+
# http://guides.rubyonrails.org/configuring.html#configuring-a-database
|
3
|
+
#
|
4
|
+
# For Rails 4.0 or earlier
|
5
|
+
#
|
6
|
+
# The only way to correctly configure the connection to a database was to
|
7
|
+
# use the config/database.yml file.
|
8
|
+
#
|
9
|
+
# SQLite3:
|
10
|
+
#
|
11
|
+
# <%= stage %>:
|
12
|
+
# adapter: sqlite3
|
13
|
+
# database: db/<%= application %>_<%= stage %>.sqlite3
|
14
|
+
# pool: 5
|
15
|
+
# timeout: 5000
|
3
16
|
#
|
4
17
|
# MySQL:
|
18
|
+
#
|
19
|
+
# <%= stage %>:
|
20
|
+
# adapter: mysql2
|
21
|
+
# encoding: utf8
|
22
|
+
# host: <%%= ENV["DATABASE_HOST"] %>
|
23
|
+
# database: <%= application %>_<%= stage %>
|
24
|
+
# pool: 5
|
25
|
+
# username: root
|
26
|
+
# password: <%%= ENV["DATABASE_PASSWORD"] %>
|
27
|
+
# socket: /tmp/mysql.sock
|
5
28
|
#
|
6
|
-
#
|
7
|
-
#
|
29
|
+
# Sensitive information like database password is recommended to setup in env_vars.rb of Luban.
|
30
|
+
#
|
31
|
+
# For Rails 4.1+
|
32
|
+
#
|
33
|
+
# It's recommended to use an environment variable, DATABASE_URL, to configure a database
|
34
|
+
# The database url can be setup in env_vars.rb of Luban:
|
8
35
|
#
|
9
36
|
# SQLite3:
|
10
37
|
#
|
11
38
|
# env_vars[:database_url] =
|
12
39
|
# "sqlite3:db/#{application}_#{stage}.sqlite3?pool=5&timeout=5000"
|
13
40
|
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
|
17
|
-
|
18
|
-
|
41
|
+
# MySQL:
|
42
|
+
#
|
43
|
+
# env_vars[:database_url] =
|
44
|
+
# "mysql2://username:password@host:port/#{application}_#{stage}?encoding=utf8&pool=5"
|
45
|
+
#
|
46
|
+
# <%= stage %>:
|
47
|
+
# url: <%%= ENV["DATABASE_URL"] %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luban-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rubyist Chi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: luban
|