pennyworth 9.0.0 → 9.5.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: 23e3abda209a084f38add779f90a974d3aae3439d3c5f5bf8987fdea7b085b70
4
+ data.tar.gz: a22d64cb9da64a0b82ac6614cc2d670ba8a213d8dae62caf593ef8c3fa7f57e4
5
5
  SHA512:
6
- metadata.gz: e97d111dc9fc50db0a7d1d349ba6dea67e5c40dd76c84340d17fb7843a258d60ce46c21032ad1a8572e4211637bca928c4de261c69bf799504e04e5203d7d1c3
7
- data.tar.gz: 80a890f19eab245bf3f78adb2746591619c5b38cb164ce71448ed030d0652b1a247601e99c32e35dcb0125edad5e724796066361f7e22af22dd116b670c08630
6
+ metadata.gz: c03feb930bf8bed3a82249db6293a82c84e32217a7f2153348519efbce6761c50573616ba0b4bcd6a140eb5ab4a15839c89400cb2bb71892ae452ccb51318968
7
+ data.tar.gz: 3c4e89d3047031c31738e56a9322c0c24b77b07ebd09dd753dc02010e9047730dedab38a27c07f24e0093866c09c65d923a85365920616635651fbbdcf0ed496
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}/configuration.yml"
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", "**")
@@ -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
- "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.5.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: 9.0.0
4
+ version: 9.5.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: 2020-01-01 00:00:00.000000000 Z
31
+ date: 2020-12-14 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: '7.0'
39
+ version: '7.16'
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: '7.0'
46
+ version: '7.16'
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: '6.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: '6.0'
60
+ version: '6.4'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: thor
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -72,214 +72,18 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0.20'
75
- - !ruby/object:Gem::Dependency
76
- name: bundler-audit
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '0.6'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '0.6'
89
- - !ruby/object:Gem::Dependency
90
- name: gemsmith
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '14.0'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '14.0'
103
- - !ruby/object:Gem::Dependency
104
- name: git-cop
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '4.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '4.0'
117
- - !ruby/object:Gem::Dependency
118
- name: guard-rspec
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '4.7'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '4.7'
131
- - !ruby/object:Gem::Dependency
132
- name: pry
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.12'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.12'
145
- - !ruby/object:Gem::Dependency
146
- name: pry-byebug
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '3.7'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '3.7'
159
- - !ruby/object:Gem::Dependency
160
- name: rake
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '13.0'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '13.0'
173
- - !ruby/object:Gem::Dependency
174
- name: reek
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: '5.4'
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - "~>"
185
- - !ruby/object:Gem::Version
186
- version: '5.4'
187
- - !ruby/object:Gem::Dependency
188
- name: rspec
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
192
- - !ruby/object:Gem::Version
193
- version: '3.9'
194
- type: :development
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: '3.9'
201
- - !ruby/object:Gem::Dependency
202
- name: rubocop
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - "~>"
206
- - !ruby/object:Gem::Version
207
- version: '0.78'
208
- type: :development
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - "~>"
213
- - !ruby/object:Gem::Version
214
- version: '0.78'
215
- - !ruby/object:Gem::Dependency
216
- name: rubocop-performance
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - "~>"
220
- - !ruby/object:Gem::Version
221
- version: '1.5'
222
- type: :development
223
- prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - "~>"
227
- - !ruby/object:Gem::Version
228
- version: '1.5'
229
- - !ruby/object:Gem::Dependency
230
- name: rubocop-rake
231
- requirement: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - "~>"
234
- - !ruby/object:Gem::Version
235
- version: '0.5'
236
- type: :development
237
- prerelease: false
238
- version_requirements: !ruby/object:Gem::Requirement
239
- requirements:
240
- - - "~>"
241
- - !ruby/object:Gem::Version
242
- version: '0.5'
243
- - !ruby/object:Gem::Dependency
244
- name: rubocop-rspec
245
- requirement: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - "~>"
248
- - !ruby/object:Gem::Version
249
- version: '1.37'
250
- type: :development
251
- prerelease: false
252
- version_requirements: !ruby/object:Gem::Requirement
253
- requirements:
254
- - - "~>"
255
- - !ruby/object:Gem::Version
256
- version: '1.37'
257
- - !ruby/object:Gem::Dependency
258
- name: simplecov
259
- requirement: !ruby/object:Gem::Requirement
260
- requirements:
261
- - - "~>"
262
- - !ruby/object:Gem::Version
263
- version: '0.17'
264
- type: :development
265
- prerelease: false
266
- version_requirements: !ruby/object:Gem::Requirement
267
- requirements:
268
- - - "~>"
269
- - !ruby/object:Gem::Version
270
- version: '0.17'
271
- description:
75
+ description:
272
76
  email:
273
77
  - brooke@alchemists.io
274
78
  executables:
275
79
  - pennyworth
276
80
  extensions: []
277
81
  extra_rdoc_files:
278
- - README.md
279
- - LICENSE.md
82
+ - README.adoc
83
+ - LICENSE.adoc
280
84
  files:
281
- - LICENSE.md
282
- - README.md
85
+ - LICENSE.adoc
86
+ - README.adoc
283
87
  - bin/pennyworth
284
88
  - lib/pennyworth.rb
285
89
  - lib/pennyworth/cli.rb
@@ -295,14 +99,15 @@ files:
295
99
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-snakecase.png
296
100
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-titleize.png
297
101
  - lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/string-uppercase.png
298
- homepage: https://github.com/bkuhlmann/pennyworth
102
+ homepage: https://www.alchemists.io/projects/pennyworth
299
103
  licenses:
300
104
  - Apache-2.0
301
105
  metadata:
302
- source_code_uri: https://github.com/bkuhlmann/pennyworth
303
- changelog_uri: https://github.com/bkuhlmann/pennyworth/blob/master/CHANGES.md
304
106
  bug_tracker_uri: https://github.com/bkuhlmann/pennyworth/issues
305
- post_install_message:
107
+ changelog_uri: https://www.alchemists.io/projects/pennyworth/changes.html
108
+ documentation_uri: https://www.alchemists.io/projects/pennyworth
109
+ source_code_uri: https://github.com/bkuhlmann/pennyworth
110
+ post_install_message:
306
111
  rdoc_options: []
307
112
  require_paths:
308
113
  - lib
@@ -317,8 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
122
  - !ruby/object:Gem::Version
318
123
  version: '0'
319
124
  requirements: []
320
- rubygems_version: 3.1.2
321
- signing_key:
125
+ rubygems_version: 3.2.0
126
+ signing_key:
322
127
  specification_version: 4
323
128
  summary: A command line interface that enhances Alfred with Ruby support.
324
129
  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 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)