punctuate 1.0.1 → 1.1.0
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/README.md +6 -3
- data/lib/punctuate.rb +0 -4
- data/lib/punctuate/punctuation.rb +1 -1
- data/lib/punctuate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4439c42d0726b3b1ae4e1aff88b36d3a91d6f655
|
|
4
|
+
data.tar.gz: abf85e196d54e2474d68088b1b7cf752a0c52633
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 431fa653499dc99ae56ef7376a4b36cde755a2ca6fd24970ccb596d2fe433a203bca9f4ffcd013f93fad7ae2bce2c3ff833ed0710c4ea86cbc9b08f96a3638e8
|
|
7
|
+
data.tar.gz: 77264e7e4e697167b7d8347bdba9e83676ac40af9b8b9bdcdbb6aee98430f8107551e5ff969f8540006074fa7180ebaaf039d78b53f96adcfb7505937b73f3f7
|
data/README.md
CHANGED
|
@@ -7,12 +7,12 @@ Converts Unicode or non-ASCII punctuation and symbols to nearest ASCII punctuati
|
|
|
7
7
|
Add this line to your application's Gemfile:
|
|
8
8
|
|
|
9
9
|
```ruby
|
|
10
|
-
gem
|
|
10
|
+
gem "punctuate"
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
And then execute:
|
|
14
14
|
|
|
15
|
-
$ bundle
|
|
15
|
+
$ bundle install
|
|
16
16
|
|
|
17
17
|
Or install it yourself as:
|
|
18
18
|
|
|
@@ -20,7 +20,10 @@ Or install it yourself as:
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
irb(main):001:0> require "punctuate"
|
|
24
|
+
=> true
|
|
25
|
+
irb(main):002:0> "Your résumé’s a 100٪ non–encyclopædia❢".punctuate
|
|
26
|
+
=> "Your résumé's a 100% non-encyclopædia!"
|
|
24
27
|
|
|
25
28
|
## Development
|
|
26
29
|
|
data/lib/punctuate.rb
CHANGED
data/lib/punctuate/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: punctuate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Ng KP
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2017-07-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|