inesita 0.5.0 → 0.5.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: b37363ed5044f4dc5a61efe0d92ba7f2eecd8938
4
- data.tar.gz: d04e1ee6dd0e06d748777b60adfaa2fb0446085a
3
+ metadata.gz: a6be0649af7783de7b8fb6190ad10c6af05f669b
4
+ data.tar.gz: 67d1de5528bc2f305a7e25f2a17d04a7b4e5b7b7
5
5
  SHA512:
6
- metadata.gz: 53a97e1c19d97eff209dc3e9b7daa1be6a34b72a9ab5549cd8af76c73c526cb13a3a5a5a62c489af34b6806b5af285f40aba0c3f0b6e4fded198f474555ab01b
7
- data.tar.gz: 40bc04dadbe5c5244fc46cf4c80548c47d085e77a4d1d4c60247f1c080be0797079882c8b30951ecc44b88ab9419955d0b5962406a47a6319a94c02562151cc4
6
+ metadata.gz: 1e2f444359a3c116e29da1a6b1314f4ebd9062d9218e7cb8aa698da6326616c841fdd89edda8472cb292279f427bb590e46373793343cdc9ca4d60d1e8b4492c
7
+ data.tar.gz: 8fc62c7338ff1a8e9799a9624d82635625c77d867057e9fa6f183bcaa9a772314eb6b154e96d758d125057a964203de7ca2d5aad310c76897d57a545c4c7f090
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
- ## [0.5.0] - 2016.10.22
1
+ ## [0.5.1] - 2016.10.29
2
+
3
+ ### Fixes
4
+ - Error when router not exists
5
+
6
+
7
+ ## [0.5.0] - 2016.10.29
2
8
 
3
9
  ### Added
4
10
  - Injection (you can inject any object)
@@ -86,7 +92,9 @@
86
92
  - rename `update_dom` to `render!`
87
93
  - use `opal-browser` instead of pure javascript
88
94
 
89
- [Unreleased]: https://github.com/inesita-rb/inesita/compare/v0.4.4...HEAD
95
+ [Unreleased]: https://github.com/inesita-rb/inesita/compare/v0.5.1...HEAD
96
+ [0.5.1]: https://github.com/inesita-rb/inesita/compare/v0.5.0...v0.5.1
97
+ [0.5.0]: https://github.com/inesita-rb/inesita/compare/v0.4.1...v0.5.0
90
98
  [0.4.4]: https://github.com/inesita-rb/inesita/compare/v0.4.1...v0.4.4
91
99
  [0.4.1]: https://github.com/inesita-rb/inesita/compare/v0.4.0...v0.4.1
92
100
  [0.4.0]: https://github.com/inesita-rb/inesita/compare/v0.3.5...v0.4.0
data/inesita.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'inesita'
3
- s.version = '0.5.0'
3
+ s.version = '0.5.1'
4
4
  s.authors = ['Michał Kalbarczyk']
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/inesita-rb/inesita'
@@ -3,7 +3,7 @@ module Inesita
3
3
  def self.included(base)
4
4
  base.alias_method :__a, :a
5
5
  base.define_method(:a) do |params, &block|
6
- params = { onclick: -> { router.go_to(params[:href]) } }.merge(params) if params[:href] && router
6
+ params = { onclick: -> { router.go_to(params[:href]) } }.merge(params) if params[:href] && respond_to?(:router)
7
7
  __a(params, &block)
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inesita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Kalbarczyk