wrap_it_ruby 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcdd8a5fa91589bc96243a96ae809d92cbe0f585ab9a58175213644fe1cd798a
4
- data.tar.gz: 2199f6305cba48c81d659cedeeafc31d1a95c73380a94601dcd182bc8520deea
3
+ metadata.gz: 546061b459f946a814bf75744300a927d749c2c33e73d06ccedddadce8ae4322
4
+ data.tar.gz: d8a6befe95c7205adc5fbe077220860758e78f0e34a2b7cc85ed49c50646cd05
5
5
  SHA512:
6
- metadata.gz: 2818a78eab5310065a3b4b90bc712778db8c5c5b19db5cfd2e175a12761bc2233efa0a194bf20575695030c837e263a241861d13cb489efb87e15ed503d58b3e
7
- data.tar.gz: 9f9cf00ff131d17f691599527468b9686b8751a6c9748d849c25ff5ef70d8894fe1e9d2d790d39a9d5d3bb4424e9f9d9a5abc938333e985582d820c052f3e379
6
+ metadata.gz: 044ff45b60b4f3ffa7fa63f41069f35ffcd409942e04337a2f89423c4e0d87921f1f3c6f4f78882936b137e0605623b05ac8647dc559694ea9931663bb1d2b84
7
+ data.tar.gz: 5f2864d543e079bb5cd1fc26a44cc003466d3be0201c3274c66d84888d8542cee7d0d981e4f898d218358ecaa56927dab8c12ca6b0e2d8448208926cc7e03b05
@@ -2,8 +2,6 @@
2
2
 
3
3
  module WrapItRuby
4
4
  class HomeController < ApplicationController
5
- before_action :authenticate_user!
6
-
7
5
  def index
8
6
  end
9
7
  end
@@ -2,8 +2,6 @@
2
2
 
3
3
  module WrapItRuby
4
4
  class ProxyController < ApplicationController
5
- before_action :authenticate_user!
6
-
7
5
  def show
8
6
  get_menu_item.then do |menu_item|
9
7
  target_path = request.path.delete_prefix(menu_item["route"])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WrapItRuby
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WrapItRuby
4
+ VERSION = "<%= version %>"
5
+ end
data/lib/wrap_it_ruby.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "wrap_it_ruby/version"
4
+ require "wrap_it_ruby/menu"
4
5
  require "wrap_it_ruby/engine"
5
6
 
6
7
  module WrapItRuby
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrap_it_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Kidd
@@ -126,6 +126,7 @@ files:
126
126
  - lib/wrap_it_ruby/middleware/root_relative_proxy_middleware.rb
127
127
  - lib/wrap_it_ruby/middleware/script_injection_middleware.rb
128
128
  - lib/wrap_it_ruby/version.rb
129
+ - lib/wrap_it_ruby/version.rb.erb
129
130
  homepage: https://github.com/n-at-han-k/wrap-it-ruby
130
131
  licenses:
131
132
  - Apache-2.0