liveblog-plugin-indexer 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e6f37959f70ce239b4104dcc470eddb0142a673b
4
+ data.tar.gz: 594694a5039701e2e438fec0d974cbc050c37d88
5
+ SHA512:
6
+ metadata.gz: 4b93f2a9e14e628e48e6c61be2013982fafec5b4f8790ae1b060840e95ce7148f04c52102046122c045f2213ec40f37c1a7a1fb92692423c811c826c3502592d
7
+ data.tar.gz: ecae655e3dade843b8e8214c10110c41cb0feb58b7fb87b43660a349924eb0e5af312b6eb775b8265afc51652f404deac63f1f7396a367b0b98af790d30a337d
Binary file
Binary file
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # file: liveblog-plugin-indexer.rb
4
+
5
+
6
+ require 'liveblog-indexer'
7
+
8
+
9
+ class LiveBlogPluginIndexer
10
+
11
+ def initialize(settings: {}, variables: {})
12
+
13
+ @urlbase = variables[:urlbase]
14
+
15
+ end
16
+
17
+ def on_new_day(filepath, urlpath)
18
+
19
+ LiveBlogIndexer.new.crawl @urlbase + urlpath + 'formatted.xml'
20
+
21
+ end
22
+
23
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: liveblog-plugin-indexer
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
+ MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
+ YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
+ 8ixkARkWAmV1MB4XDTE1MTExMzE0MjgxNFoXDTE2M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w
31
+ NoKJRPDAAgrsc5aSXiSwgpAkK/cpIcJQUDLvzkCuTBctQgJpumXPGjv6cMgcI9/J
32
+ jxdgY7e5/hrlBg==
33
+ -----END CERTIFICATE-----
34
+ date: 2015-11-13 00:00:00.000000000 Z
35
+ dependencies:
36
+ - !ruby/object:Gem::Dependency
37
+ name: liveblog-indexer
38
+ requirement: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '0.2'
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 0.2.1
46
+ type: :runtime
47
+ prerelease: false
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '0.2'
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 0.2.1
56
+ description:
57
+ email: james@r0bertson.co.uk
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - lib/liveblog-plugin-indexer.rb
63
+ homepage: https://github.com/jrobertson/liveblog-plugin-indexer
64
+ licenses:
65
+ - MIT
66
+ metadata: {}
67
+ post_install_message:
68
+ rdoc_options: []
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ requirements: []
82
+ rubyforge_project:
83
+ rubygems_version: 2.4.8
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: A LiveBlog plugin to Index previous entries to facilitate using keywords
87
+ to search the LiveBlog.
88
+ test_files: []
Binary file