podium 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -0
- data/app/assets/config/podium_manifest.js +0 -0
- data/app/assets/images/podium/.keep +0 -0
- data/app/assets/stylesheets/podium/.keep +0 -0
- data/app/controllers/.keep +0 -0
- data/app/controllers/concerns/.keep +0 -0
- data/app/helpers/.keep +0 -0
- data/app/jobs/.keep +0 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/concerns/.keep +0 -0
- data/app/views/.keep +0 -0
- data/bin/rails +14 -0
- data/config/routes.rb +2 -0
- data/lib/generators/podium/templates/podium.rb.tt +1 -3
- data/lib/podium/engine.rb +4 -0
- data/lib/podium/version.rb +1 -1
- data/lib/podium.rb +10 -9
- metadata +15 -2
- data/lib/podium/railtie.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52d9ded30a9511f126d9c0f274953bcdbf4077f51047c512dcaaa21581e983f4
|
4
|
+
data.tar.gz: ce81880c2495501acb9bd65a826c453a860e237ccbf8627b50d85cc2ca54e493
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442500e0d2fff733f00173565b56c79b7a1e1864a55152d608661ecd5df1b65cb3ec6df6733c7ac15848bce4896379b5eead4ae05d4f1ee4e6dec61abe3eadce
|
7
|
+
data.tar.gz: 2aee3a9ff7b2fc1a476674a7d2e087b9b1a282d7b7608e94b06719be027badf8b4eeca0a25a813b82756925f3e1e74216978c140244fb34b96a1e2df9afab716
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/helpers/.keep
ADDED
File without changes
|
data/app/jobs/.keep
ADDED
File without changes
|
data/app/mailers/.keep
ADDED
File without changes
|
data/app/models/.keep
ADDED
File without changes
|
File without changes
|
data/app/views/.keep
ADDED
File without changes
|
data/bin/rails
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails gems
|
3
|
+
# installed from the root of your application.
|
4
|
+
|
5
|
+
ENGINE_ROOT = File.expand_path("..", __dir__)
|
6
|
+
ENGINE_PATH = File.expand_path("../lib/podium/engine", __dir__)
|
7
|
+
APP_PATH = File.expand_path("../test/dummy/config/application", __dir__)
|
8
|
+
|
9
|
+
# Set up gems listed in the Gemfile.
|
10
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
11
|
+
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
|
12
|
+
|
13
|
+
require "rails/all"
|
14
|
+
require "rails/engine/commands"
|
data/config/routes.rb
ADDED
@@ -2,7 +2,5 @@ Podium.configure do |config|
|
|
2
2
|
config.register(:header)
|
3
3
|
config.register(:footer)
|
4
4
|
# config.register(:widget_a, "http://widget.com/widget_a")
|
5
|
-
config.name_to_url = -> (name) {
|
6
|
-
"http://#{name}.my-podlet-host"
|
7
|
-
}
|
5
|
+
config.name_to_url = -> (name) { "http://#{name}.my-podlet-host" }
|
8
6
|
end
|
data/lib/podium/version.rb
CHANGED
data/lib/podium.rb
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
3
|
+
require "podium/version"
|
4
|
+
require "podium/client"
|
5
|
+
require "podium/resource"
|
6
|
+
require "podium/manifest"
|
7
|
+
require "podium/configuration"
|
8
|
+
require "podium/controller_helpers"
|
9
|
+
require "podium/podlet_preview"
|
10
|
+
require "podium/podlet_helpers"
|
11
|
+
require "podium/core_ext"
|
12
|
+
require "podium/engine"
|
12
13
|
|
13
14
|
module Podium
|
14
15
|
class NotConfiguredError < StandardError; end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: podium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Brosnahan
|
@@ -42,10 +42,23 @@ files:
|
|
42
42
|
- MIT-LICENSE
|
43
43
|
- README.md
|
44
44
|
- Rakefile
|
45
|
+
- app/assets/config/podium_manifest.js
|
46
|
+
- app/assets/images/podium/.keep
|
47
|
+
- app/assets/stylesheets/podium/.keep
|
48
|
+
- app/controllers/.keep
|
49
|
+
- app/controllers/concerns/.keep
|
45
50
|
- app/controllers/podium/podlet_preview_controller.rb
|
51
|
+
- app/helpers/.keep
|
52
|
+
- app/jobs/.keep
|
53
|
+
- app/mailers/.keep
|
54
|
+
- app/models/.keep
|
55
|
+
- app/models/concerns/.keep
|
56
|
+
- app/views/.keep
|
46
57
|
- bin/console
|
58
|
+
- bin/rails
|
47
59
|
- bin/setup
|
48
60
|
- bin/test
|
61
|
+
- config/routes.rb
|
49
62
|
- lib/generators/podium/install_generator.rb
|
50
63
|
- lib/generators/podium/podlet_generator.rb
|
51
64
|
- lib/generators/podium/templates/content.html.erb.tt
|
@@ -57,10 +70,10 @@ files:
|
|
57
70
|
- lib/podium/configuration.rb
|
58
71
|
- lib/podium/controller_helpers.rb
|
59
72
|
- lib/podium/core_ext.rb
|
73
|
+
- lib/podium/engine.rb
|
60
74
|
- lib/podium/manifest.rb
|
61
75
|
- lib/podium/podlet_helpers.rb
|
62
76
|
- lib/podium/podlet_preview.rb
|
63
|
-
- lib/podium/railtie.rb
|
64
77
|
- lib/podium/resource.rb
|
65
78
|
- lib/podium/version.rb
|
66
79
|
- lib/tasks/podium_tasks.rake
|
data/lib/podium/railtie.rb
DELETED