phlex 0.5.1 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of phlex might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46be4f70dd0d46a2cb9302ded83313b24530b33cd6c89346ffb5e7400a442285
4
- data.tar.gz: 5d271c2096a6951e40f30a3725bdf82adeb5c2320f004d958cbe85383b1174dd
3
+ metadata.gz: 1bd2b79d18bf802486addb4c486e3200b260248245a4ade7f1d0e3f4e56ecdab
4
+ data.tar.gz: c27f8e8d3b6ab1d63ab28cd472873cbae295641e252c757230f684b79b17eb75
5
5
  SHA512:
6
- metadata.gz: 6aaad7ca0699dc4e8db3d2f29c902c172c3b0e44d8c7f07d54887dc0661fc6d44323313ec80eddfe1f3129e7ab544f40bc030356319fad9157c95172d4cf5a47
7
- data.tar.gz: 7beb52b1b9c243e368a6094a5b16cadeadde32f3ed9277ed610a5c6d31d965038a1056739c185441402be96b4647a7943fc0492d0aad36240688a0d2b6683c23
6
+ metadata.gz: 140f1b74b07334bb469020e940955dd319f9622d372841d260f8fe283278259cae4e8f4f3f875815e6bbee56b4f6b9e49fcdd42f6dcb7e8e9eb3ef83bb0487f1
7
+ data.tar.gz: 8124ba9fe2bc9adaa9aadcb1d23c3942ffab886cfe0c74993515abb36d07ba07a4198cfaa4550375fa8de81d3701cd8994947bc2bf5703f17cfec86573bd2481
data/docs/build.rb CHANGED
@@ -4,6 +4,7 @@
4
4
  $stdout.sync = true
5
5
 
6
6
  require "phlex"
7
+ require "phlex/markdown"
7
8
  require "bundler"
8
9
  require "fileutils"
9
10
  require "i18n"
@@ -14,7 +14,7 @@ module Phlex
14
14
  private
15
15
 
16
16
  def layout
17
- Rails.root.join("app/views/layout.rb").exist?
17
+ ::Rails.root.join("app/views/layout.rb").exist?
18
18
  end
19
19
  end
20
20
  end
@@ -3,6 +3,8 @@
3
3
  require "rails/engine"
4
4
 
5
5
  module Phlex
6
- class Engine < ::Rails::Engine
6
+ module Rails
7
+ class Engine < ::Rails::Engine
8
+ end
7
9
  end
8
10
  end
data/lib/phlex/rails.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "phlex"
4
+ require "phlex/rails/engine"
4
5
 
5
6
  module Phlex::Rails
6
7
  Loader = Zeitwerk::Loader.new.tap do |loader|
data/lib/phlex/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Phlex
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.3"
5
5
  end
data/lib/phlex.rb CHANGED
@@ -10,7 +10,7 @@ module Phlex
10
10
  loader.ignore("#{__dir__}/install")
11
11
 
12
12
  loader.ignore("#{__dir__}/phlex/testing")
13
- loader.ignore("#{__dir__}/phlex/markdown")
13
+ loader.ignore("#{__dir__}/phlex/markdown.rb")
14
14
 
15
15
  loader.ignore("#{__dir__}/phlex/rails.rb")
16
16
  loader.ignore("#{__dir__}/phlex/rails")
@@ -2,6 +2,7 @@
2
2
 
3
3
  namespace :phlex do
4
4
  desc "Install Phlex in the Rails application"
5
+
5
6
  task :install do
6
7
  install_file_path = File.expand_path("../install/phlex.rb", __dir__)
7
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Drapper
@@ -196,12 +196,12 @@ files:
196
196
  - lib/phlex/compiler/visitors/view_method.rb
197
197
  - lib/phlex/configuration.rb
198
198
  - lib/phlex/elements.rb
199
- - lib/phlex/engine.rb
200
199
  - lib/phlex/helpers.rb
201
200
  - lib/phlex/html.rb
202
201
  - lib/phlex/html/callbacks.rb
203
202
  - lib/phlex/markdown.rb
204
203
  - lib/phlex/rails.rb
204
+ - lib/phlex/rails/engine.rb
205
205
  - lib/phlex/rails/form.rb
206
206
  - lib/phlex/rails/helpers.rb
207
207
  - lib/phlex/rails/layout.rb