optimacms 0.1.57 → 0.1.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/optimacms/page_services/page_route_service.rb +29 -8
- data/lib/optimacms/version.rb +1 -1
- data/spec/dummy/log/development.log +2674 -0
- data/spec/dummy/tmp/cache/assets/development/sass/38aaf4982e776a83df88ee6142fe315d8c8a4576/font-awesome.css.erbc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5b1098eb74c8e1af5b245ed4a552e3cb0be260fc/_css3.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5b1098eb74c8e1af5b245ed4a552e3cb0be260fc/_support.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_background-variant.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_center-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_grid-framework.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_nav-divider.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_nav-vertical-align.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_opacity.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_progress-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_reset-filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_reset-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_resize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_responsive-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_tab-focus.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_table-row.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_text-emphasis.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_text-overflow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/64274c788e379a0793dc9738d8050418da1d172b/_vendor-prefixes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/842dfd874be6f9cd3bb0569e23cfc0feb61f18f5/_bootstrap-sprockets.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_badges.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_glyphicons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_input-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_jumbotron.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_normalize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_print.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_responsive-embed.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_responsive-utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a187b9541eb09cfae0c829c63cfde3b9430dcf1d/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/b27ef787063ed015fccbe329d61e14a18daf3345/_hacks.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_appearance.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_background-clip.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_background-origin.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_background-size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_box-shadow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_box-sizing.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_box.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_columns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_font-face.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_hyphenation.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_images.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_inline-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_opacity.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_regions.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_shared.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_text-shadow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_transform.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_transition.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/f438bd478b9ef93f8ca1863646316d42015ad317/_user-interface.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/053f826d1ea01a2fac355de0755e5c40 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/07ba91287641124bffd2cf22c286c1eb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0a470277dd21c166b9dfb68b03d34d5c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0ad60696a13becd5f46dd8c71385d357 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13272781c2d1959f2c75a3a1eac100f5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1776fe7c16d4aeeb72b23a586739cdfc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1c43d48e2adb866e5d787a64e031c27f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1f631bd03bec1d51bfd51a6c795b4357 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2056383a5a4df3722dab30a62592c626 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/22c754d2d93ffdc2c40d01c8322fc421 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/28fff87693a34b5beb7e66a806ad3833 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2cb2e5b2abc5f527ba6d3f05a6315873 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f7d38a264678a2db4a0d569a3313cb1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3240ef40c1dc9d13156bbd790ec2651a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3df9dc08e786041b758b3dde7d1b783a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4024da72ad47959820fe18874c53f221 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4810421fd0c71c5d69338209e10070aa +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4bfebf7044cd57045582604aeda41b70 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/51a30045d73bcb4e287247540a1f8b1a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/529a74a4530de52f6c3ebbf107ffe9f2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/543486503ee069fde21aa3e66cd4c53b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/56c7eb172a7423728c45d0a751d198e3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5b51dc1a00c7421b8d18c4cdc25659ef +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5e6f22ffe50d81fe0fbd9e8141614e24 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/678a2e392e656b8132f0420e4ec28ed6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6843f0414f73089579ae0f9fddf7b38f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6cdbd6f171a27a578bcb07dd5bfa83a2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6d4a2ae7c3150f5058333fe6fc31dbe4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6f943f22c610e6417422e4a13e0bcc0d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7c1da2863c9cc5c4beca7faee9b926f8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7df9b8a145ee6d36ab1b2467c38293ec +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/808e3fbf28912a70798599773f9c3fb8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8283708d8708e538744205689ee9c787 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8956737a82f17db48d50e13f133aeefc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8a1d0d36be43e2abdde4adac99884e72 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8a7fdc9ba36fbfd607efe8253cbaafe0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8ab512c9b33ac90e699b73469d71f061 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8b5a7992567ebbeb9a882d074778f8c8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8ecd5a0dbf510f928efa95340e9fe910 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/924857562e72b2a6911810c63aa3b6b7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/937d161d17165f27d31fbb60de6262b5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/97c1e12a09973e0fb97f23a1dc496443 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/99e8d6370ba85ec4a61d953f5ed261af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9c9ee3bcfa3192458b487b7b9558ee97 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9cb4510e55f0c07098e6a2a270265e99 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9ee15139da5c7d931eebe585dfa4f704 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a090bc14ad5f648880e3e0b3d1de90de +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a25a5420710420425c171eb2f62627f3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a64dbcf0e4afe0985b1abd3e209d17cd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a6d357fbe03dae6f590180f6c5e0e148 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a7478d68549f51df0523244f7bc75f6d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aa58fb159780a7200a1bc4c6844cc5c4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ac7254cb771a232e117073343e8bcfca +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aeaa5cb837408b775c7450a61f97a698 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ba3a30de386fac6b6725525c6fa5c5a0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ba9859d0d2b7d4d7d5b03ff3a71ed478 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bcca522c6302f184f12fe0e8a7d7e71a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bd51aad443f452b0aa7d863427f5b164 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c13fc73ceafa45876a901b3e775b83ae +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c1b70e8dd963b37b21718ca80e0746ff +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c9dfca6de1f728a082245491ed927b38 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d3e6478e505aa1d0482c102b86205e0c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d88422881c326190e968b349d27e5680 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dc4e2dfae80b82939b81a2aeef7f03d9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dec42a70eea64c724a9e98d7f0e80ea8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e2af681c85db2ce8cd92ec1b4f327b55 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e3dd086dd858b5bff9cfd60a031c2091 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e6e4cc77e615a00707af83c80a7eed17 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e94d980a1c3b4ef3554b82f3b8566bb9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ec33505f0e2ed4dd12951ecceffa3695 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f06187d4328e75bbd878bc2dced2b601 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- metadata +290 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b97da65940e9e195a6724bef2dbacd66e3b748f1
|
4
|
+
data.tar.gz: 750087e73c213267611d745337edb7c337e473cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee8de12d7ad50837f34f3617719d1f360b481f721bb72e784571ce71edd6d1a513c3c16ce54e326936116bda964645a70244cc36400e17623141840a74e64ddd
|
7
|
+
data.tar.gz: c8600d0d2effef8000d7eada7f6123aac76a111ddb2dfbcf2bf4df68935e0c1175639c751f92faf6e57548e9eedb945034ba251a20cd6e2cfe5a4715cd578709
|
@@ -64,8 +64,12 @@ module Optimacms
|
|
64
64
|
url_parts = url.split '/'
|
65
65
|
a = []
|
66
66
|
i_part = 0
|
67
|
+
n_parts = url_parts.count
|
68
|
+
is_last_optional = false
|
69
|
+
|
67
70
|
url_parts.each do |part|
|
68
71
|
i_part+=1
|
72
|
+
is_last_optional = false
|
69
73
|
|
70
74
|
|
71
75
|
# check for brackets inside brackets
|
@@ -77,30 +81,47 @@ module Optimacms
|
|
77
81
|
p = part
|
78
82
|
|
79
83
|
|
80
|
-
# variables inside (
|
84
|
+
# variables inside (...) - optional
|
85
|
+
|
86
|
+
# last optional varible
|
87
|
+
if i_part==n_parts
|
88
|
+
# /^(:name)..$
|
89
|
+
# include last / as optional
|
90
|
+
p_before = p.clone
|
91
|
+
p.gsub! /^(\(\:#{REGEX_VARIABLE}\))([-\.]|$)/, '\/?([^/]+)*\2'
|
92
|
+
is_last_optional = true if p!=p_before
|
93
|
+
end
|
81
94
|
|
82
|
-
|
95
|
+
p.gsub! /(\(\:#{REGEX_VARIABLE}\))([-\.]|$)/, '([^/]+)*\2'
|
96
|
+
|
97
|
+
#if i_part>1
|
83
98
|
# add / to the beginning - / is optional too
|
84
|
-
p.gsub! /(\(\:#{REGEX_VARIABLE}\))([-\.]|$)/, '(
|
85
|
-
else
|
99
|
+
#p.gsub! /(\(\:#{REGEX_VARIABLE}\))([-\.]|$)/, '([^/]+)*\2'
|
100
|
+
#else
|
86
101
|
# the first param
|
87
|
-
p.gsub! /(\(\:#{REGEX_VARIABLE}\))([-\.]|$)/, '([^/]+)*\2'
|
88
|
-
end
|
102
|
+
#p.gsub! /(\(\:#{REGEX_VARIABLE}\))([-\.]|$)/, '([^/]+)*\2'
|
103
|
+
#end
|
89
104
|
|
90
105
|
# variables
|
91
106
|
#p.gsub! /\{\$[^}]+\}/, '([^/]+)'
|
92
|
-
p.gsub! /(\:#{REGEX_VARIABLE})([-\.]|$)/, '
|
107
|
+
p.gsub! /(\:#{REGEX_VARIABLE})([-\.]|$)/, '([^/]+)\2'
|
93
108
|
|
94
109
|
|
95
110
|
# escape system symbols
|
96
111
|
# replace '.'
|
97
112
|
p.sub! '.', '[.]'
|
98
113
|
|
114
|
+
#
|
115
|
+
if i_part>1 && !is_last_optional
|
116
|
+
p = '/'+p
|
117
|
+
end
|
118
|
+
|
119
|
+
|
99
120
|
|
100
121
|
a << p
|
101
122
|
end
|
102
123
|
|
103
|
-
return '^'+
|
124
|
+
return '^'+a.join('')+'$'
|
104
125
|
end
|
105
126
|
|
106
127
|
def self.count_url_parts(url)
|
data/lib/optimacms/version.rb
CHANGED