capejs-rails 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/app/assets/javascripts/cape.js +2 -2
- data/lib/capejs/rails/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b29198abd151d1e40b8505ea9f8d88d250cea5ea
|
|
4
|
+
data.tar.gz: 61b141aca7b87db0f217a18b36075c988ed4875f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1942dd9f4ca4133e59a4c45ac76fd623ba5fa0bd137aa7e6058ea2013ffe75299f0e41449874d65ced1d1f3e4c51453e104c09133349310dfe343235d1e430f8
|
|
7
|
+
data.tar.gz: dee756edc8d7f5c6b712e24aa1332e8f6903bca9391c9bcefdcf821f6bf0de457f498f8ee5a85b0c4c5f2df474d82518785fcec6315512085ebe60d1cf44175a
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2016
|
|
3
|
+
Copyright (c) 2016 Tsutomu Kuroda and contributors.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/capejs-rails)
|
|
4
4
|
|
|
5
|
-
This gem wraps the [Cape.JS](https://github.com/
|
|
5
|
+
This gem wraps the [Cape.JS](https://github.com/capejs/capejs) for use in Rails 4.2 and above.
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
@@ -1318,8 +1318,8 @@ _extends(Router.prototype, {
|
|
|
1318
1318
|
|
|
1319
1319
|
if (window.addEventListener) window.addEventListener('hashchange', self._.eventListener, false);else if (window.attachEvent) window.attachEvent('onhashchange', self._.eventListener);
|
|
1320
1320
|
|
|
1321
|
-
this.currentHash = window.location.href.split('#')[1] || '';
|
|
1322
|
-
this.navigate(this.currentHash);
|
|
1321
|
+
this._.currentHash = window.location.href.split('#')[1] || '';
|
|
1322
|
+
this.navigate(this._.currentHash);
|
|
1323
1323
|
},
|
|
1324
1324
|
stop: function () {
|
|
1325
1325
|
var self = this;
|
data/lib/capejs/rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capejs-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tsutomu Kuroda
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -44,7 +44,7 @@ files:
|
|
|
44
44
|
- lib/capejs/rails.rb
|
|
45
45
|
- lib/capejs/rails/engine.rb
|
|
46
46
|
- lib/capejs/rails/version.rb
|
|
47
|
-
homepage: https://github.com/
|
|
47
|
+
homepage: https://github.com/capejs/capejs-rails
|
|
48
48
|
licenses:
|
|
49
49
|
- MIT
|
|
50
50
|
metadata: {}
|