martile-plugin-rbbrs24 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f81a08cabd4394a6010cc46cb3e8177ba9a62363d7a2db3659025d0ada957db4
4
+ data.tar.gz: a9297468d1a98b427dbbf00cb156ffef6fe2099476c85f0c74f2ea96902312f0
5
+ SHA512:
6
+ metadata.gz: 30e547682c6682301a7f2155330ee1e1cd432fef4e71cc6bdb6c023413b853b90b927b9bf9adc2ea0901b11af73d407e34e9a3e5277d96b379df91b81c9be4e6
7
+ data.tar.gz: ff4f6cc39c9cf14d9150ab96fc8684ff876dfa225ed4c4304f32bcd065534d8d39edda7dc1202aba179e63ef11f34f30217d3dff1bbc756ca016861fffba7559
checksums.yaml.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ W{J�,���-�Į݃�H�� �mt�����W��_�-� <fv��G���2'�܅�=&���Б1)���������n݀�3�0����R��%)]��s�I�5e)PE�ЈP0iB��|�?1w��F���]!��Ԇr�Uj�R�����5_?�2
2
+ ��q����q��0�� ��.�}ċC���"+���&E�DW&ߍ�Yφ��
3
+ 5I��.Wlg���/�i��X������˹��C�}{ّ�G�C���'s@T���i~c�s�<��^ >[]��p8g�o>^�����3X&Y��R��P��s���� �Xe����4l������_܏��ךf��!7�J�c�H���t90��L}�WVCbY�sb��zcFC�"z��
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # file: martile-plugin-rbbrs24.rb
4
+
5
+ require 'rbbrs24'
6
+
7
+
8
+ class MartilePluginRbbrs24
9
+
10
+
11
+ def initialize(settings: {})
12
+
13
+ @action = settings[:action] || 'run'
14
+
15
+ end
16
+
17
+ def apply(s)
18
+
19
+ a = s.split(/(?=<rbbr>)/)
20
+
21
+ a.map do |x|
22
+
23
+ if x =~ /<rbbr>/ then
24
+
25
+ iend = x =~ /<\/rbbr>/
26
+ code, remaining = x[6..iend-1], x[iend+7..-1]
27
+ Rbbrs24.new(code: code).render_input + remaining
28
+
29
+ else
30
+ x
31
+ end
32
+
33
+ end.join
34
+
35
+ end
36
+
37
+ end
38
+
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: martile-plugin-rbbrs24
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - James Robertson
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEljCCAv6gAwIBAgIBATANBgkqhkiG9w0BAQsFADBIMRIwEAYDVQQDDAlnZW1t
14
+ YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
+ 8ixkARkWAmV1MB4XDTIzMDIyNDE4NDQwM1oXDTI0MDIyNDE4NDQwM1owSDESMBAG
16
+ A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
+ EjAQBgoJkiaJk/IsZAEZFgJldTCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoC
18
+ ggGBAMLDCR5Ao8m7hIpZIbXMPHadlQxWMa4zo8bwB2gJPO+AtLWKqncfz/5PoyJZ
19
+ p1OxF9s6Hp6wKtMjqWgQrXT732sOo1SqkPGeR0sCX6jxa9lkEarGRf/1+4e3qdOt
20
+ t208s1iZDS5Z0Peovph6MfWVeU8eSHlzDxr5EGv4oQQ4ijzMdStWape8VSQiKAcr
21
+ zO33cMaLczUqfCwPe34Awp8AUQ571Jb02kNpKprZ3RxQbH9jFz5/qBgfloFvwb86
22
+ GYdAiANZfE6FiEyyiZrdN5l9kF839u3ZM3nReFzUTaLSk5sh6ZDjR7u+eNFVMQYp
23
+ hg333ELLyhHkWbJoHjZtHDy3xxXeBs7oY23DlCPoMJ/xiSz0vbpG2pBEGCMOLI/e
24
+ MaOwiaeiwbufZ2aU02LX7+ojjN2yAA8fOHj4oQiDI5IcpmmTv6T9HJSBCuvlWo5l
25
+ IJtgCxjgDwnpiKdhd6fDu9295ZXsatacorKg8xArmGH8M/xsZtIQR0RKUPgg5iR0
26
+ HDPBowIDAQABo4GKMIGHMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
27
+ BBRt9e/zZEppLJsFO4Dm2DwptLh6/jAmBgNVHREEHzAdgRtnZW1tYXN0ZXJAamFt
28
+ ZXNyb2JlcnRzb24uZXUwJgYDVR0SBB8wHYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0
29
+ c29uLmV1MA0GCSqGSIb3DQEBCwUAA4IBgQBtnQ7FjKkTb1RcxVZC3kdghBcKYtIa
30
+ lGNkSF/KD4omQnuFxHdQgc4iSuFUMuxEjbinQRpJSrCIo23L/9oN07y6oFZUAkfr
31
+ umtokqmoczoaPncDGuZ/UHPj7lelsvGvhK38kCFniiX/UbKvNnZniCWpbMgGoI99
32
+ eL1jjT/GCyLSg1/s98nO+SDOqS0FRiu0eXANd377sXSWv7qjwomaZUcsyH1w0aeS
33
+ lPO10giDsgprbchdLe0tg6afpgAYeTDbwVMxCzWVIVXJ2UdwBlJWOKGjy5Sw3kx3
34
+ JRqxbkn3We1czJ0ELIw/ZShR7BX1AtvMjIBKOCgcJ62vI205G07b7g2T3wWdEmEY
35
+ 7mIbbSVqhHXQWV12A7vXIZwPap4DANaPJmTp3DZulkLt0eNiLVlLCDZBuOr1qY0p
36
+ 1HEpeZJfVnH8A5dy2YpJ9xdfbXgAYkX907HUIAFvZ705/yhEHOYOLCVGIbYzsicU
37
+ 60wIb534zp4/MKDsSkQU0zbb2IhpHEhpUmA=
38
+ -----END CERTIFICATE-----
39
+ date: 2023-02-24 00:00:00.000000000 Z
40
+ dependencies:
41
+ - !ruby/object:Gem::Dependency
42
+ name: rbbrs24
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.1'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 0.1.1
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '0.1'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 0.1.1
61
+ description:
62
+ email: digital.robertson@gmail.com
63
+ executables: []
64
+ extensions: []
65
+ extra_rdoc_files: []
66
+ files:
67
+ - lib/martile-plugin-rbbrs24.rb
68
+ homepage: https://github.com/jrobertson/martile-plugin-rbbrs24
69
+ licenses:
70
+ - MIT
71
+ metadata: {}
72
+ post_install_message:
73
+ rdoc_options: []
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ requirements: []
87
+ rubygems_version: 3.4.4
88
+ signing_key:
89
+ specification_version: 4
90
+ summary: A Martile plugin to generate an HTML form from the Rbbrs24 gem.
91
+ test_files: []
metadata.gz.sig ADDED
Binary file