decko-rails 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.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/decko-rails.gemspec +26 -0
  3. data/lib/decko/rails.rb +33 -0
  4. metadata +63 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0a2724113a9801e0fbddfa4cd2b426ad01636581
4
+ data.tar.gz: 87e1cb130ed18f235b0f4b5a4977f87ce00f7821
5
+ SHA512:
6
+ metadata.gz: b21cde9a6732f601c28f19b369a810c1ed5be19b953bde52e392f42e09a2e3306c32a9d734fceb42385fa0e2f4d58506d2c687f9e7173ffe5f692f10a270c580
7
+ data.tar.gz: f0bfe53e34b90017c1b742cb5fad76c128121fafd803a1e15d5bd8148b7a54dfe8e1e74275386efdb1509f7bf28801336eaaf3737744600132acf90c2129d11a
@@ -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
@@ -0,0 +1,33 @@
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
+
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
+ Cardio.set_config ::Rails.application.config
21
+ Cardio.set_paths ::Rails.application.paths
22
+ end
23
+
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
+ end
30
+ end
31
+ end
32
+
33
+ end
metadata ADDED
@@ -0,0 +1,63 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: decko-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.15.pre2
5
+ platform: ruby
6
+ authors:
7
+ - Ethan McCutchen
8
+ - Gerry Gleason
9
+ - Philipp Kühl
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2015-03-26 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: wagn
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.15.pre2
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - '='
27
+ - !ruby/object:Gem::Version
28
+ version: 1.15.pre2
29
+ description: Provides the glue to make decko (currently named Wagn) available as a
30
+ Rails::Engine.
31
+ email:
32
+ - info@wagn.org
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - decko-rails.gemspec
38
+ - lib/decko/rails.rb
39
+ homepage: http://wagn.org
40
+ licenses:
41
+ - GPL
42
+ metadata: {}
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: 1.8.7
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">"
55
+ - !ruby/object:Gem::Version
56
+ version: 1.3.1
57
+ requirements: []
58
+ rubyforge_project:
59
+ rubygems_version: 2.4.3
60
+ signing_key:
61
+ specification_version: 4
62
+ summary: 'rails engine for decko (wagn): a structured wiki web platform'
63
+ test_files: []