juli 2.2.0 → 2.2.4

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
  SHA256:
3
- metadata.gz: 23d7f4a628fca794dbc15c32e627de9887c5d95df32de6047985c1fdf69783a8
4
- data.tar.gz: 1655dbe0f42221c7ca44afa3c1e1503032d38bd2e01bddd7f453da23fcfa0fe8
3
+ metadata.gz: 55bfc613ec94fa35bfee06e77ef37796555cc3ebe47b136a9dac89ad73c224cf
4
+ data.tar.gz: 26b05c4eb398165f13266ec1eaac595c864b3a847e020bc6ef6bf063359fd29d
5
5
  SHA512:
6
- metadata.gz: 4b3e6179071d46103f5dfedf5a8fd5b9be480faca6863fe835b388d8d8f647f6111f17ed7024bd5c2435aa59810133cfca3633179100526fa917d3bd7adb5952
7
- data.tar.gz: ff2588d8e3321ab95df3f0e3f813f7011efcc22a4c3285ef09d5a5582f9399f58ab693d288f298ec83702c75b5d762e0b0fdaf79a3a831079293fd392b2aef2d
6
+ metadata.gz: b1d3f7e0bc600e14282db98173bc15cbd130a3be776f8e9f9fbace8d87927aaeae0772dc81acf505c6efaf94d4173957947f747d916e1a05cbc3196bc94f128d
7
+ data.tar.gz: 18a861a8d0debd86113fa1d31eb0a2ac317f1cc47cb4e4ae3acf7f88e4dbe430ce18012689fb495516cc023afc33fd98d6d4c4ae0a6f803cc414a3166ad17cab
data/README.rdoc CHANGED
@@ -16,6 +16,13 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install juli
18
18
 
19
+ NOTE:
20
+
21
+ * MX-Linux21 requires the followings before installing:
22
+
23
+ $ sudo apt install imagemagick-dev
24
+
25
+
19
26
  === Usage
20
27
 
21
28
  $ cd [YOUR-WIKI-ROOT]
@@ -41,15 +48,19 @@ Or install it yourself as:
41
48
 
42
49
  === Development
43
50
 
44
- After checking out the repo, run `bin/setup` to install dependencies.
45
- Then, run `bin/console` for an interactive prompt that will allow you to
46
- experiment.
51
+ After checking out the repo,
52
+
53
+ 1. run `bundle install` to install dependencies.
54
+ 2. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
47
55
 
48
56
  To install this gem onto your local machine, run `bundle exec rake install`.
49
- To release a new version, update the version number in `version.rb`,
50
- and then run `bundle exec rake release` to create a git tag for the version,
51
- push git commits and tags, and push the `.gem` file to
52
- [rubygems.org](https://rubygems.org).
57
+
58
+ To release a new version of gem,
59
+
60
+ 1. update the version number in `lib/juli/version.rb`
61
+ 1. run `bundle exec rake release` to create a git tag for the version
62
+ 1. push git commits and tags, and
63
+ 1. push the `.gem` file to [rubygems.org](https://rubygems.org).
53
64
 
54
65
  === Contributing
55
66
 
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ juli_line_parser_rb = 'lib/juli/line_parser.tab.rb'
15
15
  parsers = [juli_parser_rb, juli_line_parser_rb]
16
16
  test_conf_outout_top = 'test/html'
17
17
 
18
- task default: parsers
18
+ task build: parsers
19
19
 
20
20
  file juli_parser_rb => 'lib/juli/parser.y' do |t|
21
21
  sh "racc -v -g #{t.prerequisites[0]}"
data/juli.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = "https://github.com/fuminori-ido/juli"
16
16
  spec.license = "MIT"
17
17
 
18
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } +
18
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sample\/protected_photo)/}) } +
19
19
  # generated by racc, should be in gem
20
20
  %w(lib/juli/parser.tab.rb lib/juli/line_parser.tab.rb)
21
21
  spec.bindir = 'bin'
@@ -25,12 +25,13 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency 'aws-sdk-s3'
26
26
  spec.add_runtime_dependency 'i18n'
27
27
  spec.add_runtime_dependency 'rmagick'
28
+ spec.add_runtime_dependency 'sdbm'
28
29
 
29
30
  spec.add_development_dependency 'byebug'
30
31
  spec.add_development_dependency 'racc'
31
32
  spec.add_development_dependency 'simplecov'
32
33
  spec.add_development_dependency "bundler", "~> 2.0"
33
- spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "rake", ">= 12.3.3"
34
35
  spec.add_development_dependency 'rdoc'
35
36
  spec.add_development_dependency 'test-unit'
36
37
  end
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # DO NOT MODIFY!!!!
3
- # This file is automatically generated by Racc 1.4.12
4
- # from Racc grammer file "".
3
+ # This file is automatically generated by Racc 1.6.0
4
+ # from Racc grammar file "".
5
5
  #
6
6
 
7
7
  require 'racc/parser.rb'
@@ -294,49 +294,49 @@ Racc_debug_parser = false
294
294
 
295
295
  module_eval(<<'.,.,', 'line_parser.y', 6)
296
296
  def _reduce_1(val, _values)
297
- @root = val[0]
297
+ @root = val[0]
298
298
  end
299
299
  .,.,
300
300
 
301
301
  module_eval(<<'.,.,', 'line_parser.y', 9)
302
302
  def _reduce_2(val, _values)
303
- LineAbsyn::ArrayNode.new
303
+ LineAbsyn::ArrayNode.new
304
304
  end
305
305
  .,.,
306
306
 
307
307
  module_eval(<<'.,.,', 'line_parser.y', 10)
308
308
  def _reduce_3(val, _values)
309
- val[0].add(val[1])
309
+ val[0].add(val[1])
310
310
  end
311
311
  .,.,
312
312
 
313
313
  module_eval(<<'.,.,', 'line_parser.y', 13)
314
314
  def _reduce_4(val, _values)
315
- LineAbsyn::StringNode.new(val[0])
315
+ LineAbsyn::StringNode.new(val[0])
316
316
  end
317
317
  .,.,
318
318
 
319
319
  module_eval(<<'.,.,', 'line_parser.y', 14)
320
320
  def _reduce_5(val, _values)
321
- LineAbsyn::WikiName.new(val[0])
321
+ LineAbsyn::WikiName.new(val[0])
322
322
  end
323
323
  .,.,
324
324
 
325
325
  module_eval(<<'.,.,', 'line_parser.y', 15)
326
326
  def _reduce_6(val, _values)
327
- LineAbsyn::StringNode.new(val[0])
327
+ LineAbsyn::StringNode.new(val[0])
328
328
  end
329
329
  .,.,
330
330
 
331
331
  module_eval(<<'.,.,', 'line_parser.y', 16)
332
332
  def _reduce_7(val, _values)
333
- LineAbsyn::Url.new(val[0])
333
+ LineAbsyn::Url.new(val[0])
334
334
  end
335
335
  .,.,
336
336
 
337
337
  module_eval(<<'.,.,', 'line_parser.y', 17)
338
338
  def _reduce_8(val, _values)
339
- LineAbsyn::Macro.new(val[0][0], val[0][1])
339
+ LineAbsyn::Macro.new(val[0][0], val[0][1])
340
340
  end
341
341
  .,.,
342
342
 
@@ -345,6 +345,6 @@ def _reduce_none(val, _values)
345
345
  end
346
346
 
347
347
  end # class LineParser
348
- end # module Juli
348
+ end # module Juli
349
349
 
350
350
 
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # DO NOT MODIFY!!!!
3
- # This file is automatically generated by Racc 1.4.12
4
- # from Racc grammer file "".
3
+ # This file is automatically generated by Racc 1.6.0
4
+ # from Racc grammar file "".
5
5
  #
6
6
 
7
7
  require 'racc/parser.rb'
@@ -457,49 +457,49 @@ Racc_debug_parser = true
457
457
 
458
458
  module_eval(<<'.,.,', 'parser.y', 7)
459
459
  def _reduce_1(val, _values)
460
- @root = val[0]
460
+ @root = val[0]
461
461
  end
462
462
  .,.,
463
463
 
464
464
  module_eval(<<'.,.,', 'parser.y', 10)
465
465
  def _reduce_2(val, _values)
466
- Absyn::ArrayNode.new
466
+ Absyn::ArrayNode.new
467
467
  end
468
468
  .,.,
469
469
 
470
470
  module_eval(<<'.,.,', 'parser.y', 11)
471
471
  def _reduce_3(val, _values)
472
- val[0].add(val[1]) if val[1]; val[0]
472
+ val[0].add(val[1]) if val[1]; val[0]
473
473
  end
474
474
  .,.,
475
475
 
476
476
  module_eval(<<'.,.,', 'parser.y', 14)
477
477
  def _reduce_4(val, _values)
478
- Absyn::StrNode.new(val[0])
478
+ Absyn::StrNode.new(val[0])
479
479
  end
480
480
  .,.,
481
481
 
482
482
  module_eval(<<'.,.,', 'parser.y', 15)
483
483
  def _reduce_5(val, _values)
484
- Absyn::Verbatim.new(val[1])
484
+ Absyn::Verbatim.new(val[1])
485
485
  end
486
486
  .,.,
487
487
 
488
488
  module_eval(<<'.,.,', 'parser.y', 16)
489
489
  def _reduce_6(val, _values)
490
- val[1]
490
+ val[1]
491
491
  end
492
492
  .,.,
493
493
 
494
494
  module_eval(<<'.,.,', 'parser.y', 17)
495
495
  def _reduce_7(val, _values)
496
- val[1]
496
+ val[1]
497
497
  end
498
498
  .,.,
499
499
 
500
500
  module_eval(<<'.,.,', 'parser.y', 18)
501
501
  def _reduce_8(val, _values)
502
- val[1]
502
+ val[1]
503
503
  end
504
504
  .,.,
505
505
 
@@ -509,7 +509,7 @@ module_eval(<<'.,.,', 'parser.y', 18)
509
509
 
510
510
  module_eval(<<'.,.,', 'parser.y', 21)
511
511
  def _reduce_11(val, _values)
512
- nil
512
+ nil
513
513
  end
514
514
  .,.,
515
515
 
@@ -517,61 +517,61 @@ module_eval(<<'.,.,', 'parser.y', 21)
517
517
 
518
518
  module_eval(<<'.,.,', 'parser.y', 25)
519
519
  def _reduce_13(val, _values)
520
- val[0] + val[1]
520
+ val[0] + val[1]
521
521
  end
522
522
  .,.,
523
523
 
524
524
  module_eval(<<'.,.,', 'parser.y', 37)
525
525
  def _reduce_14(val, _values)
526
- h = Absyn::ArrayNode.new; h.add(val[0])
526
+ h = Absyn::ArrayNode.new; h.add(val[0])
527
527
  end
528
528
  .,.,
529
529
 
530
530
  module_eval(<<'.,.,', 'parser.y', 38)
531
531
  def _reduce_15(val, _values)
532
- val[0].add(val[1])
532
+ val[0].add(val[1])
533
533
  end
534
534
  .,.,
535
535
 
536
536
  module_eval(<<'.,.,', 'parser.y', 40)
537
537
  def _reduce_16(val, _values)
538
- Absyn::Chapter.new(val[0], val[1], val[2])
538
+ Absyn::Chapter.new(val[0], val[1], val[2])
539
539
  end
540
540
  .,.,
541
541
 
542
542
  module_eval(<<'.,.,', 'parser.y', 44)
543
543
  def _reduce_17(val, _values)
544
- l = Absyn::UnorderedList.new; l.add(val[0])
544
+ l = Absyn::UnorderedList.new; l.add(val[0])
545
545
  end
546
546
  .,.,
547
547
 
548
548
  module_eval(<<'.,.,', 'parser.y', 45)
549
549
  def _reduce_18(val, _values)
550
- val[0].add(val[1])
550
+ val[0].add(val[1])
551
551
  end
552
552
  .,.,
553
553
 
554
554
  module_eval(<<'.,.,', 'parser.y', 47)
555
555
  def _reduce_19(val, _values)
556
- val[1]
556
+ val[1]
557
557
  end
558
558
  .,.,
559
559
 
560
560
  module_eval(<<'.,.,', 'parser.y', 51)
561
561
  def _reduce_20(val, _values)
562
- l = Absyn::OrderedList.new; l.add(val[0])
562
+ l = Absyn::OrderedList.new; l.add(val[0])
563
563
  end
564
564
  .,.,
565
565
 
566
566
  module_eval(<<'.,.,', 'parser.y', 52)
567
567
  def _reduce_21(val, _values)
568
- val[0].add(val[1])
568
+ val[0].add(val[1])
569
569
  end
570
570
  .,.,
571
571
 
572
572
  module_eval(<<'.,.,', 'parser.y', 54)
573
573
  def _reduce_22(val, _values)
574
- val[1]
574
+ val[1]
575
575
  end
576
576
  .,.,
577
577
 
@@ -583,7 +583,7 @@ module_eval(<<'.,.,', 'parser.y', 58)
583
583
 
584
584
  module_eval(<<'.,.,', 'parser.y', 59)
585
585
  def _reduce_24(val, _values)
586
- val[0].add(val[1])
586
+ val[0].add(val[1])
587
587
  end
588
588
  .,.,
589
589
 
@@ -595,19 +595,19 @@ module_eval(<<'.,.,', 'parser.y', 61)
595
595
 
596
596
  module_eval(<<'.,.,', 'parser.y', 65)
597
597
  def _reduce_26(val, _values)
598
- l = Absyn::DictionaryList.new; l.add(val[0])
598
+ l = Absyn::DictionaryList.new; l.add(val[0])
599
599
  end
600
600
  .,.,
601
601
 
602
602
  module_eval(<<'.,.,', 'parser.y', 66)
603
603
  def _reduce_27(val, _values)
604
- val[0].add(val[1])
604
+ val[0].add(val[1])
605
605
  end
606
606
  .,.,
607
607
 
608
608
  module_eval(<<'.,.,', 'parser.y', 68)
609
609
  def _reduce_28(val, _values)
610
- Absyn::DictionaryListItem.new(val[0], val[2])
610
+ Absyn::DictionaryListItem.new(val[0], val[2])
611
611
  end
612
612
  .,.,
613
613
 
@@ -616,6 +616,6 @@ def _reduce_none(val, _values)
616
616
  end
617
617
 
618
618
  end # class Parser
619
- end # module Juli
619
+ end # module Juli
620
620
 
621
621
 
data/lib/juli/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Juli
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: juli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ido
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-27 00:00:00.000000000 Z
11
+ date: 2022-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sdbm
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: byebug
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -112,16 +126,16 @@ dependencies:
112
126
  name: rake
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
115
- - - "~>"
129
+ - - ">="
116
130
  - !ruby/object:Gem::Version
117
- version: '10.0'
131
+ version: 12.3.3
118
132
  type: :development
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - "~>"
136
+ - - ">="
123
137
  - !ruby/object:Gem::Version
124
- version: '10.0'
138
+ version: 12.3.3
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rdoc
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -254,14 +268,13 @@ files:
254
268
  - lib/juli/visitor/takahashi_method.rb
255
269
  - lib/juli/visitor/tree.rb
256
270
  - lib/juli/wiki.rb
257
- - sample/protected_photo/2012-04-22/DCIM/101_PANA/P1010441.JPG
258
271
  - sample/update_public_juli.rb
259
272
  - setup.rb
260
273
  homepage: https://github.com/fuminori-ido/juli
261
274
  licenses:
262
275
  - MIT
263
276
  metadata: {}
264
- post_install_message:
277
+ post_install_message:
265
278
  rdoc_options: []
266
279
  require_paths:
267
280
  - lib
@@ -276,9 +289,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
276
289
  - !ruby/object:Gem::Version
277
290
  version: '0'
278
291
  requirements: []
279
- rubyforge_project:
280
- rubygems_version: 2.7.6.2
281
- signing_key:
292
+ rubygems_version: 3.3.3
293
+ signing_key:
282
294
  specification_version: 4
283
295
  summary: Offline wiki, and outline processor
284
296
  test_files: []