list-tool 1.0.5 → 1.0.6

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: be84730bfcdb5b3ac055f621aa41cc3ebc931806
4
- data.tar.gz: 8aca87d46e3b310f25e4e1a506af4327e1f5e643
3
+ metadata.gz: c2a043d6d922ae489f2efdaebfbcd6c1d81dfc2e
4
+ data.tar.gz: 5adbe13865c208cee95efaa492308f23acc687cd
5
5
  SHA512:
6
- metadata.gz: fa3eb60d41ef20b9234efdcc728a48840e50d671270b8b301ee93c266050448b2114d94f8d96a4608090e0eb4b10ab802d2c033110a8d40580adb318a878421a
7
- data.tar.gz: 8a4696d902bf523bbaf66a5a4db2080cc24542839175b842601bc61074b39944e29ccbd66649f3bb9c8697daa5b9e7b18136e434791f952c29922f904a425336
6
+ metadata.gz: 6703b459921953d68e1a06471133a2b0163799d5044d17c02982bbb511277385fabe35f009e357b3e778243cd63de006d5c59ffe06e4d3ec9707f18855437868
7
+ data.tar.gz: 9b2b6d18860c00fe902a99a95540a7269c1917d4a44451b931c6aa9b5d780ba4fad8604e2e6746350f581c525cceaebd82956887a7d5c8d709d34308522fe705
@@ -33,7 +33,7 @@ module ListTool
33
33
  end
34
34
 
35
35
  def lists
36
- @data.map{|list| [list.name, list.items.count] }.to_h
36
+ Hash[*@data.map{|list| [list.name, list.items.count] }.flatten]
37
37
  end
38
38
 
39
39
  def list(index=nil)
@@ -1,3 +1,3 @@
1
1
  module ListTool
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
data/list_tool.gemspec CHANGED
@@ -6,7 +6,7 @@ require 'list_tool/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "list-tool"
8
8
  spec.version = ListTool::VERSION
9
- spec.date = '2014-06-08'
9
+ spec.date = '2015-11-01'
10
10
  spec.authors = ["Dmitrii Krasnov"]
11
11
  spec.email = ["vizvamitra@gmail.com"]
12
12
  spec.summary = "list-tool-#{ListTool::VERSION}"
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: list-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitrii Krasnov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-08 00:00:00.000000000 Z
11
+ date: 2015-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: guard
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.6'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '4.2'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '4.2'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rb-readline
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.5'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.5'
97
97
  description: A tool to manage lists of strings (like todos) in your app or terminal
@@ -102,8 +102,8 @@ executables:
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
- - ".gitignore"
106
- - ".rspec"
105
+ - .gitignore
106
+ - .rspec
107
107
  - Gemfile
108
108
  - Guardfile
109
109
  - LICENSE.txt
@@ -175,20 +175,20 @@ require_paths:
175
175
  - lib
176
176
  required_ruby_version: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ">="
178
+ - - '>='
179
179
  - !ruby/object:Gem::Version
180
180
  version: 1.9.3
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ">="
183
+ - - '>='
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  requirements: []
187
187
  rubyforge_project:
188
- rubygems_version: 2.2.2
188
+ rubygems_version: 2.4.8
189
189
  signing_key:
190
190
  specification_version: 4
191
- summary: list-tool-1.0.5
191
+ summary: list-tool-1.0.6
192
192
  test_files:
193
193
  - spec/fixtures/data.json
194
194
  - spec/list_tool/app/colorizer_spec.rb