index_html 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.rubocop.yml +0 -8
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -3
- data/index_html.gemspec +9 -7
- data/lib/index_html/cli.rb +0 -2
- data/lib/index_html/version.rb +1 -1
- metadata +94 -68
- checksums.yaml +0 -7
data/.rubocop.yml
CHANGED
@@ -20,14 +20,6 @@ MethodLength:
|
|
20
20
|
BlockNesting:
|
21
21
|
Max: 4
|
22
22
|
|
23
|
-
# Align with the style guide.
|
24
|
-
CollectionMethods:
|
25
|
-
PreferredMethods:
|
26
|
-
collect: 'map'
|
27
|
-
inject: 'reduce'
|
28
|
-
find: 'detect'
|
29
|
-
find_all: 'select'
|
30
|
-
|
31
23
|
AccessModifierIndentation:
|
32
24
|
Enabled: false
|
33
25
|
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/index_html.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q(Generate simple index.html from list of files based on your simple selection criteria)
|
13
13
|
spec.homepage = "https://github.com/agilecreativity/index_html"
|
14
14
|
spec.license = "MIT"
|
15
|
-
spec.required_ruby_version = ">=
|
15
|
+
spec.required_ruby_version = ">= 1.9.3"
|
16
16
|
spec.files = Dir.glob("{bin,lib}/**/*") + %w[Gemfile
|
17
17
|
Rakefile
|
18
18
|
index_html.gemspec
|
@@ -24,16 +24,18 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
25
25
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
26
26
|
spec.require_paths = ["lib"]
|
27
|
+
|
28
|
+
spec.add_runtime_dependency "agile_utils", "~> 0.2.2"
|
29
|
+
spec.add_runtime_dependency "code_lister", "~> 0.2.2"
|
27
30
|
spec.add_runtime_dependency "thor", "~> 0.19.1"
|
28
|
-
|
29
|
-
spec.add_runtime_dependency "code_lister", "~> 0.2.1"
|
31
|
+
|
30
32
|
spec.add_development_dependency "awesome_print", "~> 1.2.0"
|
31
|
-
spec.add_development_dependency "bundler", "~> 1.
|
32
|
-
spec.add_development_dependency "
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.7.0"
|
34
|
+
spec.add_development_dependency "coveralls", "~> 0.7.0"
|
35
|
+
spec.add_development_dependency "fuubar", "~> 2.0.0"
|
33
36
|
spec.add_development_dependency "guard-rspec", "~> 4.3.1"
|
34
37
|
spec.add_development_dependency "pry", "~> 0.10.0"
|
35
38
|
spec.add_development_dependency "rake", "~> 10.3.2"
|
36
|
-
spec.add_development_dependency "rspec", "~>
|
39
|
+
spec.add_development_dependency "rspec", "~> 3.0.0"
|
37
40
|
spec.add_development_dependency "rubocop", "~> 0.24.1"
|
38
|
-
spec.add_development_dependency "coveralls", "~> 0.7.0"
|
39
41
|
end
|
data/lib/index_html/cli.rb
CHANGED
@@ -3,8 +3,6 @@ require "agile_utils"
|
|
3
3
|
require_relative "../index_html"
|
4
4
|
module IndexHtml
|
5
5
|
class CLI < Thor
|
6
|
-
using AgileUtils::HashExt
|
7
|
-
|
8
6
|
# rubocop:disable AmbiguousOperator, LineLength
|
9
7
|
desc "generate", "Generate the index.html base on simple criteria"
|
10
8
|
# Common shared options
|
data/lib/index_html/version.rb
CHANGED
metadata
CHANGED
@@ -1,183 +1,208 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: index_html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Burin Choomnuan
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-08-14 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
+
name: agile_utils
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
21
|
+
version: 0.2.2
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
29
|
+
version: 0.2.2
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
31
|
+
name: code_lister
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.
|
37
|
+
version: 0.2.2
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.
|
45
|
+
version: 0.2.2
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
47
|
+
name: thor
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
53
|
+
version: 0.19.1
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
61
|
+
version: 0.19.1
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: awesome_print
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- -
|
67
|
+
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: 1.2.0
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- -
|
75
|
+
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: 1.2.0
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: bundler
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.7.0
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.7.0
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: coveralls
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
72
98
|
requirements:
|
73
|
-
- -
|
99
|
+
- - ~>
|
74
100
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
101
|
+
version: 0.7.0
|
76
102
|
type: :development
|
77
103
|
prerelease: false
|
78
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
79
106
|
requirements:
|
80
|
-
- -
|
107
|
+
- - ~>
|
81
108
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
109
|
+
version: 0.7.0
|
83
110
|
- !ruby/object:Gem::Dependency
|
84
111
|
name: fuubar
|
85
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
86
114
|
requirements:
|
87
|
-
- -
|
115
|
+
- - ~>
|
88
116
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
117
|
+
version: 2.0.0
|
90
118
|
type: :development
|
91
119
|
prerelease: false
|
92
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
93
122
|
requirements:
|
94
|
-
- -
|
123
|
+
- - ~>
|
95
124
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
125
|
+
version: 2.0.0
|
97
126
|
- !ruby/object:Gem::Dependency
|
98
127
|
name: guard-rspec
|
99
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
100
130
|
requirements:
|
101
|
-
- -
|
131
|
+
- - ~>
|
102
132
|
- !ruby/object:Gem::Version
|
103
133
|
version: 4.3.1
|
104
134
|
type: :development
|
105
135
|
prerelease: false
|
106
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
107
138
|
requirements:
|
108
|
-
- -
|
139
|
+
- - ~>
|
109
140
|
- !ruby/object:Gem::Version
|
110
141
|
version: 4.3.1
|
111
142
|
- !ruby/object:Gem::Dependency
|
112
143
|
name: pry
|
113
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
114
146
|
requirements:
|
115
|
-
- -
|
147
|
+
- - ~>
|
116
148
|
- !ruby/object:Gem::Version
|
117
149
|
version: 0.10.0
|
118
150
|
type: :development
|
119
151
|
prerelease: false
|
120
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
121
154
|
requirements:
|
122
|
-
- -
|
155
|
+
- - ~>
|
123
156
|
- !ruby/object:Gem::Version
|
124
157
|
version: 0.10.0
|
125
158
|
- !ruby/object:Gem::Dependency
|
126
159
|
name: rake
|
127
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
128
162
|
requirements:
|
129
|
-
- -
|
163
|
+
- - ~>
|
130
164
|
- !ruby/object:Gem::Version
|
131
165
|
version: 10.3.2
|
132
166
|
type: :development
|
133
167
|
prerelease: false
|
134
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
135
170
|
requirements:
|
136
|
-
- -
|
171
|
+
- - ~>
|
137
172
|
- !ruby/object:Gem::Version
|
138
173
|
version: 10.3.2
|
139
174
|
- !ruby/object:Gem::Dependency
|
140
175
|
name: rspec
|
141
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
142
178
|
requirements:
|
143
|
-
- -
|
179
|
+
- - ~>
|
144
180
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
181
|
+
version: 3.0.0
|
146
182
|
type: :development
|
147
183
|
prerelease: false
|
148
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
149
186
|
requirements:
|
150
|
-
- -
|
187
|
+
- - ~>
|
151
188
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
189
|
+
version: 3.0.0
|
153
190
|
- !ruby/object:Gem::Dependency
|
154
191
|
name: rubocop
|
155
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
156
194
|
requirements:
|
157
|
-
- -
|
195
|
+
- - ~>
|
158
196
|
- !ruby/object:Gem::Version
|
159
197
|
version: 0.24.1
|
160
198
|
type: :development
|
161
199
|
prerelease: false
|
162
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
163
202
|
requirements:
|
164
|
-
- -
|
203
|
+
- - ~>
|
165
204
|
- !ruby/object:Gem::Version
|
166
205
|
version: 0.24.1
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: coveralls
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 0.7.0
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: 0.7.0
|
181
206
|
description: Generate the index.html from list of files
|
182
207
|
email:
|
183
208
|
- agilecreativity@gmail.com
|
@@ -186,41 +211,42 @@ executables:
|
|
186
211
|
extensions: []
|
187
212
|
extra_rdoc_files: []
|
188
213
|
files:
|
189
|
-
- ".gitignore"
|
190
|
-
- ".rubocop.yml"
|
191
|
-
- CHANGELOG.md
|
192
|
-
- Gemfile
|
193
|
-
- LICENSE
|
194
|
-
- README.md
|
195
|
-
- Rakefile
|
196
214
|
- bin/index_html
|
197
|
-
- index_html.gemspec
|
198
|
-
- lib/index_html.rb
|
199
215
|
- lib/index_html/cli.rb
|
200
216
|
- lib/index_html/version.rb
|
217
|
+
- lib/index_html.rb
|
218
|
+
- Gemfile
|
219
|
+
- Rakefile
|
220
|
+
- index_html.gemspec
|
221
|
+
- README.md
|
222
|
+
- CHANGELOG.md
|
223
|
+
- LICENSE
|
224
|
+
- .rubocop.yml
|
225
|
+
- .gitignore
|
201
226
|
homepage: https://github.com/agilecreativity/index_html
|
202
227
|
licenses:
|
203
228
|
- MIT
|
204
|
-
metadata: {}
|
205
229
|
post_install_message:
|
206
230
|
rdoc_options: []
|
207
231
|
require_paths:
|
208
232
|
- lib
|
209
233
|
required_ruby_version: !ruby/object:Gem::Requirement
|
234
|
+
none: false
|
210
235
|
requirements:
|
211
|
-
- -
|
236
|
+
- - ! '>='
|
212
237
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
238
|
+
version: 1.9.3
|
214
239
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
215
241
|
requirements:
|
216
|
-
- -
|
242
|
+
- - ! '>='
|
217
243
|
- !ruby/object:Gem::Version
|
218
244
|
version: '0'
|
219
245
|
requirements: []
|
220
246
|
rubyforge_project:
|
221
|
-
rubygems_version:
|
247
|
+
rubygems_version: 1.8.23.2
|
222
248
|
signing_key:
|
223
|
-
specification_version:
|
249
|
+
specification_version: 3
|
224
250
|
summary: Generate simple index.html from list of files based on your simple selection
|
225
251
|
criteria
|
226
252
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: a0108e11ce9c3e24fc2c8aa18d98c297cca311b0
|
4
|
-
data.tar.gz: c2ada57fb198c237aaed9fd10480a2d6d6e12eeb
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 1d53b38625c6388f2bc144fe739f05c7d49b6b2a1fbffe0c5d585916e2a49bc7a8afd4c79aeabf51889e948882e7d634170cae9049a0a02c9eb03d21c81f691a
|
7
|
-
data.tar.gz: 1dc6118c9e0331d8153efa1609c4e48d19762b6c2b0f1c45bb995100373df33ac4626d71b87e22c375eadcfa50356ff0a99dbb093aefe6a2a9e1d5d52f0baf03
|