feedbag 0.10.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING +1 -1
- data/README.markdown +0 -4
- data/lib/feedbag.rb +2 -21
- metadata +31 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43f044f914e64cb4abe7875271264f04d32c31730794340d41c116eb7e558b47
|
4
|
+
data.tar.gz: 61573a0de3b81e8bed311bd4049519034f8d8345b6612f8d82a8599f665698e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 375f6073c54ca181cca5277742a1b0353349d7aa6bf1a1491639cc5dc647903af8043aaedc28c0d16cf3ea263cf1bf1844928e7eb2b740da7f2618834780452f
|
7
|
+
data.tar.gz: 391142db8443a2601a7696868824027f791feaf13c7a585adc319722f1ae2ddaad4d36b23f8478e5d86fd20400ce721092d7c579f933916245cfe836c4d19a58
|
data/COPYING
CHANGED
data/README.markdown
CHANGED
@@ -62,10 +62,6 @@ You can find the other options to OpenURI [here](https://rubyapi.org/o/openuri/o
|
|
62
62
|
- Because it's a single file you can embed easily in your application.
|
63
63
|
- Because it's faster than anything else.
|
64
64
|
|
65
|
-
### Web Service
|
66
|
-
|
67
|
-
Now you can also POST directly into an AWS Lambda function webservice that runs `Feedbag.find()`. Don't overuse it. It's [here](https://github.com/damog/aws-lambda-feedbag).
|
68
|
-
|
69
65
|
### Author
|
70
66
|
|
71
67
|
[David Moreno](http://damog.net/) <[damog@damog.net](mailto:damog@damog.net)>.
|
data/lib/feedbag.rb
CHANGED
@@ -1,25 +1,6 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
# a copy of this software and associated documentation files (the
|
7
|
-
# "Software"), to deal in the Software without restriction, including
|
8
|
-
# without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
# distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
# permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
# the following conditions:
|
12
|
-
#
|
13
|
-
# The above copyright notice and this permission notice shall be
|
14
|
-
# included in all copies or substantial portions of the Software.
|
15
|
-
#
|
16
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
3
|
+
# See COPYING before using this software.
|
23
4
|
|
24
5
|
require "rubygems"
|
25
6
|
require "nokogiri"
|
@@ -27,7 +8,7 @@ require "open-uri"
|
|
27
8
|
require "net/http"
|
28
9
|
|
29
10
|
class Feedbag
|
30
|
-
VERSION = '0.
|
11
|
+
VERSION = '1.0.0'
|
31
12
|
CONTENT_TYPES = [
|
32
13
|
'application/x.atom+xml',
|
33
14
|
'application/atom+xml',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feedbag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Moreno
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -92,6 +92,34 @@ dependencies:
|
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: '11'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rake
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '12'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '12'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: test-unit
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '3'
|
116
|
+
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - "~>"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '3'
|
95
123
|
description: Ruby's favorite feed auto-discovery tool
|
96
124
|
email: damog@damog.net
|
97
125
|
executables:
|
@@ -127,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
155
|
- !ruby/object:Gem::Version
|
128
156
|
version: '0'
|
129
157
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
158
|
+
rubygems_version: 3.3.7
|
131
159
|
signing_key:
|
132
160
|
specification_version: 4
|
133
161
|
summary: RSS/Atom feed auto-discovery tool
|