index_html 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -10
- data/CHANGELOG.md +9 -0
- data/Gemfile +0 -1
- data/index_html.gemspec +12 -12
- data/lib/index_html/cli.rb +2 -0
- data/lib/index_html/version.rb +1 -1
- metadata +26 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6c81bea34e84d8b56dd569513bf47c492cf0a9d
|
4
|
+
data.tar.gz: dca7f6b6b5e09e2b8783eb7d07a67cef54de0ea5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae8da894babdeabbf9c606d6487241aa2429dbdb2d5cbea967f3d7ab2a6447bc3315a0621c91345c02fb161c5322d5c7d30e190cf9a7a065e2a949242489dc05
|
7
|
+
data.tar.gz: 9b0887435bfad820a9f87784d708e70a426dec6488f2d5c822e4ccd6b9cc5a419dc5636146d31faa9fad7dcc87adcb78fa4aa67e35e20ac481889c21e1b6eb79
|
data/.rubocop.yml
CHANGED
@@ -28,12 +28,6 @@ CollectionMethods:
|
|
28
28
|
find: 'detect'
|
29
29
|
find_all: 'select'
|
30
30
|
|
31
|
-
# Do not force public/protected/private keyword to be indented at the same
|
32
|
-
# level as the def keyword. My personal preference is to outdent these keywords
|
33
|
-
# because I think when scanning code it makes it easier to identify the
|
34
|
-
# sections of code and visually separate them. When the keyword is at the same
|
35
|
-
# level I think it sort of blends in with the def keywords and makes it harder
|
36
|
-
# to scan the code and see where the sections are.
|
37
31
|
AccessModifierIndentation:
|
38
32
|
Enabled: false
|
39
33
|
|
@@ -61,10 +55,6 @@ DotPosition:
|
|
61
55
|
Encoding:
|
62
56
|
Enabled: false
|
63
57
|
|
64
|
-
# #Enforce outdenting of access modifiers (i.e. public, private, protected)
|
65
|
-
# AccessModifierIndentation:
|
66
|
-
# EnforcedStyle: outdent
|
67
|
-
|
68
58
|
EmptyLinesAroundAccessModifier:
|
69
59
|
Enabled: true
|
70
60
|
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
### Changelogs
|
2
2
|
|
3
|
+
#### 0.2.0
|
4
|
+
|
5
|
+
- Use latest version of 'agile_utils' (no monkeypatching)
|
6
|
+
- Use latest version of 'code_lister'
|
7
|
+
- Support only ruby 2.0.x+
|
8
|
+
- Cleanup the tests
|
9
|
+
- Fix the rubocop style
|
10
|
+
- Update the gemspec
|
11
|
+
|
3
12
|
#### 0.1.4
|
4
13
|
|
5
14
|
- Update the 'rubocop' to 0.23.x
|
data/Gemfile
CHANGED
data/index_html.gemspec
CHANGED
@@ -23,16 +23,16 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
24
24
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
25
25
|
spec.require_paths = ["lib"]
|
26
|
-
spec.add_runtime_dependency "thor", "~> 0.19"
|
27
|
-
spec.add_runtime_dependency "agile_utils", "~> 0.
|
28
|
-
spec.add_runtime_dependency "code_lister", "~> 0.
|
29
|
-
spec.add_development_dependency "awesome_print", "~> 1.2"
|
30
|
-
spec.add_development_dependency "bundler", "~> 1.
|
31
|
-
spec.add_development_dependency "fuubar", "~> 1.3"
|
32
|
-
spec.add_development_dependency "guard-rspec", "~> 4.
|
33
|
-
spec.add_development_dependency "pry", "~> 0.
|
34
|
-
spec.add_development_dependency "rake", "~> 10.3"
|
35
|
-
spec.add_development_dependency "rspec", "~> 2.
|
36
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
37
|
-
spec.add_development_dependency "coveralls", "~> 0.7"
|
26
|
+
spec.add_runtime_dependency "thor", "~> 0.19.1"
|
27
|
+
spec.add_runtime_dependency "agile_utils", "~> 0.2.0"
|
28
|
+
spec.add_runtime_dependency "code_lister", "~> 0.2.0"
|
29
|
+
spec.add_development_dependency "awesome_print", "~> 1.2.0"
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.6.2"
|
31
|
+
spec.add_development_dependency "fuubar", "~> 1.3.3"
|
32
|
+
spec.add_development_dependency "guard-rspec", "~> 4.3.1"
|
33
|
+
spec.add_development_dependency "pry", "~> 0.10.0"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.3.2"
|
35
|
+
spec.add_development_dependency "rspec", "~> 2.99.0"
|
36
|
+
spec.add_development_dependency "rubocop", "~> 0.24.1"
|
37
|
+
spec.add_development_dependency "coveralls", "~> 0.7.0"
|
38
38
|
end
|
data/lib/index_html/cli.rb
CHANGED
@@ -3,6 +3,8 @@ require "agile_utils"
|
|
3
3
|
require_relative "../index_html"
|
4
4
|
module IndexHtml
|
5
5
|
class CLI < Thor
|
6
|
+
using AgileUtils::HashExt
|
7
|
+
|
6
8
|
# rubocop:disable AmbiguousOperator, LineLength
|
7
9
|
desc "generate", "Generate the index.html base on simple criteria"
|
8
10
|
# Common shared options
|
data/lib/index_html/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: index_html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burin Choomnuan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -16,168 +16,168 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.19.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.19.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: agile_utils
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: code_lister
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.2.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.2.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: awesome_print
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.2.0
|
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
|
-
version:
|
68
|
+
version: 1.2.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.6.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
|
-
version:
|
82
|
+
version: 1.6.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: fuubar
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 1.3.3
|
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
|
-
version:
|
96
|
+
version: 1.3.3
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: guard-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 4.3.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 4.3.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: pry
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 0.10.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 0.10.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 10.3.2
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 10.3.2
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 2.99.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 2.99.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubocop
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 0.24.1
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 0.24.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: coveralls
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: 0.7.0
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: 0.7.0
|
181
181
|
description: Generate the index.html from list of files
|
182
182
|
email:
|
183
183
|
- agilecreativity@gmail.com
|