pennyworth 9.0.0 → 9.1.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
  SHA256:
3
- metadata.gz: 1648a6f8a1e10bc9bde8f0f680ce8ad084c6b1fa30383e8addf4e2d2d8b8c495
4
- data.tar.gz: 515db729133a469cd3e68614fc309e7d09ed813b3d51360591f0fccb0b3d9da3
3
+ metadata.gz: 19ead49fc0720f44bc878e7c87d690b734c69cf98f7c4e32c1b6441634568d9a
4
+ data.tar.gz: 412a54b1eb8104e776cebe485418cf0cd5fb15cadcd0d1bff2f0b6872af58716
5
5
  SHA512:
6
- metadata.gz: e97d111dc9fc50db0a7d1d349ba6dea67e5c40dd76c84340d17fb7843a258d60ce46c21032ad1a8572e4211637bca928c4de261c69bf799504e04e5203d7d1c3
7
- data.tar.gz: 80a890f19eab245bf3f78adb2746591619c5b38cb164ce71448ed030d0652b1a247601e99c32e35dcb0125edad5e724796066361f7e22af22dd116b670c08630
6
+ metadata.gz: 66b75f41ca6858ae29b10cb517a521e37d3da506fb4d6eb60f069ba27dc11fdb3d0a983eaeca38438a8ff220515f9db2512ed43342cb0b58abae655643eb2ed7
7
+ data.tar.gz: 13d980be8229578ae9b5aa35c126f4b6ed275ffaed281c13101b139b3e26732328b1bdccda42a8ae33dffe06968e98e4c997715bd3474218edfba307e8d49cfc
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,4 +1,4 @@
1
- # Apache License
1
+ = Apache License
2
2
 
3
3
  Version 2.0, January 2004
4
4
 
@@ -6,7 +6,7 @@ http://www.apache.org/licenses
6
6
 
7
7
  TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
8
 
9
- ## 1. Definitions
9
+ == 1. Definitions
10
10
 
11
11
  "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by
12
12
  Sections 1 through 9 of this document.
@@ -54,14 +54,14 @@ Contribution."
54
54
  "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a
55
55
  Contribution has been received by Licensor and subsequently incorporated within the Work.
56
56
 
57
- ## 2. Grant of Copyright License
57
+ == 2. Grant of Copyright License
58
58
 
59
59
  Subject to the terms and conditions of this License, each Contributor hereby grants to You a
60
60
  perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to
61
61
  reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and
62
62
  distribute the Work and such Derivative Works in Source or Object form.
63
63
 
64
- ## 3. Grant of Patent License
64
+ == 3. Grant of Patent License
65
65
 
66
66
  Subject to the terms and conditions of this License, each Contributor hereby grants to You a
67
67
  perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
@@ -74,39 +74,38 @@ a Contribution incorporated within the Work constitutes direct or contributory p
74
74
  then any patent licenses granted to You under this License for that Work shall terminate as of the
75
75
  date such litigation is filed.
76
76
 
77
- ## 4. Redistribution
77
+ == 4. Redistribution
78
78
 
79
79
  You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with
80
80
  or without modifications, and in Source or Object form, provided that You meet the following
81
81
  conditions:
82
82
 
83
- 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
83
+ . You must give any other recipients of the Work or Derivative Works a copy of this License; and
84
84
 
85
- 2. You must cause any modified files to carry prominent notices stating that You changed the
86
- files; and
85
+ . You must cause any modified files to carry prominent notices stating that You changed the files;
86
+ and
87
87
 
88
- 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright,
89
- patent, trademark, and attribution notices from the Source form of the Work, excluding those
90
- notices that do not pertain to any part of the Derivative Works; and
88
+ . You must retain, in the Source form of any Derivative Works that You distribute, all copyright,
89
+ patent, trademark, and attribution notices from the Source form of the Work, excluding those
90
+ notices that do not pertain to any part of the Derivative Works; and
91
91
 
92
- 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative
93
- Works that You distribute must include a readable copy of the attribution notices contained
94
- within such NOTICE file, excluding those notices that do not pertain to any part of the
95
- Derivative Works, in at least one of the following places: within a NOTICE text file
96
- distributed as part of the Derivative Works; within the Source form or documentation, if
97
- provided along with the Derivative Works; or, within a display generated by the Derivative
98
- Works, if and wherever such third-party notices normally appear. The contents of the NOTICE
99
- file are for informational purposes only and do not modify the License. You may add Your own
100
- attribution notices within Derivative Works that You distribute, alongside or as an addendum to
101
- the NOTICE text from the Work, provided that such additional attribution notices cannot be
102
- construed as modifying the License.
92
+ . If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works
93
+ that You distribute must include a readable copy of the attribution notices contained within such
94
+ NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in
95
+ at least one of the following places: within a NOTICE text file distributed as part of the
96
+ Derivative Works; within the Source form or documentation, if provided along with the Derivative
97
+ Works; or, within a display generated by the Derivative Works, if and wherever such third-party
98
+ notices normally appear. The contents of the NOTICE file are for informational purposes only and
99
+ do not modify the License. You may add Your own attribution notices within Derivative Works that
100
+ You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such
101
+ additional attribution notices cannot be construed as modifying the License.
103
102
 
104
103
  You may add Your own copyright statement to Your modifications and may provide additional or
105
104
  different license terms and conditions for use, reproduction, or distribution of Your modifications,
106
105
  or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of
107
106
  the Work otherwise complies with the conditions stated in this License.
108
107
 
109
- ## 5. Submission of Contributions
108
+ == 5. Submission of Contributions
110
109
 
111
110
  Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the
112
111
  Work by You to the Licensor shall be under the terms and conditions of this License, without any
@@ -114,13 +113,13 @@ additional terms or conditions. Notwithstanding the above, nothing herein shall
114
113
  the terms of any separate license agreement you may have executed with Licensor regarding such
115
114
  Contributions.
116
115
 
117
- ## 6. Trademarks
116
+ == 6. Trademarks
118
117
 
119
118
  This License does not grant permission to use the trade names, trademarks, service marks, or product
120
119
  names of the Licensor, except as required for reasonable and customary use in describing the origin
121
120
  of the Work and reproducing the content of the NOTICE file.
122
121
 
123
- ## 7. Disclaimer of Warranty
122
+ == 7. Disclaimer of Warranty
124
123
 
125
124
  Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each
126
125
  Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -129,7 +128,7 @@ TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. Y
129
128
  responsible for determining the appropriateness of using or redistributing the Work and assume any
130
129
  risks associated with Your exercise of permissions under this License.
131
130
 
132
- ## 8. Limitation of Liability
131
+ == 8. Limitation of Liability
133
132
 
134
133
  In no event and under no legal theory, whether in tort (including negligence), contract, or
135
134
  otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or
@@ -139,7 +138,7 @@ License or out of the use or inability to use the Work (including but not limite
139
138
  loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial
140
139
  damages or losses), even if such Contributor has been advised of the possibility of such damages.
141
140
 
142
- ## 9. Accepting Warranty or Additional Liability
141
+ == 9. Accepting Warranty or Additional Liability
143
142
 
144
143
  While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee
145
144
  for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights
@@ -151,11 +150,11 @@ additional liability.
151
150
 
152
151
  END OF TERMS AND CONDITIONS
153
152
 
154
- Copyright 2012 [Alchemists](https://www.alchemists.io).
153
+ Copyright link:https://www.alchemists.io[Alchemists].
155
154
 
156
155
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
157
- compliance with the License. You may obtain a [copy](http://www.apache.org/licenses/LICENSE-2.0) of
158
- the License.
156
+ compliance with the License. You may obtain a link:https://www.apache.org/licenses/LICENSE-2.0[copy]
157
+ of the License.
159
158
 
160
159
  Unless required by applicable law or agreed to in writing, software distributed under the License is
161
160
  distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
@@ -0,0 +1,149 @@
1
+ :toc: macro
2
+ :toclevels: 5
3
+ :figure-caption!:
4
+
5
+ = Pennyworth
6
+
7
+ [link=http://badge.fury.io/rb/pennyworth]
8
+ image::https://badge.fury.io/rb/pennyworth.svg[Gem Version]
9
+ [link=https://circleci.com/gh/bkuhlmann/pennyworth]
10
+ image::https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg[Circle CI Status]
11
+
12
+ A command line interface that enhances Alfred with Ruby support.
13
+
14
+ toc::[]
15
+
16
+ == Features
17
+
18
+ * Adds Ruby support to Alfred.
19
+ * Adds Alfred Workflow:
20
+
21
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred_workflow.png[Alfred
22
+ Workflow]
23
+
24
+ == Requirements
25
+
26
+ . https://www.apple.com/macos[macOS].
27
+ . https://www.alfredapp.com[Alfred] (Version 2.x.x or higher).
28
+ . https://www.alfredapp.com/purchase[Alfred Powerpack].
29
+ . https://github.com/postmodern/chruby[chruby].
30
+ . https://www.ruby-lang.org[Ruby 2.7.x].
31
+
32
+ == Setup
33
+
34
+ === Production
35
+
36
+ To install, run:
37
+
38
+ [source,bash]
39
+ ----
40
+ gem install pennyworth
41
+ ----
42
+
43
+ === Development
44
+
45
+ To contribute, run:
46
+
47
+ [source,bash]
48
+ ----
49
+ git clone https://github.com/bkuhlmann/pennyworth.git
50
+ cd pennyworth
51
+ bin/setup
52
+ ----
53
+
54
+ You can also use the IRB console for direct access to all objects:
55
+
56
+ [source,bash]
57
+ ----
58
+ bin/console
59
+ ----
60
+
61
+ == Usage
62
+
63
+ === Command Line Interface (CLI)
64
+
65
+ From the command line, type: pennyworth
66
+
67
+ ....
68
+ pennyworth -c, [--config] # Manage gem configuration.
69
+ pennyworth -h, [--help=COMMAND] # Show this message or get help for a command.
70
+ pennyworth -i, [--install] # Install Alfred Workflows.
71
+ pennyworth -s, [--string=VALUE] # Manipulate strings.
72
+ pennyworth -v, [--version] # Show gem version.
73
+ ....
74
+
75
+ For string options, type: pennyworth help string
76
+
77
+ ....
78
+ -d, [--downcase], [--no-downcase] # Downcase string.
79
+ -u, [--upcase], [--no-upcase] # Upcase string.
80
+ -t, [--titleize], [--no-titleize] # Capitalize each word and delimit with space or forward slash.
81
+ -c, [--camelcase], [--no-camelcase] # Capitalize each word and delimit with nothing or double colon.
82
+ -s, [--snakecase], [--no-snakecase] # Downcase each word and delimit with underscore or forward slash.
83
+ -s, [--size], [--no-size] # Calculate string size.
84
+ ....
85
+
86
+ While the command line options are nice, the real power comes from running the following command:
87
+ `pennyworth -i`. This command installs the Alfred Workflows to support this gem. You can use the
88
+ Alfred commands provided by each workflow instead of the CLI. Check each workflows documentation for
89
+ details by opening Alfred preferences and clicking on the _Workflows_ tab. Each workflow associated
90
+ with this gem is prefixed with _Pennyworth_.
91
+
92
+ === Customization
93
+
94
+ This gem can be configured via a global configuration:
95
+
96
+ ....
97
+ ~/.config/pennyworth/configuration.yml
98
+ ....
99
+
100
+ It can also be configured via link:https://www.alchemists.io/projects/xdg[XDG] environment
101
+ variables.
102
+
103
+ The default configuration is as follows:
104
+
105
+ [source,yaml]
106
+ ----
107
+ :alfred_settings_root: "/Users/bkuhlmann/Dropbox/Cache/Alfred/Alfred.alfredpreferences"
108
+ ----
109
+
110
+ Feel free to take this default configuration, modify, and save as your own custom
111
+ `configuration.yml`.
112
+
113
+ == Tests
114
+
115
+ To test, run:
116
+
117
+ [source,bash]
118
+ ----
119
+ bundle exec rake
120
+ ----
121
+
122
+ == Versioning
123
+
124
+ Read link:https://semver.org[Semantic Versioning] for details. Briefly, it means:
125
+
126
+ * Major (X.y.z) - Incremented for any backwards incompatible public API changes.
127
+ * Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
128
+ * Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
129
+
130
+ == Code of Conduct
131
+
132
+ Please note that this project is released with a link:CODE_OF_CONDUCT.adoc[CODE OF CONDUCT]. By
133
+ participating in this project you agree to abide by its terms.
134
+
135
+ == Contributions
136
+
137
+ Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details.
138
+
139
+ == License
140
+
141
+ Read link:LICENSE.adoc[LICENSE] for details.
142
+
143
+ == History
144
+
145
+ Read link:CHANGES.adoc[CHANGES] for details.
146
+
147
+ == Credits
148
+
149
+ Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann.html[Brooke Kuhlmann].
@@ -5,5 +5,5 @@ require "pennyworth"
5
5
  require "pennyworth/cli"
6
6
  require "pennyworth/identity"
7
7
 
8
- Process.setproctitle Pennyworth::Identity.version_label
8
+ Process.setproctitle Pennyworth::Identity::VERSION_LABEL
9
9
  Pennyworth::CLI.start
@@ -12,14 +12,14 @@ module Pennyworth
12
12
  include Thor::Actions
13
13
  using Refinements::Strings
14
14
 
15
- package_name Identity.version_label
15
+ package_name Identity::VERSION_LABEL
16
16
 
17
17
  def self.source_root
18
18
  File.expand_path File.join(File.dirname(__FILE__), "templates")
19
19
  end
20
20
 
21
21
  def self.configuration
22
- Runcom::Config.new "#{Identity.name}/configuration.yml"
22
+ Runcom::Config.new "#{Identity::NAME}/configuration.yml"
23
23
  end
24
24
 
25
25
  def initialize args = [], options = {}, config = {}
@@ -130,7 +130,7 @@ module Pennyworth
130
130
  desc "-v, [--version]", "Show gem version."
131
131
  map %w[-v --version] => :version
132
132
  def version
133
- say Identity.version_label
133
+ say Identity::VERSION_LABEL
134
134
  end
135
135
 
136
136
  desc "-h, [--help=COMMAND]", "Show this message or get help for a command."
@@ -3,20 +3,9 @@
3
3
  module Pennyworth
4
4
  # Gem identity information.
5
5
  module Identity
6
- def self.name
7
- "pennyworth"
8
- end
9
-
10
- def self.label
11
- "Pennyworth"
12
- end
13
-
14
- def self.version
15
- "9.0.0"
16
- end
17
-
18
- def self.version_label
19
- "#{label} #{version}"
20
- end
6
+ NAME = "pennyworth"
7
+ LABEL = "Pennyworth"
8
+ VERSION = "9.1.0"
9
+ VERSION_LABEL = "#{LABEL} #{VERSION}"
21
10
  end
22
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pennyworth
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0
4
+ version: 9.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIC/jCCAeagAwIBAgIBAjANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0xOTAyMTcxNjAxMTFaFw0yMDAyMTcx
15
- NjAxMTFaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
13
+ MIIC/jCCAeagAwIBAgIBAzANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMDAzMTUxNDQ1MzJaFw0yMTAzMTUx
15
+ NDQ1MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
16
  IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
17
  xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
18
  brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
@@ -20,15 +20,15 @@ cert_chain:
20
20
  D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
21
  3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
22
  AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
- 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBANgfX7kPZkJvsbdWMvbe
24
- DUUYxRTqTUzCDpLd2p3sQvgLMKjTNSKt6CFq/kh+98b6RCgO6DqiVfxvOEq02dvf
25
- ebMN/ylQqan2FgiAs1rpP0/D4C0MlBjoDktsT+2IyLol1KmkDB20ExJ4Sf1GRNdA
26
- hpWOtcgqHtmrc7xzgB6BuyoYufrKKUlCO3ewTM4C375D2qO7hIdKuMOO3CdPMtSk
27
- OrWpbzCL+nbbXqeoqiHgZaUvcyyQrGj5sQRxMTzuMXzzQxtHnuTuKrcz16HMTX/O
28
- dKvURM+1PwDCzC5tvRwjhUJIizau6+MtkFCvJHmaAj1aZL3odcPejHj5Hxt/0CUW
29
- y84=
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAIHhAlD3po4sTYqacXaQ
24
+ XI9jIhrfMy//2PgbHWcETtlJPBeNUbbSNBABcllUHKqYsVDlSvSmss034KSWNR8F
25
+ bF1GcloicyvcCC4y6IoW4it0COAcdeaaxkxiBSgKdQFpff9REnDlIKK4uQ9lLxIo
26
+ Y2G5xubiziKZkyfWFuSr67PIjW3Bu673D1JVBArhA1qbgQmYQcy1CkGOjo+iO8Nf
27
+ 7u/QSfBHb+r/bXhKscDgPpnKwbUmvgO2+94zJG9KsrmIydlzYfsD09aXKx0t6Xy4
28
+ 2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
+ QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-01-01 00:00:00.000000000 Z
31
+ date: 2020-04-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: refinements
@@ -176,14 +176,14 @@ dependencies:
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '5.4'
179
+ version: '6.0'
180
180
  type: :development
181
181
  prerelease: false
182
182
  version_requirements: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '5.4'
186
+ version: '6.0'
187
187
  - !ruby/object:Gem::Dependency
188
188
  name: rspec
189
189
  requirement: !ruby/object:Gem::Requirement
@@ -204,14 +204,14 @@ dependencies:
204
204
  requirements:
205
205
  - - "~>"
206
206
  - !ruby/object:Gem::Version
207
- version: '0.78'
207
+ version: '0.79'
208
208
  type: :development
209
209
  prerelease: false
210
210
  version_requirements: !ruby/object:Gem::Requirement
211
211
  requirements:
212
212
  - - "~>"
213
213
  - !ruby/object:Gem::Version
214
- version: '0.78'
214
+ version: '0.79'
215
215
  - !ruby/object:Gem::Dependency
216
216
  name: rubocop-performance
217
217
  requirement: !ruby/object:Gem::Requirement
@@ -260,14 +260,14 @@ dependencies:
260
260
  requirements:
261
261
  - - "~>"
262
262
  - !ruby/object:Gem::Version
263
- version: '0.17'
263
+ version: '0.18'
264
264
  type: :development
265
265
  prerelease: false
266
266
  version_requirements: !ruby/object:Gem::Requirement
267
267
  requirements:
268
268
  - - "~>"
269
269
  - !ruby/object:Gem::Version
270
- version: '0.17'
270
+ version: '0.18'
271
271
  description:
272
272
  email:
273
273
  - brooke@alchemists.io
@@ -275,11 +275,11 @@ executables:
275
275
  - pennyworth
276
276
  extensions: []
277
277
  extra_rdoc_files:
278
- - README.md
279
- - LICENSE.md
278
+ - README.adoc
279
+ - LICENSE.adoc
280
280
  files:
281
- - LICENSE.md
282
- - README.md
281
+ - LICENSE.adoc
282
+ - README.adoc
283
283
  - bin/pennyworth
284
284
  - lib/pennyworth.rb
285
285
  - lib/pennyworth/cli.rb
@@ -295,13 +295,14 @@ files:
295
295
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-snakecase.png
296
296
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-titleize.png
297
297
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-uppercase.png
298
- homepage: https://github.com/bkuhlmann/pennyworth
298
+ homepage: https://www.alchemists.io/projects/pennyworth
299
299
  licenses:
300
300
  - Apache-2.0
301
301
  metadata:
302
- source_code_uri: https://github.com/bkuhlmann/pennyworth
303
- changelog_uri: https://github.com/bkuhlmann/pennyworth/blob/master/CHANGES.md
304
302
  bug_tracker_uri: https://github.com/bkuhlmann/pennyworth/issues
303
+ changelog_uri: https://www.alchemists.io/projects/pennyworth/changes.html
304
+ documentation_uri: https://www.alchemists.io/projects/pennyworth
305
+ source_code_uri: https://github.com/bkuhlmann/pennyworth
305
306
  post_install_message:
306
307
  rdoc_options: []
307
308
  require_paths:
metadata.gz.sig CHANGED
Binary file
data/README.md DELETED
@@ -1,135 +0,0 @@
1
- <p align="center">
2
- <img src="pennyworth.png" alt="Pennyworth Icon"/>
3
- </p>
4
-
5
- # Pennyworth
6
-
7
- [![Gem Version](https://badge.fury.io/rb/pennyworth.svg)](http://badge.fury.io/rb/pennyworth)
8
- [![Code Climate Maintainability](https://api.codeclimate.com/v1/badges/c1c06f6b521bfd816bc2/maintainability)](https://codeclimate.com/github/bkuhlmann/pennyworth/maintainability)
9
- [![Code Climate Test Coverage](https://api.codeclimate.com/v1/badges/c1c06f6b521bfd816bc2/test_coverage)](https://codeclimate.com/github/bkuhlmann/pennyworth/test_coverage)
10
- [![Circle CI Status](https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg)](https://circleci.com/gh/bkuhlmann/pennyworth)
11
-
12
- A command line interface that enhances Alfred with Ruby support.
13
-
14
- <!-- Tocer[start]: Auto-generated, don't remove. -->
15
-
16
- ## Table of Contents
17
-
18
- - [Features](#features)
19
- - [Requirements](#requirements)
20
- - [Setup](#setup)
21
- - [Usage](#usage)
22
- - [Command Line Interface (CLI)](#command-line-interface-cli)
23
- - [Customization](#customization)
24
- - [Tests](#tests)
25
- - [Versioning](#versioning)
26
- - [Code of Conduct](#code-of-conduct)
27
- - [Contributions](#contributions)
28
- - [License](#license)
29
- - [History](#history)
30
- - [Credits](#credits)
31
-
32
- <!-- Tocer[finish]: Auto-generated, don't remove. -->
33
-
34
- ## Features
35
-
36
- - Adds Ruby support to Alfred.
37
- - Adds Alfred Workflow:
38
-
39
- ![Alfred Workflow](doc/alfred_workflow.png)
40
-
41
- ## Requirements
42
-
43
- 1. [macOS](https://www.apple.com/macos).
44
- 1. [Alfred](https://www.alfredapp.com) (Version 2.x.x or higher).
45
- 1. [Alfred Powerpack](https://www.alfredapp.com/purchase).
46
- 1. [chruby](https://github.com/postmodern/chruby).
47
- 1. [Ruby 2.6.x](https://www.ruby-lang.org).
48
-
49
- ## Setup
50
-
51
- Type the following to install:
52
-
53
- gem install pennyworth
54
-
55
- ## Usage
56
-
57
- ### Command Line Interface (CLI)
58
-
59
- From the command line, type: pennyworth
60
-
61
- pennyworth -c, [--config] # Manage gem configuration.
62
- pennyworth -h, [--help=COMMAND] # Show this message or get help for a command.
63
- pennyworth -i, [--install] # Install Alfred Workflows.
64
- pennyworth -s, [--string=VALUE] # Manipulate strings.
65
- pennyworth -v, [--version] # Show gem version.
66
-
67
- For string options, type: pennyworth help string
68
-
69
- -d, [--downcase], [--no-downcase] # Downcase string.
70
- -u, [--upcase], [--no-upcase] # Upcase string.
71
- -t, [--titleize], [--no-titleize] # Capitalize each word and delimit with space or forward slash.
72
- -c, [--camelcase], [--no-camelcase] # Capitalize each word and delimit with nothing or double colon.
73
- -s, [--snakecase], [--no-snakecase] # Downcase each word and delimit with underscore or forward slash.
74
- -s, [--size], [--no-size] # Calculate string size.
75
-
76
- While the command line options are nice, the real power comes from running the following command:
77
-
78
- pennyworth -i
79
-
80
- ...which installs the Alfred Workflows to support this gem. You can use the Alfred commands
81
- provided by each workflow instead of the CLI. Check each workflows documentation for details by
82
- opening Alfred preferences and clicking on the _Workflows_ tab. Each workflow associated with this
83
- gem is prefixed with _Pennyworth_.
84
-
85
- ### Customization
86
-
87
- This gem can be configured via a global configuration:
88
-
89
- ~/.config/pennyworth/configuration.yml
90
-
91
- It can also be configured via [XDG](https://github.com/bkuhlmann/xdg) environment variables.
92
-
93
- The default configuration is as follows:
94
-
95
- :alfred_settings_root: "/Users/bkuhlmann/Dropbox/Cache/Alfred/Alfred.alfredpreferences"
96
-
97
- Feel free to take this default configuration, modify, and save as your own custom
98
- `configuration.yml`.
99
-
100
- ## Tests
101
-
102
- To test, run:
103
-
104
- bundle exec rake
105
-
106
- ## Versioning
107
-
108
- Read [Semantic Versioning](https://semver.org) for details. Briefly, it means:
109
-
110
- - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
111
- - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
112
- - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
113
-
114
- ## Code of Conduct
115
-
116
- Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By
117
- participating in this project you agree to abide by its terms.
118
-
119
- ## Contributions
120
-
121
- Read [CONTRIBUTING](CONTRIBUTING.md) for details.
122
-
123
- ## License
124
-
125
- Copyright 2012 [Alchemists](https://www.alchemists.io).
126
- Read [LICENSE](LICENSE.md) for details.
127
-
128
- ## History
129
-
130
- Read [CHANGES](CHANGES.md) for details.
131
- Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
132
-
133
- ## Credits
134
-
135
- Developed by [Brooke Kuhlmann](https://www.alchemists.io) at [Alchemists](https://www.alchemists.io)