pennyworth 8.3.3 → 9.4.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: 9b86dd9e2ca44be940cea64c66191754ad3af6ddc77e546e653872d472053f08
4
- data.tar.gz: 67c17442f58e98dda1c42a0777cbb11b021396acc4a092e1f0082640a04b3d23
3
+ metadata.gz: 5a736916583036fbd20ca8071597dea11b2f2f89ca24a7dcc792d978d2356b8d
4
+ data.tar.gz: aba79434d95c9cd3d91dd20c921cc2c9cbb36af67eac39404a82582c78259b36
5
5
  SHA512:
6
- metadata.gz: 4c52797009c89f9c6773008517d1c66f7837134b5675fceede4b4f74397125faa6b7f077943cd0dcb0829a5240916c88d1ca7f396313b10faf63fe70edc894d2
7
- data.tar.gz: 04adefdad739ffc7877bb6d9c65548fc2882e2a1eee3687a690517f7d2bddeb3521221e7f5be10fef1f90cb5a083c5ceb6168d553d1133c3008c365943746d86
6
+ metadata.gz: 6c22f24cef1b04e74d5caf9f988bc0c95bbae2b77e10abc4046cba8565a6349d15289532ae147da336f5e0c9f567fe92cc1b7e3c546bbb4911cf124197638005
7
+ data.tar.gz: 1e4cfce02ad288724809d976bd4536c750c71a4a348efbbd0dff19261d1f1d974e79169395889eb50caaf4a659418f7e2009f9ce90b33cdd04dd3af1101e583d
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 2012 link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
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://www.alchemists.io/projects/code_quality]
10
+ image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchemists Style Guide]
11
+ [link=https://circleci.com/gh/bkuhlmann/pennyworth]
12
+ image::https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg[Circle CI Status]
13
+
14
+ A command line interface that enhances Alfred with Ruby support.
15
+
16
+ toc::[]
17
+
18
+ == Features
19
+
20
+ * Adds Ruby support to Alfred.
21
+ * Adds Alfred Workflow:
22
+
23
+ image:https://www.alchemists.io/images/projects/pennyworth/screenshots/alfred_workflow.png[Alfred
24
+ Workflow]
25
+
26
+ == Requirements
27
+
28
+ . https://www.apple.com/macos[macOS]
29
+ . https://www.alfredapp.com[Alfred]
30
+ . https://www.alfredapp.com/purchase[Alfred Powerpack]
31
+ . https://github.com/postmodern/chruby[chruby]
32
+ . https://www.ruby-lang.org[Ruby]
33
+
34
+ == Setup
35
+
36
+ To install, run:
37
+
38
+ [source,bash]
39
+ ----
40
+ gem install pennyworth
41
+ ----
42
+
43
+ == Usage
44
+
45
+ === Command Line Interface (CLI)
46
+
47
+ From the command line, type: pennyworth
48
+
49
+ ....
50
+ pennyworth -c, [--config] # Manage gem configuration.
51
+ pennyworth -h, [--help=COMMAND] # Show this message or get help for a command.
52
+ pennyworth -i, [--install] # Install Alfred Workflows.
53
+ pennyworth -s, [--string=VALUE] # Manipulate strings.
54
+ pennyworth -v, [--version] # Show gem version.
55
+ ....
56
+
57
+ For string options, type: pennyworth help string
58
+
59
+ ....
60
+ -d, [--downcase], [--no-downcase] # Downcase string.
61
+ -u, [--upcase], [--no-upcase] # Upcase string.
62
+ -t, [--titleize], [--no-titleize] # Capitalize each word and delimit with space or forward slash.
63
+ -c, [--camelcase], [--no-camelcase] # Capitalize each word and delimit with nothing or double colon.
64
+ -s, [--snakecase], [--no-snakecase] # Downcase each word and delimit with underscore or forward slash.
65
+ -s, [--size], [--no-size] # Calculate string size.
66
+ ....
67
+
68
+ While the command line options are nice, the real power comes from running the following command:
69
+ `pennyworth -i`. This command installs the Alfred Workflows to support this gem. You can use the
70
+ Alfred commands provided by each workflow instead of the CLI. Check each workflows documentation for
71
+ details by opening Alfred preferences and clicking on the _Workflows_ tab. Each workflow associated
72
+ with this gem is prefixed with _Pennyworth_.
73
+
74
+ === Customization
75
+
76
+ This gem can be configured via a global configuration:
77
+
78
+ ....
79
+ ~/.config/pennyworth/configuration.yml
80
+ ....
81
+
82
+ It can also be configured via link:https://www.alchemists.io/projects/xdg[XDG] environment
83
+ variables.
84
+
85
+ The default configuration is as follows:
86
+
87
+ [source,yaml]
88
+ ----
89
+ :alfred_settings_root: "/Users/bkuhlmann/Dropbox/Cache/Alfred/Alfred.alfredpreferences"
90
+ ----
91
+
92
+ Feel free to take this default configuration, modify, and save as your own custom
93
+ `configuration.yml`.
94
+
95
+ == Development
96
+
97
+ To contribute, run:
98
+
99
+ [source,bash]
100
+ ----
101
+ git clone https://github.com/bkuhlmann/pennyworth.git
102
+ cd pennyworth
103
+ bin/setup
104
+ ----
105
+
106
+ You can also use the IRB console for direct access to all objects:
107
+
108
+ [source,bash]
109
+ ----
110
+ bin/console
111
+ ----
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[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
22
+ Runcom::Config.new "#{Identity::NAME}/configuration.yml"
23
23
  end
24
24
 
25
25
  def initialize args = [], options = {}, config = {}
@@ -58,8 +58,6 @@ module Pennyworth
58
58
  desc: "Calculate string size.",
59
59
  type: :boolean,
60
60
  default: false
61
- # rubocop:disable Metrics/CyclomaticComplexity
62
- # rubocop:disable Metrics/PerceivedComplexity
63
61
  def string value
64
62
  if options.downcase? then say value.downcase
65
63
  elsif options.upcase? then say value.upcase
@@ -70,8 +68,6 @@ module Pennyworth
70
68
  else say "Type 'pennyworth help string' for usage."
71
69
  end
72
70
  end
73
- # rubocop:enable Metrics/CyclomaticComplexity
74
- # rubocop:enable Metrics/PerceivedComplexity
75
71
 
76
72
  desc "-i, [--install]", "Install Alfred Workflows."
77
73
  map %w[-i --install] => :install
@@ -83,6 +79,7 @@ module Pennyworth
83
79
  if valid_file? alfred_settings_root, "Invalid directory for Alfred settings root"
84
80
  if yes? "Installing Alfred Workflows will destroy exiting, identical, workflows. " \
85
81
  "Continue (y/n)?"
82
+
86
83
  say_status :info, "Installing Alfred Workflows...", :green
87
84
 
88
85
  workflows = Dir.glob File.join(self.class.source_root, "workflows", "**")
@@ -118,7 +115,7 @@ module Pennyworth
118
115
  type: :boolean,
119
116
  default: false
120
117
  def config
121
- path = self.class.configuration.path
118
+ path = self.class.configuration.current
122
119
 
123
120
  if options.edit? then `#{ENV["EDITOR"]} #{path}`
124
121
  elsif options.info?
@@ -130,7 +127,7 @@ module Pennyworth
130
127
  desc "-v, [--version]", "Show gem version."
131
128
  map %w[-v --version] => :version
132
129
  def version
133
- say Identity.version_label
130
+ say Identity::VERSION_LABEL
134
131
  end
135
132
 
136
133
  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
- "8.3.3"
16
- end
17
-
18
- def self.version_label
19
- "#{label} #{version}"
20
- end
6
+ NAME = "pennyworth"
7
+ LABEL = "Pennyworth"
8
+ VERSION = "9.4.0"
9
+ VERSION_LABEL = "#{LABEL} #{VERSION}"
21
10
  end
22
11
  end
@@ -113,13 +113,9 @@
113
113
  </dict>
114
114
  </array>
115
115
  <key>readme</key>
116
- <string>Copyright © 2014 Alchemists.
116
+ <string>= Overview
117
117
 
118
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
119
-
120
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
121
-
122
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
118
+ Provides a collection of Ruby on Rails utilities when interacting with the application locally.</string>
123
119
  <key>uidata</key>
124
120
  <dict>
125
121
  <key>9AF7E939-D5FB-483D-927D-537571A9F4C1</key>
@@ -153,8 +149,10 @@ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR I
153
149
  <key>port</key>
154
150
  <string>3000</string>
155
151
  </dict>
152
+ <key>variablesdontexport</key>
153
+ <array/>
156
154
  <key>version</key>
157
- <string>0.1.0</string>
155
+ <string>1.0.0</string>
158
156
  <key>webaddress</key>
159
157
  <string>https://www.alchemists.io</string>
160
158
  </dict>
@@ -83,6 +83,8 @@
83
83
  <false/>
84
84
  <key>alfredfiltersresultsmatchmode</key>
85
85
  <integer>0</integer>
86
+ <key>argumenttreatemptyqueryasnil</key>
87
+ <false/>
86
88
  <key>argumenttrimmode</key>
87
89
  <integer>0</integer>
88
90
  <key>argumenttype</key>
@@ -181,7 +183,7 @@ EOB
181
183
  <key>uid</key>
182
184
  <string>F6F8148B-CEA3-47D4-BC24-142C40A03CBC</string>
183
185
  <key>version</key>
184
- <integer>2</integer>
186
+ <integer>3</integer>
185
187
  </dict>
186
188
  <dict>
187
189
  <key>config</key>
@@ -224,17 +226,13 @@ eval {query}</string>
224
226
  <key>uid</key>
225
227
  <string>9F8D5496-FDF9-42A7-9247-60D15CCCE012</string>
226
228
  <key>version</key>
227
- <integer>2</integer>
229
+ <integer>3</integer>
228
230
  </dict>
229
231
  </array>
230
232
  <key>readme</key>
231
- <string>Copyright © 2013 Alchemists.
232
-
233
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
234
-
235
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
233
+ <string>= Pennyworth
236
234
 
237
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
235
+ Provides a collection of workflows for interacting with the Pennyworth CLI.</string>
238
236
  <key>uidata</key>
239
237
  <dict>
240
238
  <key>3A7EDDC3-8686-4988-998C-9EA7A1B804D1</key>
@@ -267,7 +265,7 @@ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR I
267
265
  </dict>
268
266
  </dict>
269
267
  <key>version</key>
270
- <string>1.0.0</string>
268
+ <string>1.1.0</string>
271
269
  <key>webaddress</key>
272
270
  <string>https://www.alchemists.io</string>
273
271
  </dict>
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pennyworth
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.3.3
4
+ version: 9.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
- autorequire:
8
+ autorequire:
9
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: 2019-11-01 00:00:00.000000000 Z
31
+ date: 2020-11-15 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: refinements
@@ -36,28 +36,28 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '6.0'
39
+ version: '7.14'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '6.0'
46
+ version: '7.14'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: runcom
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '5.0'
53
+ version: '6.4'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '5.0'
60
+ version: '6.4'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: thor
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -73,75 +73,61 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0.20'
75
75
  - !ruby/object:Gem::Dependency
76
- name: awesome_print
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.8'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.8'
89
- - !ruby/object:Gem::Dependency
90
- name: bond
76
+ name: bundler-audit
91
77
  requirement: !ruby/object:Gem::Requirement
92
78
  requirements:
93
79
  - - "~>"
94
80
  - !ruby/object:Gem::Version
95
- version: '0.5'
81
+ version: '0.7'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
86
  - - "~>"
101
87
  - !ruby/object:Gem::Version
102
- version: '0.5'
88
+ version: '0.7'
103
89
  - !ruby/object:Gem::Dependency
104
- name: bundler-audit
90
+ name: bundler-leak
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
93
  - - "~>"
108
94
  - !ruby/object:Gem::Version
109
- version: '0.6'
95
+ version: '0.2'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
100
  - - "~>"
115
101
  - !ruby/object:Gem::Version
116
- version: '0.6'
102
+ version: '0.2'
117
103
  - !ruby/object:Gem::Dependency
118
104
  name: gemsmith
119
105
  requirement: !ruby/object:Gem::Requirement
120
106
  requirements:
121
107
  - - "~>"
122
108
  - !ruby/object:Gem::Version
123
- version: '13.5'
109
+ version: '14.8'
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
113
  requirements:
128
114
  - - "~>"
129
115
  - !ruby/object:Gem::Version
130
- version: '13.5'
116
+ version: '14.8'
131
117
  - !ruby/object:Gem::Dependency
132
- name: git-cop
118
+ name: git-lint
133
119
  requirement: !ruby/object:Gem::Requirement
134
120
  requirements:
135
121
  - - "~>"
136
122
  - !ruby/object:Gem::Version
137
- version: '3.5'
123
+ version: '1.3'
138
124
  type: :development
139
125
  prerelease: false
140
126
  version_requirements: !ruby/object:Gem::Requirement
141
127
  requirements:
142
128
  - - "~>"
143
129
  - !ruby/object:Gem::Version
144
- version: '3.5'
130
+ version: '1.3'
145
131
  - !ruby/object:Gem::Dependency
146
132
  name: guard-rspec
147
133
  requirement: !ruby/object:Gem::Requirement
@@ -156,48 +142,34 @@ dependencies:
156
142
  - - "~>"
157
143
  - !ruby/object:Gem::Version
158
144
  version: '4.7'
159
- - !ruby/object:Gem::Dependency
160
- name: hirb
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '0.7'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '0.7'
173
145
  - !ruby/object:Gem::Dependency
174
146
  name: pry
175
147
  requirement: !ruby/object:Gem::Requirement
176
148
  requirements:
177
149
  - - "~>"
178
150
  - !ruby/object:Gem::Version
179
- version: '0.10'
151
+ version: '0.13'
180
152
  type: :development
181
153
  prerelease: false
182
154
  version_requirements: !ruby/object:Gem::Requirement
183
155
  requirements:
184
156
  - - "~>"
185
157
  - !ruby/object:Gem::Version
186
- version: '0.10'
158
+ version: '0.13'
187
159
  - !ruby/object:Gem::Dependency
188
160
  name: pry-byebug
189
161
  requirement: !ruby/object:Gem::Requirement
190
162
  requirements:
191
163
  - - "~>"
192
164
  - !ruby/object:Gem::Version
193
- version: '3.5'
165
+ version: '3.9'
194
166
  type: :development
195
167
  prerelease: false
196
168
  version_requirements: !ruby/object:Gem::Requirement
197
169
  requirements:
198
170
  - - "~>"
199
171
  - !ruby/object:Gem::Version
200
- version: '3.5'
172
+ version: '3.9'
201
173
  - !ruby/object:Gem::Dependency
202
174
  name: rake
203
175
  requirement: !ruby/object:Gem::Requirement
@@ -218,124 +190,110 @@ dependencies:
218
190
  requirements:
219
191
  - - "~>"
220
192
  - !ruby/object:Gem::Version
221
- version: '5.4'
193
+ version: '6.0'
222
194
  type: :development
223
195
  prerelease: false
224
196
  version_requirements: !ruby/object:Gem::Requirement
225
197
  requirements:
226
198
  - - "~>"
227
199
  - !ruby/object:Gem::Version
228
- version: '5.4'
200
+ version: '6.0'
229
201
  - !ruby/object:Gem::Dependency
230
202
  name: rspec
231
203
  requirement: !ruby/object:Gem::Requirement
232
204
  requirements:
233
205
  - - "~>"
234
206
  - !ruby/object:Gem::Version
235
- version: '3.9'
207
+ version: '3.10'
236
208
  type: :development
237
209
  prerelease: false
238
210
  version_requirements: !ruby/object:Gem::Requirement
239
211
  requirements:
240
212
  - - "~>"
241
213
  - !ruby/object:Gem::Version
242
- version: '3.9'
214
+ version: '3.10'
243
215
  - !ruby/object:Gem::Dependency
244
216
  name: rubocop
245
217
  requirement: !ruby/object:Gem::Requirement
246
218
  requirements:
247
219
  - - "~>"
248
220
  - !ruby/object:Gem::Version
249
- version: '0.76'
221
+ version: '1.3'
250
222
  type: :development
251
223
  prerelease: false
252
224
  version_requirements: !ruby/object:Gem::Requirement
253
225
  requirements:
254
226
  - - "~>"
255
227
  - !ruby/object:Gem::Version
256
- version: '0.76'
228
+ version: '1.3'
257
229
  - !ruby/object:Gem::Dependency
258
230
  name: rubocop-performance
259
231
  requirement: !ruby/object:Gem::Requirement
260
232
  requirements:
261
233
  - - "~>"
262
234
  - !ruby/object:Gem::Version
263
- version: '1.4'
235
+ version: '1.8'
264
236
  type: :development
265
237
  prerelease: false
266
238
  version_requirements: !ruby/object:Gem::Requirement
267
239
  requirements:
268
240
  - - "~>"
269
241
  - !ruby/object:Gem::Version
270
- version: '1.4'
242
+ version: '1.8'
271
243
  - !ruby/object:Gem::Dependency
272
244
  name: rubocop-rake
273
245
  requirement: !ruby/object:Gem::Requirement
274
246
  requirements:
275
247
  - - "~>"
276
248
  - !ruby/object:Gem::Version
277
- version: '0.3'
249
+ version: '0.5'
278
250
  type: :development
279
251
  prerelease: false
280
252
  version_requirements: !ruby/object:Gem::Requirement
281
253
  requirements:
282
254
  - - "~>"
283
255
  - !ruby/object:Gem::Version
284
- version: '0.3'
256
+ version: '0.5'
285
257
  - !ruby/object:Gem::Dependency
286
258
  name: rubocop-rspec
287
259
  requirement: !ruby/object:Gem::Requirement
288
260
  requirements:
289
261
  - - "~>"
290
262
  - !ruby/object:Gem::Version
291
- version: '1.33'
263
+ version: '2.0'
292
264
  type: :development
293
265
  prerelease: false
294
266
  version_requirements: !ruby/object:Gem::Requirement
295
267
  requirements:
296
268
  - - "~>"
297
269
  - !ruby/object:Gem::Version
298
- version: '1.33'
270
+ version: '2.0'
299
271
  - !ruby/object:Gem::Dependency
300
272
  name: simplecov
301
273
  requirement: !ruby/object:Gem::Requirement
302
274
  requirements:
303
275
  - - "~>"
304
276
  - !ruby/object:Gem::Version
305
- version: '0.13'
277
+ version: '0.19'
306
278
  type: :development
307
279
  prerelease: false
308
280
  version_requirements: !ruby/object:Gem::Requirement
309
281
  requirements:
310
282
  - - "~>"
311
283
  - !ruby/object:Gem::Version
312
- version: '0.13'
313
- - !ruby/object:Gem::Dependency
314
- name: wirb
315
- requirement: !ruby/object:Gem::Requirement
316
- requirements:
317
- - - "~>"
318
- - !ruby/object:Gem::Version
319
- version: '2.1'
320
- type: :development
321
- prerelease: false
322
- version_requirements: !ruby/object:Gem::Requirement
323
- requirements:
324
- - - "~>"
325
- - !ruby/object:Gem::Version
326
- version: '2.1'
327
- description:
284
+ version: '0.19'
285
+ description:
328
286
  email:
329
287
  - brooke@alchemists.io
330
288
  executables:
331
289
  - pennyworth
332
290
  extensions: []
333
291
  extra_rdoc_files:
334
- - README.md
335
- - LICENSE.md
292
+ - README.adoc
293
+ - LICENSE.adoc
336
294
  files:
337
- - LICENSE.md
338
- - README.md
295
+ - LICENSE.adoc
296
+ - README.adoc
339
297
  - bin/pennyworth
340
298
  - lib/pennyworth.rb
341
299
  - lib/pennyworth/cli.rb
@@ -351,14 +309,15 @@ files:
351
309
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-snakecase.png
352
310
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-titleize.png
353
311
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-uppercase.png
354
- homepage: https://github.com/bkuhlmann/pennyworth
312
+ homepage: https://www.alchemists.io/projects/pennyworth
355
313
  licenses:
356
314
  - Apache-2.0
357
315
  metadata:
358
- source_code_uri: https://github.com/bkuhlmann/pennyworth
359
- changelog_uri: https://github.com/bkuhlmann/pennyworth/blob/master/CHANGES.md
360
316
  bug_tracker_uri: https://github.com/bkuhlmann/pennyworth/issues
361
- post_install_message:
317
+ changelog_uri: https://www.alchemists.io/projects/pennyworth/changes.html
318
+ documentation_uri: https://www.alchemists.io/projects/pennyworth
319
+ source_code_uri: https://github.com/bkuhlmann/pennyworth
320
+ post_install_message:
362
321
  rdoc_options: []
363
322
  require_paths:
364
323
  - lib
@@ -366,15 +325,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
366
325
  requirements:
367
326
  - - "~>"
368
327
  - !ruby/object:Gem::Version
369
- version: '2.6'
328
+ version: '2.7'
370
329
  required_rubygems_version: !ruby/object:Gem::Requirement
371
330
  requirements:
372
331
  - - ">="
373
332
  - !ruby/object:Gem::Version
374
333
  version: '0'
375
334
  requirements: []
376
- rubygems_version: 3.0.6
377
- signing_key:
335
+ rubygems_version: 3.1.4
336
+ signing_key:
378
337
  specification_version: 4
379
- summary: A command line interface that adds Ruby support to Alfred.
338
+ summary: A command line interface that enhances Alfred with Ruby support.
380
339
  test_files: []
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 and extends 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)