ppl 4.0.3 → 4.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +4 -0
  3. data/.github/workflows/build.yml +7 -23
  4. data/.gitignore +0 -4
  5. data/.ruby-version +1 -0
  6. data/Gemfile +0 -1
  7. data/Rakefile +2 -2
  8. data/code_of_conduct.md +1 -1
  9. data/demo.svg +1 -0
  10. data/lib/ppl/adapter/storage/disk.rb +2 -2
  11. data/lib/ppl/adapter/storage/factory.rb +1 -1
  12. data/lib/ppl/application/configuration.rb +2 -2
  13. data/lib/ppl/command/completion.rb +1 -1
  14. data/lib/ppl/command/shell.rb +1 -1
  15. data/lib/ppl/command/version.rb +1 -1
  16. data/lib/ppl/version.rb +5 -0
  17. data/lib/ppl.rb +1 -4
  18. data/makefile +12 -1
  19. data/ppl.gemspec +12 -5
  20. data/ppl.svg +12 -0
  21. data/readme.md +4 -4
  22. data/spec/ppl/adapter/storage/disk_spec.rb +2 -2
  23. data/spec/ppl/command/completion_spec.rb +2 -2
  24. data/spec/ppl/command/shell_spec.rb +1 -1
  25. data/spec/ppl/command/version_spec.rb +1 -1
  26. metadata +56 -164
  27. data/.eleventy.js +0 -86
  28. data/.eleventyignore +0 -1
  29. data/gh-pages/Gemfile +0 -2
  30. data/gh-pages/Gemfile.lock +0 -238
  31. data/gh-pages/_config.yml +0 -5
  32. data/gh-pages/_includes/changelog.html +0 -23
  33. data/gh-pages/_includes/development-sidebar.html +0 -25
  34. data/gh-pages/_includes/footer.html +0 -22
  35. data/gh-pages/_includes/header.html +0 -43
  36. data/gh-pages/_includes/news.html +0 -36
  37. data/gh-pages/_includes/tip.html +0 -54
  38. data/gh-pages/_layouts/changelog.html +0 -1
  39. data/gh-pages/_layouts/command.html +0 -104
  40. data/gh-pages/_layouts/configuration.html +0 -71
  41. data/gh-pages/_layouts/development.html +0 -20
  42. data/gh-pages/_layouts/frontpage.html +0 -6
  43. data/gh-pages/_layouts/integration.html +0 -44
  44. data/gh-pages/_layouts/news.html +0 -2
  45. data/gh-pages/_layouts/page.html +0 -6
  46. data/gh-pages/_layouts/tip.html +0 -2
  47. data/gh-pages/_posts/2012-01-15-first-post.md +0 -16
  48. data/gh-pages/_posts/2012-12-20-1.0.0.md +0 -19
  49. data/gh-pages/_posts/2012-12-20-1.1.0.md +0 -28
  50. data/gh-pages/_posts/2012-12-20-1.2.0.md +0 -18
  51. data/gh-pages/_posts/2012-12-21-1.3.0.md +0 -20
  52. data/gh-pages/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md +0 -26
  53. data/gh-pages/_posts/2012-12-22-1.4.1.md +0 -21
  54. data/gh-pages/_posts/2012-12-22-1.5.0.md +0 -17
  55. data/gh-pages/_posts/2012-12-23-1.5.1.md +0 -13
  56. data/gh-pages/_posts/2012-12-23-1.5.2.md +0 -15
  57. data/gh-pages/_posts/2012-12-26-1.5.3.md +0 -19
  58. data/gh-pages/_posts/2012-12-27-1.6.0.md +0 -18
  59. data/gh-pages/_posts/2012-12-29-1.7.0.md +0 -18
  60. data/gh-pages/_posts/2013-01-05-1.8.0.md +0 -18
  61. data/gh-pages/_posts/2013-01-06-1.9.0.md +0 -20
  62. data/gh-pages/_posts/2013-01-10-1.10.0.md +0 -18
  63. data/gh-pages/_posts/2013-01-20-1.11.0.md +0 -14
  64. data/gh-pages/_posts/2013-02-16-1.12.0.md +0 -14
  65. data/gh-pages/_posts/2013-02-17-1.13.0.md +0 -29
  66. data/gh-pages/_posts/2013-02-17-1.14.0.md +0 -15
  67. data/gh-pages/_posts/2013-02-17-1.14.1.md +0 -18
  68. data/gh-pages/_posts/2013-02-17-two-months-in.md +0 -27
  69. data/gh-pages/_posts/2013-03-16-1.15.0.md +0 -28
  70. data/gh-pages/_posts/2013-03-16-coloured-output-released.md +0 -27
  71. data/gh-pages/_posts/2013-04-10-ruby-2.0-compatibility.md +0 -28
  72. data/gh-pages/_posts/2013-04-11-1.15.1.md +0 -13
  73. data/gh-pages/_posts/2013-04-12-1.16.0.md +0 -22
  74. data/gh-pages/_posts/2013-04-14-1.17.0.md +0 -15
  75. data/gh-pages/_posts/2013-04-14-1.17.1.md +0 -20
  76. data/gh-pages/_posts/2013-04-14-1.17.2.md +0 -13
  77. data/gh-pages/_posts/2013-04-15-sync-alias.md +0 -31
  78. data/gh-pages/_posts/2013-04-15-utf8-fixed-and-more.md +0 -37
  79. data/gh-pages/_posts/2013-04-16-1.18.0.md +0 -15
  80. data/gh-pages/_posts/2013-04-16-set-up-color-output.md +0 -47
  81. data/gh-pages/_posts/2013-04-19-1.19.0.md +0 -13
  82. data/gh-pages/_posts/2013-04-19-1.20.0.md +0 -15
  83. data/gh-pages/_posts/2013-04-20-1.21.0.md +0 -16
  84. data/gh-pages/_posts/2013-04-20-1.22.0.md +0 -14
  85. data/gh-pages/_posts/2013-04-20-1.22.1.md +0 -13
  86. data/gh-pages/_posts/2013-04-21-1.22.2.md +0 -15
  87. data/gh-pages/_posts/2013-04-21-1.23.0.md +0 -35
  88. data/gh-pages/_posts/2013-04-23-1.24.0.md +0 -16
  89. data/gh-pages/_posts/2013-04-24-1.25.0.md +0 -21
  90. data/gh-pages/_posts/2013-05-09-2.0.0.md +0 -33
  91. data/gh-pages/_posts/2013-05-09-version-2.0.0-released.md +0 -32
  92. data/gh-pages/_posts/2013-07-20-2.1.0.md +0 -36
  93. data/gh-pages/_posts/2013-07-20-2.2.0.md +0 -20
  94. data/gh-pages/_posts/2013-10-12-2.3.0.md +0 -19
  95. data/gh-pages/_posts/2014-03-30-2.3.1.md +0 -25
  96. data/gh-pages/_posts/2015-01-05-2.3.2.md +0 -18
  97. data/gh-pages/_posts/2015-12-03-get-involved.md +0 -29
  98. data/gh-pages/_posts/2015-12-05-2.3.3.md +0 -16
  99. data/gh-pages/_posts/2016-01-02-2.4.0.md +0 -19
  100. data/gh-pages/_posts/2017-05-01-2.4.1.md +0 -12
  101. data/gh-pages/_posts/2017-10-23-sleep-mode.md +0 -18
  102. data/gh-pages/_posts/2018-01-03-3.0.1.md +0 -12
  103. data/gh-pages/_stylesheets/ppl/color.less +0 -119
  104. data/gh-pages/_stylesheets/ppl/layout.less +0 -54
  105. data/gh-pages/_stylesheets/ppl/style.less +0 -185
  106. data/gh-pages/_stylesheets/ppl/typography.less +0 -59
  107. data/gh-pages/development/changelog/index.md +0 -18
  108. data/gh-pages/development/changelog/split.rb +0 -51
  109. data/gh-pages/development/index.html +0 -32
  110. data/gh-pages/development/roadmap/index.md +0 -15
  111. data/gh-pages/documentation/about/index.html +0 -63
  112. data/gh-pages/documentation/commands/add/index.md +0 -43
  113. data/gh-pages/documentation/commands/age/add/index.md +0 -40
  114. data/gh-pages/documentation/commands/age/index.md +0 -38
  115. data/gh-pages/documentation/commands/bday/index.md +0 -44
  116. data/gh-pages/documentation/commands/completion/index.md +0 -38
  117. data/gh-pages/documentation/commands/email/index.md +0 -64
  118. data/gh-pages/documentation/commands/grep/index.md +0 -32
  119. data/gh-pages/documentation/commands/init/index.md +0 -28
  120. data/gh-pages/documentation/commands/ls/index.md +0 -55
  121. data/gh-pages/documentation/commands/mutt/index.md +0 -36
  122. data/gh-pages/documentation/commands/mv/index.md +0 -26
  123. data/gh-pages/documentation/commands/name/index.md +0 -45
  124. data/gh-pages/documentation/commands/nick/index.md +0 -44
  125. data/gh-pages/documentation/commands/org/index.md +0 -45
  126. data/gh-pages/documentation/commands/phone/index.md +0 -56
  127. data/gh-pages/documentation/commands/post/index.md +0 -61
  128. data/gh-pages/documentation/commands/pull/index.md +0 -39
  129. data/gh-pages/documentation/commands/push/index.md +0 -36
  130. data/gh-pages/documentation/commands/remote/index.md +0 -40
  131. data/gh-pages/documentation/commands/rm/index.md +0 -23
  132. data/gh-pages/documentation/commands/scrape/index.md +0 -38
  133. data/gh-pages/documentation/commands/shell/index.md +0 -39
  134. data/gh-pages/documentation/commands/show/index.md +0 -33
  135. data/gh-pages/documentation/commands/url/index.md +0 -44
  136. data/gh-pages/documentation/commands/version/index.md +0 -27
  137. data/gh-pages/documentation/configuration/address_book/index.md +0 -22
  138. data/gh-pages/documentation/configuration/alias/index.md +0 -45
  139. data/gh-pages/documentation/configuration/color/index.md +0 -47
  140. data/gh-pages/documentation/configuration/color_age/index.md +0 -20
  141. data/gh-pages/documentation/configuration/color_bday/index.md +0 -20
  142. data/gh-pages/documentation/configuration/color_email/index.md +0 -21
  143. data/gh-pages/documentation/configuration/color_ls/index.md +0 -21
  144. data/gh-pages/documentation/configuration/color_name/index.md +0 -20
  145. data/gh-pages/documentation/configuration/color_nick/index.md +0 -20
  146. data/gh-pages/documentation/configuration/color_org/index.md +0 -20
  147. data/gh-pages/documentation/configuration/color_phone/index.md +0 -22
  148. data/gh-pages/documentation/configuration/color_post/index.md +0 -20
  149. data/gh-pages/documentation/configuration/color_url/index.md +0 -20
  150. data/gh-pages/documentation/configuration/index.html +0 -8
  151. data/gh-pages/documentation/index.html +0 -183
  152. data/gh-pages/documentation/integration/bash/index.md +0 -23
  153. data/gh-pages/documentation/integration/google/index.md +0 -26
  154. data/gh-pages/documentation/integration/index.html +0 -8
  155. data/gh-pages/documentation/integration/mutt/index.md +0 -35
  156. data/gh-pages/documentation/integration/zsh/index.md +0 -19
  157. data/gh-pages/documentation/quick-start/index.html +0 -88
  158. data/gh-pages/documentation/tips/index.html +0 -9
  159. data/gh-pages/index.html +0 -108
  160. data/gh-pages/news/index.html +0 -9
  161. data/gh-pages/robots.txt +0 -3
  162. data/gh-pages/stylesheets/flatstrap.css +0 -10
  163. data/gh-pages/stylesheets/ppl.scss +0 -235
  164. data/gh-pages/wiki.png +0 -0
  165. data/package.json +0 -23
  166. data/site/_data/url.js +0 -4
  167. data/site/casts/hero.cast +0 -189
  168. data/site/development.njk +0 -6
  169. data/site/documentation.njk +0 -6
  170. data/site/index.njk +0 -75
  171. data/site/news.njk +0 -6
  172. data/site/style.scss +0 -140
  173. data/spec/ppl/adapter/color_spec.rb +0 -14
  174. data/spec/ppl/adapter/email_scraper_spec.rb +0 -14
  175. data/spec/ppl/adapter/vcard_spec.rb +0 -23
  176. data/spec/ppl/format/address_book_spec.rb +0 -17
  177. data/spec/ppl/format/contact_spec.rb +0 -16
  178. data/spec/ppl/format/name_spec.rb +0 -17
  179. data/spec/ppl/format/postal_address_spec.rb +0 -17
  180. data/yarn.lock +0 -3605
data/ppl.svg ADDED
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-1 0 12 8" stroke-linecap="round" stroke-linejoin="round" height="32px" width="64px">
2
+ <defs>
3
+ <path id="p" d="M0,6 L0,3 L2,3 L2,5 L0,5" />
4
+ <path id="l" d="M0,3 L0,6 L2,6" />
5
+ </defs>
6
+ <use xlink:href="#p" fill="none" stroke="#000000" stroke-width="2.8" x="0" y="0" />
7
+ <use xlink:href="#p" fill="none" stroke="#fff1e8" stroke-width="1" x="0" y="0" />
8
+ <use xlink:href="#p" fill="none" stroke="#000000" stroke-width="2.8" x="4" y="0" />
9
+ <use xlink:href="#p" fill="none" stroke="#fff1e8" stroke-width="1" x="4" y="0" />
10
+ <use xlink:href="#l" fill="none" stroke="#000000" stroke-width="2.8" x="8" y="0" />
11
+ <use xlink:href="#l" fill="none" stroke="#fff1e8" stroke-width="1" x="8" y="0" />
12
+ </svg>
data/readme.md CHANGED
@@ -11,10 +11,10 @@ like "people". You might be interested in ppl if:
11
11
  * You want ownership of your address book data back from the cloud
12
12
  * You prefer to keep your data stored in an open format
13
13
 
14
- <a href="https://github.com/hendotcat/ppl/actions/workflows/build.yml">
14
+ <a href="https://github.com/henrycatalinismith/ppl/actions/workflows/build.yml">
15
15
  <img
16
16
  alt="Build status"
17
- src="https://github.com/hendotcat/ppl/actions/workflows/build.yml/badge.svg"
17
+ src="https://github.com/henrycatalinismith/ppl/actions/workflows/build.yml/badge.svg"
18
18
  />
19
19
  </a>
20
20
 
@@ -77,9 +77,9 @@ Contributing
77
77
  ------------
78
78
 
79
79
  Bug reports, fixes, and additional features are encouraged. The project uses
80
- [Github issues](https://github.com/hendotcat/ppl/issues) to track bug reports.
80
+ [Github issues](https://github.com/henrycatalinismith/ppl/issues) to track bug reports.
81
81
 
82
- Everyone interacting in ppl’s codebases, issue trackers etc is expected to follow the [code of conduct](https://github.com/hendotcat/ppl/blob/trunk/code_of_conduct.md).
82
+ Everyone interacting in ppl’s codebases, issue trackers etc is expected to follow the [code of conduct](https://github.com/henrycatalinismith/ppl/blob/trunk/code_of_conduct.md).
83
83
 
84
84
  License
85
85
  -------
@@ -11,7 +11,7 @@ describe Ppl::Adapter::Storage::Disk, "#create_address_book" do
11
11
  describe "#create_address_book" do
12
12
  it "should create the directory if it doesn't exist yet" do
13
13
  Ppl::Adapter::Storage::Disk.create_address_book("/contacts")
14
- expect(Dir.exists?("/contacts")).to eq true
14
+ expect(Dir.exist?("/contacts")).to eq true
15
15
  FileUtils.rm_rf("/contacts")
16
16
  end
17
17
  it "should return a Ppl::Adapter::Storage::Disk" do
@@ -130,7 +130,7 @@ describe Ppl::Adapter::Storage::Disk do
130
130
  FileUtils.touch "/contacts/test.vcf"
131
131
  @contact.id = "test"
132
132
  @storage.delete_contact(@contact)
133
- expect(File.exists?("/contacts/test.vcf")).to eq false
133
+ expect(File.exist?("/contacts/test.vcf")).to eq false
134
134
  end
135
135
  end
136
136
 
@@ -18,7 +18,7 @@ describe Ppl::Command::Completion do
18
18
 
19
19
  before(:each) do
20
20
  allow(@directory).to receive(:path).and_return("")
21
- allow(File).to receive(:exists?).and_return(true)
21
+ allow(File).to receive(:exist?).and_return(true)
22
22
  allow(File).to receive(:read)
23
23
  end
24
24
 
@@ -29,7 +29,7 @@ describe Ppl::Command::Completion do
29
29
 
30
30
  it "should raise an error if the shell is not recognised" do
31
31
  @input.arguments = ["invalidshell"]
32
- expect(File).to receive(:exists?).with("/invalidshell").and_return(false)
32
+ expect(File).to receive(:exist?).with("/invalidshell").and_return(false)
33
33
  expect{@command.execute(@input, @output)}.to raise_error(Ppl::Error::CompletionNotFound)
34
34
  end
35
35
 
@@ -88,7 +88,7 @@ describe Ppl::Command::Shell do
88
88
  allow(@input.stdin).to receive(:tty?) { true }
89
89
  expect(@output).to receive(:line) do |line|
90
90
  expect(line).to include "ppl"
91
- expect(line).to include Ppl::Version
91
+ expect(line).to include Ppl::VERSION
92
92
  end
93
93
  expect(Readline).to receive(:readline).and_return(false)
94
94
  allow(@command).to receive(:terminate_gracefully)
@@ -15,7 +15,7 @@ describe Ppl::Command::Version do
15
15
  describe "#execute" do
16
16
  it "should show the version number" do
17
17
  expect(@output).to receive(:line) do |line|
18
- expect(line).to include Ppl::Version
18
+ expect(line).to include Ppl::VERSION
19
19
  end
20
20
  expect(@command.execute(@input, @output)).to eq true
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppl
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Catalini Smith
@@ -52,6 +52,48 @@ dependencies:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.7.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: net-imap
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.4.14
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 0.4.14
69
+ - !ruby/object:Gem::Dependency
70
+ name: net-pop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 0.1.2
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 0.1.2
83
+ - !ruby/object:Gem::Dependency
84
+ name: net-smtp
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.5.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.5.0
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: morphine
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +114,14 @@ dependencies:
72
114
  requirements:
73
115
  - - '='
74
116
  - !ruby/object:Gem::Version
75
- version: 1.1.0
117
+ version: 1.7.2
76
118
  type: :runtime
77
119
  prerelease: false
78
120
  version_requirements: !ruby/object:Gem::Requirement
79
121
  requirements:
80
122
  - - '='
81
123
  - !ruby/object:Gem::Version
82
- version: 1.1.0
124
+ version: 1.7.2
83
125
  - !ruby/object:Gem::Dependency
84
126
  name: vpim
85
127
  requirement: !ruby/object:Gem::Requirement
@@ -154,36 +196,36 @@ dependencies:
154
196
  name: fakefs
155
197
  requirement: !ruby/object:Gem::Requirement
156
198
  requirements:
157
- - - ">="
199
+ - - "~>"
158
200
  - !ruby/object:Gem::Version
159
- version: '0'
201
+ version: 1.9.0
160
202
  type: :development
161
203
  prerelease: false
162
204
  version_requirements: !ruby/object:Gem::Requirement
163
205
  requirements:
164
- - - ">="
206
+ - - "~>"
165
207
  - !ruby/object:Gem::Version
166
- version: '0'
208
+ version: 1.9.0
167
209
  description: ppl is a command-line address book using vCard & git for storage and
168
210
  synchronisation
169
- email: hen@hey.com
211
+ email: henry@catalinismith.com
170
212
  executables:
171
213
  - ppl
172
214
  extensions: []
173
215
  extra_rdoc_files: []
174
216
  files:
175
217
  - ".editorconfig"
176
- - ".eleventy.js"
177
- - ".eleventyignore"
178
218
  - ".github/workflows/build.yml"
179
219
  - ".gitignore"
180
220
  - ".rspec"
221
+ - ".ruby-version"
181
222
  - Gemfile
182
223
  - Rakefile
183
224
  - bin/ppl
184
225
  - code_of_conduct.md
185
226
  - completions/bash
186
227
  - completions/zsh
228
+ - demo.svg
187
229
  - features/add.feature
188
230
  - features/bday.feature
189
231
  - features/email.feature
@@ -201,142 +243,6 @@ files:
201
243
  - features/step_definitions/cwd_steps.rb
202
244
  - features/step_definitions/ppl_steps.rb
203
245
  - features/url.feature
204
- - gh-pages/Gemfile
205
- - gh-pages/Gemfile.lock
206
- - gh-pages/_config.yml
207
- - gh-pages/_includes/changelog.html
208
- - gh-pages/_includes/development-sidebar.html
209
- - gh-pages/_includes/footer.html
210
- - gh-pages/_includes/header.html
211
- - gh-pages/_includes/news.html
212
- - gh-pages/_includes/tip.html
213
- - gh-pages/_layouts/changelog.html
214
- - gh-pages/_layouts/command.html
215
- - gh-pages/_layouts/configuration.html
216
- - gh-pages/_layouts/development.html
217
- - gh-pages/_layouts/frontpage.html
218
- - gh-pages/_layouts/integration.html
219
- - gh-pages/_layouts/news.html
220
- - gh-pages/_layouts/page.html
221
- - gh-pages/_layouts/tip.html
222
- - gh-pages/_posts/2012-01-15-first-post.md
223
- - gh-pages/_posts/2012-12-20-1.0.0.md
224
- - gh-pages/_posts/2012-12-20-1.1.0.md
225
- - gh-pages/_posts/2012-12-20-1.2.0.md
226
- - gh-pages/_posts/2012-12-21-1.3.0.md
227
- - gh-pages/_posts/2012-12-21-thank-you-for-your-all-your-feedback.md
228
- - gh-pages/_posts/2012-12-22-1.4.1.md
229
- - gh-pages/_posts/2012-12-22-1.5.0.md
230
- - gh-pages/_posts/2012-12-23-1.5.1.md
231
- - gh-pages/_posts/2012-12-23-1.5.2.md
232
- - gh-pages/_posts/2012-12-26-1.5.3.md
233
- - gh-pages/_posts/2012-12-27-1.6.0.md
234
- - gh-pages/_posts/2012-12-29-1.7.0.md
235
- - gh-pages/_posts/2013-01-05-1.8.0.md
236
- - gh-pages/_posts/2013-01-06-1.9.0.md
237
- - gh-pages/_posts/2013-01-10-1.10.0.md
238
- - gh-pages/_posts/2013-01-20-1.11.0.md
239
- - gh-pages/_posts/2013-02-16-1.12.0.md
240
- - gh-pages/_posts/2013-02-17-1.13.0.md
241
- - gh-pages/_posts/2013-02-17-1.14.0.md
242
- - gh-pages/_posts/2013-02-17-1.14.1.md
243
- - gh-pages/_posts/2013-02-17-two-months-in.md
244
- - gh-pages/_posts/2013-03-16-1.15.0.md
245
- - gh-pages/_posts/2013-03-16-coloured-output-released.md
246
- - gh-pages/_posts/2013-04-10-ruby-2.0-compatibility.md
247
- - gh-pages/_posts/2013-04-11-1.15.1.md
248
- - gh-pages/_posts/2013-04-12-1.16.0.md
249
- - gh-pages/_posts/2013-04-14-1.17.0.md
250
- - gh-pages/_posts/2013-04-14-1.17.1.md
251
- - gh-pages/_posts/2013-04-14-1.17.2.md
252
- - gh-pages/_posts/2013-04-15-sync-alias.md
253
- - gh-pages/_posts/2013-04-15-utf8-fixed-and-more.md
254
- - gh-pages/_posts/2013-04-16-1.18.0.md
255
- - gh-pages/_posts/2013-04-16-set-up-color-output.md
256
- - gh-pages/_posts/2013-04-19-1.19.0.md
257
- - gh-pages/_posts/2013-04-19-1.20.0.md
258
- - gh-pages/_posts/2013-04-20-1.21.0.md
259
- - gh-pages/_posts/2013-04-20-1.22.0.md
260
- - gh-pages/_posts/2013-04-20-1.22.1.md
261
- - gh-pages/_posts/2013-04-21-1.22.2.md
262
- - gh-pages/_posts/2013-04-21-1.23.0.md
263
- - gh-pages/_posts/2013-04-23-1.24.0.md
264
- - gh-pages/_posts/2013-04-24-1.25.0.md
265
- - gh-pages/_posts/2013-05-09-2.0.0.md
266
- - gh-pages/_posts/2013-05-09-version-2.0.0-released.md
267
- - gh-pages/_posts/2013-07-20-2.1.0.md
268
- - gh-pages/_posts/2013-07-20-2.2.0.md
269
- - gh-pages/_posts/2013-10-12-2.3.0.md
270
- - gh-pages/_posts/2014-03-30-2.3.1.md
271
- - gh-pages/_posts/2015-01-05-2.3.2.md
272
- - gh-pages/_posts/2015-12-03-get-involved.md
273
- - gh-pages/_posts/2015-12-05-2.3.3.md
274
- - gh-pages/_posts/2016-01-02-2.4.0.md
275
- - gh-pages/_posts/2017-05-01-2.4.1.md
276
- - gh-pages/_posts/2017-10-23-sleep-mode.md
277
- - gh-pages/_posts/2018-01-03-3.0.1.md
278
- - gh-pages/_stylesheets/ppl/color.less
279
- - gh-pages/_stylesheets/ppl/layout.less
280
- - gh-pages/_stylesheets/ppl/style.less
281
- - gh-pages/_stylesheets/ppl/typography.less
282
- - gh-pages/development/changelog/index.md
283
- - gh-pages/development/changelog/split.rb
284
- - gh-pages/development/index.html
285
- - gh-pages/development/roadmap/index.md
286
- - gh-pages/documentation/about/index.html
287
- - gh-pages/documentation/commands/add/index.md
288
- - gh-pages/documentation/commands/age/add/index.md
289
- - gh-pages/documentation/commands/age/index.md
290
- - gh-pages/documentation/commands/bday/index.md
291
- - gh-pages/documentation/commands/completion/index.md
292
- - gh-pages/documentation/commands/email/index.md
293
- - gh-pages/documentation/commands/grep/index.md
294
- - gh-pages/documentation/commands/init/index.md
295
- - gh-pages/documentation/commands/ls/index.md
296
- - gh-pages/documentation/commands/mutt/index.md
297
- - gh-pages/documentation/commands/mv/index.md
298
- - gh-pages/documentation/commands/name/index.md
299
- - gh-pages/documentation/commands/nick/index.md
300
- - gh-pages/documentation/commands/org/index.md
301
- - gh-pages/documentation/commands/phone/index.md
302
- - gh-pages/documentation/commands/post/index.md
303
- - gh-pages/documentation/commands/pull/index.md
304
- - gh-pages/documentation/commands/push/index.md
305
- - gh-pages/documentation/commands/remote/index.md
306
- - gh-pages/documentation/commands/rm/index.md
307
- - gh-pages/documentation/commands/scrape/index.md
308
- - gh-pages/documentation/commands/shell/index.md
309
- - gh-pages/documentation/commands/show/index.md
310
- - gh-pages/documentation/commands/url/index.md
311
- - gh-pages/documentation/commands/version/index.md
312
- - gh-pages/documentation/configuration/address_book/index.md
313
- - gh-pages/documentation/configuration/alias/index.md
314
- - gh-pages/documentation/configuration/color/index.md
315
- - gh-pages/documentation/configuration/color_age/index.md
316
- - gh-pages/documentation/configuration/color_bday/index.md
317
- - gh-pages/documentation/configuration/color_email/index.md
318
- - gh-pages/documentation/configuration/color_ls/index.md
319
- - gh-pages/documentation/configuration/color_name/index.md
320
- - gh-pages/documentation/configuration/color_nick/index.md
321
- - gh-pages/documentation/configuration/color_org/index.md
322
- - gh-pages/documentation/configuration/color_phone/index.md
323
- - gh-pages/documentation/configuration/color_post/index.md
324
- - gh-pages/documentation/configuration/color_url/index.md
325
- - gh-pages/documentation/configuration/index.html
326
- - gh-pages/documentation/index.html
327
- - gh-pages/documentation/integration/bash/index.md
328
- - gh-pages/documentation/integration/google/index.md
329
- - gh-pages/documentation/integration/index.html
330
- - gh-pages/documentation/integration/mutt/index.md
331
- - gh-pages/documentation/integration/zsh/index.md
332
- - gh-pages/documentation/quick-start/index.html
333
- - gh-pages/documentation/tips/index.html
334
- - gh-pages/index.html
335
- - gh-pages/news/index.html
336
- - gh-pages/robots.txt
337
- - gh-pages/stylesheets/flatstrap.css
338
- - gh-pages/stylesheets/ppl.scss
339
- - gh-pages/wiki.png
340
246
  - lib/ppl.rb
341
247
  - lib/ppl/adapter/color.rb
342
248
  - lib/ppl/adapter/color/colored.rb
@@ -427,29 +333,20 @@ files:
427
333
  - lib/ppl/service/name.rb
428
334
  - lib/ppl/service/phone_number.rb
429
335
  - lib/ppl/service/postal_address.rb
336
+ - lib/ppl/version.rb
430
337
  - license
431
338
  - makefile
432
- - package.json
433
339
  - ppl.gemspec
340
+ - ppl.svg
434
341
  - readme.md
435
- - site/_data/url.js
436
- - site/casts/hero.cast
437
- - site/development.njk
438
- - site/documentation.njk
439
- - site/index.njk
440
- - site/news.njk
441
- - site/style.scss
442
342
  - spec/ppl/adapter/color/colored_spec.rb
443
- - spec/ppl/adapter/color_spec.rb
444
343
  - spec/ppl/adapter/email_scraper/mail_spec.rb
445
- - spec/ppl/adapter/email_scraper_spec.rb
446
344
  - spec/ppl/adapter/output_spec.rb
447
345
  - spec/ppl/adapter/storage/disk_spec.rb
448
346
  - spec/ppl/adapter/storage/factory_spec.rb
449
347
  - spec/ppl/adapter/storage/git_spec.rb
450
348
  - spec/ppl/adapter/storage_spec.rb
451
349
  - spec/ppl/adapter/vcard/greencard_spec.rb
452
- - spec/ppl/adapter/vcard_spec.rb
453
350
  - spec/ppl/application/bootstrap_spec.rb
454
351
  - spec/ppl/application/command_spec.rb
455
352
  - spec/ppl/application/command_suite_spec.rb
@@ -497,7 +394,6 @@ files:
497
394
  - spec/ppl/format/address_book/phone_numbers_spec.rb
498
395
  - spec/ppl/format/address_book/postal_addresses_spec.rb
499
396
  - spec/ppl/format/address_book/urls_spec.rb
500
- - spec/ppl/format/address_book_spec.rb
501
397
  - spec/ppl/format/contact/age_spec.rb
502
398
  - spec/ppl/format/contact/birthday_spec.rb
503
399
  - spec/ppl/format/contact/email_addresses_spec.rb
@@ -508,24 +404,20 @@ files:
508
404
  - spec/ppl/format/contact/postal_address_spec.rb
509
405
  - spec/ppl/format/contact/postal_addresses_spec.rb
510
406
  - spec/ppl/format/contact/urls_spec.rb
511
- - spec/ppl/format/contact_spec.rb
512
407
  - spec/ppl/format/custom/contact_spec.rb
513
408
  - spec/ppl/format/custom/email_address_spec.rb
514
409
  - spec/ppl/format/custom/phone_number_spec.rb
515
410
  - spec/ppl/format/custom_spec.rb
516
411
  - spec/ppl/format/name/full_only_spec.rb
517
- - spec/ppl/format/name_spec.rb
518
412
  - spec/ppl/format/postal_address/multi_line_spec.rb
519
413
  - spec/ppl/format/postal_address/one_line_spec.rb
520
- - spec/ppl/format/postal_address_spec.rb
521
414
  - spec/ppl/format/table_spec.rb
522
415
  - spec/ppl/service/email_address_spec.rb
523
416
  - spec/ppl/service/name_spec.rb
524
417
  - spec/ppl/service/phone_number_spec.rb
525
418
  - spec/ppl/service/postal_address_spec.rb
526
419
  - spec/spec_helper.rb
527
- - yarn.lock
528
- homepage: https://github.com/hendotcat/ppl
420
+ homepage: https://github.com/henrycatalinismith/ppl
529
421
  licenses:
530
422
  - MIT
531
423
  metadata: {}
@@ -544,7 +436,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
544
436
  - !ruby/object:Gem::Version
545
437
  version: '0'
546
438
  requirements: []
547
- rubygems_version: 3.2.3
439
+ rubygems_version: 3.4.1
548
440
  signing_key:
549
441
  specification_version: 4
550
442
  summary: The command line address book
data/.eleventy.js DELETED
@@ -1,86 +0,0 @@
1
- const chokidar = require("chokidar")
2
- const fs = require("fs-extra")
3
- const htmlmin = require("html-minifier")
4
- const sass = require("sass")
5
-
6
- function minifyHtml(html) {
7
- return htmlmin.minify(html, {
8
- useShortDoctype: true,
9
- removeComments: true,
10
- collapseWhitespace: true
11
- })
12
- }
13
-
14
- function monkeypatch(cls, fn) {
15
- const orig = cls.prototype[fn.name][`_PS_original`] || cls.prototype[fn.name]
16
- function wrapped() {
17
- return fn.bind(this, orig).apply(this, arguments)
18
- }
19
- wrapped[`_PS_original`] = orig
20
- cls.prototype[fn.name] = wrapped
21
- }
22
-
23
- const minifyPlugin = {
24
- initArguments: {},
25
- configFunction: function(eleventyConfig) {
26
- eleventyConfig.addTransform(
27
- "htmlmin",
28
- function(content, outputPath) {
29
- if (outputPath && outputPath.endsWith(".html")) {
30
- return minifyHtml(content)
31
- }
32
- return content
33
- }
34
- )
35
- }
36
- }
37
-
38
- function compileSass() {
39
- const { css } = sass.renderSync({
40
- file: "site/style.scss",
41
- })
42
- fs.writeFileSync("_site/style.css", css)
43
- }
44
-
45
- module.exports = function(eleventyConfig) {
46
- console.log("ppl site")
47
-
48
- fs.ensureDirSync("_site")
49
- fs.emptyDirSync("_site")
50
-
51
- eleventyConfig.addPassthroughCopy("site/casts/*.svg")
52
- eleventyConfig.addPlugin(minifyPlugin)
53
-
54
- compileSass()
55
-
56
- if (process.argv.includes("--serve")) {
57
- setImmediate(function() {
58
- const Eleventy = require("@11ty/eleventy/src/Eleventy.js")
59
- if (Eleventy.prototype) {
60
- function watch(original) {
61
- const watcher = chokidar.watch(["./site/style.scss"], {
62
- persistent: true
63
- })
64
- const compileAndReload = eleventyInstance => () => {
65
- compileSass()
66
- this.eleventyServe.reload()
67
- }
68
- watcher.on("add", compileAndReload(this))
69
- watcher.on("change", compileAndReload(this))
70
- return original.apply(this)
71
- }
72
- monkeypatch(Eleventy, watch)
73
- }
74
- })
75
- }
76
-
77
- const input = "site"
78
-
79
- const dir = {
80
- input,
81
- }
82
-
83
- return {
84
- dir,
85
- }
86
- }
data/.eleventyignore DELETED
@@ -1 +0,0 @@
1
- gh-pages
data/gh-pages/Gemfile DELETED
@@ -1,2 +0,0 @@
1
- source 'https://rubygems.org'
2
- gem 'github-pages'