simple-navigation 4.0.0 → 4.0.1

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
  SHA1:
3
- metadata.gz: 5ad8da13d14c0e7c763bca6b40039e19c1843dad
4
- data.tar.gz: 83088e82943523c0b06867369f346ce65bb95ccf
3
+ metadata.gz: 864fb7d23c859c2b6860665959c0c86552b861c9
4
+ data.tar.gz: 442fc31944b9071bf9c2a9e79540a5ecb32afb57
5
5
  SHA512:
6
- metadata.gz: b8249f04666707e37b2f9f136690f030817fe1f5a3fd9d624c51b18fab8b42cbaebd5f9223b9577eaccb510ae22eaa6b8e52e2705957b7d8e5b4fcd8beaeb2bf
7
- data.tar.gz: 19fbf008fa4145979586582d37126cdb9669baabbafcfc8762016f69ad606b4680997a1c9cdcf28d77c71237b6e95b93fa43f6ccbcb94b55d3e17a0f1bf7b269
6
+ metadata.gz: f7aed4c1680ded95184317b4c3a9c29d0000fca215a1ec69aa11db4b3bb81a3a9c64e16b0d2f5a6150ed78f696474737c2c80ced0f28e548cb0be2088a2c41f2
7
+ data.tar.gz: e0a44ac37c1c98682378a9116b47dcca2300a6e3f0fb302741af81d12daf123802232686c6da8d7bfde825037e0d8673899d907ec974a6873ae12856f2ca08a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.0.1
4
+
5
+ * fixed padrino adapter
6
+
3
7
  ## 4.0.0
4
8
 
5
9
  * added two new configuration options ignore_query_params_on_auto_highlight and ignore_anchors_on_auto_highlight
@@ -1,8 +1,8 @@
1
1
  module SimpleNavigation
2
2
  module Adapters
3
3
  class Padrino < Sinatra
4
- def self.register
5
- SimpleNavigation.set_env(PADRINO_ROOT, RACK_ENV)
4
+ def self.register(app)
5
+ SimpleNavigation.set_env(::Padrino.root, ::Padrino.env)
6
6
  ::Padrino::Application.send(:helpers, SimpleNavigation::Helpers)
7
7
  end
8
8
 
@@ -1,3 +1,3 @@
1
1
  module SimpleNavigation
2
- VERSION = '4.0.0'
2
+ VERSION = '4.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-navigation
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andi Schacke