slk 0.4.0 → 0.4.1

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.
data/lib/slk.rb CHANGED
@@ -33,6 +33,7 @@ module Slk
33
33
  autoload :Channel, 'slk/models/channel'
34
34
  autoload :Preset, 'slk/models/preset'
35
35
  autoload :SearchResult, 'slk/models/search_result'
36
+ autoload :SavedItem, 'slk/models/saved_item'
36
37
  end
37
38
 
38
39
  # Application services for configuration, caching, and API communication
@@ -54,11 +55,13 @@ module Slk
54
55
  autoload :TargetResolver, 'slk/services/target_resolver'
55
56
  autoload :SetupWizard, 'slk/services/setup_wizard'
56
57
  autoload :UserLookup, 'slk/services/user_lookup'
58
+ autoload :MessageResolver, 'slk/services/message_resolver'
57
59
  end
58
60
 
59
61
  # Output formatters for messages, durations, and emoji
60
62
  module Formatters
61
63
  autoload :Output, 'slk/formatters/output'
64
+ autoload :MarkdownOutput, 'slk/formatters/markdown_output'
62
65
  autoload :DurationFormatter, 'slk/formatters/duration_formatter'
63
66
  autoload :MentionReplacer, 'slk/formatters/mention_replacer'
64
67
  autoload :EmojiReplacer, 'slk/formatters/emoji_replacer'
@@ -69,6 +72,8 @@ module Slk
69
72
  autoload :AttachmentFormatter, 'slk/formatters/attachment_formatter'
70
73
  autoload :BlockFormatter, 'slk/formatters/block_formatter'
71
74
  autoload :SearchFormatter, 'slk/formatters/search_formatter'
75
+ autoload :SavedItemFormatter, 'slk/formatters/saved_item_formatter'
76
+ autoload :TextProcessor, 'slk/formatters/text_processor'
72
77
  end
73
78
 
74
79
  # CLI commands implementing user-facing functionality
@@ -89,6 +94,7 @@ module Slk
89
94
  autoload :Emoji, 'slk/commands/emoji'
90
95
  autoload :Config, 'slk/commands/config'
91
96
  autoload :Help, 'slk/commands/help'
97
+ autoload :Later, 'slk/commands/later'
92
98
  end
93
99
 
94
100
  # Thin wrappers around Slack API endpoints
@@ -103,6 +109,7 @@ module Slk
103
109
  autoload :Usergroups, 'slk/api/usergroups'
104
110
  autoload :Activity, 'slk/api/activity'
105
111
  autoload :Search, 'slk/api/search'
112
+ autoload :Saved, 'slk/api/saved'
106
113
  end
107
114
 
108
115
  # Utility classes for paths, parsing, and helpers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Boehs
@@ -32,6 +32,7 @@ files:
32
32
  - lib/slk/api/conversations.rb
33
33
  - lib/slk/api/dnd.rb
34
34
  - lib/slk/api/emoji.rb
35
+ - lib/slk/api/saved.rb
35
36
  - lib/slk/api/search.rb
36
37
  - lib/slk/api/threads.rb
37
38
  - lib/slk/api/usergroups.rb
@@ -45,6 +46,7 @@ files:
45
46
  - lib/slk/commands/dnd.rb
46
47
  - lib/slk/commands/emoji.rb
47
48
  - lib/slk/commands/help.rb
49
+ - lib/slk/commands/later.rb
48
50
  - lib/slk/commands/messages.rb
49
51
  - lib/slk/commands/presence.rb
50
52
  - lib/slk/commands/preset.rb
@@ -60,16 +62,20 @@ files:
60
62
  - lib/slk/formatters/duration_formatter.rb
61
63
  - lib/slk/formatters/emoji_replacer.rb
62
64
  - lib/slk/formatters/json_message_formatter.rb
65
+ - lib/slk/formatters/markdown_output.rb
63
66
  - lib/slk/formatters/mention_replacer.rb
64
67
  - lib/slk/formatters/message_formatter.rb
65
68
  - lib/slk/formatters/output.rb
66
69
  - lib/slk/formatters/reaction_formatter.rb
70
+ - lib/slk/formatters/saved_item_formatter.rb
67
71
  - lib/slk/formatters/search_formatter.rb
72
+ - lib/slk/formatters/text_processor.rb
68
73
  - lib/slk/models/channel.rb
69
74
  - lib/slk/models/duration.rb
70
75
  - lib/slk/models/message.rb
71
76
  - lib/slk/models/preset.rb
72
77
  - lib/slk/models/reaction.rb
78
+ - lib/slk/models/saved_item.rb
73
79
  - lib/slk/models/search_result.rb
74
80
  - lib/slk/models/status.rb
75
81
  - lib/slk/models/user.rb
@@ -83,6 +89,7 @@ files:
83
89
  - lib/slk/services/emoji_searcher.rb
84
90
  - lib/slk/services/encryption.rb
85
91
  - lib/slk/services/gemoji_sync.rb
92
+ - lib/slk/services/message_resolver.rb
86
93
  - lib/slk/services/preset_store.rb
87
94
  - lib/slk/services/reaction_enricher.rb
88
95
  - lib/slk/services/setup_wizard.rb
@@ -111,12 +118,6 @@ metadata:
111
118
  source_code_uri: https://github.com/ericboehs/slk
112
119
  changelog_uri: https://github.com/ericboehs/slk/blob/master/CHANGELOG.md
113
120
  rubygems_mfa_required: 'true'
114
- post_install_message: |
115
- slk 0.2.0: Config directory changed from slack-cli to slk
116
-
117
- If upgrading from 0.1.x, migrate your config:
118
- mv ${XDG_CONFIG_HOME:-~/.config}/slack-cli ${XDG_CONFIG_HOME:-~/.config}/slk
119
- mv ${XDG_CACHE_HOME:-~/.cache}/slack-cli ${XDG_CACHE_HOME:-~/.cache}/slk
120
121
  rdoc_options: []
121
122
  require_paths:
122
123
  - lib