inesita-router 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/inesita-router.gemspec +2 -2
- data/opal/inesita-router/router.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d95fc2e0f7ae9266d6053e18af11e23b76233c4f668221c0d4dd264ce56f2727
|
4
|
+
data.tar.gz: 92e8898363a1e8351b9ec50663749721ff4c16aceb8bda50f1cee349766b9200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92f3a0121ba7bced19f30d3a5ba474533963899485457f2ebc4efded6d4d5a557f913a3aa15ea0b205f6faf0aa42f44be90b2ccd6a0a94fce666655789e5c869
|
7
|
+
data.tar.gz: fc0a5cddcabf4188f029833b0b6ac0ee929d0496b0293f284862d57f331ec8f6c5ced7cdc78de901b26dc7b65b3210873650fc82bac0a9818f7d5ae7077d89cc
|
data/inesita-router.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'inesita-router'
|
3
|
-
s.version = '0.2.
|
3
|
+
s.version = '0.2.1'
|
4
4
|
s.authors = ['Michał Kalbarczyk']
|
5
5
|
s.email = 'fazibear@gmail.com'
|
6
6
|
s.homepage = 'http://github.com/inesita-rb/inesia-router'
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
|
-
s.add_dependency 'inesita', '~> 0.
|
16
|
+
s.add_dependency 'inesita', '~> 0.8.0'
|
17
17
|
|
18
18
|
s.add_development_dependency 'bundler', '~> 1.0'
|
19
19
|
s.add_development_dependency 'rspec', '~> 3.0'
|
@@ -20,7 +20,7 @@ module Inesita
|
|
20
20
|
unless respond_to?(:__a)
|
21
21
|
alias_method :__a, :a
|
22
22
|
define_method(:a) do |params = {}, &block|
|
23
|
-
params = { onclick: ->(e) { router.go_to(e.target.pathname) } }.merge(params)
|
23
|
+
params = { onclick: ->(e) { router.go_to(e.target.pathname) unless params[:target] == "_blank" } }.merge(params)
|
24
24
|
__a(params, &block)
|
25
25
|
end
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inesita-router
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michał Kalbarczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inesita
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.8.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.8.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|