speakingurl-rails 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -14
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72783fccc694919bba60f11d56b71435c73139de
|
4
|
+
data.tar.gz: 0dee0143341f622717053dd03090349c5d57f625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6483a7c77e12ca43a894cdb1f76e0f8ccaaf3b5ea65e63c689d4dc0310338f927e9e46e0bde9ad377c105643f3ecebcb250f5e5efac3b779b9da9bc335f4906f
|
7
|
+
data.tar.gz: 3fb4c3a2390eabca68350857f6c1383d7e8cedee9a65ee6ada9cca1df060e7322f959afffb4a404f2d1753687275becb8588e94ba41368d122d701a38bfcf3d5
|
data/README.md
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
|
1
|
+
SpeakingURL
|
2
|
+
===========
|
3
|
+
|
2
4
|
[![Package Quality](http://npm.packagequality.com/badge/speakingurl.png)](http://packagequality.com/#?package=speakingurl)
|
3
5
|
|
4
|
-
[![NPM version](https://badge.fury.io/js/speakingurl.png)](http://badge.fury.io/js/speakingurl) [![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pid/speakingurl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
5
|
-
|
6
|
+
[![NPM version](https://badge.fury.io/js/speakingurl.png)](http://badge.fury.io/js/speakingurl) [![Build Status](https://travis-ci.org/pid/speakingurl.png)](https://travis-ci.org/pid/speakingurl) [![Gem Version](https://badge.fury.io/rb/speakingurl-rails.svg)](http://badge.fury.io/rb/speakingurl-rails) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pid/speakingurl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/1418477/pidspeakingurl-on-GitHub)
|
7
|
+
|
8
|
+
====================================================================================================================================================================================================================================================================================================================================================
|
6
9
|
|
7
10
|
> Generate a slug with a lot of options; create of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' from a string. This module aims to transliterate the input string.
|
8
11
|
|
@@ -55,24 +58,17 @@ jam install speakingurl
|
|
55
58
|
gem 'speakingurl-rails'
|
56
59
|
```
|
57
60
|
|
58
|
-
```ruby
|
59
|
-
# Add to application.js
|
60
|
-
//= require speakingurl
|
61
|
-
```
|
62
|
-
|
63
61
|
#### [Download Package](https://github.com/pid/speakingurl/releases)
|
64
62
|
|
65
63
|
copy the file speakingurl.min.js to your script directory
|
66
64
|
|
67
65
|
#### [CDN/cloudflare](https://www.cloudflare.com/)
|
68
66
|
|
69
|
-
|
70
|
-
- use //cdnjs.cloudflare.com/ajax/libs/speakingurl/1.1.2/speakingurl.min.js
|
67
|
+
available versions: http://cdnjs.com/libraries/speakingurl/ use [//cdnjs.cloudflare.com/ajax/libs/speakingurl/1.1.3/speakingurl.min.js](https://cdnjs.cloudflare.com/ajax/libs/speakingurl/1.1.3/speakingurl.min.js)
|
71
68
|
|
72
69
|
#### [CDN/maxcdn](https://www.maxcdn.com/)
|
73
70
|
|
74
|
-
|
75
|
-
- use //cdn.jsdelivr.net/speakingurl/1.1.2/speakingurl.min.js
|
71
|
+
available versions: http://www.jsdelivr.com/#!speakingurl use [//cdn.jsdelivr.net/speakingurl/1.1.3/speakingurl.min.js](httos://cdn.jsdelivr.net/speakingurl/1.1.3/speakingurl.min.js)
|
76
72
|
|
77
73
|
Usage
|
78
74
|
-----
|
@@ -127,6 +123,13 @@ var getSlug = require('speakingurl');
|
|
127
123
|
<script src="bower_components/speakingurl/speakingurl.min.js"></script>
|
128
124
|
```
|
129
125
|
|
126
|
+
#### Ruby on Rails
|
127
|
+
|
128
|
+
```ruby
|
129
|
+
# Add to application.js
|
130
|
+
//= require speakingurl
|
131
|
+
```
|
132
|
+
|
130
133
|
#### Examples
|
131
134
|
|
132
135
|
```js
|
@@ -340,8 +343,6 @@ $ gem build speakingurl-rails.gemspec
|
|
340
343
|
$ gem push speakingurl-rails-x.x.x.gem
|
341
344
|
```
|
342
345
|
|
343
|
-
[![Flattr](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/1418477/pidspeakingurl-on-GitHub)
|
344
|
-
|
345
346
|
References
|
346
347
|
----------
|
347
348
|
|
@@ -353,6 +354,7 @@ Use in other environments
|
|
353
354
|
|
354
355
|
- [SpeakingURL with AngularJS](https://github.com/zappan/angular-speakingurl)
|
355
356
|
- [SpeakingURL with Meteor](https://github.com/ongoworks/meteor-speakingurl)
|
357
|
+
- [SpeakingURL with Ruby on Rails](https://rubygems.org/gems/speakingurl-rails)
|
356
358
|
|
357
359
|
Ports
|
358
360
|
-----
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: speakingurl-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Sascha Droste
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
version: '3.1'
|
27
27
|
description: Generate a slug – transliteration with a lot of options
|
28
28
|
email:
|
29
|
-
-
|
29
|
+
- pid@posteo.net
|
30
30
|
executables: []
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
@@ -35,10 +35,11 @@ files:
|
|
35
35
|
- LICENSE
|
36
36
|
- lib/speakingurl-rails.rb
|
37
37
|
- lib/speakingurl.js
|
38
|
-
homepage:
|
38
|
+
homepage: http://pid.github.io/speakingurl/
|
39
39
|
licenses:
|
40
40
|
- BSD
|
41
|
-
metadata:
|
41
|
+
metadata:
|
42
|
+
contributor: Josef Šimánek <https://github.com/simi>
|
42
43
|
post_install_message:
|
43
44
|
rdoc_options: []
|
44
45
|
require_paths:
|