polyrex-links 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -4
- data/lib/polyrex-links.rb +17 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf7fdc48533ddbc311264c8d2c5b2db7bbeb62735373b91a9a82aa566ae50712
|
4
|
+
data.tar.gz: 23804ca9e2c50c13791543c50ddb8948c16fbeb47bdbb2852f3fd94214ce5f91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 598027b09384873d5ca570a66461697e9be54b6e3bfb62cc4bdcdf119f4cb63bfffd3b4fc2470da0a637d497b13acf2d6a2ba8f3dd0943965e8a0c255dbe7ca5
|
7
|
+
data.tar.gz: a26a5347f38c10ad3d080a0fdd0037482f461034cb19ad7776e7181d4178472bd82cdb6514c6b7edb191a40f3f70347459ad0bcc10714d39485db81082bcbeb0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,4 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�^,�"�lv�6z�-���h������
|
4
|
-
r��=�`8�q��q�g�@�K��hቤ8�p�:q"��������B��9�z*�KN��6�|�N�0���B�!���=&8-��'c���+�#�Ea��
|
1
|
+
Bd�{���{oh#�����#�Fԝ�(Y���`E8��=SH*��=SN�y��Cd�MGUx���%Y�yE��A�7��/Ǹ��vg<z£���(ED)�v%ǩ��^��c���Y�&���aW�ex�n� _�����u�9�e��y�éz�~�@����9�Q��kYK�����ud�p/Y)5��'I�'gw�����x|�b��?�g��8Tjf�������/��5�8l"'Tx��4u�:L�G�S����\T�%��*��7��X�q
|
2
|
+
�[�yO:�(�um�s���k��rgyq
|
data/lib/polyrex-links.rb
CHANGED
@@ -32,6 +32,16 @@ class PolyrexLinks < Polyrex
|
|
32
32
|
|
33
33
|
end
|
34
34
|
|
35
|
+
# returns a listing of all links sorted by title in alphabetical order
|
36
|
+
#
|
37
|
+
def index()
|
38
|
+
|
39
|
+
a = []
|
40
|
+
each_recursive {|link| a << [link.title, link.url, backtrack_path(link)] }
|
41
|
+
a.sort_by {|title, _, _| title.downcase}
|
42
|
+
|
43
|
+
end
|
44
|
+
|
35
45
|
def migrate(raws)
|
36
46
|
|
37
47
|
s, _ = RXFHelper.read(raws)
|
@@ -81,6 +91,13 @@ class PolyrexLinks < Polyrex
|
|
81
91
|
r ? [r, path.sub(c.join('/'),'')] : nil
|
82
92
|
end
|
83
93
|
|
94
|
+
def save(filepath)
|
95
|
+
|
96
|
+
super(filepath)
|
97
|
+
export(filepath.sub(/\.xml$/,'.txt'))
|
98
|
+
|
99
|
+
end
|
100
|
+
|
84
101
|
|
85
102
|
# Return a flat Hash object containing all the links. The link path is
|
86
103
|
# used as the key and the value is the url
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyrex-links
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
5x/50O2gHQvmLgSVk8EsWqPZ6B8tMZ9h/ttCIkW33ewCmHrrxH9suuyqbC/SaiEf
|
36
36
|
2qE86MpuEcgDiX59WiP5GiBx
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2021-05
|
38
|
+
date: 2021-06-05 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: polyrex
|
metadata.gz.sig
CHANGED
Binary file
|