decko 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/decko/generators/deck/deck_generator/deck_helper.rb +1 -1
- data/lib/decko/generators/deck/templates/Rakefile.erb +1 -2
- data/lib/decko/generators/deck/templates/config.ru.erb +3 -3
- data/lib/decko/generators/deck/templates/config/application.rb.erb +11 -11
- data/lib/decko/generators/deck/templates/config/boot.rb.erb +4 -4
- data/lib/decko/generators/deck/templates/config/environment.rb.erb +1 -1
- data/lib/decko/generators/deck/templates/script/decko +3 -3
- data/lib/decko/tasks/decko/seed.rake +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b604632f8bbd252bc7f954c977c4aa1cd92da44ac5e67b6f1ec1e4d34742efb
|
4
|
+
data.tar.gz: a5c7188dae289ac477aeb0ee0773b9333787d057f249b6a6d881c5e6e6d06460
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afdedb51ec7ee684555e98bcf8635ab85c6d04aaea8bb28a00adcb883b62a4394a39258bb96954138721df39c442153ae284e597b3ad23d7f509f410cba234ff
|
7
|
+
data.tar.gz: ffab9d6259685a51460853a0707ff89221aba038de09d53d975ceca71f2aaa2230c98853766653745315157a03cd5f29d69cd1abdf57637ad681c2efeee8b34e
|
@@ -72,7 +72,7 @@ module Decko
|
|
72
72
|
|
73
73
|
def database_gem_and_version
|
74
74
|
entry = database_gemfile_entry
|
75
|
-
text = %(
|
75
|
+
text = %("#{entry.name}")
|
76
76
|
text << %(, '#{entry.version}') if entry.version
|
77
77
|
# single quotes to prevent, eg: `gem "pg", ">= 0.18', '< 2.0"`
|
78
78
|
text
|
@@ -1,7 +1,6 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
1
|
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
2
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
3
|
|
5
|
-
require File.expand_path(
|
4
|
+
require File.expand_path("../config/application", __FILE__)
|
6
5
|
|
7
6
|
<%= app_const %>.load_tasks
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# This file is used by Rack-based servers to start the application.
|
2
2
|
|
3
|
-
require ::File.expand_path(
|
4
|
-
<% if options[
|
3
|
+
require ::File.expand_path("../config/environment", __FILE__)
|
4
|
+
<% if options["core-dev"] -%>
|
5
5
|
|
6
6
|
if Rails.env.profile?
|
7
|
-
use Rack::RubyProf, :path =>
|
7
|
+
use Rack::RubyProf, :path => "tmp/profile"
|
8
8
|
end
|
9
9
|
|
10
10
|
<% end -%>
|
@@ -1,6 +1,6 @@
|
|
1
|
-
require File.expand_path(
|
1
|
+
require File.expand_path("../boot", __FILE__)
|
2
2
|
|
3
|
-
require
|
3
|
+
require "decko/application"
|
4
4
|
|
5
5
|
module <%= app_const_base %>
|
6
6
|
class Application < Decko::Application
|
@@ -34,7 +34,7 @@ module <%= app_const_base %>
|
|
34
34
|
|
35
35
|
|
36
36
|
# CACHING
|
37
|
-
# config.cache_store = :file_store,
|
37
|
+
# config.cache_store = :file_store, "tmp/cache"
|
38
38
|
# determines caching mechanism. options include: file_store, memory_store,
|
39
39
|
# mem_cache_store, dalli_store...
|
40
40
|
#
|
@@ -44,7 +44,7 @@ module <%= app_const_base %>
|
|
44
44
|
|
45
45
|
|
46
46
|
# FILES
|
47
|
-
# config.paths[
|
47
|
+
# config.paths["files"] = "files"
|
48
48
|
# directory in which uploaded files are actually stored. (eg Image and File cards)
|
49
49
|
|
50
50
|
# config.file_storage = :local
|
@@ -59,13 +59,13 @@ module <%= app_const_base %>
|
|
59
59
|
# directory: "bucket-name",
|
60
60
|
# subdirectory: "files",
|
61
61
|
# credentials: {
|
62
|
-
# provider:
|
63
|
-
# aws_access_key_id:
|
64
|
-
# aws_secret_access_key:
|
62
|
+
# provider: "AWS", # required
|
63
|
+
# aws_access_key_id: "key", # required
|
64
|
+
# aws_secret_access_key: "secret-key", # required
|
65
65
|
# use_iam_profile: true, # optional, defaults to false
|
66
|
-
# region:
|
67
|
-
# host:
|
68
|
-
# endpoint:
|
66
|
+
# region: "eu-central-1", # optional, defaults to "us-east-1"
|
67
|
+
# host: "s3.example.com", # optional, defaults to nil
|
68
|
+
# endpoint: "https://s3.example.com:8080" # optional, defaults to nil
|
69
69
|
# },
|
70
70
|
# attributes: { "Cache-Control" => "max-age=#{365.day.to_i}" },
|
71
71
|
# public: true,
|
@@ -82,7 +82,7 @@ module <%= app_const_base %>
|
|
82
82
|
# defaults to false
|
83
83
|
# disallows creating, updating, and deleting cards.
|
84
84
|
|
85
|
-
# config.paths[
|
85
|
+
# config.paths["mod"] << "my-mod-dir"
|
86
86
|
# add a new directory for code customizations, or "mods"
|
87
87
|
|
88
88
|
# config.allow_inline_styles = false
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
|
3
|
-
require
|
3
|
+
require "rubygems"
|
4
4
|
|
5
5
|
# defaults to development mode without the following
|
6
|
-
<%= "# " unless shark? %>ENV[
|
6
|
+
<%= "# " unless shark? %>ENV["RAILS_ENV"] ||= "production"
|
7
7
|
|
8
8
|
# Set up gems listed in the Gemfile.
|
9
|
-
ENV[
|
9
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("Gemfile")
|
10
10
|
|
11
|
-
require
|
11
|
+
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
|
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
# This command will be run when you use `decko` from within your deck.
|
3
3
|
|
4
|
-
APP_PATH = File.expand_path(
|
5
|
-
require File.expand_path(
|
6
|
-
require
|
4
|
+
APP_PATH = File.expand_path("../../config/application", __FILE__)
|
5
|
+
require File.expand_path("../../config/boot", __FILE__)
|
6
|
+
require "decko/commands"
|
@@ -170,7 +170,7 @@ end
|
|
170
170
|
# # end
|
171
171
|
|
172
172
|
# def each_file_card
|
173
|
-
# Card.search(type: %w
|
173
|
+
# Card.search(type: %w[in Image File], ne: "").each do |card|
|
174
174
|
# if card.coded? || card.codename == "new_file" ||
|
175
175
|
# card.codename == "new_image"
|
176
176
|
# puts "skipping #{card.name}: already in code"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decko
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-04-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.101.
|
21
|
+
version: 1.101.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.101.
|
28
|
+
version: 1.101.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: card-mod-defaults
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.11.
|
35
|
+
version: 0.11.3
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.11.
|
42
|
+
version: 0.11.3
|
43
43
|
description: a wiki approach to structured data, dynamic interaction, and web design
|
44
44
|
email:
|
45
45
|
- info@decko.org
|
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
|
-
rubygems_version: 3.
|
185
|
+
rubygems_version: 3.1.4
|
186
186
|
signing_key:
|
187
187
|
specification_version: 4
|
188
188
|
summary: structured wiki web platform
|