pennyworth 2.6.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/LICENSE.md +1 -1
- data/README.md +3 -4
- data/lib/pennyworth/kits/string.rb +4 -4
- data/lib/pennyworth/templates/workflows/user.workflow.B59B22A2-1880-4765-9358-412791BE9202/info.plist +5 -1
- data/lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/info.plist +1 -1
- data/lib/pennyworth/version.rb +1 -1
- data.tar.gz.sig +2 -2
- metadata +20 -6
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b570a1a66b62e04eb22b54fb1a0a729778ef5e88
|
|
4
|
+
data.tar.gz: 333ecb561574fc4bcbb1035b6ddddfd34dfa6faa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea1b8ae3247ef0adb7298ae198d1f7b56639789570587e213092300901a9d0b0b93faa099469bc3efb05b99e1f4237faa6c5d9e59ef1e0f29ee87380c6d1ff27
|
|
7
|
+
data.tar.gz: 854cdc16c782cfbf249c461df04f676eef49d912f449d1a965c93828a57bd3add08a1da65f63e0dd9543bff11a3c9916cc77c05fd5c0bbe439f972d7598c6f09
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
|
@@ -28,13 +28,12 @@ Enhances and extends Alfred by providing a Ruby command line interface (CLI).
|
|
|
28
28
|
0. Any of the following Ruby VMs:
|
|
29
29
|
- [MRI 2.x.x](http://www.ruby-lang.org)
|
|
30
30
|
- [JRuby 1.x.x](http://jruby.org)
|
|
31
|
-
- [Rubinius 2.x.x](http://rubini.us)
|
|
32
31
|
|
|
33
32
|
# Setup
|
|
34
33
|
|
|
35
34
|
For a secure install, type the following from the command line (recommended):
|
|
36
35
|
|
|
37
|
-
gem cert --add <(curl -Ls
|
|
36
|
+
gem cert --add <(curl -Ls https://www.alchemists.io/gem-public.pem)
|
|
38
37
|
gem install pennyworth --trust-policy MediumSecurity
|
|
39
38
|
|
|
40
39
|
NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while
|
|
@@ -99,11 +98,11 @@ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
|
|
|
99
98
|
|
|
100
99
|
# Credits
|
|
101
100
|
|
|
102
|
-
Developed by [Brooke Kuhlmann](
|
|
101
|
+
Developed by [Brooke Kuhlmann](https://www.alchemists.io) at [Alchemists](https://www.alchemists.io)
|
|
103
102
|
|
|
104
103
|
# License
|
|
105
104
|
|
|
106
|
-
Copyright (c) 2012 [Alchemists](
|
|
105
|
+
Copyright (c) 2012 [Alchemists](https://www.alchemists.io).
|
|
107
106
|
Read the [LICENSE](LICENSE.md) for details.
|
|
108
107
|
|
|
109
108
|
# History
|
|
@@ -5,7 +5,7 @@ module Pennyworth
|
|
|
5
5
|
# Builds a string from an array.
|
|
6
6
|
# ==== Parameters
|
|
7
7
|
# * +array+ - Required. The array to build a string from.
|
|
8
|
-
# * +delimiter+ - Optional. The delimiter used to join each array element. Default: ' '
|
|
8
|
+
# * +delimiter+ - Optional. The delimiter used to join each array element. Default: ' '
|
|
9
9
|
def self.array_to_string array, delimiter = ' '
|
|
10
10
|
array * delimiter
|
|
11
11
|
end
|
|
@@ -18,7 +18,7 @@ module Pennyworth
|
|
|
18
18
|
puts Pennyworth::Kits::Clipboard.copy(string.downcase)
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
# Converts and outputs a string array as an upcased string.
|
|
21
|
+
# Converts and outputs a string array as an upcased string.
|
|
22
22
|
# ==== Parameters
|
|
23
23
|
# * +array+ - Required. The string array to process.
|
|
24
24
|
def self.upcase array
|
|
@@ -26,7 +26,7 @@ module Pennyworth
|
|
|
26
26
|
puts Pennyworth::Kits::Clipboard.copy(string.upcase)
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
# Converts and outputs a string array as a capitalized string.
|
|
29
|
+
# Converts and outputs a string array as a capitalized string.
|
|
30
30
|
# ==== Parameters
|
|
31
31
|
# * +array+ - Required. The string array to process.
|
|
32
32
|
def self.capitalize array
|
|
@@ -35,7 +35,7 @@ module Pennyworth
|
|
|
35
35
|
puts Pennyworth::Kits::Clipboard.copy(words)
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
# Converts a string array to a single string and outputs the string length.
|
|
38
|
+
# Converts a string array to a single string and outputs the string length.
|
|
39
39
|
# ==== Parameters
|
|
40
40
|
# * +array+ - Required. The string array to process.
|
|
41
41
|
def self.length array
|
|
@@ -44,6 +44,10 @@ case "{query}"
|
|
|
44
44
|
`open #{root_url}/rails/routes`
|
|
45
45
|
when 'm'
|
|
46
46
|
`open #{root_url}/rails/mailers`
|
|
47
|
+
when 'f'
|
|
48
|
+
`open #{root_url}?pp=flamegraph`
|
|
49
|
+
when 'p'
|
|
50
|
+
`open #{root_url}?pp=profile-gc-ruby-head`
|
|
47
51
|
else
|
|
48
52
|
`open #{root_url}`
|
|
49
53
|
end
|
|
@@ -82,6 +86,6 @@ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR I
|
|
|
82
86
|
</dict>
|
|
83
87
|
</dict>
|
|
84
88
|
<key>webaddress</key>
|
|
85
|
-
<string>
|
|
89
|
+
<string>https://www.alchemists.io</string>
|
|
86
90
|
</dict>
|
|
87
91
|
</plist>
|
data/lib/pennyworth/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
�
|
|
1
|
+
���)QF>�-t�}><��X
|
|
2
|
+
�̹:�xwjC\���%a��ֱ�3y-ah�u�;���Ur����o7���F��ff$��q�B\SElS
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pennyworth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brooke Kuhlmann
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
fMlZDUGx3lQarp/vPjK+6XH7DLXjBEKqeIGBIpLthYUvDxJRp23C+T3liGSL32vg
|
|
31
31
|
mSpxxwmK95GDFuEy2mNPaxnazdkw8c+7DbrSpzd/CnNZkRgitxOavs8=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date:
|
|
33
|
+
date: 2015-01-01 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: pry-byebug
|
|
@@ -80,14 +80,14 @@ dependencies:
|
|
|
80
80
|
requirements:
|
|
81
81
|
- - "~>"
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: '
|
|
83
|
+
version: '2.0'
|
|
84
84
|
type: :runtime
|
|
85
85
|
prerelease: false
|
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
|
87
87
|
requirements:
|
|
88
88
|
- - "~>"
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: '
|
|
90
|
+
version: '2.0'
|
|
91
91
|
- !ruby/object:Gem::Dependency
|
|
92
92
|
name: rake
|
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -186,6 +186,20 @@ dependencies:
|
|
|
186
186
|
- - ">="
|
|
187
187
|
- !ruby/object:Gem::Version
|
|
188
188
|
version: '0'
|
|
189
|
+
- !ruby/object:Gem::Dependency
|
|
190
|
+
name: terminal-notifier
|
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
|
192
|
+
requirements:
|
|
193
|
+
- - ">="
|
|
194
|
+
- !ruby/object:Gem::Version
|
|
195
|
+
version: '0'
|
|
196
|
+
type: :development
|
|
197
|
+
prerelease: false
|
|
198
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
199
|
+
requirements:
|
|
200
|
+
- - ">="
|
|
201
|
+
- !ruby/object:Gem::Version
|
|
202
|
+
version: '0'
|
|
189
203
|
- !ruby/object:Gem::Dependency
|
|
190
204
|
name: terminal-notifier-guard
|
|
191
205
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -217,7 +231,7 @@ dependencies:
|
|
|
217
231
|
description: Enhances and extends Alfred with Ruby support. See the README for further
|
|
218
232
|
detailspec.
|
|
219
233
|
email:
|
|
220
|
-
-
|
|
234
|
+
- brooke@alchemists.io
|
|
221
235
|
executables:
|
|
222
236
|
- pennyworth
|
|
223
237
|
extensions: []
|
|
@@ -261,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
261
275
|
version: '0'
|
|
262
276
|
requirements: []
|
|
263
277
|
rubyforge_project:
|
|
264
|
-
rubygems_version: 2.4.
|
|
278
|
+
rubygems_version: 2.4.5
|
|
265
279
|
signing_key:
|
|
266
280
|
specification_version: 4
|
|
267
281
|
summary: Enhances and extends Alfred with Ruby support.
|
metadata.gz.sig
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
F�,���WX�I��Bч��H�u�
|
|
2
|
+
�p�|�H�1^\
|