pennyworth 5.0.0 → 6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee0f4e3852f04ac64c25062809aaf615c6cc2209
4
- data.tar.gz: f684a14d0c51ea40ee83cc43f023668023b4c4df
3
+ metadata.gz: 283d766316cd72ed8df9703003d311f41d5b9a2d
4
+ data.tar.gz: 0f46824a8b29a6b3001893d7f77899c360964020
5
5
  SHA512:
6
- metadata.gz: 2b3fabdfcb586dec9adadcb29b4f0f512069de41ee004af7675add2b5b333dc99776f1006f3392a16549d7be7fe6d2c43dc9e45a5c27e3cad1f1a82703edb26f
7
- data.tar.gz: 4092f6bd5b17ab084385ec822e1f89280d08a3515f7239e4173dc56db29c83477576b4b77a83458ad97128c0358c9fc1a9013a2c4a1ea3130d1b5e237bdf9bcd
6
+ metadata.gz: 87440e551f8a00db76f9b16455921285b9cc010e31b31f3551e4241d449c781bd548c81b3f1881109a6ef1db481f828a17a6be8bdf3b0dc111e6fa32e2463122
7
+ data.tar.gz: 92716a8e41e6b5297009c38775572098c39c865db5245b2192a350ffc0e7c16960c6d3a29ee66790e81476c80cc1d008a5b807b1f83b134b6d0c535dc4f7e7e0
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Code Climate GPA](https://codeclimate.com/github/bkuhlmann/pennyworth.svg)](https://codeclimate.com/github/bkuhlmann/pennyworth)
5
5
  [![Code Climate Coverage](https://codeclimate.com/github/bkuhlmann/pennyworth/coverage.svg)](https://codeclimate.com/github/bkuhlmann/pennyworth)
6
6
  [![Gemnasium Status](https://gemnasium.com/bkuhlmann/pennyworth.svg)](https://gemnasium.com/bkuhlmann/pennyworth)
7
- [![Travis CI Status](https://secure.travis-ci.org/bkuhlmann/pennyworth.svg)](https://travis-ci.org/bkuhlmann/pennyworth)
7
+ [![Circle CI Status](https://circleci.com/gh/bkuhlmann/pennyworth.svg?style=svg)](https://circleci.com/gh/bkuhlmann/pennyworth)
8
8
  [![Patreon](https://img.shields.io/badge/patreon-donate-brightgreen.svg)](https://www.patreon.com/bkuhlmann)
9
9
 
10
10
  A command line interface that enhances and extends Alfred with Ruby support.
@@ -17,6 +17,8 @@ A command line interface that enhances and extends Alfred with Ruby support.
17
17
  - [Requirements](#requirements)
18
18
  - [Setup](#setup)
19
19
  - [Usage](#usage)
20
+ - [Command Line Interface (CLI)](#command-line-interface-cli)
21
+ - [Customization](#customization)
20
22
  - [Tests](#tests)
21
23
  - [Versioning](#versioning)
22
24
  - [Code of Conduct](#code-of-conduct)
@@ -56,17 +58,11 @@ For an insecure install, type the following (not recommended):
56
58
 
57
59
  gem install pennyworth
58
60
 
59
- You can configure common settings for future gem builds by creating the following file:
60
-
61
- ~/.pennyworthrc
62
-
63
- ...using the following settings (for example):
64
-
65
- ---
66
- :alfred_settings_root: "/Users/bkuhlmann/Dropbox/Cache/Alfred/Alfred.alfredpreferences"
67
61
 
68
62
  # Usage
69
63
 
64
+ ## Command Line Interface (CLI)
65
+
70
66
  From the command line, type: pennyworth
71
67
 
72
68
  pennyworth -c, [--config] # Manage gem configuration.
@@ -93,6 +89,22 @@ provided by each workflow instead of the CLI. Check each workflows documentation
93
89
  opening Alfred preferences and clicking on the _Workflows_ tab. Each workflow associated with this
94
90
  gem is prefixed with _Pennyworth_.
95
91
 
92
+ ## Customization
93
+
94
+ This gem can be configured via a global configuration:
95
+
96
+ ~/.config/pennyworth/configuration.yml
97
+
98
+ It can also be configured via [XDG environment variables](https://github.com/bkuhlmann/runcom#xdg)
99
+ as provided by the [Runcom](https://github.com/bkuhlmann/runcom) gem.
100
+
101
+ The default configuration is as follows:
102
+
103
+ :alfred_settings_root: "/Users/bkuhlmann/Dropbox/Cache/Alfred/Alfred.alfredpreferences"
104
+
105
+ Feel free to take this default configuration, modify, and save as your own custom
106
+ `configuration.yml`.
107
+
96
108
  # Tests
97
109
 
98
110
  To test, run:
@@ -103,9 +115,9 @@ To test, run:
103
115
 
104
116
  Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
105
117
 
106
- - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
107
- - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
108
118
  - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
119
+ - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
120
+ - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
109
121
 
110
122
  # Code of Conduct
111
123
 
@@ -21,7 +21,7 @@ module Pennyworth
21
21
  end
22
22
 
23
23
  def self.configuration
24
- Runcom::Configuration.new file_name: Identity.file_name
24
+ Runcom::Configuration.new project_name: Identity.name
25
25
  end
26
26
 
27
27
  def initialize args = [], options = {}, config = {}
@@ -105,7 +105,7 @@ module Pennyworth
105
105
  say
106
106
  end
107
107
 
108
- desc "-c, [--config]", %(Manage gem configuration ("#{configuration.computed_path}").)
108
+ desc "-c, [--config]", "Manage gem configuration."
109
109
  map %w[-c --config] => :config
110
110
  method_option :edit,
111
111
  aliases: "-e",
@@ -116,10 +116,11 @@ module Pennyworth
116
116
  desc: "Print gem configuration.",
117
117
  type: :boolean, default: false
118
118
  def config
119
- path = self.class.configuration.computed_path
119
+ path = self.class.configuration.path
120
120
 
121
121
  if options.edit? then `#{editor} #{path}`
122
- elsif options.info? then say(path)
122
+ elsif options.info?
123
+ path ? say(path) : say("Configuration doesn't exist.")
123
124
  else help(:config)
124
125
  end
125
126
  end
@@ -12,15 +12,11 @@ module Pennyworth
12
12
  end
13
13
 
14
14
  def self.version
15
- "5.0.0"
15
+ "6.0.0"
16
16
  end
17
17
 
18
18
  def self.version_label
19
19
  "#{label} #{version}"
20
20
  end
21
-
22
- def self.file_name
23
- ".#{name}rc"
24
- end
25
21
  end
26
22
  end
metadata CHANGED
@@ -1,36 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pennyworth
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
14
- a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
15
- aW8wHhcNMTYxMDE5MTY0NDEzWhcNMTcxMDE5MTY0NDEzWjBBMQ8wDQYDVQQDDAZi
16
- cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
17
- GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgryPL4/IbWDcL
18
- fnqpnoJALqj+ega7hSsvvD8sac57HPNLeKcOmSafFiQLAnTmmE132ZlFc8kyZRVn
19
- zmqSESowO5jd+ggFuy1ySqQJXhwgik04KedKRUjpIDZePrjw+M5UJT1qzKCKL2xI
20
- nx5cOKP1fSWJ1RRu8JhaDeSloGtYMdw2c28wnKPNIsWDood4xhbLcY9IqeISft2e
21
- oTAHTHandHbvt24X3/n67ceNjLBbsVZPXCC1C8C8ccjHjA4Tm2uiFoDwThMcPggg
22
- 90H6fh0vLFcNAobdPEchbge8tWtfmMPz2+C4yklANn81GA+ANsBS1uwx6mxJoMQU
23
- BNVp0aLvAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
24
- BBRS85Rn1BaqeIONByw4t46DMDMzHDAfBgNVHREEGDAWgRRicm9va2VAYWxjaGVt
25
- aXN0cy5pbzAfBgNVHRIEGDAWgRRicm9va2VAYWxjaGVtaXN0cy5pbzANBgkqhkiG
26
- 9w0BAQUFAAOCAQEAZMb57Y4wdpbX8XxTukEO7VC1pndccUsxdbziGsAOiuHET3Aq
27
- ygLvrfdYrN88/w+qxncW5bxbO3a6UGkuhIFUPM8zRSE/rh6bCcJljTJrExVt42eV
28
- aYCb7WJNsx3eNXHn3uQodq3tD+lmNJzz2bFeT3smGSKEnALBjqorO/2mpDh4FJ3S
29
- 4CcDYsJ1ywep8LDJDBBGdKz9moL+axryzpeTpgTT/fFYFzRzWrURPyDvPOikh9TX
30
- n/LUZ1dKhIHzfKx1B4+TEIefArObGfkLIDM8+Dq1RX7TF1k81Men7iu4MgE9bYBn
31
- 3dE+xI3FdB5gWcdWxdtgRCmWjtXeYYyb4z6NQQ==
32
- -----END CERTIFICATE-----
33
- date: 2017-01-22 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2017-06-18 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: thor
@@ -52,42 +30,42 @@ dependencies:
52
30
  requirements:
53
31
  - - "~>"
54
32
  - !ruby/object:Gem::Version
55
- version: '5.0'
33
+ version: '5.1'
56
34
  type: :runtime
57
35
  prerelease: false
58
36
  version_requirements: !ruby/object:Gem::Requirement
59
37
  requirements:
60
38
  - - "~>"
61
39
  - !ruby/object:Gem::Version
62
- version: '5.0'
40
+ version: '5.1'
63
41
  - !ruby/object:Gem::Dependency
64
42
  name: refinements
65
43
  requirement: !ruby/object:Gem::Requirement
66
44
  requirements:
67
45
  - - "~>"
68
46
  - !ruby/object:Gem::Version
69
- version: '4.0'
47
+ version: '4.1'
70
48
  type: :runtime
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
51
  requirements:
74
52
  - - "~>"
75
53
  - !ruby/object:Gem::Version
76
- version: '4.0'
54
+ version: '4.1'
77
55
  - !ruby/object:Gem::Dependency
78
56
  name: runcom
79
57
  requirement: !ruby/object:Gem::Requirement
80
58
  requirements:
81
59
  - - "~>"
82
60
  - !ruby/object:Gem::Version
83
- version: '0.5'
61
+ version: '1.1'
84
62
  type: :runtime
85
63
  prerelease: false
86
64
  version_requirements: !ruby/object:Gem::Requirement
87
65
  requirements:
88
66
  - - "~>"
89
67
  - !ruby/object:Gem::Version
90
- version: '0.5'
68
+ version: '1.1'
91
69
  - !ruby/object:Gem::Dependency
92
70
  name: rake
93
71
  requirement: !ruby/object:Gem::Requirement
@@ -102,20 +80,6 @@ dependencies:
102
80
  - - "~>"
103
81
  - !ruby/object:Gem::Version
104
82
  version: '12.0'
105
- - !ruby/object:Gem::Dependency
106
- name: gemsmith
107
- requirement: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '9.0'
112
- type: :development
113
- prerelease: false
114
- version_requirements: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - "~>"
117
- - !ruby/object:Gem::Version
118
- version: '9.0'
119
83
  - !ruby/object:Gem::Dependency
120
84
  name: pry
121
85
  requirement: !ruby/object:Gem::Requirement
@@ -248,28 +212,28 @@ dependencies:
248
212
  requirements:
249
213
  - - "~>"
250
214
  - !ruby/object:Gem::Version
251
- version: '4.5'
215
+ version: '4.7'
252
216
  type: :development
253
217
  prerelease: false
254
218
  version_requirements: !ruby/object:Gem::Requirement
255
219
  requirements:
256
220
  - - "~>"
257
221
  - !ruby/object:Gem::Version
258
- version: '4.5'
222
+ version: '4.7'
259
223
  - !ruby/object:Gem::Dependency
260
224
  name: rubocop
261
225
  requirement: !ruby/object:Gem::Requirement
262
226
  requirements:
263
227
  - - "~>"
264
228
  - !ruby/object:Gem::Version
265
- version: '0.47'
229
+ version: '0.49'
266
230
  type: :development
267
231
  prerelease: false
268
232
  version_requirements: !ruby/object:Gem::Requirement
269
233
  requirements:
270
234
  - - "~>"
271
235
  - !ruby/object:Gem::Version
272
- version: '0.47'
236
+ version: '0.49'
273
237
  - !ruby/object:Gem::Dependency
274
238
  name: codeclimate-test-reporter
275
239
  requirement: !ruby/object:Gem::Requirement
@@ -332,7 +296,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
332
296
  version: '0'
333
297
  requirements: []
334
298
  rubyforge_project:
335
- rubygems_version: 2.6.9
299
+ rubygems_version: 2.6.12
336
300
  signing_key:
337
301
  specification_version: 4
338
302
  summary: A command line interface that adds Ruby support to Alfred.
@@ -1 +0,0 @@
1
- t�&�GFƄy�gz���y3q��f屢�b�L�L��u
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- WmM]� u'd��e�f������8 -K:L:!]��.���p붹$�E@��<�N���)P��RGP��U{')����5 B�}�{�Į�� ��������g��#�fmT}z��|�T$��dr�^M�G��_o����U�t���z�ñe��89B�vv8䉁ٽ��Vk�s�Yi��<�,�]����*4fT���Pl�?�?p� �V�������Ⱥ�*���O�8ɫ������4c��T