the_string_to_slug 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffedf470b218c03b7927804ac054eff3f4cd2948
4
- data.tar.gz: 83a3bb3d8216f1523ce0f46c90e8bb390789dac1
3
+ metadata.gz: 2ff067dca67801d8f44f351e1fcc8102974f7ad7
4
+ data.tar.gz: 586080e354e6f54ded57d9396c88f293c5cf4c3f
5
5
  SHA512:
6
- metadata.gz: dcb62b3ea16e67e231e1fcbe998370f05b0c3cd87b10fd9a29a358407fe7ce68388000cd9d84292602aa6f1123f2f5c9c3384c990c59c9ada21dbf90a4f11d16
7
- data.tar.gz: faf61116b57eccf6ae1706c8709cfc78095fb6684b291c43ee80007d47ed4074c4238c06cf4e72f86da8b4e38b83d3c3d50d22821b9658189fed31df82b923a2
6
+ metadata.gz: d7125adaa27417b9f0be9996d0b381efe321f859cddc83339c60832dc5cfdca9a898232cc7b9ce083cd88783ec54db2a86e9483eca8cca2362ec99809c2c2b8d
7
+ data.tar.gz: ec8563b85c53e0e0ce99ab7f858eacfc2b74034d7e81be88c01af373f4eb404c5926126171ce9854d1d0ee44b05296e7f2630af6330435656d50da1b784975fe
data/README.md CHANGED
@@ -1,29 +1,30 @@
1
- # TheStringToSlug
1
+ ### TheStringToSlug
2
2
 
3
- TODO: Write a gem description
3
+ Convert text string to slug param
4
4
 
5
- ## Installation
5
+ Translite, downcase, parameterize
6
6
 
7
- Add this line to your application's Gemfile:
7
+ #### Install
8
8
 
9
- gem 'the_string_to_slug'
9
+ ```ruby
10
+ gem "the_string_to_slug", "~> 0.0.5"
11
+ ```
10
12
 
11
- And then execute:
13
+ <a href="http://rubygems.org/gems/the_string_to_slug">RubyGems/the_string_to_slug</a>
12
14
 
13
- $ bundle
15
+ #### Using
14
16
 
15
- Or install it yourself as:
17
+ ```ruby
18
+ "Привет Мир! Hello world!".to_slug_param
19
+ # => "privet-mir-hello-world"
16
20
 
17
- $ gem install the_string_to_slug
21
+ String.to_slug_param("Привет Мир! Hello world!")
22
+ # => "privet-mir-hello-world"
23
+ ```
18
24
 
19
- ## Usage
25
+ Be carefully with file extension
20
26
 
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Add some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
27
+ ```ruby
28
+ "Документ.doc".to_slug_param
29
+ # => "dokument-doc"
30
+ ```
@@ -1,3 +1,3 @@
1
1
  module TheStringToSlug
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["zykin-ilya@ya.ru"]
11
11
  spec.description = %q{ Convert text string to slug param }
12
12
  spec.summary = %q{ Translite, downcase, parameterize }
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/the-teacher/the_string_to_slug"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_string_to_slug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya N. Zykin
@@ -67,7 +67,7 @@ files:
67
67
  - lib/the_string_to_slug.rb
68
68
  - lib/the_string_to_slug/version.rb
69
69
  - the_string_to_slug.gemspec
70
- homepage: ''
70
+ homepage: https://github.com/the-teacher/the_string_to_slug
71
71
  licenses:
72
72
  - MIT
73
73
  metadata: {}