md2site 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -19
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +21 -28
  5. data/bin/md2site +26 -31
  6. data/data/_x/diff.txt +337 -0
  7. data/data/_x/list.txt +495 -0
  8. data/data/_x/list2.txt +495 -0
  9. data/data/_x/list3.txt +415 -0
  10. data/data/_x/list4.txt +415 -0
  11. data/data/_x/list5.txt +392 -0
  12. data/data/_x/list6.txt +298 -0
  13. data/data/_x/list7.txt +201 -0
  14. data/data/_x/list8.txt +199 -0
  15. data/data/_x/outer_url.txt +94 -0
  16. data/data/_x/s.txt +140 -0
  17. data/data/conf/conf.sh +0 -2
  18. data/data/testdata/{conf-blog.yml → conf/conf-blog.yml} +0 -0
  19. data/data/testdata/{conf-download.yml → conf/conf-download.yml} +0 -0
  20. data/data/testdata/{conf-link.yml → conf/conf-link.yml} +0 -0
  21. data/data/testdata/{conf-profile.yml → conf/conf-profile.yml} +0 -0
  22. data/data/testdata/{conf-top.yml → conf/conf-top.yml} +0 -0
  23. data/data/testdata/{site.tsv → conf/site.tsv} +0 -0
  24. data/data/testdata0/{conf-appliction.yml → conf/conf-appliction.yml} +0 -0
  25. data/data/testdata0/{conf-attempt.yml → conf/conf-attempt.yml} +16 -16
  26. data/data/testdata0/conf/conf-autosar.yml +11 -0
  27. data/data/testdata0/{conf-community.yml → conf/conf-community.yml} +0 -0
  28. data/data/testdata0/{conf-document.yml → conf/conf-document.yml} +0 -0
  29. data/data/testdata0/{conf-download.yml → conf/conf-download.yml} +0 -0
  30. data/data/testdata0/{conf-edu.yml → conf/conf-edu.yml} +18 -19
  31. data/data/testdata0/{conf-etc.yml → conf/conf-etc.yml} +0 -0
  32. data/data/testdata0/{conf-members.yml → conf/conf-members.yml} +0 -0
  33. data/data/testdata0/{conf-product.yml → conf/conf-product.yml} +9 -9
  34. data/data/testdata0/{conf-project.yml → conf/conf-project.yml} +2 -2
  35. data/data/testdata0/conf/conf-rtk.yml +25 -0
  36. data/data/testdata0/conf/conf-sample.yml +5 -0
  37. data/data/testdata0/{conf-top.yml → conf/conf-top.yml} +0 -0
  38. data/data/testdata0/conf/conf.sh +32 -0
  39. data/data/testdata0/{setting.yml → conf/setting.yml} +11 -0
  40. data/data/testdata0/{site.tsv → conf/site.tsv} +109 -2
  41. data/data/testdata0/conf/status.txt +6 -0
  42. data/lib/md2site/env.rb +248 -276
  43. data/lib/md2site/envcheck.rb +186 -0
  44. data/lib/md2site/htmlutils0.rb +64 -2
  45. data/lib/md2site/info.rb +12 -0
  46. data/lib/md2site/init.rb +61 -5
  47. data/lib/md2site/listfile.rb +16 -0
  48. data/lib/md2site/make.rb +92 -31
  49. data/lib/md2site/nkfguess.rb +8 -0
  50. data/lib/md2site/setup.rb +104 -28
  51. data/lib/md2site/statusfile.rb +98 -6
  52. data/lib/md2site/testdata.rb +43 -3
  53. data/lib/md2site/testx.rb +28 -1
  54. data/lib/md2site/version.rb +1 -1
  55. data/lib/md2site.rb +93 -26
  56. data/md2site.gemspec +5 -6
  57. metadata +77 -76
  58. data/data/testdata0/conf-autosar.yml +0 -11
  59. data/data/testdata0/conf-rtk.yml +0 -25
metadata CHANGED
@@ -1,43 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: md2site
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - yasuo kominami
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-25 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '2.0'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.0'
41
13
  - !ruby/object:Gem::Dependency
42
14
  name: rake
43
15
  requirement: !ruby/object:Gem::Requirement
@@ -81,21 +53,21 @@ dependencies:
81
53
  - !ruby/object:Gem::Version
82
54
  version: '0'
83
55
  - !ruby/object:Gem::Dependency
84
- name: power_assert
56
+ name: test-unit
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
- - - "~>"
59
+ - - ">="
88
60
  - !ruby/object:Gem::Version
89
- version: 1.1.4
61
+ version: '0'
90
62
  type: :development
91
63
  prerelease: false
92
64
  version_requirements: !ruby/object:Gem::Requirement
93
65
  requirements:
94
- - - "~>"
66
+ - - ">="
95
67
  - !ruby/object:Gem::Version
96
- version: 1.1.4
68
+ version: '0'
97
69
  - !ruby/object:Gem::Dependency
98
- name: test-unit
70
+ name: test-unit-rr
99
71
  requirement: !ruby/object:Gem::Requirement
100
72
  requirements:
101
73
  - - ">="
@@ -109,21 +81,21 @@ dependencies:
109
81
  - !ruby/object:Gem::Version
110
82
  version: '0'
111
83
  - !ruby/object:Gem::Dependency
112
- name: test-unit-rr
84
+ name: rubocop
113
85
  requirement: !ruby/object:Gem::Requirement
114
86
  requirements:
115
- - - ">="
87
+ - - '='
116
88
  - !ruby/object:Gem::Version
117
- version: '0'
89
+ version: 0.69.0
118
90
  type: :development
119
91
  prerelease: false
120
92
  version_requirements: !ruby/object:Gem::Requirement
121
93
  requirements:
122
- - - ">="
94
+ - - '='
123
95
  - !ruby/object:Gem::Version
124
- version: '0'
96
+ version: 0.69.0
125
97
  - !ruby/object:Gem::Dependency
126
- name: rubocop
98
+ name: rubocop-performance
127
99
  requirement: !ruby/object:Gem::Requirement
128
100
  requirements:
129
101
  - - ">="
@@ -137,19 +109,33 @@ dependencies:
137
109
  - !ruby/object:Gem::Version
138
110
  version: '0'
139
111
  - !ruby/object:Gem::Dependency
140
- name: rubocop-performance
112
+ name: power_assert
141
113
  requirement: !ruby/object:Gem::Requirement
142
114
  requirements:
143
- - - ">="
115
+ - - "~>"
144
116
  - !ruby/object:Gem::Version
145
- version: '0'
117
+ version: 1.1.5
146
118
  type: :development
147
119
  prerelease: false
148
120
  version_requirements: !ruby/object:Gem::Requirement
149
121
  requirements:
150
- - - ">="
122
+ - - "~>"
151
123
  - !ruby/object:Gem::Version
152
- version: '0'
124
+ version: 1.1.5
125
+ - !ruby/object:Gem::Dependency
126
+ name: bundler
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.0'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: simpleoptparse
155
141
  requirement: !ruby/object:Gem::Requirement
@@ -210,30 +196,30 @@ dependencies:
210
196
  name: messagex
211
197
  requirement: !ruby/object:Gem::Requirement
212
198
  requirements:
213
- - - ">="
199
+ - - "~>"
214
200
  - !ruby/object:Gem::Version
215
- version: '0'
201
+ version: 0.1.3
216
202
  type: :runtime
217
203
  prerelease: false
218
204
  version_requirements: !ruby/object:Gem::Requirement
219
205
  requirements:
220
- - - ">="
206
+ - - "~>"
221
207
  - !ruby/object:Gem::Version
222
- version: '0'
208
+ version: 0.1.3
223
209
  - !ruby/object:Gem::Dependency
224
210
  name: filex
225
211
  requirement: !ruby/object:Gem::Requirement
226
212
  requirements:
227
- - - ">="
213
+ - - "~>"
228
214
  - !ruby/object:Gem::Version
229
- version: '0'
215
+ version: 0.1.3
230
216
  type: :runtime
231
217
  prerelease: false
232
218
  version_requirements: !ruby/object:Gem::Requirement
233
219
  requirements:
234
- - - ">="
220
+ - - "~>"
235
221
  - !ruby/object:Gem::Version
236
- version: '0'
222
+ version: 0.1.3
237
223
  - !ruby/object:Gem::Dependency
238
224
  name: faraday
239
225
  requirement: !ruby/object:Gem::Requirement
@@ -284,6 +270,17 @@ files:
284
270
  - bin/console
285
271
  - bin/md2site
286
272
  - bin/setup
273
+ - data/_x/diff.txt
274
+ - data/_x/list.txt
275
+ - data/_x/list2.txt
276
+ - data/_x/list3.txt
277
+ - data/_x/list4.txt
278
+ - data/_x/list5.txt
279
+ - data/_x/list6.txt
280
+ - data/_x/list7.txt
281
+ - data/_x/list8.txt
282
+ - data/_x/outer_url.txt
283
+ - data/_x/s.txt
287
284
  - data/conf/conf-sample.yml
288
285
  - data/conf/conf.sh
289
286
  - data/conf/setting.yml
@@ -296,29 +293,33 @@ files:
296
293
  - data/template2/contest_notification_2.erb
297
294
  - data/template2/contest_winners.erb
298
295
  - data/template2/contest_winners_statement.erb
299
- - data/testdata/conf-blog.yml
300
- - data/testdata/conf-download.yml
301
- - data/testdata/conf-link.yml
302
- - data/testdata/conf-profile.yml
303
- - data/testdata/conf-top.yml
304
- - data/testdata/site.tsv
305
- - data/testdata0/conf-appliction.yml
306
- - data/testdata0/conf-attempt.yml
307
- - data/testdata0/conf-autosar.yml
308
- - data/testdata0/conf-community.yml
309
- - data/testdata0/conf-document.yml
310
- - data/testdata0/conf-download.yml
311
- - data/testdata0/conf-edu.yml
312
- - data/testdata0/conf-etc.yml
313
- - data/testdata0/conf-members.yml
314
- - data/testdata0/conf-product.yml
315
- - data/testdata0/conf-project.yml
316
- - data/testdata0/conf-rtk.yml
317
- - data/testdata0/conf-top.yml
318
- - data/testdata0/setting.yml
319
- - data/testdata0/site.tsv
296
+ - data/testdata/conf/conf-blog.yml
297
+ - data/testdata/conf/conf-download.yml
298
+ - data/testdata/conf/conf-link.yml
299
+ - data/testdata/conf/conf-profile.yml
300
+ - data/testdata/conf/conf-top.yml
301
+ - data/testdata/conf/site.tsv
302
+ - data/testdata0/conf/conf-appliction.yml
303
+ - data/testdata0/conf/conf-attempt.yml
304
+ - data/testdata0/conf/conf-autosar.yml
305
+ - data/testdata0/conf/conf-community.yml
306
+ - data/testdata0/conf/conf-document.yml
307
+ - data/testdata0/conf/conf-download.yml
308
+ - data/testdata0/conf/conf-edu.yml
309
+ - data/testdata0/conf/conf-etc.yml
310
+ - data/testdata0/conf/conf-members.yml
311
+ - data/testdata0/conf/conf-product.yml
312
+ - data/testdata0/conf/conf-project.yml
313
+ - data/testdata0/conf/conf-rtk.yml
314
+ - data/testdata0/conf/conf-sample.yml
315
+ - data/testdata0/conf/conf-top.yml
316
+ - data/testdata0/conf/conf.sh
317
+ - data/testdata0/conf/setting.yml
318
+ - data/testdata0/conf/site.tsv
319
+ - data/testdata0/conf/status.txt
320
320
  - lib/md2site.rb
321
321
  - lib/md2site/env.rb
322
+ - lib/md2site/envcheck.rb
322
323
  - lib/md2site/htmlutils.rb
323
324
  - lib/md2site/htmlutils0.rb
324
325
  - lib/md2site/info.rb
@@ -1,11 +0,0 @@
1
- a_can_download:
2
- a_comstack_download:
3
- a_comstack:
4
- a_osbench:
5
- a_rtegen_download:
6
- a_rtegen:
7
- a_wdg_download:
8
- a_wdgstack:
9
- atk2_download:
10
- atk2_e_download:
11
- atk2:
@@ -1,25 +0,0 @@
1
- asp_d_download:
2
- asp_e_download:
3
- asp_kernel:
4
- asp3_d_download:
5
- asp3_e_download:
6
- asp3_kernel:
7
- atk1_download:
8
- atk1:
9
- cfg_download:
10
- etrobo_jsp:
11
- fdmp_download:
12
- fdmp_kernel:
13
- fi4_download:
14
- fi4_kernel:
15
- fmp_d_download:
16
- fmp_e_download:
17
- fmp_kernel:
18
- fmp_old_download:
19
- hrp_download:
20
- hrp_kernel:
21
- hrp2_download:
22
- hrp2_kernel:
23
- hrp3_kernel:
24
- jsp_download:
25
- jsp_kernel: