decko 0.9.2 → 0.9.3
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/README.rdoc +3 -3
- data/lib/decko/engine.rb +6 -6
- data/rails/controllers/card_controller.rb +0 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 05a8d491e994dc90730abbcfb162bedc6b1e30950b00e3ee62cc01bcd9421fdf
|
|
4
|
+
data.tar.gz: ee98d6512689e0ba436229d838cd71d856e34ac90b363143b03c1fc6c509685a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ad07bc82020a54fa5bdfccc8c93c2a7e362623a29807cfb1bed460c76345a50f4daaa252ffc872b8e2e71eccd24db8800828b2de6d56683cce39343e1bab9e02
|
|
7
|
+
data.tar.gz: d939edebebf8095b86281abea809abee816501fbac3773acd2f5a0907ed7db3559b517c83f778cb2a21703b11ca353cd8115f52f048f3f14de1d51f4a32305a8
|
data/README.rdoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
=Decko: you hold the cards
|
|
2
2
|
|
|
3
|
-
{<img src="https://semaphoreci.com/api/v1/
|
|
3
|
+
{<img src="https://semaphoreci.com/api/v1/ethan/decko/branches/master/shields_badge.svg" />}[https://semaphoreci.com/ethan/decko]
|
|
4
4
|
{<img src="https://badge.fury.io/rb/decko.svg" alt="Gem Version" />}[https://badge.fury.io/rb/decko]
|
|
5
5
|
{<img src="https://codeclimate.com/repos/56548cb6fafb98574e013c39/badges/be88db3f72d0fd06ace3/gpa.svg" />}[https://codeclimate.com/repos/56548cb6fafb98574e013c39/feed]
|
|
6
6
|
|
|
@@ -22,7 +22,7 @@ Try it out!
|
|
|
22
22
|
|
|
23
23
|
===1. install dependencies
|
|
24
24
|
|
|
25
|
-
Ruby[http://www.ruby-lang.org/en/]:: version 2.
|
|
25
|
+
Ruby[http://www.ruby-lang.org/en/]:: version 2.5 or higher
|
|
26
26
|
Bundler[http://gembundler.com/]:: version 1.0 or higher
|
|
27
27
|
ImageMagick[http://www.imagemagick.org/]::
|
|
28
28
|
A database engine:: Either MySQL[http://www.mysql.com/] or PostgreSQL[http://www.postgresql.org/]
|
|
@@ -148,4 +148,4 @@ Installation problems? Installation: https://decko.org/installation
|
|
|
148
148
|
|
|
149
149
|
If you're looking to go deep into the code, start with http://www.rubydoc.info/gems/card
|
|
150
150
|
|
|
151
|
-
Thinking about contributing to Decko? here[link:CONTRIBUTING.
|
|
151
|
+
Thinking about contributing to Decko? here[link:CONTRIBUTING.md]
|
data/lib/decko/engine.rb
CHANGED
|
@@ -47,12 +47,12 @@ module Decko
|
|
|
47
47
|
ActiveSupport.on_load(:active_record) do
|
|
48
48
|
ActiveRecord::Base.establish_connection(::Rails.env.to_sym)
|
|
49
49
|
end
|
|
50
|
-
ActiveSupport.on_load(:after_initialize) do
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
rescue ActiveRecord::StatementInvalid => e
|
|
54
|
-
|
|
55
|
-
end
|
|
50
|
+
# ActiveSupport.on_load(:after_initialize) do
|
|
51
|
+
# # require "card" if Cardio.load_card?
|
|
52
|
+
# Card if Cardio.load_card?
|
|
53
|
+
# rescue ActiveRecord::StatementInvalid => e
|
|
54
|
+
# ::Rails.logger.warn "database not available[#{::Rails.env}] #{e}"
|
|
55
|
+
# end
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
end
|
|
@@ -50,7 +50,6 @@ class CardController < ApplicationController
|
|
|
50
50
|
before_action :refresh_card, only: [:create, :update, :delete]
|
|
51
51
|
|
|
52
52
|
def setup
|
|
53
|
-
Card::Mod::Loader.reload_sets if Cardio.config.reload_sets
|
|
54
53
|
Card::Machine.refresh_script_and_style unless params[:explicit_file]
|
|
55
54
|
Card::Cache.renew
|
|
56
55
|
Card::Env.reset controller: self
|
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.9.
|
|
4
|
+
version: 0.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ethan McCutchen
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2020-02-
|
|
14
|
+
date: 2020-02-14 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: card
|
|
@@ -19,14 +19,14 @@ dependencies:
|
|
|
19
19
|
requirements:
|
|
20
20
|
- - '='
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 1.99.
|
|
22
|
+
version: 1.99.3
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - '='
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 1.99.
|
|
29
|
+
version: 1.99.3
|
|
30
30
|
description: a wiki approach to stuctured data, dynamic interaction, and web design
|
|
31
31
|
email:
|
|
32
32
|
- info@decko.org
|