lovely_rufus 0.3.2 → 1.0.0

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: f88c371b8cb6103dd742cdd5d5f45281630c7e53
4
- data.tar.gz: 4273cbbb581e5e7f7a2d126352403e6fa12e0292
3
+ metadata.gz: a8a7506b842cfa774ae330401ec749a62a747f45
4
+ data.tar.gz: 2b87ba178ae72ff65d1d5fc0034e8b792af0cc72
5
5
  SHA512:
6
- metadata.gz: 0841b864b264bc1683d484609f3b83f3fe4df1272d6b9e241709b6ce375176a846b70859bb469a9adbd90d31abc64ce062c04bfa05097ce25fec0f3bfa7e6d21
7
- data.tar.gz: 5542ba5cfa46cb17d07a0f5496f79fa2f0a45f539e6c503a34972216868d89443d50acc15aa7e6ed86c4825eb4aa20919f9b03c79e266adef3f50ca3cb4076c9
6
+ metadata.gz: f001a856ce6dbf2352e041c0523fa279dfb7f29c887e943341fe788e94df76686a2122e0570a872b24911751a059a6c51599d17ac5573af011a537e330dbb30d
7
+ data.tar.gz: 1be429a0ad375e82961bbfa99bc230577b81ccc5cc192c494922cbdbb5b4556d8e879348c44228f506ce26ba60801b249a71c8d022b787ff4afe19d565b137f5
Binary file
@@ -0,0 +1,3 @@
1
+ 9�q
2
+ >�8�'����b+k��JHg�&1�Z��W�)v�`��$e���r���9q2�J_�������O�_L��_��B�:�i�p�>��s�E�U�R',:Ǖ��J�d���$��!������3�j�:� u(z��#�>��s�͚� kh�s �=�IG� מ�=�v��������=Ъ?�kBiO�ې�
3
+ Mfe�;(y�m���-���2}�x������i��1��i��K�@�+̺H�f�c E�ҥ}�ņ�g�G�
data/.reek CHANGED
@@ -1,15 +1,2 @@
1
- DuplicateMethodCall:
2
- exclude:
3
- - LovelyRufus::Layers::BasicWrapper#call
4
-
5
- FeatureEnvy:
6
- exclude:
7
- - LovelyRufus::Layers::BasicWrapper#call
8
- - LovelyRufus::Layers::OneLetterGluer#call
9
-
10
1
  IrresponsibleModule:
11
2
  enabled: false
12
-
13
- UncommunicativeVariableName:
14
- exclude:
15
- - LovelyRufus::Layers::HangoutWrapper#hangout_line
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lovely_rufus (0.3.2)
4
+ lovely_rufus (1.0.0)
5
5
  private_attr (~> 1.1)
6
6
 
7
7
  GEM
@@ -11,13 +11,11 @@ GEM
11
11
  adamantium (0.2.0)
12
12
  ice_nine (~> 0.11.0)
13
13
  memoizable (~> 0.4.0)
14
- ast (2.0.0)
14
+ ast (2.1.0)
15
15
  astrolabe (1.3.1)
16
16
  parser (~> 2.2)
17
17
  bogus (0.1.6)
18
18
  dependor (>= 0.0.4)
19
- celluloid (0.16.0)
20
- timers (~> 4.0.0)
21
19
  concord (0.1.5)
22
20
  adamantium (~> 0.2.0)
23
21
  equalizer (~> 0.0.9)
@@ -25,43 +23,42 @@ GEM
25
23
  diff-lcs (1.2.5)
26
24
  equalizer (0.0.11)
27
25
  ffi (1.9.10)
28
- hitimes (1.2.2)
29
26
  ice_nine (0.11.1)
30
- listen (2.10.1)
31
- celluloid (~> 0.16.0)
27
+ listen (3.0.4)
32
28
  rb-fsevent (>= 0.9.3)
33
29
  rb-inotify (>= 0.9)
34
30
  memoizable (0.4.2)
35
31
  thread_safe (~> 0.3, >= 0.3.1)
36
- minitest (5.7.0)
37
- minitest-focus (1.1.1)
32
+ minitest (5.8.2)
33
+ minitest-focus (1.1.2)
38
34
  minitest (>= 4, < 6)
39
- parser (2.2.2.6)
35
+ parser (2.2.3.0)
40
36
  ast (>= 1.1, < 3.0)
41
37
  powerpack (0.1.1)
42
38
  private_attr (1.1.0)
43
39
  procto (0.0.2)
44
40
  rainbow (2.0.0)
45
41
  rake (10.4.2)
46
- rb-fsevent (0.9.5)
42
+ rb-fsevent (0.9.6)
47
43
  rb-inotify (0.9.5)
48
44
  ffi (>= 0.5.0)
49
- reek (3.1)
50
- parser (~> 2.2.2.5)
45
+ reek (3.6.0)
46
+ parser (~> 2.2, >= 2.2.2.5)
47
+ private_attr (~> 1.1)
51
48
  rainbow (~> 2.0)
52
49
  unparser (~> 0.2.2)
53
- rerun (0.10.0)
54
- listen (~> 2.7, >= 2.7.3)
55
- rubocop (0.32.1)
50
+ rerun (0.11.0)
51
+ listen (~> 3.0)
52
+ rubocop (0.35.1)
56
53
  astrolabe (~> 1.3)
57
- parser (>= 2.2.2.5, < 3.0)
54
+ parser (>= 2.2.3.0, < 3.0)
58
55
  powerpack (~> 0.1)
59
56
  rainbow (>= 1.99.1, < 3.0)
60
- ruby-progressbar (~> 1.4)
57
+ ruby-progressbar (~> 1.7)
58
+ tins (<= 1.6.0)
61
59
  ruby-progressbar (1.7.5)
62
60
  thread_safe (0.3.5)
63
- timers (4.0.1)
64
- hitimes
61
+ tins (1.6.0)
65
62
  unparser (0.2.4)
66
63
  abstract_type (~> 0.0.7)
67
64
  adamantium (~> 0.2.0)
@@ -81,8 +78,8 @@ DEPENDENCIES
81
78
  minitest-focus (~> 1.1)
82
79
  rake (~> 10.1)
83
80
  reek (~> 3.1)
84
- rerun (~> 0.10.0)
85
- rubocop (~> 0.32.0)
81
+ rerun (~> 0.11.0)
82
+ rubocop (~> 0.35.0)
86
83
 
87
84
  BUNDLED WITH
88
- 1.10.5
85
+ 1.10.6
data/README.md CHANGED
@@ -14,21 +14,21 @@ Lovely Rufus can be used from the command-line by piping text through the `lovel
14
14
  The Ballyshannon foundered off the coast of Cariboo,
15
15
  And down in fathoms many went the captain and the crew;
16
16
 
17
- Lovely Rufus can also be used from Ruby code through the `TextWrapper` class:
17
+ Lovely Rufus can also be used from Ruby code through the `wrap` method:
18
18
 
19
19
  $ irb
20
20
  >> require 'lovely_rufus'
21
21
  >> text = 'The Ballyshannon foundered off the coast of Cariboo, And down in fathoms many went the captain and the crew;'
22
- >> puts LovelyRufus::TextWrapper.wrap text
22
+ >> puts LovelyRufus.wrap(text)
23
23
  The Ballyshannon foundered off the coast of Cariboo,
24
24
  And down in fathoms many went the captain and the crew;
25
25
 
26
- Note that `TextWrapper.wrap` can take optional desired width:
26
+ Note that `wrap` can take optional desired width:
27
27
 
28
28
  $ irb
29
29
  >> require 'lovely_rufus'
30
30
  >> text = 'The Ballyshannon foundered off the coast of Cariboo, And down in fathoms many went the captain and the crew;'
31
- >> puts LovelyRufus::TextWrapper.wrap text, width: 15
31
+ >> puts LovelyRufus.wrap(text, width: 15)
32
32
  The
33
33
  Ballyshannon
34
34
  foundered off
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMREwDwYDVQQDDAhjaGFz
3
+ dGVsbDEYMBYGCgmSJomT8ixkARkWCGNoYXN0ZWxsMRMwEQYKCZImiZPyLGQBGRYD
4
+ bmV0MB4XDTE1MTEwOTIxMTMwOVoXDTE2MTEwODIxMTMwOVowQjERMA8GA1UEAwwI
5
+ Y2hhc3RlbGwxGDAWBgoJkiaJk/IsZAEZFghjaGFzdGVsbDETMBEGCgmSJomT8ixk
6
+ ARkWA25ldDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcf6OF3mi6D
7
+ UedwY2A6fYEQF2bJVYQxV8fWHA5Q2R6y7Eg0hM80Q0yod7pJxlJTpnAPzuIl1u4y
8
+ hhfa/Vz0u6PVRhBYQ/Bcj9UEwgiXcy3P4ybINDeDt7GRVs3R9rRoT1aAsb5RCS0z
9
+ u/JKS2RcAS5XPpFow3Cfs5A/pM2NLsR/zeiaKg8rRB59A/tWw26F+YTaWfPAPFGv
10
+ d6af29NKWQh+EPkX1JwwtSwjKfVOeFr0csC6QLWKpp1z/7Lla8d3px426Ccjca0I
11
+ 5VwtQeZ5LClTjqaYyH7vSojpOtgRuvVKspZ2jfe1KZq9jz//a/rSUrFcPlEQuXQp
12
+ i8E3TKoJrW0CAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
13
+ BBYEFLi/J921Nb53s8GKtKptC08QmHnwMCAGA1UdEQQZMBeBFWNoYXN0ZWxsQGNo
14
+ YXN0ZWxsLm5ldDAgBgNVHRIEGTAXgRVjaGFzdGVsbEBjaGFzdGVsbC5uZXQwDQYJ
15
+ KoZIhvcNAQEFBQADggEBAA+rUbXujzqDv8WE7kkiJadQhxldq/cRhaJDMKSWF3/H
16
+ 6PL/Me8zq8Ok7/pQtxBvAhKcy3DdsH0q5pyPHoMrYySxEo9lNXLvwCPsi21rR53b
17
+ 2w5rBytYCxrhsXISKwCkBYwVwtICafZ8VtRbD3pgnsPv+9NYJJ/rN4Z34doWM7oK
18
+ CAfY6o0LcY+qmvqLvqpweyoO73wkfKGUSz1a09dJfAP5aIREQDvpYrWx2ZoDrAct
19
+ srwnZ6g5uTvNbd0I1SnvnCJJ5y5iPvJIBlnGb3QZ77y2XXCOy3Yc0rjK7A8bQt5t
20
+ xOlyYMPKhWx2IqEip+J7PBpBwMnxIPhTcNlFOj8mSa0=
21
+ -----END CERTIFICATE-----
@@ -1,3 +1,6 @@
1
+ require 'English'
2
+ require 'pathname'
3
+
1
4
  Gem::Specification.new do |gem|
2
5
  gem.author = 'Piotr Szotkowski'
3
6
  gem.description = 'An executable and a Ruby library for wrapping ' \
@@ -7,7 +10,7 @@ Gem::Specification.new do |gem|
7
10
  gem.license = 'AGPL-3.0'
8
11
  gem.name = 'lovely_rufus'
9
12
  gem.summary = 'lovely_rufus: text wrapper'
10
- gem.version = '0.3.2'
13
+ gem.version = '1.0.0'
11
14
 
12
15
  gem.required_ruby_version = '~> 2.1'
13
16
 
@@ -15,6 +18,11 @@ Gem::Specification.new do |gem|
15
18
  gem.executables = gem.files.grep(%r{^bin/}).map { |path| File.basename(path) }
16
19
  gem.test_files = gem.files.grep(%r{^test/.*\.rb$})
17
20
 
21
+ gem.cert_chain = ['certs/chastell.pem']
22
+ if Pathname.new($PROGRAM_NAME).basename == Pathname.new('gem')
23
+ gem.signing_key = Pathname.new('~/.ssh/gem-private_key.pem').expand_path
24
+ end
25
+
18
26
  gem.add_dependency 'private_attr', '~> 1.1'
19
27
 
20
28
  gem.add_development_dependency 'bogus', '~> 0.1.4'
@@ -22,6 +30,6 @@ Gem::Specification.new do |gem|
22
30
  gem.add_development_dependency 'minitest-focus', '~> 1.1'
23
31
  gem.add_development_dependency 'rake', '~> 10.1'
24
32
  gem.add_development_dependency 'reek', '~> 3.1'
25
- gem.add_development_dependency 'rerun', '~> 0.10.0'
26
- gem.add_development_dependency 'rubocop', '~> 0.32.0'
33
+ gem.add_development_dependency 'rerun', '~> 0.11.0'
34
+ gem.add_development_dependency 'rubocop', '~> 0.35.0'
27
35
  end
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lovely_rufus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Szotkowski
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMREwDwYDVQQDDAhjaGFz
14
+ dGVsbDEYMBYGCgmSJomT8ixkARkWCGNoYXN0ZWxsMRMwEQYKCZImiZPyLGQBGRYD
15
+ bmV0MB4XDTE1MTEwOTIxMTMwOVoXDTE2MTEwODIxMTMwOVowQjERMA8GA1UEAwwI
16
+ Y2hhc3RlbGwxGDAWBgoJkiaJk/IsZAEZFghjaGFzdGVsbDETMBEGCgmSJomT8ixk
17
+ ARkWA25ldDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcf6OF3mi6D
18
+ UedwY2A6fYEQF2bJVYQxV8fWHA5Q2R6y7Eg0hM80Q0yod7pJxlJTpnAPzuIl1u4y
19
+ hhfa/Vz0u6PVRhBYQ/Bcj9UEwgiXcy3P4ybINDeDt7GRVs3R9rRoT1aAsb5RCS0z
20
+ u/JKS2RcAS5XPpFow3Cfs5A/pM2NLsR/zeiaKg8rRB59A/tWw26F+YTaWfPAPFGv
21
+ d6af29NKWQh+EPkX1JwwtSwjKfVOeFr0csC6QLWKpp1z/7Lla8d3px426Ccjca0I
22
+ 5VwtQeZ5LClTjqaYyH7vSojpOtgRuvVKspZ2jfe1KZq9jz//a/rSUrFcPlEQuXQp
23
+ i8E3TKoJrW0CAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
24
+ BBYEFLi/J921Nb53s8GKtKptC08QmHnwMCAGA1UdEQQZMBeBFWNoYXN0ZWxsQGNo
25
+ YXN0ZWxsLm5ldDAgBgNVHRIEGTAXgRVjaGFzdGVsbEBjaGFzdGVsbC5uZXQwDQYJ
26
+ KoZIhvcNAQEFBQADggEBAA+rUbXujzqDv8WE7kkiJadQhxldq/cRhaJDMKSWF3/H
27
+ 6PL/Me8zq8Ok7/pQtxBvAhKcy3DdsH0q5pyPHoMrYySxEo9lNXLvwCPsi21rR53b
28
+ 2w5rBytYCxrhsXISKwCkBYwVwtICafZ8VtRbD3pgnsPv+9NYJJ/rN4Z34doWM7oK
29
+ CAfY6o0LcY+qmvqLvqpweyoO73wkfKGUSz1a09dJfAP5aIREQDvpYrWx2ZoDrAct
30
+ srwnZ6g5uTvNbd0I1SnvnCJJ5y5iPvJIBlnGb3QZ77y2XXCOy3Yc0rjK7A8bQt5t
31
+ xOlyYMPKhWx2IqEip+J7PBpBwMnxIPhTcNlFOj8mSa0=
32
+ -----END CERTIFICATE-----
33
+ date: 2015-11-10 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: private_attr
@@ -100,28 +122,28 @@ dependencies:
100
122
  requirements:
101
123
  - - "~>"
102
124
  - !ruby/object:Gem::Version
103
- version: 0.10.0
125
+ version: 0.11.0
104
126
  type: :development
105
127
  prerelease: false
106
128
  version_requirements: !ruby/object:Gem::Requirement
107
129
  requirements:
108
130
  - - "~>"
109
131
  - !ruby/object:Gem::Version
110
- version: 0.10.0
132
+ version: 0.11.0
111
133
  - !ruby/object:Gem::Dependency
112
134
  name: rubocop
113
135
  requirement: !ruby/object:Gem::Requirement
114
136
  requirements:
115
137
  - - "~>"
116
138
  - !ruby/object:Gem::Version
117
- version: 0.32.0
139
+ version: 0.35.0
118
140
  type: :development
119
141
  prerelease: false
120
142
  version_requirements: !ruby/object:Gem::Requirement
121
143
  requirements:
122
144
  - - "~>"
123
145
  - !ruby/object:Gem::Version
124
- version: 0.32.0
146
+ version: 0.35.0
125
147
  description: An executable and a Ruby library for wrapping paragraphs of text.
126
148
  email: chastell@chastell.net
127
149
  executables:
@@ -139,6 +161,7 @@ files:
139
161
  - README.md
140
162
  - Rakefile
141
163
  - bin/lovely-rufus
164
+ - certs/chastell.pem
142
165
  - lib/lovely_rufus.rb
143
166
  - lib/lovely_rufus/cli_wrapper.rb
144
167
  - lib/lovely_rufus/layers/basic_wrapper.rb
@@ -184,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
207
  version: '0'
185
208
  requirements: []
186
209
  rubyforge_project:
187
- rubygems_version: 2.4.8
210
+ rubygems_version: 2.5.0
188
211
  signing_key:
189
212
  specification_version: 4
190
213
  summary: 'lovely_rufus: text wrapper'
Binary file