sublime_text_kit 3.2.0 → 4.0.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
  SHA1:
3
- metadata.gz: 2d9e9aa5ee813bd01378aa676a7e5bc791bfdb7c
4
- data.tar.gz: 815656149157d6e29e1460ce7aa940ff3c1d91ec
3
+ metadata.gz: afc9f6973c61468bcaffefada82988a43846b5cc
4
+ data.tar.gz: 1b965eadbf690e34fb583ca9ff5694e9368f4980
5
5
  SHA512:
6
- metadata.gz: 52d69e28ef667843eb1d9a5e4f808435e9903c1e3f2065bed201bd4d8cec86d5d78413c392946eb29a9f1b8e679354a108cc28585506377ee418f9261701d1c8
7
- data.tar.gz: 8897f213815a660c1347e658203ab1bd9cad204c27c84d9a654e971d0d55b3da67938ac18dd79afcc76a2fe163e6087cc37e21f72bc6866c9c63a287e698d3a7
6
+ metadata.gz: 6892a8bc83b5873937b297596d91bfc285b6237cfc0edfcd1972aad5b986482a38385bafd05564328e832000517e5eb33cfdc7c40721f403c891d88c4f601fb5
7
+ data.tar.gz: 8f2ebd6dead43997d99d90f46341eb78b28773757dfeebb43c115d16e3dd9ebcd901fe232d7209dee32d043232e906022ec2d81d388000286d1c4120f1e2be3d
@@ -0,0 +1 @@
1
+  l�Qd���^x\%9[��p���g�s����W�tVE���������]��>Jר��M
@@ -0,0 +1 @@
1
+ ;xMM�:�
data/README.md CHANGED
@@ -14,9 +14,9 @@ A command line interface for managing Sublime Text metadata.
14
14
  # Table of Contents
15
15
 
16
16
  - [Features](#features)
17
+ - [Screencasts](#screencasts)
17
18
  - [Requirements](#requirements)
18
19
  - [Setup](#setup)
19
- - [Upgrading](#upgrading)
20
20
  - [Usage](#usage)
21
21
  - [Workflow](#workflow)
22
22
  - [Troubleshooting](#troubleshooting)
@@ -32,28 +32,31 @@ A command line interface for managing Sublime Text metadata.
32
32
 
33
33
  # Features
34
34
 
35
- - Provides project metadata (i.e. *.sublime-project and *.sublime-workspace files) management for project
36
- switching via the `CONTROL+COMMAND+P` shortcut.
35
+ - Provides project metadata (i.e. *.sublime-project and *.sublime-workspace files) management for
36
+ project switching via the `CONTROL+COMMAND+P` shortcut.
37
37
  - Rebuilds project history (Project -> Recent Projects) from existing project files (assumes project
38
- metadata is in a directory) so one can easily toggle between up-to-date project information via the
39
- `CONTROL+COMMAND+P` shortcut.
38
+ metadata is in a directory) so one can easily toggle between up-to-date project information via
39
+ the `CONTROL+COMMAND+P` shortcut.
40
40
 
41
- [![asciicast](https://asciinema.org/a/19858.png)](https://asciinema.org/a/19858)
41
+ # Screencasts
42
+
43
+ [![asciicast](https://asciinema.org/a/92707.png)](https://asciinema.org/a/92707)
42
44
 
43
45
  # Requirements
44
46
 
45
- 0. [MRI 2.x.x](https://www.ruby-lang.org).
47
+ 0. [Ruby 2.x.x](https://www.ruby-lang.org).
46
48
  0. [Sublime Text 2](https://www.sublimetext.com).
47
49
 
48
50
  # Setup
49
51
 
50
52
  For a secure install, type the following from the command line (recommended):
51
53
 
52
- gem cert --add <(curl -Ls https://www.alchemists.io/gem-public.pem)
54
+ gem cert --add <(curl --location --silent https://www.alchemists.io/gem-public.pem)
53
55
  gem install sublime_text_kit --trust-policy MediumSecurity
54
56
 
55
- NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while
56
- allowing the installation of unsigned dependencies since they are beyond the scope of this gem.
57
+ NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification
58
+ while allowing the installation of unsigned dependencies since they are beyond the scope of this
59
+ gem.
57
60
 
58
61
  For an insecure install, type the following (not recommended):
59
62
 
@@ -61,7 +64,7 @@ For an insecure install, type the following (not recommended):
61
64
 
62
65
  You can define settings by creating the following file:
63
66
 
64
- ~/.sublime/settings.yml
67
+ ~/.sublime_text_kitrc
65
68
 
66
69
  Example:
67
70
 
@@ -72,10 +75,11 @@ Example:
72
75
  - "~/Dropbox/Development/Work"
73
76
  :metadata_dir: "~/Dropbox/Cache/Sublime"
74
77
 
75
- The project roots define the root level directories where project folders are located. When project metadata (i.e.
76
- *.sublime-project, *.sublime-workspace) is generated, the name of the metadata file will be the same name as that
77
- of the project folder. All project metadata, regardless of root location, is written to the same metadata directory.
78
- If using the example settings shown above and assuming the following directory structure exists...
78
+ The project roots define the root level directories where project folders are located. When project
79
+ metadata (i.e. *.sublime-project, *.sublime-workspace) is generated, the name of the metadata file
80
+ will be the same name as that of the project folder. All project metadata, regardless of root
81
+ location, is written to the same metadata directory. If using the example settings shown above and
82
+ assuming the following directory structure exists...
79
83
 
80
84
  ~/Dropbox/Development/Misc/example
81
85
  ~/Dropbox/Development/OSS/sublime_text_kit
@@ -87,56 +91,51 @@ If using the example settings shown above and assuming the following directory s
87
91
  ~/Dropbox/Cache/Sublime/sublime_text_kit.sublime-project
88
92
  ~/Dropbox/Cache/Sublime/sublime_text_kit.sublime-workspace
89
93
 
90
- ## Upgrading
91
-
92
- For those upgrading from Sublime Text Kit v2.0.0 or earlier, be mindful of the following changes:
93
-
94
- 0. Ensure you are using Sublime Text 3 (it is currently in Beta but your v2.0.0 license will work).
95
- 0. Update the `~/.sublime/settings.yml` file to switch from a `workspace_dir` to a `metadata_dir` instead.
96
- 0. Run the following commands to rebuild your project/workspace and session metadata:
94
+ # Usage
97
95
 
98
- stk -m -R # Destroys and rebuilds your existing project/workspace metadata to Sublime Text 3 format.
99
- skt -s -r # Rebuilds your session history with project metadata as generated above.
96
+ From the command line, type: `sublime_text_kit`
100
97
 
101
- # Usage
98
+ sublime_text_kit -c, [--config] # Manage gem configuration.
99
+ sublime_text_kit -h, [--help=COMMAND] # Show this message or get help for a command.
100
+ sublime_text_kit -m, [--metadata] # Manage project/workspace metadata.
101
+ sublime_text_kit -s, [--session] # Manage session metadata.
102
+ sublime_text_kit -u, [--update] # Update Sublime Text with current settings.
103
+ sublime_text_kit -v, [--version] # Show gem version.
102
104
 
103
- From the command line, type: `stk`
105
+ For configuration options, type: `sublime_text_kit --help --config`
104
106
 
105
- stk -c, [--configure] # Configure Sublime Text with current settings.
106
- stk -e, [--edit] # Edit settings in default editor (assumes $EDITOR environment variable).
107
- stk -h, [--help=HELP] # Show this message or get help for a command.
108
- stk -m, [--metadata] # Manage project/workspace metadata.
109
- stk -s, [--session] # Manage session metadata.
110
- stk -v, [--version] # Show version.
107
+ -e, [--edit], [--no-edit] # Edit gem configuration.
108
+ -i, [--info], [--no-info] # Print gem configuration.
111
109
 
112
- For metadata options, type: `stk --metadata`
110
+ For metadata options, type: `sublime_text_kit --help --metadata`
113
111
 
114
112
  -c, [--create], [--no-create] # Create metadata.
115
113
  -D, [--destroy], [--no-destroy] # Destroy metadata.
116
114
  -R, [--rebuild], [--no-rebuild] # Rebuild metadata.
117
115
 
118
- For session options, type: `stk --session`
116
+ For session options, type: `sublime_text_kit --help --session`
119
117
 
120
- -r, [--rebuild-session], [--no-rebuild-session] # Rebuild session metadata.
118
+ -R, [--rebuild], [--no-rebuild] # Rebuild session metadata.
121
119
 
122
120
  ## Workflow
123
121
 
124
122
  The following demonstrates a default Sublime Text setup:
125
123
 
126
- 0. Run: `stk -e` (define Sublime Text Kit settings for project roots and metadata directory).
124
+ 0. Run: `sublime_text_kit --config --edit` (define Sublime Text Kit settings for project roots and
125
+ metadata directory).
127
126
  0. Shutdown Sublime Text (i.e. `CONTROL+Q`).
128
- 0. Run: `stk -c` (creates project metadata and rebuilds the session metadata so Sublime Text has a complete project
129
- history from which to jump through via the `CONTROL+COMMMAND+P` shortcut).
130
- ).
131
- 0. Launch Sublime Text and use the `CONTROL+COMMAND+P` keyboard shortcut to toggle between projects. Notice that
132
- you can (fuzzy type) project names to jump between them.
127
+ 0. Run: `sublime_text_kit --metadata --create` (creates project metadata and rebuilds the session
128
+ metadata so Sublime Text has a complete project history from which to jump through via the
129
+ `CONTROL+COMMMAND+P` shortcut).
130
+ 0. Launch Sublime Text and use the `CONTROL+COMMAND+P` keyboard shortcut to toggle between projects.
131
+ Notice that you can (fuzzy type) project names to jump between them.
133
132
  0. Breeze through your project workload with ease. :)
134
133
 
135
134
  ## Troubleshooting
136
135
 
137
136
  - When rebuilding workspaces, ensure Sublime Text is shutdown or changes won't be applied.
138
- - When rebuilding workspaces, ensure workspace_dir (as defined via settings.yml) points to a directory containing
139
- *.sublime-project and *.sublime-workspace files.
137
+ - When rebuilding workspaces, ensure workspace_dir (as defined via settings.yml) points to a
138
+ directory containing `*.sublime-project` and `*.sublime-workspace` files.
140
139
 
141
140
  # Tests
142
141
 
@@ -148,14 +147,14 @@ To test, run:
148
147
 
149
148
  Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
150
149
 
151
- - Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
152
- - Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
150
+ - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
151
+ - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
153
152
  - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
154
153
 
155
154
  # Code of Conduct
156
155
 
157
- Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By participating in this project
158
- you agree to abide by its terms.
156
+ Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By
157
+ participating in this project you agree to abide by its terms.
159
158
 
160
159
  # Contributions
161
160
 
@@ -164,14 +163,15 @@ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
164
163
  # License
165
164
 
166
165
  Copyright (c) 2014 [Alchemists](https://www.alchemists.io).
167
- Read the [LICENSE](LICENSE.md) for details.
166
+ Read [LICENSE](LICENSE.md) for details.
168
167
 
169
168
  # History
170
169
 
171
- Read the [CHANGELOG](CHANGELOG.md) for details.
170
+ Read [CHANGES](CHANGES.md) for details.
172
171
  Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
173
172
 
174
173
  # Credits
175
174
 
176
- Developed by [Brooke Kuhlmann](https://www.alchemists.io) at [Alchemists](https://www.alchemists.io).
175
+ Developed by [Brooke Kuhlmann](https://www.alchemists.io) at
176
+ [Alchemists](https://www.alchemists.io).
177
177
 
@@ -1,4 +1,5 @@
1
- #!/usr/bin/ruby
1
+ #! /usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require "sublime_text_kit"
4
5
  require "sublime_text_kit/cli"
@@ -1,5 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "sublime_text_kit/identity"
2
- require "sublime_text_kit/session"
3
4
  require "sublime_text_kit/metadata/base"
4
5
  require "sublime_text_kit/metadata/project_metadata"
5
6
  require "sublime_text_kit/metadata/workspace_metadata"
7
+ require "sublime_text_kit/session"
8
+ require "sublime_text_kit/cli"
@@ -1,7 +1,9 @@
1
- require "yaml"
1
+ # frozen_string_literal: true
2
+
2
3
  require "thor"
3
4
  require "thor/actions"
4
5
  require "thor_plus/actions"
6
+ require "runcom"
5
7
 
6
8
  module SublimeTextKit
7
9
  # The Command Line Interface (CLI) for the gem.
@@ -9,81 +11,90 @@ module SublimeTextKit
9
11
  include Thor::Actions
10
12
  include ThorPlus::Actions
11
13
 
12
- package_name SublimeTextKit::Identity.version_label
14
+ package_name Identity.version_label
15
+
16
+ def self.configuration
17
+ Runcom::Configuration.new file_name: Identity.file_name
18
+ end
13
19
 
14
20
  # Initialize.
15
21
  def initialize args = [], options = {}, config = {}
16
22
  super args, options, config
17
- @settings_file = File.join ENV.fetch("HOME"), ".sublime", "settings.yml"
18
- @settings = load_yaml @settings_file
19
23
  end
20
24
 
21
- desc "-c, [--configure]", "Configure Sublime Text with current settings."
22
- map %w(-c --configure) => :configure
23
- def configure
25
+ desc "-u, [--update]", "Update Sublime Text with current settings."
26
+ map %w[-u --update] => :update
27
+ def update
24
28
  create_metadata
25
29
  say
26
30
  rebuild_session
27
31
  end
28
32
 
29
33
  desc "-s, [--session]", "Manage session metadata."
30
- map %w(-s --session) => :session
31
- method_option :rebuild_session, aliases: "-r", desc: "Rebuild session metadata.", type: :boolean, default: false
34
+ map %w[-s --session] => :session
35
+ method_option :rebuild, aliases: "-R", desc: "Rebuild session metadata.", type: :boolean, default: false
32
36
  def session
33
37
  say
34
-
35
- case
36
- when options[:rebuild_session] then rebuild_session
37
- else help("--session")
38
- end
39
-
38
+ options.rebuild? ? rebuild_session : help("--session")
40
39
  say
41
40
  end
42
41
 
43
42
  desc "-m, [--metadata]", "Manage project/workspace metadata."
44
- map %w(-m --metadata) => :metadata
43
+ map %w[-m --metadata] => :metadata
45
44
  method_option :create, aliases: "-c", desc: "Create metadata.", type: :boolean, default: false
46
45
  method_option :destroy, aliases: "-D", desc: "Destroy metadata.", type: :boolean, default: false
47
46
  method_option :rebuild, aliases: "-R", desc: "Rebuild metadata.", type: :boolean, default: false
48
47
  def metadata
49
48
  say
50
49
 
51
- case
52
- when options[:create] then create_metadata
53
- when options[:destroy] then destroy_metadata
54
- when options[:rebuild] then rebuild_metadata
55
- else help("--metadata")
50
+ if options[:create] then create_metadata
51
+ elsif options[:destroy] then destroy_metadata
52
+ elsif options[:rebuild] then rebuild_metadata
53
+ else help("--metadata")
56
54
  end
57
55
 
58
56
  say
59
57
  end
60
58
 
61
- desc "-e, [--edit]", "Edit #{SublimeTextKit::Identity.label} settings in default editor."
62
- map %w(-e --edit) => :edit
63
- def edit
64
- `#{editor} #{@settings_file}`
59
+ desc "-c, [--config]", %(Manage gem configuration ("#{configuration.computed_path}").)
60
+ map %w[-c --config] => :config
61
+ method_option :edit,
62
+ aliases: "-e",
63
+ desc: "Edit gem configuration.",
64
+ type: :boolean, default: false
65
+ method_option :info,
66
+ aliases: "-i",
67
+ desc: "Print gem configuration.",
68
+ type: :boolean, default: false
69
+ def config
70
+ path = self.class.configuration.computed_path
71
+
72
+ if options.edit? then `#{editor} #{path}`
73
+ elsif options.info? then say(path)
74
+ else help(:config)
75
+ end
65
76
  end
66
77
 
67
- desc "-v, [--version]", "Show #{SublimeTextKit::Identity.label} version."
68
- map %w(-v --version) => :version
78
+ desc "-v, [--version]", "Show gem version."
79
+ map %w[-v --version] => :version
69
80
  def version
70
- say SublimeTextKit::Identity.version_label
81
+ say Identity.version_label
71
82
  end
72
83
 
73
- desc "-h, [--help=HELP]", "Show this message or get help for a command."
74
- map %w(-h --help) => :help
84
+ desc "-h, [--help=COMMAND]", "Show this message or get help for a command."
85
+ map %w[-h --help] => :help
75
86
  def help task = nil
76
- say && super
87
+ say and super
77
88
  end
78
89
 
79
90
  private
80
91
 
81
92
  def project_roots
82
- @project_roots ||= @settings.fetch :project_roots, []
93
+ @project_roots ||= self.class.configuration.to_h.fetch :project_roots, []
83
94
  end
84
95
 
85
96
  def metadata_dir
86
- @metadata_dir ||= File.expand_path @settings.fetch(:metadata_dir)
97
+ @metadata_dir ||= File.expand_path self.class.configuration.to_h.fetch(:metadata_dir)
87
98
  end
88
99
 
89
100
  def create_metadata
@@ -91,8 +102,8 @@ module SublimeTextKit
91
102
  info "Metadata Path: #{metadata_dir}"
92
103
  project_roots.each do |project_root|
93
104
  info "Processing project root: #{File.expand_path project_root}..."
94
- SublimeTextKit::Metadata::Project.create project_root, metadata_dir
95
- SublimeTextKit::Metadata::Workspace.create project_root, metadata_dir
105
+ Metadata::Project.create project_root, metadata_dir
106
+ Metadata::Workspace.create project_root, metadata_dir
96
107
  end
97
108
  info "Metadata created."
98
109
  end
@@ -100,8 +111,8 @@ module SublimeTextKit
100
111
  def destroy_metadata
101
112
  if yes? "Delete metadata in #{metadata_dir}?"
102
113
  info "Deleting metadata..."
103
- SublimeTextKit::Metadata::Project.delete metadata_dir
104
- SublimeTextKit::Metadata::Workspace.delete metadata_dir
114
+ Metadata::Project.delete metadata_dir
115
+ Metadata::Workspace.delete metadata_dir
105
116
  info "Metadata deleted."
106
117
  else
107
118
  info "Metadata deletion aborted."
@@ -111,14 +122,14 @@ module SublimeTextKit
111
122
  def rebuild_metadata
112
123
  if yes? "Rebuild metadata in #{metadata_dir}?"
113
124
  info "Deleting metadata..."
114
- SublimeTextKit::Metadata::Project.delete metadata_dir
115
- SublimeTextKit::Metadata::Workspace.delete metadata_dir
125
+ Metadata::Project.delete metadata_dir
126
+ Metadata::Workspace.delete metadata_dir
116
127
 
117
128
  info "Creating metadata..."
118
129
  project_roots.each do |project_root|
119
130
  info "Processing project root: #{File.expand_path project_root}..."
120
- SublimeTextKit::Metadata::Project.create project_root, metadata_dir
121
- SublimeTextKit::Metadata::Workspace.create project_root, metadata_dir
131
+ Metadata::Project.create project_root, metadata_dir
132
+ Metadata::Workspace.create project_root, metadata_dir
122
133
  end
123
134
 
124
135
  info "Metadata rebuilt."
@@ -130,8 +141,8 @@ module SublimeTextKit
130
141
  def rebuild_session
131
142
  info "Rebuilding session metadata..."
132
143
  info "Metadata (project/workspace) Path: #{metadata_dir}"
133
- info "Session Path: #{SublimeTextKit::Session.session_path}"
134
- session = SublimeTextKit::Session.new metadata_dir
144
+ info "Session Path: #{Session.session_path}"
145
+ session = Session.new metadata_dir
135
146
  session.rebuild_recent_workspaces
136
147
  info "Session metadata rebuilt."
137
148
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SublimeTextKit
2
4
  # Gem identity information.
3
5
  module Identity
@@ -10,7 +12,7 @@ module SublimeTextKit
10
12
  end
11
13
 
12
14
  def self.version
13
- "3.2.0"
15
+ "4.0.0"
14
16
  end
15
17
 
16
18
  def self.version_label
@@ -1,4 +1,6 @@
1
- require "multi_json"
1
+ # frozen_string_literal: true
2
+
3
+ require "json"
2
4
  require "pathname"
3
5
 
4
6
  module SublimeTextKit
@@ -40,7 +42,7 @@ module SublimeTextKit
40
42
 
41
43
  def save
42
44
  return if File.exist? metadata_file
43
- File.open(metadata_file, "w") { |file| file.write MultiJson.dump(to_h, pretty: true) }
45
+ File.open(metadata_file, "w") { |file| file.write JSON.dump(to_h) }
44
46
  end
45
47
 
46
48
  def self.valid_dir? dir, label
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SublimeTextKit
2
4
  module Metadata
3
5
  # Processes project metadata.
@@ -13,7 +15,7 @@ module SublimeTextKit
13
15
  def to_h
14
16
  {
15
17
  folders: [
16
- {path: "#{project_dir}"}
18
+ {path: project_dir}
17
19
  ]
18
20
  }
19
21
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module SublimeTextKit
2
4
  module Metadata
3
5
  # Processes workspace metadata.
@@ -12,7 +14,7 @@ module SublimeTextKit
12
14
 
13
15
  def to_h
14
16
  {
15
- expanded_folders: ["#{project_dir}"],
17
+ expanded_folders: [project_dir],
16
18
  select_project: {
17
19
  selected_items: [
18
20
  [name, File.join(metadata_dir, "#{name}.sublime-project")]
@@ -1,4 +1,6 @@
1
- require "multi_json"
1
+ # frozen_string_literal: true
2
+
3
+ require "json"
2
4
 
3
5
  module SublimeTextKit
4
6
  # Manages Sublime Text session data.
@@ -32,11 +34,11 @@ module SublimeTextKit
32
34
  private
33
35
 
34
36
  def load_session
35
- File.exist?(self.class.session_path) ? MultiJson.load(File.read(self.class.session_path)) : {}
37
+ File.exist?(self.class.session_path) ? JSON.parse(File.read(self.class.session_path)) : {}
36
38
  end
37
39
 
38
40
  def save_session json
39
- File.open(self.class.session_path, "w") { |file| file.write MultiJson.dump(json, pretty: true) }
41
+ File.open(self.class.session_path, "w") { |file| file.write JSON.dump(json) }
40
42
  end
41
43
  end
42
44
  end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ begin
4
+ require "reek/rake/task"
5
+ Reek::Rake::Task.new
6
+ rescue LoadError => error
7
+ puts error.message
8
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  begin
2
4
  require "rspec/core/rake_task"
3
5
  RSpec::Core::RakeTask.new(:spec)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  begin
2
4
  require "rubocop/rake_task"
3
5
  RuboCop::RakeTask.new
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sublime_text_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-12-02 00:00:00.000000000 Z
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: 2016-11-14 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: thor
@@ -30,243 +52,229 @@ dependencies:
30
52
  requirements:
31
53
  - - "~>"
32
54
  - !ruby/object:Gem::Version
33
- version: '2.1'
55
+ version: '4.1'
34
56
  type: :runtime
35
57
  prerelease: false
36
58
  version_requirements: !ruby/object:Gem::Requirement
37
59
  requirements:
38
60
  - - "~>"
39
61
  - !ruby/object:Gem::Version
40
- version: '2.1'
62
+ version: '4.1'
41
63
  - !ruby/object:Gem::Dependency
42
- name: multi_json
64
+ name: runcom
43
65
  requirement: !ruby/object:Gem::Requirement
44
66
  requirements:
45
67
  - - "~>"
46
68
  - !ruby/object:Gem::Version
47
- version: '1.11'
69
+ version: '0.3'
48
70
  type: :runtime
49
71
  prerelease: false
50
72
  version_requirements: !ruby/object:Gem::Requirement
51
73
  requirements:
52
74
  - - "~>"
53
75
  - !ruby/object:Gem::Version
54
- version: '1.11'
76
+ version: '0.3'
55
77
  - !ruby/object:Gem::Dependency
56
78
  name: rake
57
79
  requirement: !ruby/object:Gem::Requirement
58
80
  requirements:
59
81
  - - "~>"
60
82
  - !ruby/object:Gem::Version
61
- version: '10.0'
83
+ version: '11.0'
62
84
  type: :development
63
85
  prerelease: false
64
86
  version_requirements: !ruby/object:Gem::Requirement
65
87
  requirements:
66
88
  - - "~>"
67
89
  - !ruby/object:Gem::Version
68
- version: '10.0'
90
+ version: '11.0'
69
91
  - !ruby/object:Gem::Dependency
70
92
  name: gemsmith
71
93
  requirement: !ruby/object:Gem::Requirement
72
94
  requirements:
73
- - - ">="
95
+ - - "~>"
74
96
  - !ruby/object:Gem::Version
75
- version: '0'
97
+ version: '8.1'
76
98
  type: :development
77
99
  prerelease: false
78
100
  version_requirements: !ruby/object:Gem::Requirement
79
101
  requirements:
80
- - - ">="
102
+ - - "~>"
81
103
  - !ruby/object:Gem::Version
82
- version: '0'
104
+ version: '8.1'
83
105
  - !ruby/object:Gem::Dependency
84
106
  name: pry
85
107
  requirement: !ruby/object:Gem::Requirement
86
108
  requirements:
87
- - - ">="
109
+ - - "~>"
88
110
  - !ruby/object:Gem::Version
89
- version: '0'
111
+ version: '0.10'
90
112
  type: :development
91
113
  prerelease: false
92
114
  version_requirements: !ruby/object:Gem::Requirement
93
115
  requirements:
94
- - - ">="
116
+ - - "~>"
95
117
  - !ruby/object:Gem::Version
96
- version: '0'
118
+ version: '0.10'
97
119
  - !ruby/object:Gem::Dependency
98
120
  name: pry-byebug
99
121
  requirement: !ruby/object:Gem::Requirement
100
122
  requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: pry-remote
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
123
+ - - "~>"
116
124
  - !ruby/object:Gem::Version
117
- version: '0'
125
+ version: '3.4'
118
126
  type: :development
119
127
  prerelease: false
120
128
  version_requirements: !ruby/object:Gem::Requirement
121
129
  requirements:
122
- - - ">="
130
+ - - "~>"
123
131
  - !ruby/object:Gem::Version
124
- version: '0'
132
+ version: '3.4'
125
133
  - !ruby/object:Gem::Dependency
126
134
  name: pry-state
127
135
  requirement: !ruby/object:Gem::Requirement
128
136
  requirements:
129
- - - ">="
137
+ - - "~>"
130
138
  - !ruby/object:Gem::Version
131
- version: '0'
139
+ version: '0.1'
132
140
  type: :development
133
141
  prerelease: false
134
142
  version_requirements: !ruby/object:Gem::Requirement
135
143
  requirements:
136
- - - ">="
144
+ - - "~>"
137
145
  - !ruby/object:Gem::Version
138
- version: '0'
146
+ version: '0.1'
139
147
  - !ruby/object:Gem::Dependency
140
- name: pry-rescue
148
+ name: bond
141
149
  requirement: !ruby/object:Gem::Requirement
142
150
  requirements:
143
- - - ">="
151
+ - - "~>"
144
152
  - !ruby/object:Gem::Version
145
- version: '0'
153
+ version: '0.5'
146
154
  type: :development
147
155
  prerelease: false
148
156
  version_requirements: !ruby/object:Gem::Requirement
149
157
  requirements:
150
- - - ">="
158
+ - - "~>"
151
159
  - !ruby/object:Gem::Version
152
- version: '0'
160
+ version: '0.5'
153
161
  - !ruby/object:Gem::Dependency
154
- name: pry-stack_explorer
162
+ name: wirb
155
163
  requirement: !ruby/object:Gem::Requirement
156
164
  requirements:
157
- - - ">="
165
+ - - "~>"
158
166
  - !ruby/object:Gem::Version
159
- version: '0'
167
+ version: '2.0'
160
168
  type: :development
161
169
  prerelease: false
162
170
  version_requirements: !ruby/object:Gem::Requirement
163
171
  requirements:
164
- - - ">="
172
+ - - "~>"
165
173
  - !ruby/object:Gem::Version
166
- version: '0'
174
+ version: '2.0'
167
175
  - !ruby/object:Gem::Dependency
168
- name: rspec
176
+ name: hirb
169
177
  requirement: !ruby/object:Gem::Requirement
170
178
  requirements:
171
- - - ">="
179
+ - - "~>"
172
180
  - !ruby/object:Gem::Version
173
- version: '0'
181
+ version: '0.7'
174
182
  type: :development
175
183
  prerelease: false
176
184
  version_requirements: !ruby/object:Gem::Requirement
177
185
  requirements:
178
- - - ">="
186
+ - - "~>"
179
187
  - !ruby/object:Gem::Version
180
- version: '0'
188
+ version: '0.7'
181
189
  - !ruby/object:Gem::Dependency
182
- name: rb-fsevent
190
+ name: awesome_print
183
191
  requirement: !ruby/object:Gem::Requirement
184
192
  requirements:
185
- - - ">="
193
+ - - "~>"
186
194
  - !ruby/object:Gem::Version
187
- version: '0'
195
+ version: '1.7'
188
196
  type: :development
189
197
  prerelease: false
190
198
  version_requirements: !ruby/object:Gem::Requirement
191
199
  requirements:
192
- - - ">="
200
+ - - "~>"
193
201
  - !ruby/object:Gem::Version
194
- version: '0'
202
+ version: '1.7'
195
203
  - !ruby/object:Gem::Dependency
196
- name: guard-rspec
204
+ name: rspec
197
205
  requirement: !ruby/object:Gem::Requirement
198
206
  requirements:
199
- - - ">="
207
+ - - "~>"
200
208
  - !ruby/object:Gem::Version
201
- version: '0'
209
+ version: '3.5'
202
210
  type: :development
203
211
  prerelease: false
204
212
  version_requirements: !ruby/object:Gem::Requirement
205
213
  requirements:
206
- - - ">="
214
+ - - "~>"
207
215
  - !ruby/object:Gem::Version
208
- version: '0'
216
+ version: '3.5'
209
217
  - !ruby/object:Gem::Dependency
210
- name: terminal-notifier
218
+ name: guard-rspec
211
219
  requirement: !ruby/object:Gem::Requirement
212
220
  requirements:
213
- - - ">="
221
+ - - "~>"
214
222
  - !ruby/object:Gem::Version
215
- version: '0'
223
+ version: '4.7'
216
224
  type: :development
217
225
  prerelease: false
218
226
  version_requirements: !ruby/object:Gem::Requirement
219
227
  requirements:
220
- - - ">="
228
+ - - "~>"
221
229
  - !ruby/object:Gem::Version
222
- version: '0'
230
+ version: '4.7'
223
231
  - !ruby/object:Gem::Dependency
224
- name: terminal-notifier-guard
232
+ name: reek
225
233
  requirement: !ruby/object:Gem::Requirement
226
234
  requirements:
227
- - - ">="
235
+ - - "~>"
228
236
  - !ruby/object:Gem::Version
229
- version: '0'
237
+ version: '4.5'
230
238
  type: :development
231
239
  prerelease: false
232
240
  version_requirements: !ruby/object:Gem::Requirement
233
241
  requirements:
234
- - - ">="
242
+ - - "~>"
235
243
  - !ruby/object:Gem::Version
236
- version: '0'
244
+ version: '4.5'
237
245
  - !ruby/object:Gem::Dependency
238
246
  name: rubocop
239
247
  requirement: !ruby/object:Gem::Requirement
240
248
  requirements:
241
- - - ">="
249
+ - - "~>"
242
250
  - !ruby/object:Gem::Version
243
- version: '0'
251
+ version: '0.45'
244
252
  type: :development
245
253
  prerelease: false
246
254
  version_requirements: !ruby/object:Gem::Requirement
247
255
  requirements:
248
- - - ">="
256
+ - - "~>"
249
257
  - !ruby/object:Gem::Version
250
- version: '0'
258
+ version: '0.45'
251
259
  - !ruby/object:Gem::Dependency
252
260
  name: codeclimate-test-reporter
253
261
  requirement: !ruby/object:Gem::Requirement
254
262
  requirements:
255
- - - ">="
263
+ - - "~>"
256
264
  - !ruby/object:Gem::Version
257
- version: '0'
265
+ version: '1.0'
258
266
  type: :development
259
267
  prerelease: false
260
268
  version_requirements: !ruby/object:Gem::Requirement
261
269
  requirements:
262
- - - ">="
270
+ - - "~>"
263
271
  - !ruby/object:Gem::Version
264
- version: '0'
265
- description: A command line interface for managing Sublime Text metadata.
272
+ version: '1.0'
273
+ description:
266
274
  email:
267
275
  - brooke@alchemists.io
268
276
  executables:
269
- - stk
277
+ - sublime_text_kit
270
278
  extensions: []
271
279
  extra_rdoc_files:
272
280
  - README.md
@@ -274,7 +282,7 @@ extra_rdoc_files:
274
282
  files:
275
283
  - LICENSE.md
276
284
  - README.md
277
- - bin/stk
285
+ - bin/sublime_text_kit
278
286
  - lib/sublime_text_kit.rb
279
287
  - lib/sublime_text_kit/cli.rb
280
288
  - lib/sublime_text_kit/identity.rb
@@ -282,6 +290,7 @@ files:
282
290
  - lib/sublime_text_kit/metadata/project_metadata.rb
283
291
  - lib/sublime_text_kit/metadata/workspace_metadata.rb
284
292
  - lib/sublime_text_kit/session.rb
293
+ - lib/tasks/reek.rake
285
294
  - lib/tasks/rspec.rake
286
295
  - lib/tasks/rubocop.rake
287
296
  homepage: https://github.com/bkuhlmann/sublime_text_kit
@@ -294,9 +303,9 @@ require_paths:
294
303
  - lib
295
304
  required_ruby_version: !ruby/object:Gem::Requirement
296
305
  requirements:
297
- - - ">="
306
+ - - "~>"
298
307
  - !ruby/object:Gem::Version
299
- version: '0'
308
+ version: '2.3'
300
309
  required_rubygems_version: !ruby/object:Gem::Requirement
301
310
  requirements:
302
311
  - - ">="
@@ -304,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
304
313
  version: '0'
305
314
  requirements: []
306
315
  rubyforge_project:
307
- rubygems_version: 2.5.0
316
+ rubygems_version: 2.6.8
308
317
  signing_key:
309
318
  specification_version: 4
310
319
  summary: A command line interface for managing Sublime Text metadata.
Binary file