chive 0.1.0 → 0.1.1
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/lib/chive/version.rb +1 -1
- data/templates/add_name_to_devise.rb.tt +5 -0
- data/templates/chive.rb.tt +22 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5518cd19d73a5810f596e2133cc1d7c24c805a5aa527bcf9d140cb4d6d5a5905
|
|
4
|
+
data.tar.gz: d68b9899479eeb673d6f11fb9c425dba4e44a817872ae34902ac9dbaf48457c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da2b3bf280731a66918d42d16289c03c4c0980e3de78bf9cb16e337a0d4de22f81b1db6460128ebe21ed234a4b927ee1f860830a558e08f2f21f370d487fdd4b
|
|
7
|
+
data.tar.gz: 40369e984d1fe8e2cc4295cb5170d2ac2c20985e72b71200610bd7b49f5ea1dd56c9b26759c3044365de42d4ba05f404868c52f72eb2d5cd53be330aec748685
|
data/lib/chive/version.rb
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Use this hook to configure Chive.
|
|
2
|
+
# Be sure to restart your server when you modify this file.
|
|
3
|
+
#
|
|
4
|
+
Chive.setup do |config|
|
|
5
|
+
# The model for the user.
|
|
6
|
+
# config.user_model = 'User'
|
|
7
|
+
|
|
8
|
+
# The user model's primary key.
|
|
9
|
+
# config.user_pk_attr = 'id'
|
|
10
|
+
|
|
11
|
+
# The user name attribute in the user model.
|
|
12
|
+
# config.user_name_attr = 'name'
|
|
13
|
+
|
|
14
|
+
# If the main app uses Devise, set this attribute to `true` for quick and
|
|
15
|
+
# easy user authentication. The `Chive.user_model` attribute should use the
|
|
16
|
+
# same model as Devise.
|
|
17
|
+
# config.use_devise = false
|
|
18
|
+
<% if options[:devise] %>config.use_devise = true
|
|
19
|
+
<% end %>
|
|
20
|
+
# The layout to use for public pages
|
|
21
|
+
# config.public_layout = 'chive/application'
|
|
22
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chive
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fred Snyder
|
|
@@ -184,6 +184,8 @@ files:
|
|
|
184
184
|
- lib/generators/chive/seeds_generator.rb
|
|
185
185
|
- lib/generators/chive/views_generator.rb
|
|
186
186
|
- lib/tasks/chive_tasks.rake
|
|
187
|
+
- templates/add_name_to_devise.rb.tt
|
|
188
|
+
- templates/chive.rb.tt
|
|
187
189
|
homepage: https://castwide.com
|
|
188
190
|
licenses:
|
|
189
191
|
- MIT
|