ruta 1.2.2 → 1.2.3

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ruta.rb +1 -1
  3. data/lib/ruta/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 638c809a5b843006288cb1dccf9168357283c5f4
4
- data.tar.gz: 3588fefa90cc7d241f17a4ec86f3e2f695779f44
3
+ metadata.gz: efea9542840fc62d766f89d6d1230aab06e02517
4
+ data.tar.gz: 736fff37a3a0f6e6173150261caa20edc176366f
5
5
  SHA512:
6
- metadata.gz: 5e695b3afa24248e913130198892aacdd4680bfd51eda7ee10594977631ff06236510fdf084371c369f068e6d5aa1bc32394ad9b4732f881da04d17559fe70ec
7
- data.tar.gz: 42135a04c0d6358391079eec516ddd9b5fe56f3ca2d57fd73e4f7a41b2335b6ee9942c18ad784c462553e11d8893fdeed8d2ea92c9da1807c43cec9fa9b7ceb1
6
+ metadata.gz: b5c3c635d1bffa88452831b14b4ecfad021afaab546ded9fa1db73cbac305ee7f047a22eedc67d5d1b719bef9bcb82d25f76f3ed3c8ae37c982ac5a9a6448a7d
7
+ data.tar.gz: 115e72eb13cd185f05f79d009e20e1e649a96a5ed6c9d8c379a7ff217a0eaf25e8e2f2ab4c120f5b0a598ee15723d41cb804836ee51be467df354949b130642a
@@ -53,7 +53,7 @@ if RUBY_ENGINE == 'opal'
53
53
  # @param [Array<String,Number,Boolean>] *params 0 or more params to replace params in the paramterized route
54
54
  def navigate_to_ref context, ref,*params
55
55
  route = Router.route_for(context,ref,params)
56
- History.push(context,route[:path],route[:params],route[:title]) unless route.type == :context
56
+ History.push(context,route[:path],route[:params],route[:title]) unless route[:route].type == :context
57
57
  route[:route].execute_handler route[:params],route[:path]
58
58
  end
59
59
 
@@ -1,3 +1,3 @@
1
1
  module Ruta
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Becker