word_wrap 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 789bc643451be62663a5caafd007cd34482fa533
4
- data.tar.gz: b84b5f9ca6e5a0644c49564fae9b2778484a850b
3
+ metadata.gz: dd20368f51ab97ab2130a5314dfef7110eeec1de
4
+ data.tar.gz: 2515235374c12afce9687ab692eafd1cb1d407ee
5
5
  SHA512:
6
- metadata.gz: b70a0a7efa64ffb0596d15a41afefcf580a16cb06964dbdb58205973068466bb88d6959e8075d1779aef7beefdcdb2eb37083bfca716d735fd66f72d07b25776
7
- data.tar.gz: a553994da0d0c6c2965e35a559928ccd0511e9763c39f9700aee3f1e5587e72e4b5382819c23c21d79856f7b47576f9ea5f475375701ed40abd0962deb2fdad0
6
+ metadata.gz: 0f2c8e7ac8f3bae457a2097141c77e198131e1c649de5de10297f825ce2986968488f6b9e2d206f3bcf82f716f3c8545b300f2787314e5ffb9ce4188a6a13fe5
7
+ data.tar.gz: 77dc5abc16756f9480656227e0c220789670667169135fdb7f441e8e48dce7870a6e39e160ff25c401f04a8b0f2a7668aea3243ebb7559b23bd95a3b11b97b94
data/README.md CHANGED
@@ -39,11 +39,12 @@ only two arguments:
39
39
  predefined width, in addition to wrapping the lines that exceed
40
40
  it. This option is generally better for plain text. For code,
41
41
  however, it will mess up your indentation.
42
+
42
43
  #### Examples
43
44
 
44
45
  The example file looks like this:
45
46
  ```bash
46
- cat hip.txt
47
+ $ cat hip.txt
47
48
  Forage Shoreditch disrupt Pitchfork meh.
48
49
 
49
50
  Mustache 3 wolf moon gluten-free whatever master burn
@@ -51,7 +52,7 @@ vinyl.
51
52
  ```
52
53
 
53
54
  ```bash
54
- ww -w20 hip.txt
55
+ $ ww -w20 hip.txt
55
56
  Forage Shoreditch
56
57
  disrupt Pitchfork
57
58
  meh.
@@ -64,7 +65,7 @@ vinyl.
64
65
 
65
66
  But you can also use stdin:
66
67
  ```bash
67
- cat hip | ww -w20
68
+ $ cat hip | ww -w20
68
69
  Forage Shoreditch
69
70
  disrupt Pitchfork
70
71
  meh.
@@ -77,7 +78,7 @@ vinyl.
77
78
 
78
79
  Note the difference at end of the second paragraph:
79
80
  ```bash
80
- cat hip | ww -w20
81
+ $ cat hip | ww -w20 -f
81
82
  Forage Shoreditch
82
83
  disrupt Pitchfork
83
84
  meh.
@@ -96,7 +97,7 @@ If you would like to use the library in Ruby, you have two options:
96
97
  * Use the `String#wrap` and `String#fit` functions this module adds to the
97
98
  standard `String` class.
98
99
 
99
- #### Example
100
+ #### Examples
100
101
 
101
102
  ```irb
102
103
  irb(main):001:0> require 'word_wrap'
@@ -1,3 +1,3 @@
1
1
  module WordWrap
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -9,10 +9,9 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Radek Pazdera"]
10
10
  spec.email = ["radek@pazdera.co.uk"]
11
11
  spec.summary = %q{Simple tool for word-wrapping text}
12
- spec.description = %q{This gem contains a very simple CLI tool for
13
- word-wrapping plain-text files. As simple as
14
- it gets. You can also use it in your Ruby
15
- scripts - check out the sources for help.}
12
+ spec.description = %q{As simple as it gets CLI tool for word-wrapping
13
+ plain-text. You can also use the library in your
14
+ Ruby scripts. Check out the sources for details.}
16
15
  spec.homepage = "https://github.com/pazdera/word_wrap"
17
16
  spec.license = "MIT"
18
17
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: word_wrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radek Pazdera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-23 00:00:00.000000000 Z
11
+ date: 2014-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,10 +53,9 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: |-
56
- This gem contains a very simple CLI tool for
57
- word-wrapping plain-text files. As simple as
58
- it gets. You can also use it in your Ruby
59
- scripts - check out the sources for help.
56
+ As simple as it gets CLI tool for word-wrapping
57
+ plain-text. You can also use the library in your
58
+ Ruby scripts. Check out the sources for details.
60
59
  email:
61
60
  - radek@pazdera.co.uk
62
61
  executables: