decko-rails 0.11.2
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 +7 -0
- data/lib/decko/rails.rb +31 -0
- metadata +65 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c4de404d1303fbf40b0413ea37c623ae8844e5bfdb3a61bbf79f11a6c120b212
|
|
4
|
+
data.tar.gz: 521811f6d3426a29580dd1087b084c9abee54cda453ee1d4b17686e7b5fdb5f7
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 03f253a7ac47384e33ecc6edc5b3edce034109ccd0281379bde69b3d1dd060b14576c38863f47f4108d451eac8d3e096af7989df183094f71a172f116843f955
|
|
7
|
+
data.tar.gz: 77d8c25edfa86627bbcb98df263a8c4f4767d322f6b89cf1ed2485ef075626d2ff3a22228326cc1b92d22c445473be8af8a438afa6dd9be875b6cdcbbac43135
|
data/lib/decko/rails.rb
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
DECKO_RAILS_GEM_ROOT = File.expand_path("../../..", __FILE__)
|
|
2
|
+
|
|
3
|
+
require "rails/all"
|
|
4
|
+
require "decko/engine"
|
|
5
|
+
|
|
6
|
+
module Decko
|
|
7
|
+
module Rails # not sure we need this
|
|
8
|
+
class << self
|
|
9
|
+
def gem_root
|
|
10
|
+
DECKO_RAILS_GEM_ROOT
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
if defined? ::Rails::Railtie
|
|
16
|
+
class Railtie < ::Rails::Railtie
|
|
17
|
+
initializer "decko-rails.load_task_path",
|
|
18
|
+
before: "decko.engine.load_config_initializers" do
|
|
19
|
+
Cardio.set_config ::Rails.application.config
|
|
20
|
+
Cardio.set_paths ::Rails.application.paths
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
rake_tasks do |_app|
|
|
24
|
+
# for some reason this needs the 'decko/',
|
|
25
|
+
# can't get lib/tasks change right by this time?
|
|
26
|
+
load "decko/tasks/decko.rake"
|
|
27
|
+
load "card/tasks/card.rake"
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: decko-rails
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.11.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ethan McCutchen
|
|
8
|
+
- Philipp Kühl
|
|
9
|
+
- Gerry Gleason
|
|
10
|
+
autorequire:
|
|
11
|
+
bindir: bin
|
|
12
|
+
cert_chain: []
|
|
13
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: decko
|
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
|
18
|
+
requirements:
|
|
19
|
+
- - '='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 0.11.2
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
requirements:
|
|
26
|
+
- - '='
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: 0.11.2
|
|
29
|
+
description: Provides the glue to make decko available as a Rails::Engine.
|
|
30
|
+
email:
|
|
31
|
+
- info@decko.org
|
|
32
|
+
executables: []
|
|
33
|
+
extensions: []
|
|
34
|
+
extra_rdoc_files: []
|
|
35
|
+
files:
|
|
36
|
+
- lib/decko/rails.rb
|
|
37
|
+
homepage: https://decko.org
|
|
38
|
+
licenses:
|
|
39
|
+
- GPL-3.0
|
|
40
|
+
metadata:
|
|
41
|
+
source_code_uri: https://github.com/decko-commons/decko
|
|
42
|
+
homepage_uri: https://decko.org
|
|
43
|
+
bug_tracker_uri: https://github.com/decko-commons/decko/issues
|
|
44
|
+
wiki_uri: https://decko.org
|
|
45
|
+
documentation_url: http://docs.decko.org/
|
|
46
|
+
post_install_message:
|
|
47
|
+
rdoc_options: []
|
|
48
|
+
require_paths:
|
|
49
|
+
- lib
|
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '2.5'
|
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '0'
|
|
60
|
+
requirements: []
|
|
61
|
+
rubygems_version: 3.0.3
|
|
62
|
+
signing_key:
|
|
63
|
+
specification_version: 4
|
|
64
|
+
summary: 'rails engine for decko: a structured wiki web platform'
|
|
65
|
+
test_files: []
|