pinkman 1.3.6 → 1.3.7
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/app/assets/javascripts/pinkman_base/router.coffee +8 -1
- data/lib/pinkman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 277037c6ebdf2b0d1aa89843d34f024b17f9c1ceeb4f8e6a0242cd9585a2e336
|
|
4
|
+
data.tar.gz: dbb4eab44a12bdd5245ec69ee29e5911ce87b437068cfa70e045969c38dc34d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12f60a37950707411fa5b7609b876aa6d20a293afdff00bff96bdc7f6fb64984ac455bd882c886c23feb15eed349afcb563dc567275a5cf2e2acf50541151032
|
|
7
|
+
data.tar.gz: e225bf5db201fa1f5bd123145e7d0beb270575e250788e3ff5a62ce563d0b0f2576c167b683927177a36934f56da564ff719a78e9aa766cd13f5b22f8d5db28a
|
|
@@ -293,7 +293,14 @@ class window.PinkmanRouter
|
|
|
293
293
|
|
|
294
294
|
@path: ->
|
|
295
295
|
window.location.pathname
|
|
296
|
-
|
|
296
|
+
|
|
297
|
+
# Helper for composing the current url with a new params
|
|
298
|
+
@composePath: (obj) ->
|
|
299
|
+
if $p.isObject(obj)
|
|
300
|
+
$p.json2url($r.path(),($p.mergeObjects $r.paramsObject(), obj))
|
|
301
|
+
else
|
|
302
|
+
throw "Pinkman Router $r: composePath called with wrong args: #{obj}"
|
|
303
|
+
|
|
297
304
|
# Goes to a path
|
|
298
305
|
@visit: (path) ->
|
|
299
306
|
@activate path, ->
|
data/lib/pinkman/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pinkman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Agilso Oliveira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|