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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e08896c276aabb94c3b3440cdcf6a01d08b202eb3f0a5842d8ac4a05dfd28ec
4
- data.tar.gz: 2b1b7aa523cf047954bef1a04be016d32895c5f9bc43f8c86114e19d33ab81aa
3
+ metadata.gz: 52d9ded30a9511f126d9c0f274953bcdbf4077f51047c512dcaaa21581e983f4
4
+ data.tar.gz: ce81880c2495501acb9bd65a826c453a860e237ccbf8627b50d85cc2ca54e493
5
5
  SHA512:
6
- metadata.gz: 2c12272a1862cb7043c7e99a6260c27148548b3630c6a204dd7336cdd03bcd85af472418a009b9fef86f6c5865e148cc7acd3d240e97a4aa72400517beaf2ee2
7
- data.tar.gz: 73d86063551decae0fa53b1d75710d24478eeeb8a8fb0690144156b2382f65c1a2db4f4cd3b0be2bbc87a4b62afb82e8976b85fca6b56d72906b12f621b00f0f
6
+ metadata.gz: 442500e0d2fff733f00173565b56c79b7a1e1864a55152d608661ecd5df1b65cb3ec6df6733c7ac15848bce4896379b5eead4ae05d4f1ee4e6dec61abe3eadce
7
+ data.tar.gz: 2aee3a9ff7b2fc1a476674a7d2e087b9b1a282d7b7608e94b06719be027badf8b4eeca0a25a813b82756925f3e1e74216978c140244fb34b96a1e2df9afab716
data/Rakefile CHANGED
@@ -1,5 +1,10 @@
1
1
  require "bundler/setup"
2
2
 
3
+ APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
4
+ load "rails/tasks/engine.rake"
5
+
6
+ load "rails/tasks/statistics.rake"
7
+
3
8
  require "bundler/gem_tasks"
4
9
  require "rake/testtask"
5
10
 
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
@@ -0,0 +1,2 @@
1
+ Rails.application.routes.draw do
2
+ end
@@ -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
@@ -0,0 +1,4 @@
1
+ module Podium
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Podium
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.0"
5
5
  end
data/lib/podium.rb CHANGED
@@ -1,14 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "podium/version"
4
- require_relative "podium/client"
5
- require_relative "podium/resource"
6
- require_relative "podium/manifest"
7
- require_relative "podium/configuration"
8
- require_relative "podium/controller_helpers"
9
- require_relative "podium/podlet_preview"
10
- require_relative "podium/podlet_helpers"
11
- require_relative "podium/core_ext"
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.5.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
@@ -1,4 +0,0 @@
1
- module Podium
2
- class Railtie < ::Rails::Railtie
3
- end
4
- end