sublime_text_kit 9.0.0 → 9.1.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: 20ee035996f8f1e5cfb0fceeecdcf04861385ac2c768899e5d25c50b9600101e
4
- data.tar.gz: a447a9d6b628f2b111097a515b5d1bda327849b5eea2bfb623073d8728001539
3
+ metadata.gz: 5e18a60bcea4e410a4e2c7b68927cb76f607eb06cde37fab3a6031f141d43f3b
4
+ data.tar.gz: edfc386ffd97eb1b02f56430e7b01d6e12b3c8737bc75922a4ca4ef5ffa0fe11
5
5
  SHA512:
6
- metadata.gz: 9009debfec855c7da7626acb5acd8dae358f7a0cf2ea2a648c51645d1871d451985e1c2fffb07637731a329c85288b8cac55ecc7780bdcdafca671ffdafb0432
7
- data.tar.gz: 0e701957958240475033720c22ed865a90265e6d581cda1cbb90855e36162d239cb2deafc563e789078ec1953745c74e282f0ec77c00a22d0a653d8e0ca36624
6
+ metadata.gz: b248d267aab2d9a936f5dc284b45f981df813200527ab177fd06fc80233bc0efecb9722d18029df3f3b8fa81055792da5dd48a8254fadfe7e703168368ca9128
7
+ data.tar.gz: 5e7ae4fdd9331a8a1f43a18a630ce6d3a7b0788790e359b9d71ff2a3c960a026dd46fcc452909e3a942a207aef6dd2c606bdd4a6b65381690ce0b2e5840022b2
checksums.yaml.gz.sig CHANGED
@@ -1 +1,4 @@
1
- 3O$3<��>����7��i�*�n�EZKnk,�vB���ۑL���`��k�*�߯^�Ĝ��f7u���s��/6 g��O4"��W3�X� ��`~�_��wވ����_�bLb52��X��&�� ��ܼ�^��,��Q��_{�.!^~H2!v ����QR����2��F��(�mܻ�aO��(�a ���ͅ���i�ȰUmI!k���eV����)���0���4{&,Im���3N�zU�rt�4
1
+ �#�~c����e[q�3�yc˂�4-�� [y�$�'�L�5
2
+ ����&���f�����W$=!r?�����;c�� �k_z�T�Î R�G(_ɏ�v��}���DLE#�&=�4g�Q�a b�$"�I�����
3
+ ��Gw�s^i��W ��V�7^ø�!h����w)>�!_�o�O�\3+"B�{u��1��
4
+ o|hZ²��T��f���,�f�U������i��%'3���r�y�nd��Q��!�;�0�Ī.�w���
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 2014 [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
data/README.adoc ADDED
@@ -0,0 +1,201 @@
1
+ :toc: macro
2
+ :toclevels: 5
3
+ :figure-caption!:
4
+
5
+ = Sublime Text Kit
6
+
7
+ [link=http://badge.fury.io/rb/sublime_text_kit]
8
+ image::https://badge.fury.io/rb/sublime_text_kit.svg[Gem Version]
9
+ [link=https://circleci.com/gh/bkuhlmann/sublime_text_kit]
10
+ image::https://circleci.com/gh/bkuhlmann/sublime_text_kit.svg?style=svg[Circle CI Status]
11
+
12
+ A command line interface for managing Sublime Text metadata.
13
+
14
+ toc::[]
15
+
16
+ == Features
17
+
18
+ * Provides project metadata (i.e. `.sublime-project` and `.sublime-workspace` files) management for
19
+ project switching via the `CONTROL+COMMAND+P` shortcut.
20
+ * Rebuilds project history (Project -> Recent Projects) from existing project files (assumes project
21
+ metadata is in a directory) so one can easily toggle between up-to-date project information via
22
+ the `CONTROL+COMMAND+P` shortcut.
23
+
24
+ == Screencasts
25
+
26
+ [link=https://www.alchemists.io/screencasts/sublime_text_kit.html]
27
+ image::https://www.alchemists.io/images/screencasts/sublime_text_kit/cover-original.png[Screencast,role=focal_point]
28
+
29
+ == Requirements
30
+
31
+ . https://www.ruby-lang.org[Ruby 2.7.x].
32
+ . https://www.sublimetext.com[Sublime Text 3].
33
+
34
+ == Setup
35
+
36
+ === Production
37
+
38
+ To install, run:
39
+
40
+ [source,bash]
41
+ ----
42
+ gem install sublime_text_kit
43
+ ----
44
+
45
+ === Development
46
+
47
+ To contribute, run:
48
+
49
+ [source,bash]
50
+ ----
51
+ git clone https://github.com/bkuhlmann/sublime_text_kit.git
52
+ cd sublime_text_kit
53
+ bin/setup
54
+ ----
55
+
56
+ You can also use the IRB console for direct access to all objects:
57
+
58
+ [source,bash]
59
+ ----
60
+ bin/console
61
+ ----
62
+
63
+ == Usage
64
+
65
+ === Command Line Interface (CLI)
66
+
67
+ From the command line, type: `sublime_text_kit`
68
+
69
+ ....
70
+ sublime_text_kit -c, [--config] # Manage gem configuration.
71
+ sublime_text_kit -h, [--help=COMMAND] # Show this message or get help for a command.
72
+ sublime_text_kit -m, [--metadata] # Manage project/workspace metadata.
73
+ sublime_text_kit -p, [--snippets] # Print user defined snippets.
74
+ sublime_text_kit -s, [--session] # Manage session metadata.
75
+ sublime_text_kit -u, [--update] # Update Sublime Text with current settings.
76
+ sublime_text_kit -v, [--version] # Show gem version.
77
+ ....
78
+
79
+ For configuration options, type: `sublime_text_kit --help --config`
80
+
81
+ ....
82
+ -e, [--edit], [--no-edit] # Edit gem configuration.
83
+ -i, [--info], [--no-info] # Print gem configuration.
84
+ ....
85
+
86
+ For metadata options, type: `sublime_text_kit --help --metadata`
87
+
88
+ ....
89
+ -c, [--create], [--no-create] # Create metadata.
90
+ -D, [--destroy], [--no-destroy] # Destroy metadata.
91
+ -R, [--rebuild], [--no-rebuild] # Rebuild metadata.
92
+ ....
93
+
94
+ For session options, type: `sublime_text_kit --help --session`
95
+
96
+ ....
97
+ -R, [--rebuild], [--no-rebuild] # Rebuild session metadata.
98
+ ....
99
+
100
+ For snippet options, type: `sublime_text_kit --help --snippets`
101
+
102
+ ....
103
+ -m, [--markdown], [--no-markdown] # Print snippets in Markdown format.
104
+ ....
105
+
106
+ === Customization
107
+
108
+ This gem can be configured via a global configuration:
109
+ `~/.config/sublime_text_kit/configuration.yml`. It can also be configured via
110
+ link:https://www.alchemists.io/projects/xdg[XDG] environment variables.
111
+
112
+ An example configuration could be:
113
+
114
+ [source,yaml]
115
+ ----
116
+ :project_roots:
117
+ - "~/Dropbox/Development/Misc"
118
+ - "~/Dropbox/Development/OSS"
119
+ - "~/Dropbox/Development/Work"
120
+ :metadata_dir: "~/Dropbox/Cache/Sublime"
121
+ ----
122
+
123
+ Feel free to take this configuration, modify, and save as your own custom `+configuration.yml+`.
124
+
125
+ The project roots define the root level directories where project folders are located. When project
126
+ metadata (i.e. `.sublime-project`, `.sublime-workspace`) is generated, the name of the metadata file
127
+ will be the same name as that of the project folder. All project metadata, regardless of root
128
+ location, is written to the same metadata directory. If using the example settings shown above and
129
+ assuming the following directory structure exists…
130
+
131
+ ....
132
+ ~/Dropbox/Development/Misc/example
133
+ ~/Dropbox/Development/OSS/sublime_text_kit
134
+ ....
135
+
136
+ …the project metadata will be created in the workspace directory as follows:
137
+
138
+ ....
139
+ ~/Dropbox/Cache/Sublime/example.sublime-project
140
+ ~/Dropbox/Cache/Sublime/example.sublime-workspace
141
+ ~/Dropbox/Cache/Sublime/sublime_text_kit.sublime-project
142
+ ~/Dropbox/Cache/Sublime/sublime_text_kit.sublime-workspace
143
+ ....
144
+
145
+ === Workflow
146
+
147
+ The following demonstrates a default Sublime Text setup:
148
+
149
+ . Run: `sublime_text_kit --config --edit` (define Sublime Text Kit settings for project roots and
150
+ metadata directory).
151
+ . Shutdown Sublime Text (i.e. `CONTROL+Q`).
152
+ . Run: `sublime_text_kit --metadata --create` (creates project metadata and rebuilds the session
153
+ metadata so Sublime Text has a complete project history from which to jump through via the
154
+ `CONTROL+COMMMAND+P` shortcut).
155
+ . Launch Sublime Text and use the `CONTROL+COMMAND+P` keyboard shortcut to toggle between
156
+ projects. Notice that you can (fuzzy type) project names to jump between them.
157
+ . Breeze through your project workload with ease. 😉
158
+
159
+ === Troubleshooting
160
+
161
+ * When rebuilding workspaces, ensure Sublime Text is shutdown or changes won’t be applied.
162
+ * When rebuilding workspaces, ensure workspace_dir (as defined via settings.yml) points to a
163
+ directory containing `.sublime-project` and `.sublime-workspace` files.
164
+
165
+ == Tests
166
+
167
+ To test, run:
168
+
169
+ [source,bash]
170
+ ----
171
+ bundle exec rake
172
+ ----
173
+
174
+ == Versioning
175
+
176
+ Read link:https://semver.org[Semantic Versioning] for details. Briefly, it means:
177
+
178
+ * Major (X.y.z) - Incremented for any backwards incompatible public API changes.
179
+ * Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
180
+ * Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
181
+
182
+ == Code of Conduct
183
+
184
+ Please note that this project is released with a link:CODE_OF_CONDUCT.adoc[CODE OF CONDUCT]. By
185
+ participating in this project you agree to abide by its terms.
186
+
187
+ == Contributions
188
+
189
+ Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details.
190
+
191
+ == License
192
+
193
+ Read link:LICENSE.adoc[LICENSE] for details.
194
+
195
+ == History
196
+
197
+ Read link:CHANGES.adoc[CHANGES] for details.
198
+
199
+ == Credits
200
+
201
+ Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann.html[Brooke Kuhlmann].
data/bin/sublime_text_kit CHANGED
@@ -5,5 +5,5 @@ require "sublime_text_kit"
5
5
  require "sublime_text_kit/cli"
6
6
  require "sublime_text_kit/identity"
7
7
 
8
- Process.setproctitle SublimeTextKit::Identity.version_label
8
+ Process.setproctitle SublimeTextKit::Identity::VERSION_LABEL
9
9
  SublimeTextKit::CLI.start
@@ -9,10 +9,10 @@ module SublimeTextKit
9
9
  class CLI < Thor
10
10
  include Thor::Actions
11
11
 
12
- package_name Identity.version_label
12
+ package_name Identity::VERSION_LABEL
13
13
 
14
14
  def self.configuration
15
- Runcom::Config.new "#{Identity.name}/configuration.yml"
15
+ Runcom::Config.new "#{Identity::NAME}/configuration.yml"
16
16
  end
17
17
 
18
18
  # Initialize.
@@ -97,7 +97,7 @@ module SublimeTextKit
97
97
  desc "-v, [--version]", "Show gem version."
98
98
  map %w[-v --version] => :version
99
99
  def version
100
- say Identity.version_label
100
+ say Identity::VERSION_LABEL
101
101
  end
102
102
 
103
103
  desc "-h, [--help=COMMAND]", "Show this message or get help for a command."
@@ -3,20 +3,9 @@
3
3
  module SublimeTextKit
4
4
  # Gem identity information.
5
5
  module Identity
6
- def self.name
7
- "sublime_text_kit"
8
- end
9
-
10
- def self.label
11
- "Sublime Text Kit"
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 = "sublime_text_kit"
7
+ LABEL = "Sublime Text Kit"
8
+ VERSION = "9.1.0"
9
+ VERSION_LABEL = "#{LABEL} #{VERSION}"
21
10
  end
22
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sublime_text_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0
4
+ version: 9.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,9 +10,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-04-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: runcom
@@ -162,14 +162,14 @@ dependencies:
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: '5.4'
165
+ version: '6.0'
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '5.4'
172
+ version: '6.0'
173
173
  - !ruby/object:Gem::Dependency
174
174
  name: rspec
175
175
  requirement: !ruby/object:Gem::Requirement
@@ -190,14 +190,14 @@ dependencies:
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '0.78'
193
+ version: '0.79'
194
194
  type: :development
195
195
  prerelease: false
196
196
  version_requirements: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '0.78'
200
+ version: '0.79'
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: rubocop-performance
203
203
  requirement: !ruby/object:Gem::Requirement
@@ -246,14 +246,14 @@ dependencies:
246
246
  requirements:
247
247
  - - "~>"
248
248
  - !ruby/object:Gem::Version
249
- version: '0.17'
249
+ version: '0.18'
250
250
  type: :development
251
251
  prerelease: false
252
252
  version_requirements: !ruby/object:Gem::Requirement
253
253
  requirements:
254
254
  - - "~>"
255
255
  - !ruby/object:Gem::Version
256
- version: '0.17'
256
+ version: '0.18'
257
257
  description:
258
258
  email:
259
259
  - brooke@alchemists.io
@@ -261,11 +261,11 @@ executables:
261
261
  - sublime_text_kit
262
262
  extensions: []
263
263
  extra_rdoc_files:
264
- - README.md
265
- - LICENSE.md
264
+ - README.adoc
265
+ - LICENSE.adoc
266
266
  files:
267
- - LICENSE.md
268
- - README.md
267
+ - LICENSE.adoc
268
+ - README.adoc
269
269
  - bin/sublime_text_kit
270
270
  - lib/sublime_text_kit.rb
271
271
  - lib/sublime_text_kit/cli.rb
@@ -276,13 +276,14 @@ files:
276
276
  - lib/sublime_text_kit/session.rb
277
277
  - lib/sublime_text_kit/snippets/printers/markdown.rb
278
278
  - lib/sublime_text_kit/snippets/snippet.rb
279
- homepage: https://github.com/bkuhlmann/sublime_text_kit
279
+ homepage: https://www.alchemists.io/projects/sublime_text_kit
280
280
  licenses:
281
281
  - Apache-2.0
282
282
  metadata:
283
- source_code_uri: https://github.com/bkuhlmann/sublime_text_kit
284
- changelog_uri: https://github.com/bkuhlmann/sublime_text_kit/blob/master/CHANGES.md
285
283
  bug_tracker_uri: https://github.com/bkuhlmann/sublime_text_kit/issues
284
+ changelog_uri: https://www.alchemists.io/projects/sublime_text_kit/changes.html
285
+ documentation_uri: https://www.alchemists.io/projects/sublime_text_kit
286
+ source_code_uri: https://github.com/bkuhlmann/sublime_text_kit
286
287
  post_install_message:
287
288
  rdoc_options: []
288
289
  require_paths:
metadata.gz.sig CHANGED
Binary file
data/README.md DELETED
@@ -1,184 +0,0 @@
1
- <p align="center">
2
- <img src="sublime_text_kit.png" alt="Sublime Text Kit Icon"/>
3
- </p>
4
-
5
- # Sublime Text Kit
6
-
7
- [![Gem Version](https://badge.fury.io/rb/sublime_text_kit.svg)](http://badge.fury.io/rb/sublime_text_kit)
8
- [![Code Climate Maintainability](https://api.codeclimate.com/v1/badges/ad83a2a96bf791ff47b7/maintainability)](https://codeclimate.com/github/bkuhlmann/sublime_text_kit/maintainability)
9
- [![Code Climate Test Coverage](https://api.codeclimate.com/v1/badges/ad83a2a96bf791ff47b7/test_coverage)](https://codeclimate.com/github/bkuhlmann/sublime_text_kit/test_coverage)
10
- [![Circle CI Status](https://circleci.com/gh/bkuhlmann/sublime_text_kit.svg?style=svg)](https://circleci.com/gh/bkuhlmann/sublime_text_kit)
11
-
12
- A command line interface for managing Sublime Text metadata.
13
-
14
- <!-- Tocer[start]: Auto-generated, don't remove. -->
15
-
16
- ## Table of Contents
17
-
18
- - [Features](#features)
19
- - [Screencasts](#screencasts)
20
- - [Requirements](#requirements)
21
- - [Setup](#setup)
22
- - [Usage](#usage)
23
- - [Command Line Interface (CLI)](#command-line-interface-cli)
24
- - [Customization](#customization)
25
- - [Workflow](#workflow)
26
- - [Troubleshooting](#troubleshooting)
27
- - [Tests](#tests)
28
- - [Versioning](#versioning)
29
- - [Code of Conduct](#code-of-conduct)
30
- - [Contributions](#contributions)
31
- - [License](#license)
32
- - [History](#history)
33
- - [Credits](#credits)
34
-
35
- <!-- Tocer[finish]: Auto-generated, don't remove. -->
36
-
37
- ## Features
38
-
39
- - Provides project metadata (i.e. *.sublime-project and *.sublime-workspace files) management for
40
- project switching via the `CONTROL+COMMAND+P` shortcut.
41
- - Rebuilds project history (Project -> Recent Projects) from existing project files (assumes project
42
- metadata is in a directory) so one can easily toggle between up-to-date project information via
43
- the `CONTROL+COMMAND+P` shortcut.
44
-
45
- ## Screencasts
46
-
47
- [![asciicast](https://asciinema.org/a/278653.svg)](https://asciinema.org/a/278653)
48
-
49
- ## Requirements
50
-
51
- 1. [Ruby 2.6.x](https://www.ruby-lang.org).
52
- 1. [Sublime Text 3](https://www.sublimetext.com).
53
-
54
- ## Setup
55
-
56
- Type the following to install:
57
-
58
- gem install sublime_text_kit
59
-
60
- ## Usage
61
-
62
- ### Command Line Interface (CLI)
63
-
64
- From the command line, type: `sublime_text_kit`
65
-
66
- sublime_text_kit -c, [--config] # Manage gem configuration.
67
- sublime_text_kit -h, [--help=COMMAND] # Show this message or get help for a command.
68
- sublime_text_kit -m, [--metadata] # Manage project/workspace metadata.
69
- sublime_text_kit -p, [--snippets] # Print user defined snippets.
70
- sublime_text_kit -s, [--session] # Manage session metadata.
71
- sublime_text_kit -u, [--update] # Update Sublime Text with current settings.
72
- sublime_text_kit -v, [--version] # Show gem version.
73
-
74
- For configuration options, type: `sublime_text_kit --help --config`
75
-
76
- -e, [--edit], [--no-edit] # Edit gem configuration.
77
- -i, [--info], [--no-info] # Print gem configuration.
78
-
79
- For metadata options, type: `sublime_text_kit --help --metadata`
80
-
81
- -c, [--create], [--no-create] # Create metadata.
82
- -D, [--destroy], [--no-destroy] # Destroy metadata.
83
- -R, [--rebuild], [--no-rebuild] # Rebuild metadata.
84
-
85
- For session options, type: `sublime_text_kit --help --session`
86
-
87
- -R, [--rebuild], [--no-rebuild] # Rebuild session metadata.
88
-
89
- For snippet options, type: `sublime_text_kit --help --snippets`
90
-
91
- -m, [--markdown], [--no-markdown] # Print snippets in Markdown format.
92
-
93
- ### Customization
94
-
95
- This gem can be configured via a global configuration:
96
-
97
- ~/.config/sublime_text_kit/configuration.yml
98
-
99
- It can also be configured via [XDG](https://github.com/bkuhlmann/xdg) environment variables.
100
-
101
- An example configuration could be:
102
-
103
- :project_roots:
104
- - "~/Dropbox/Development/Misc"
105
- - "~/Dropbox/Development/OSS"
106
- - "~/Dropbox/Development/Work"
107
- :metadata_dir: "~/Dropbox/Cache/Sublime"
108
-
109
- Feel free to take this configuration, modify, and save as your own custom `configuration.yml`.
110
-
111
- The project roots define the root level directories where project folders are located. When project
112
- metadata (i.e. `*.sublime-project`, `*.sublime-workspace`) is generated, the name of the metadata
113
- file will be the same name as that of the project folder. All project metadata, regardless of root
114
- location, is written to the same metadata directory. If using the example settings shown above and
115
- assuming the following directory structure exists...
116
-
117
- ~/Dropbox/Development/Misc/example
118
- ~/Dropbox/Development/OSS/sublime_text_kit
119
-
120
- ...the project metadata will be created in the workspace directory as follows:
121
-
122
- ~/Dropbox/Cache/Sublime/example.sublime-project
123
- ~/Dropbox/Cache/Sublime/example.sublime-workspace
124
- ~/Dropbox/Cache/Sublime/sublime_text_kit.sublime-project
125
- ~/Dropbox/Cache/Sublime/sublime_text_kit.sublime-workspace
126
-
127
- ### Workflow
128
-
129
- The following demonstrates a default Sublime Text setup:
130
-
131
- 1. Run: `sublime_text_kit --config --edit` (define Sublime Text Kit settings for project roots and
132
- metadata directory).
133
- 1. Shutdown Sublime Text (i.e. `CONTROL+Q`).
134
- 1. Run: `sublime_text_kit --metadata --create` (creates project metadata and rebuilds the session
135
- metadata so Sublime Text has a complete project history from which to jump through via the
136
- `CONTROL+COMMMAND+P` shortcut).
137
- 1. Launch Sublime Text and use the `CONTROL+COMMAND+P` keyboard shortcut to toggle between projects.
138
- Notice that you can (fuzzy type) project names to jump between them.
139
- 1. Breeze through your project workload with ease. :)
140
-
141
- ### Troubleshooting
142
-
143
- - When rebuilding workspaces, ensure Sublime Text is shutdown or changes won't be applied.
144
- - When rebuilding workspaces, ensure workspace_dir (as defined via settings.yml) points to a
145
- directory containing `*.sublime-project` and `*.sublime-workspace` files.
146
-
147
- ## Tests
148
-
149
- To test, run:
150
-
151
- bundle exec rake
152
-
153
- ## Versioning
154
-
155
- Read [Semantic Versioning](https://semver.org) for details. Briefly, it means:
156
-
157
- - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
158
- - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
159
- - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
160
-
161
- ## Code of Conduct
162
-
163
- Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By
164
- participating in this project you agree to abide by its terms.
165
-
166
- ## Contributions
167
-
168
- Read [CONTRIBUTING](CONTRIBUTING.md) for details.
169
-
170
- ## License
171
-
172
- Copyright 2014 [Alchemists](https://www.alchemists.io).
173
- Read [LICENSE](LICENSE.md) for details.
174
-
175
- ## History
176
-
177
- Read [CHANGES](CHANGES.md) for details.
178
- Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
179
-
180
- ## Credits
181
-
182
- Developed by [Brooke Kuhlmann](https://www.alchemists.io) at
183
- [Alchemists](https://www.alchemists.io).
184
-