one-extension 0.0.3 → 0.0.4

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 (2) hide show
  1. data/lib/one-extension.rb +1 -1
  2. metadata +2 -2
@@ -23,7 +23,7 @@ module OneExtension
23
23
  # check if the .html extension is set
24
24
  has_extension = request.env["PATH_INFO"][-5..-1] == ".html"
25
25
  # get the one_extension_type
26
- type = self.class.one_extension_type || :exclusion
26
+ type = self.class.one_extension_type
27
27
  if type == :exclusion && has_extension
28
28
  # strip the .html
29
29
  url = request.env["PATH_INFO"][0...-5]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: one-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - lib/one-extension.rb
21
- homepage:
21
+ homepage: https://github.com/jisaacks/one-extension
22
22
  licenses: []
23
23
  post_install_message:
24
24
  rdoc_options: []