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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 001d1ac7e2f35a28cc07d449794b29518978b2a0
4
- data.tar.gz: 0857cd27cbfba5506c184d291a92b28155e7b354
3
+ metadata.gz: 4439c42d0726b3b1ae4e1aff88b36d3a91d6f655
4
+ data.tar.gz: abf85e196d54e2474d68088b1b7cf752a0c52633
5
5
  SHA512:
6
- metadata.gz: 65f80b437727e8d7e031ab2468c6bdbcc2a6137ece1203f4103c94310bbe653802d6f9a5b00abcbc91b0fbda27f6186db6abacffe63206fbc6b655a839a79343
7
- data.tar.gz: 7c2ad8a1eea608e9f08140fa9f4ed70ba878318b31237148e96734b0dded77480822b3d1b02c2b13af34efdbd541d116a34ec395481b50e71a210bceba31b6f6
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 'punctuate'
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
- TODO: Write usage instructions here
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
 
@@ -1,7 +1,3 @@
1
1
  require "punctuate/version"
2
2
  require "punctuate/symbols"
3
3
  require "punctuate/punctuation"
4
-
5
- module Punctuate
6
- # Your code goes here...
7
- end
@@ -1,5 +1,5 @@
1
1
  String.class_eval do
2
- def punctuate!
2
+ def punctuate
3
3
  formatted_word = ""
4
4
 
5
5
  self.each_char do |char|
@@ -1,3 +1,3 @@
1
1
  module Punctuate
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
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.1
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: 2016-08-16 00:00:00.000000000 Z
12
+ date: 2017-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler