jinda 0.7.7.3 → 0.7.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -12
- data/lib/generators/jinda/templates/app/mailers/{application_mailer.rb-org → application_mailer.rb} +0 -0
- data/lib/generators/jinda/templates/config/mongoid.yml +3 -3
- data/lib/jinda/version.rb +1 -1
- data/test/dummy/Dockerfile +4 -2
- data/test/dummy/Gemfile +5 -2
- data/test/dummy/Gemfile.lock +21 -22
- data/test/dummy/Guardfile +96 -0
- data/test/dummy/app/assets/javascripts/application.js +8 -8
- data/test/dummy/app/assets/stylesheets/{application.css.scss → application.scss} +12 -4
- data/test/dummy/app/assets/stylesheets/jinda.scss +253 -0
- data/test/dummy/app/controllers/adminltes_controller.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +2 -2
- data/test/dummy/app/views/adminltes/dashboard1.haml +461 -0
- data/test/dummy/app/views/adminltes/dashboard2.haml +656 -0
- data/test/dummy/app/views/identities/new-bak.html.haml +32 -0
- data/test/dummy/app/views/identities/new.html.haml +13 -0
- data/test/dummy/app/views/layouts/application.haml +51 -4
- data/test/dummy/app/views/layouts/application.haml.bak +4 -0
- data/test/dummy/app/views/layouts/lte/_flash.haml +9 -0
- data/test/dummy/app/views/layouts/lte/_footer.haml +7 -0
- data/test/dummy/app/views/layouts/lte/_header.haml +111 -0
- data/test/dummy/app/views/layouts/lte/_menu.haml +42 -0
- data/test/dummy/app/views/layouts/lte/_menu_mm.haml +36 -0
- data/test/dummy/app/views/layouts/lte/_rightbar.haml +123 -0
- data/test/dummy/app/views/layouts/lte/_sidebar.haml +154 -0
- data/test/dummy/app/views/sessions/new-bak.html.haml +22 -0
- data/test/dummy/app/views/sessions/new.html.haml +13 -0
- data/test/dummy/config/credentials.yml.enc +1 -1
- data/test/dummy/config/mongoid.yml +40 -54
- data/test/dummy/docker-compose.yml +4 -2
- data/test/dummy/log/development.log +2126 -494
- data/test/dummy/tmp/development_secret.txt +1 -1
- metadata +19 -9
- data/test/Gemfile +0 -2
- data/test/dummy/README.md.bak +0 -24
- data/test/dummy/app/assets/stylesheets/application.css.bak +0 -15
- data/test/dummy/app/assets/stylesheets/jinda_jqm.css.scss +0 -32
- data/test/dummy/app/mailers/application_mailer.rb-org +0 -4
@@ -4,16 +4,17 @@ development:
|
|
4
4
|
# Defines the default client. (required)
|
5
5
|
default:
|
6
6
|
# Mongoid can connect to a URI accepted by the driver:
|
7
|
-
# uri: mongodb://user:password@mongodb.domain.com:27017/
|
7
|
+
# uri: mongodb://user:password@mongodb.domain.com:27017/shop263603_development
|
8
8
|
|
9
9
|
# Otherwise define the parameters separately.
|
10
10
|
# This defines the name of the default database that Mongoid can connect to.
|
11
11
|
# (required).
|
12
|
-
database:
|
12
|
+
database: shop263603_development
|
13
13
|
# Provides the hosts the default client can connect to. Must be an array
|
14
14
|
# of host:port pairs. (required)
|
15
15
|
hosts:
|
16
|
-
- localhost:27017
|
16
|
+
# - localhost:27017
|
17
|
+
- mongodb
|
17
18
|
options:
|
18
19
|
# Note that all options listed below are Ruby driver client options (the mongo gem).
|
19
20
|
# Please refer to the driver documentation of the version of the mongo gem you are using
|
@@ -57,7 +58,7 @@ development:
|
|
57
58
|
# connect: :direct
|
58
59
|
|
59
60
|
# Changes the default time in seconds the server monitors refresh their status
|
60
|
-
# via
|
61
|
+
# via ismaster commands. (default: 10)
|
61
62
|
# heartbeat_frequency: 10
|
62
63
|
|
63
64
|
# The time in seconds for selecting servers for a near read preference. (default: 0.015)
|
@@ -80,13 +81,8 @@ development:
|
|
80
81
|
# (default: 10)
|
81
82
|
# connect_timeout: 10
|
82
83
|
|
83
|
-
#
|
84
|
-
#
|
85
|
-
# processing time for the longest operation that will be executed
|
86
|
-
# by the application. Note that this is a client-side timeout;
|
87
|
-
# the server may continue executing an operation after the client
|
88
|
-
# aborts it with the SocketTimeout exception.
|
89
|
-
# (default: nil, meaning no timeout)
|
84
|
+
# The timeout to wait to execute operations on a socket before raising an error.
|
85
|
+
# (default: 5)
|
90
86
|
# socket_timeout: 5
|
91
87
|
|
92
88
|
# The name of the replica set to connect to. Servers provided as seeds that do
|
@@ -119,44 +115,12 @@ development:
|
|
119
115
|
|
120
116
|
# Configure Mongoid specific options. (optional)
|
121
117
|
options:
|
122
|
-
#
|
123
|
-
# a connection in server versions >= 3.4. Note that the name cannot
|
124
|
-
# exceed 128 bytes. It is also used as the database name if the
|
125
|
-
# database name is not explicitly defined. (default: nil)
|
126
|
-
# app_name: MyApplicationName
|
127
|
-
|
128
|
-
production:
|
129
|
-
clients:
|
130
|
-
default:
|
131
|
-
uri: <%= ENV['MONGODB_URI'] %>
|
132
|
-
options:
|
133
|
-
raise_not_found_error: false
|
134
|
-
belongs_to_required_by_default: false
|
135
|
-
|
136
|
-
|
137
|
-
# Mark belongs_to associations as required by default, so that saving a
|
138
|
-
# model with a missing belongs_to association will trigger a validation
|
139
|
-
# error. (default: true)
|
140
|
-
# belongs_to_required_by_default: true
|
141
|
-
belongs_to_required_by_default: false
|
142
|
-
|
143
|
-
# Raise an exception when a field is redefined. (default: false)
|
144
|
-
# duplicate_fields_exception: false
|
145
|
-
|
146
|
-
# Include the root model name in json serialization. (default: false)
|
118
|
+
# Includes the root model name in json serialization. (default: false)
|
147
119
|
# include_root_in_json: false
|
148
120
|
|
149
121
|
# Include the _type field in serialization. (default: false)
|
150
122
|
# include_type_for_serialization: false
|
151
123
|
|
152
|
-
# Whether to join nested persistence contexts for atomic operations
|
153
|
-
# to parent contexts by default. (default: false)
|
154
|
-
# join_contexts: false
|
155
|
-
|
156
|
-
# Set the Mongoid and Ruby driver log levels when Mongoid is not using
|
157
|
-
# Ruby on Rails logger instance. (default: :info)
|
158
|
-
# log_level: :info
|
159
|
-
|
160
124
|
# Preload all models in development, needed when models use
|
161
125
|
# inheritance. (default: false)
|
162
126
|
# preload_models: false
|
@@ -170,24 +134,46 @@ production:
|
|
170
134
|
# existing method. (default: false)
|
171
135
|
# scope_overwrite_exception: false
|
172
136
|
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
137
|
+
# Raise an error when defining a field with the same name as an
|
138
|
+
# existing method. (default: false)
|
139
|
+
# duplicate_fields_exception: false
|
140
|
+
|
141
|
+
# Use Active Support's time zone in conversions. (default: true)
|
176
142
|
# use_activesupport_time_zone: true
|
177
143
|
|
178
|
-
#
|
179
|
-
# further information. Most applications should not use this option.
|
180
|
-
# (default: false)
|
144
|
+
# Ensure all times are UTC in the app side. (default: false)
|
181
145
|
# use_utc: false
|
182
146
|
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
147
|
+
# Set the Mongoid and Ruby driver log levels when not in a Rails
|
148
|
+
# environment. The Mongoid logger will be set to the Rails logger
|
149
|
+
# otherwise.(default: :info)
|
150
|
+
# log_level: :info
|
151
|
+
|
152
|
+
# Control whether `belongs_to` association is required. By default
|
153
|
+
# `belongs_to` will trigger a validation error if the association
|
154
|
+
# is not present. (default: true)
|
155
|
+
# belongs_to_required_by_default: true
|
156
|
+
belongs_to_required_by_default: false
|
157
|
+
|
158
|
+
# Application name that is printed to the mongodb logs upon establishing a
|
159
|
+
# connection in server versions >= 3.4. Note that the name cannot exceed 128 bytes.
|
160
|
+
# app_name: MyApplicationName
|
161
|
+
|
162
|
+
production:
|
163
|
+
clients:
|
164
|
+
default:
|
165
|
+
uri: <%= ENV['MONGODB_URI'] %>
|
166
|
+
options:
|
167
|
+
raise_not_found_error: false
|
168
|
+
belongs_to_required_by_default: false
|
186
169
|
|
170
|
+
|
171
|
+
# Use background indexes by default if `background` option not specified. (default: false)
|
172
|
+
# background_indexing: false
|
187
173
|
test:
|
188
174
|
clients:
|
189
175
|
default:
|
190
|
-
database:
|
176
|
+
database: shop263603_test
|
191
177
|
hosts:
|
192
178
|
- localhost:27017
|
193
179
|
options:
|