summarise 1.0.0 → 1.0.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -4
  3. data/lib/summarise/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cd42215f8bf26f1a2a6ddf1b5e122519a61b1bd
4
- data.tar.gz: f7c3c7ca67e2557eb86098999e4cf63a52539e71
3
+ metadata.gz: a17eca01a7ed32cd9f137b142cab4fee60ced64e
4
+ data.tar.gz: 655fdb30e18235bc103f1497bf87f508c369b983
5
5
  SHA512:
6
- metadata.gz: e6d598573b183a85a331e90a323956ba3abe3e2bf390f3a163c536cdea41350c8e7656f33f5ef1a61ee90e33698f238e44305f97d8f20456383535ae297909e5
7
- data.tar.gz: 9115804488f9eb3d628c93801ef3d16f05700ce0b4ba8f058df04e89b108ff09184f23d66def7303878c05e44d951af6c2c686b58ded5691164befed9dc7a2b6
6
+ metadata.gz: 77b91fcfa1a2bc27830fa5278d2ea1e73bce820e97ae68f1aaf6197a32fcafc951168432049c7a55d1fa415e4603eb6a8e42c2ef136a111a098fd7b04755d208
7
+ data.tar.gz: 51990392dbd351d07412316b4f086d66fe335c9e66391e196f9419fe972e42e806a2e3b9f97f8f5a48385592bcf07522ed080aaed84b04a5c4672a80fda1d53e
data/README.md CHANGED
@@ -1,6 +1,19 @@
1
1
  # Summarise
2
2
 
3
- TODO: Write a gem description
3
+ Summarise is a small gem which extends String, allowing you to create summaries of strings while respecting word boundaries.
4
+
5
+ ## Usage
6
+
7
+ str = "Summarise is a small gem which extends String, allowing you to create summaries."
8
+
9
+ str.summarise 25
10
+ => "Summarise is a small gem which"
11
+
12
+ str.summarise 25, :suffix => "..."
13
+ => "Summarise is a small gem which..."
14
+
15
+ str.summarise 5000, :suffix => "..."
16
+ => "Summarise is a small gem which extends String, allowing you to create summaries."
4
17
 
5
18
  ## Installation
6
19
 
@@ -16,9 +29,6 @@ Or install it yourself as:
16
29
 
17
30
  $ gem install summarise
18
31
 
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
32
 
23
33
  ## Contributing
24
34
 
@@ -1,3 +1,3 @@
1
1
  module Summarise
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summarise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Johnson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-26 00:00:00.000000000 Z
11
+ date: 2013-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler