decko-rails 0.11.7 → 1.15.pre2
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 +5 -5
- data/decko-rails.gemspec +26 -0
- data/lib/decko/rails.rb +13 -12
- metadata +22 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 0a2724113a9801e0fbddfa4cd2b426ad01636581
|
|
4
|
+
data.tar.gz: 87e1cb130ed18f235b0f4b5a4977f87ce00f7821
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b21cde9a6732f601c28f19b369a810c1ed5be19b953bde52e392f42e09a2e3306c32a9d734fceb42385fa0e2f4d58506d2c687f9e7173ffe5f692f10a270c580
|
|
7
|
+
data.tar.gz: f0bfe53e34b90017c1b742cb5fad76c128121fafd803a1e15d5bd8148b7a54dfe8e1e74275386efdb1509f7bf28801336eaaf3737744600132acf90c2129d11a
|
data/decko-rails.gemspec
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#lib = File.expand_path('../lib', __FILE__)
|
|
2
|
+
#$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
+
version = File.open(File.expand_path( '../../card/VERSION', __FILE__ )).read.chomp
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |s|
|
|
6
|
+
s.name = 'decko-rails'
|
|
7
|
+
s.version = version
|
|
8
|
+
s.authors = ["Ethan McCutchen", "Gerry Gleason", "Philipp Kühl"]
|
|
9
|
+
s.email = ['info@wagn.org']
|
|
10
|
+
|
|
11
|
+
# s.date = '2013-12-20'
|
|
12
|
+
s.summary = "rails engine for decko (wagn): a structured wiki web platform"
|
|
13
|
+
s.description = "Provides the glue to make decko (currently named Wagn) available as a Rails::Engine."
|
|
14
|
+
s.homepage = 'http://wagn.org'
|
|
15
|
+
s.license = 'GPL'
|
|
16
|
+
|
|
17
|
+
s.files = `git ls-files`.split($/)
|
|
18
|
+
|
|
19
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
|
20
|
+
s.require_paths = ["lib"]
|
|
21
|
+
|
|
22
|
+
s.required_ruby_version = '>= 1.8.7'
|
|
23
|
+
|
|
24
|
+
s.add_runtime_dependency 'wagn', version
|
|
25
|
+
|
|
26
|
+
end
|
data/lib/decko/rails.rb
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
DECKO_RAILS_GEM_ROOT = File.expand_path(
|
|
1
|
+
DECKO_RAILS_GEM_ROOT = File.expand_path('../../..', __FILE__)
|
|
2
2
|
|
|
3
|
-
require
|
|
4
|
-
require
|
|
3
|
+
require 'rails/all'
|
|
4
|
+
require 'decko/engine'
|
|
5
5
|
|
|
6
6
|
module Decko
|
|
7
|
-
# not sure we need this
|
|
8
|
-
module Rails
|
|
7
|
+
module Rails # not sure we need this
|
|
9
8
|
class << self
|
|
10
9
|
def gem_root
|
|
11
10
|
DECKO_RAILS_GEM_ROOT
|
|
@@ -15,18 +14,20 @@ module Decko
|
|
|
15
14
|
|
|
16
15
|
if defined? ::Rails::Railtie
|
|
17
16
|
class Railtie < ::Rails::Railtie
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
|
|
18
|
+
initializer 'decko-rails.load_task_path', :before => 'decko.engine.load_config_initializers' do
|
|
19
|
+
puts "dk rails #{::Rails.application.paths.inspect} #{defined? Decko::Engine}"
|
|
20
20
|
Cardio.set_config ::Rails.application.config
|
|
21
21
|
Cardio.set_paths ::Rails.application.paths
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
rake_tasks do |
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
rake_tasks do |app|
|
|
25
|
+
begin
|
|
26
|
+
# for some reason this needs the 'wagn/', can't get lib/tasks change right by this time?
|
|
27
|
+
load 'wagn/tasks/wagn.rake'
|
|
28
|
+
end
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
|
+
|
|
32
33
|
end
|
metadata
CHANGED
|
@@ -1,49 +1,46 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decko-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.15.pre2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ethan McCutchen
|
|
8
|
-
- Philipp Kühl
|
|
9
8
|
- Gerry Gleason
|
|
10
|
-
|
|
9
|
+
- Philipp Kühl
|
|
10
|
+
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2015-03-26 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
name:
|
|
16
|
+
name: wagn
|
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
|
18
18
|
requirements:
|
|
19
19
|
- - '='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
21
|
+
version: 1.15.pre2
|
|
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:
|
|
29
|
-
description: Provides the glue to make decko available as a
|
|
28
|
+
version: 1.15.pre2
|
|
29
|
+
description: Provides the glue to make decko (currently named Wagn) available as a
|
|
30
|
+
Rails::Engine.
|
|
30
31
|
email:
|
|
31
|
-
- info@
|
|
32
|
+
- info@wagn.org
|
|
32
33
|
executables: []
|
|
33
34
|
extensions: []
|
|
34
35
|
extra_rdoc_files: []
|
|
35
36
|
files:
|
|
37
|
+
- decko-rails.gemspec
|
|
36
38
|
- lib/decko/rails.rb
|
|
37
|
-
homepage:
|
|
39
|
+
homepage: http://wagn.org
|
|
38
40
|
licenses:
|
|
39
|
-
- GPL
|
|
40
|
-
metadata:
|
|
41
|
-
|
|
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:
|
|
41
|
+
- GPL
|
|
42
|
+
metadata: {}
|
|
43
|
+
post_install_message:
|
|
47
44
|
rdoc_options: []
|
|
48
45
|
require_paths:
|
|
49
46
|
- lib
|
|
@@ -51,15 +48,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
51
48
|
requirements:
|
|
52
49
|
- - ">="
|
|
53
50
|
- !ruby/object:Gem::Version
|
|
54
|
-
version:
|
|
51
|
+
version: 1.8.7
|
|
55
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
53
|
requirements:
|
|
57
|
-
- - "
|
|
54
|
+
- - ">"
|
|
58
55
|
- !ruby/object:Gem::Version
|
|
59
|
-
version:
|
|
56
|
+
version: 1.3.1
|
|
60
57
|
requirements: []
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
rubyforge_project:
|
|
59
|
+
rubygems_version: 2.4.3
|
|
60
|
+
signing_key:
|
|
63
61
|
specification_version: 4
|
|
64
|
-
summary: 'rails engine for decko: a structured wiki web platform'
|
|
62
|
+
summary: 'rails engine for decko (wagn): a structured wiki web platform'
|
|
65
63
|
test_files: []
|