pennyworth 8.3.2 → 9.3.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: 1d521fb0e3d192bd712522181112357c892ae8a755ceb43898b9faba149378b5
4
- data.tar.gz: 823e6d1bb49f201a06934b29308287ab458ec4ed61c05aaf5f1a2ea94c39688f
3
+ metadata.gz: 2eb83c7bd73775fa1457b4b3200e262db1f0554c51397bda4585ea398c097b7d
4
+ data.tar.gz: 9b5fe2fc8cc2a7ebe29de48f07370b76e624c61497fe13a448b2e2a743fefb9c
5
5
  SHA512:
6
- metadata.gz: 5908a77b14cf9890202ac3f4d0f55fb1da65d3c9c32ef7a305df33d84177ec59d1642ebb49b9e4134d28d50f73722bbbb6058b49530f3de9dbf3e34022365389
7
- data.tar.gz: a13feb07c1484f84b507768b3e781f5c5d982132840d91e8197ea3da1463ffb134a0afaa39be8548a08c7320f22907c9849fb91034c45b9bc105612c4267491d
6
+ metadata.gz: ba9e4ca792619829c484abeef1db83592100add83bd1823c34d489bf8b18c5d4f2ee2f61859ac47aed4cb0e795554ed89885f8046330e649ee76a0b247789613
7
+ data.tar.gz: 1eb0a6240e9741d78be37a086c2ee921e49368c62023fac75a62bd77ef8cb2e1d8442dbdf145cc05b21c871748070737460e5ada3b427872a2991bcf9dbf93e5
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]
28
+ . https://www.alfredapp.com/purchase[Alfred Powerpack]
29
+ . https://github.com/postmodern/chruby[chruby]
30
+ . https://www.ruby-lang.org[Ruby]
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[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,7 +58,6 @@ module Pennyworth
58
58
  desc: "Calculate string size.",
59
59
  type: :boolean,
60
60
  default: false
61
- # rubocop:disable Metrics/CyclomaticComplexity
62
61
  # rubocop:disable Metrics/PerceivedComplexity
63
62
  def string value
64
63
  if options.downcase? then say value.downcase
@@ -70,7 +69,6 @@ module Pennyworth
70
69
  else say "Type 'pennyworth help string' for usage."
71
70
  end
72
71
  end
73
- # rubocop:enable Metrics/CyclomaticComplexity
74
72
  # rubocop:enable Metrics/PerceivedComplexity
75
73
 
76
74
  desc "-i, [--install]", "Install Alfred Workflows."
@@ -118,7 +116,7 @@ module Pennyworth
118
116
  type: :boolean,
119
117
  default: false
120
118
  def config
121
- path = self.class.configuration.path
119
+ path = self.class.configuration.current
122
120
 
123
121
  if options.edit? then `#{ENV["EDITOR"]} #{path}`
124
122
  elsif options.info?
@@ -130,7 +128,7 @@ module Pennyworth
130
128
  desc "-v, [--version]", "Show gem version."
131
129
  map %w[-v --version] => :version
132
130
  def version
133
- say Identity.version_label
131
+ say Identity::VERSION_LABEL
134
132
  end
135
133
 
136
134
  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.2"
16
- end
17
-
18
- def self.version_label
19
- "#{label} #{version}"
20
- end
6
+ NAME = "pennyworth"
7
+ LABEL = "Pennyworth"
8
+ VERSION = "9.3.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}
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.2
4
+ version: 9.3.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-09-01 00:00:00.000000000 Z
31
+ date: 2020-07-23 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.4'
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.4'
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.0'
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.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: thor
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -72,34 +72,6 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0.20'
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
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '0.5'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '0.5'
103
75
  - !ruby/object:Gem::Dependency
104
76
  name: bundler-audit
105
77
  requirement: !ruby/object:Gem::Requirement
@@ -120,28 +92,28 @@ dependencies:
120
92
  requirements:
121
93
  - - "~>"
122
94
  - !ruby/object:Gem::Version
123
- version: '13.5'
95
+ version: '14.2'
124
96
  type: :development
125
97
  prerelease: false
126
98
  version_requirements: !ruby/object:Gem::Requirement
127
99
  requirements:
128
100
  - - "~>"
129
101
  - !ruby/object:Gem::Version
130
- version: '13.5'
102
+ version: '14.2'
131
103
  - !ruby/object:Gem::Dependency
132
- name: git-cop
104
+ name: git-lint
133
105
  requirement: !ruby/object:Gem::Requirement
134
106
  requirements:
135
107
  - - "~>"
136
108
  - !ruby/object:Gem::Version
137
- version: '3.5'
109
+ version: '1.0'
138
110
  type: :development
139
111
  prerelease: false
140
112
  version_requirements: !ruby/object:Gem::Requirement
141
113
  requirements:
142
114
  - - "~>"
143
115
  - !ruby/object:Gem::Version
144
- version: '3.5'
116
+ version: '1.0'
145
117
  - !ruby/object:Gem::Dependency
146
118
  name: guard-rspec
147
119
  requirement: !ruby/object:Gem::Requirement
@@ -156,172 +128,158 @@ dependencies:
156
128
  - - "~>"
157
129
  - !ruby/object:Gem::Version
158
130
  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
131
  - !ruby/object:Gem::Dependency
174
132
  name: pry
175
133
  requirement: !ruby/object:Gem::Requirement
176
134
  requirements:
177
135
  - - "~>"
178
136
  - !ruby/object:Gem::Version
179
- version: '0.10'
137
+ version: '0.13'
180
138
  type: :development
181
139
  prerelease: false
182
140
  version_requirements: !ruby/object:Gem::Requirement
183
141
  requirements:
184
142
  - - "~>"
185
143
  - !ruby/object:Gem::Version
186
- version: '0.10'
144
+ version: '0.13'
187
145
  - !ruby/object:Gem::Dependency
188
146
  name: pry-byebug
189
147
  requirement: !ruby/object:Gem::Requirement
190
148
  requirements:
191
149
  - - "~>"
192
150
  - !ruby/object:Gem::Version
193
- version: '3.5'
151
+ version: '3.9'
194
152
  type: :development
195
153
  prerelease: false
196
154
  version_requirements: !ruby/object:Gem::Requirement
197
155
  requirements:
198
156
  - - "~>"
199
157
  - !ruby/object:Gem::Version
200
- version: '3.5'
158
+ version: '3.9'
201
159
  - !ruby/object:Gem::Dependency
202
160
  name: rake
203
161
  requirement: !ruby/object:Gem::Requirement
204
162
  requirements:
205
163
  - - "~>"
206
164
  - !ruby/object:Gem::Version
207
- version: '12.3'
165
+ version: '13.0'
208
166
  type: :development
209
167
  prerelease: false
210
168
  version_requirements: !ruby/object:Gem::Requirement
211
169
  requirements:
212
170
  - - "~>"
213
171
  - !ruby/object:Gem::Version
214
- version: '12.3'
172
+ version: '13.0'
215
173
  - !ruby/object:Gem::Dependency
216
174
  name: reek
217
175
  requirement: !ruby/object:Gem::Requirement
218
176
  requirements:
219
177
  - - "~>"
220
178
  - !ruby/object:Gem::Version
221
- version: '5.4'
179
+ version: '6.0'
222
180
  type: :development
223
181
  prerelease: false
224
182
  version_requirements: !ruby/object:Gem::Requirement
225
183
  requirements:
226
184
  - - "~>"
227
185
  - !ruby/object:Gem::Version
228
- version: '5.4'
186
+ version: '6.0'
229
187
  - !ruby/object:Gem::Dependency
230
188
  name: rspec
231
189
  requirement: !ruby/object:Gem::Requirement
232
190
  requirements:
233
191
  - - "~>"
234
192
  - !ruby/object:Gem::Version
235
- version: '3.8'
193
+ version: '3.9'
236
194
  type: :development
237
195
  prerelease: false
238
196
  version_requirements: !ruby/object:Gem::Requirement
239
197
  requirements:
240
198
  - - "~>"
241
199
  - !ruby/object:Gem::Version
242
- version: '3.8'
200
+ version: '3.9'
243
201
  - !ruby/object:Gem::Dependency
244
202
  name: rubocop
245
203
  requirement: !ruby/object:Gem::Requirement
246
204
  requirements:
247
205
  - - "~>"
248
206
  - !ruby/object:Gem::Version
249
- version: '0.73'
207
+ version: '0.83'
250
208
  type: :development
251
209
  prerelease: false
252
210
  version_requirements: !ruby/object:Gem::Requirement
253
211
  requirements:
254
212
  - - "~>"
255
213
  - !ruby/object:Gem::Version
256
- version: '0.73'
214
+ version: '0.83'
257
215
  - !ruby/object:Gem::Dependency
258
216
  name: rubocop-performance
259
217
  requirement: !ruby/object:Gem::Requirement
260
218
  requirements:
261
219
  - - "~>"
262
220
  - !ruby/object:Gem::Version
263
- version: '1.4'
221
+ version: '1.5'
264
222
  type: :development
265
223
  prerelease: false
266
224
  version_requirements: !ruby/object:Gem::Requirement
267
225
  requirements:
268
226
  - - "~>"
269
227
  - !ruby/object:Gem::Version
270
- version: '1.4'
228
+ version: '1.5'
271
229
  - !ruby/object:Gem::Dependency
272
- name: rubocop-rspec
230
+ name: rubocop-rake
273
231
  requirement: !ruby/object:Gem::Requirement
274
232
  requirements:
275
233
  - - "~>"
276
234
  - !ruby/object:Gem::Version
277
- version: '1.33'
235
+ version: '0.5'
278
236
  type: :development
279
237
  prerelease: false
280
238
  version_requirements: !ruby/object:Gem::Requirement
281
239
  requirements:
282
240
  - - "~>"
283
241
  - !ruby/object:Gem::Version
284
- version: '1.33'
242
+ version: '0.5'
285
243
  - !ruby/object:Gem::Dependency
286
- name: simplecov
244
+ name: rubocop-rspec
287
245
  requirement: !ruby/object:Gem::Requirement
288
246
  requirements:
289
247
  - - "~>"
290
248
  - !ruby/object:Gem::Version
291
- version: '0.13'
249
+ version: '1.39'
292
250
  type: :development
293
251
  prerelease: false
294
252
  version_requirements: !ruby/object:Gem::Requirement
295
253
  requirements:
296
254
  - - "~>"
297
255
  - !ruby/object:Gem::Version
298
- version: '0.13'
256
+ version: '1.39'
299
257
  - !ruby/object:Gem::Dependency
300
- name: wirb
258
+ name: simplecov
301
259
  requirement: !ruby/object:Gem::Requirement
302
260
  requirements:
303
261
  - - "~>"
304
262
  - !ruby/object:Gem::Version
305
- version: '2.1'
263
+ version: '0.18'
306
264
  type: :development
307
265
  prerelease: false
308
266
  version_requirements: !ruby/object:Gem::Requirement
309
267
  requirements:
310
268
  - - "~>"
311
269
  - !ruby/object:Gem::Version
312
- version: '2.1'
313
- description:
270
+ version: '0.18'
271
+ description:
314
272
  email:
315
273
  - brooke@alchemists.io
316
274
  executables:
317
275
  - pennyworth
318
276
  extensions: []
319
277
  extra_rdoc_files:
320
- - README.md
321
- - LICENSE.md
278
+ - README.adoc
279
+ - LICENSE.adoc
322
280
  files:
323
- - LICENSE.md
324
- - README.md
281
+ - LICENSE.adoc
282
+ - README.adoc
325
283
  - bin/pennyworth
326
284
  - lib/pennyworth.rb
327
285
  - lib/pennyworth/cli.rb
@@ -337,14 +295,15 @@ files:
337
295
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-snakecase.png
338
296
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-titleize.png
339
297
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-uppercase.png
340
- homepage: https://github.com/bkuhlmann/pennyworth
298
+ homepage: https://www.alchemists.io/projects/pennyworth
341
299
  licenses:
342
300
  - Apache-2.0
343
301
  metadata:
344
- source_code_uri: https://github.com/bkuhlmann/pennyworth
345
- changelog_uri: https://github.com/bkuhlmann/pennyworth/blob/master/CHANGES.md
346
302
  bug_tracker_uri: https://github.com/bkuhlmann/pennyworth/issues
347
- post_install_message:
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
306
+ post_install_message:
348
307
  rdoc_options: []
349
308
  require_paths:
350
309
  - lib
@@ -352,15 +311,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
352
311
  requirements:
353
312
  - - "~>"
354
313
  - !ruby/object:Gem::Version
355
- version: '2.6'
314
+ version: '2.7'
356
315
  required_rubygems_version: !ruby/object:Gem::Requirement
357
316
  requirements:
358
317
  - - ">="
359
318
  - !ruby/object:Gem::Version
360
319
  version: '0'
361
320
  requirements: []
362
- rubygems_version: 3.0.6
363
- signing_key:
321
+ rubygems_version: 3.1.4
322
+ signing_key:
364
323
  specification_version: 4
365
- summary: A command line interface that adds Ruby support to Alfred.
324
+ summary: A command line interface that enhances Alfred with Ruby support.
366
325
  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)