list-tool 1.0.3 → 1.0.5
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
- data/README.md +4 -1
- data/lib/list_tool/app/commands/add_item_command.rb +20 -23
- data/lib/list_tool/app/commands/add_list_command.rb +19 -17
- data/lib/list_tool/app/commands/clear_list_command.rb +31 -0
- data/lib/list_tool/app/commands/command.rb +50 -0
- data/lib/list_tool/app/commands/delete_item_command.rb +19 -23
- data/lib/list_tool/app/commands/delete_list_command.rb +18 -19
- data/lib/list_tool/app/commands/help_command.rb +15 -13
- data/lib/list_tool/app/commands/rename_list_command.rb +24 -25
- data/lib/list_tool/app/commands/replace_item_command.rb +20 -21
- data/lib/list_tool/app/commands/show_items_command.rb +18 -20
- data/lib/list_tool/app/commands/show_lists_command.rb +16 -14
- data/lib/list_tool/app/commands/unknown_command.rb +16 -14
- data/lib/list_tool/app/commands/use_command.rb +18 -18
- data/lib/list_tool/app/commands/version_command.rb +16 -13
- data/lib/list_tool/app/commands.rb +3 -1
- data/lib/list_tool/list.rb +5 -0
- data/lib/list_tool/lister.rb +35 -23
- data/lib/list_tool/lister_data.rb +4 -0
- data/lib/list_tool/version.rb +1 -1
- data/spec/list_tool/app/commands/add_list_command_spec.rb +0 -6
- data/spec/list_tool/app/commands/clear_list_command_spec.rb +89 -0
- data/spec/list_tool/app/commands/command_spec.rb +101 -0
- data/spec/list_tool/app/commands_spec.rb +1 -1
- data/spec/list_tool/list_spec.rb +8 -0
- data/spec/list_tool/lister_data_spec.rb +8 -0
- data/spec/list_tool/lister_spec.rb +75 -61
- metadata +8 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: list-tool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitrii Krasnov
|
@@ -116,6 +116,8 @@ files:
|
|
116
116
|
- lib/list_tool/app/commands.rb
|
117
117
|
- lib/list_tool/app/commands/add_item_command.rb
|
118
118
|
- lib/list_tool/app/commands/add_list_command.rb
|
119
|
+
- lib/list_tool/app/commands/clear_list_command.rb
|
120
|
+
- lib/list_tool/app/commands/command.rb
|
119
121
|
- lib/list_tool/app/commands/delete_item_command.rb
|
120
122
|
- lib/list_tool/app/commands/delete_list_command.rb
|
121
123
|
- lib/list_tool/app/commands/help_command.rb
|
@@ -140,6 +142,8 @@ files:
|
|
140
142
|
- spec/list_tool/app/colorizer_spec.rb
|
141
143
|
- spec/list_tool/app/commands/add_item_command_spec.rb
|
142
144
|
- spec/list_tool/app/commands/add_list_command_spec.rb
|
145
|
+
- spec/list_tool/app/commands/clear_list_command_spec.rb
|
146
|
+
- spec/list_tool/app/commands/command_spec.rb
|
143
147
|
- spec/list_tool/app/commands/delete_item_command_spec.rb
|
144
148
|
- spec/list_tool/app/commands/delete_list_command_spec.rb
|
145
149
|
- spec/list_tool/app/commands/help_command_spec.rb
|
@@ -184,12 +188,14 @@ rubyforge_project:
|
|
184
188
|
rubygems_version: 2.2.2
|
185
189
|
signing_key:
|
186
190
|
specification_version: 4
|
187
|
-
summary: list-tool-1.0.
|
191
|
+
summary: list-tool-1.0.5
|
188
192
|
test_files:
|
189
193
|
- spec/fixtures/data.json
|
190
194
|
- spec/list_tool/app/colorizer_spec.rb
|
191
195
|
- spec/list_tool/app/commands/add_item_command_spec.rb
|
192
196
|
- spec/list_tool/app/commands/add_list_command_spec.rb
|
197
|
+
- spec/list_tool/app/commands/clear_list_command_spec.rb
|
198
|
+
- spec/list_tool/app/commands/command_spec.rb
|
193
199
|
- spec/list_tool/app/commands/delete_item_command_spec.rb
|
194
200
|
- spec/list_tool/app/commands/delete_list_command_spec.rb
|
195
201
|
- spec/list_tool/app/commands/help_command_spec.rb
|