feedx 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/feedx.gemspec +2 -2
- data/lib/feedx/pusher.rb +1 -3
- data/spec/feedx/pusher_spec.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c601b31c975bf931998f4c498b86f4e0308be42d0064b9d138d64dc58f2ddb4e
|
4
|
+
data.tar.gz: ab223f06c6b9f9bf6c5b000f1268ded7a86e10e36715d43628bb19d08ac7809f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5200ae2328cb6353f1262639aca392cc09f18e30f9023c8db9da5e81e7236cb00bb07b543b660497d7c98d5368dfe24f8dbc410ac5234ef82ce270d0cc253d9
|
7
|
+
data.tar.gz: 940fe6bf7295e7b24dc71cea752fa2850ed1fc0dac736559f8289f93704690393ca81e216d222385eb33e5674709d06c82ff108ee10e8dad8b6bf6f57e97ed51
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
feedx (0.3.
|
5
|
-
bfs (>= 0.3.
|
4
|
+
feedx (0.3.1)
|
5
|
+
bfs (>= 0.3.4)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.4.0)
|
11
|
-
bfs (0.3.
|
11
|
+
bfs (0.3.4)
|
12
12
|
diff-lcs (1.3)
|
13
13
|
google-protobuf (3.6.1)
|
14
14
|
jaro_winkler (1.5.1)
|
data/feedx.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'feedx'
|
3
|
-
s.version = '0.3.
|
3
|
+
s.version = '0.3.1'
|
4
4
|
s.authors = ['Black Square Media Ltd']
|
5
5
|
s.email = ['info@blacksquaremedia.com']
|
6
6
|
s.summary = %(Exchange data between components via feeds)
|
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.require_paths = ['lib']
|
14
14
|
s.required_ruby_version = '>= 2.2'
|
15
15
|
|
16
|
-
s.add_dependency 'bfs', '>= 0.3.
|
16
|
+
s.add_dependency 'bfs', '>= 0.3.4'
|
17
17
|
|
18
18
|
s.add_development_dependency 'bundler'
|
19
19
|
s.add_development_dependency 'pbio'
|
data/lib/feedx/pusher.rb
CHANGED
@@ -4,9 +4,7 @@ require 'bfs'
|
|
4
4
|
module Feedx
|
5
5
|
# Pushes a relation as a protobuf encoded stream to an S3 location.
|
6
6
|
class Pusher
|
7
|
-
|
8
|
-
|
9
|
-
META_LAST_MODIFIED = 'X-Feedx-Pusher-Last-Modified'.freeze
|
7
|
+
META_LAST_MODIFIED = 'x-feedx-pusher-last-modified'.freeze
|
10
8
|
|
11
9
|
# See constructor.
|
12
10
|
def self.perform(url, opts={}, &block)
|
data/spec/feedx/pusher_spec.rb
CHANGED
@@ -60,7 +60,7 @@ RSpec.describe Feedx::Pusher do
|
|
60
60
|
|
61
61
|
it 'should support last-modified' do
|
62
62
|
described_class.perform 'mock:///dir/file.json', last_modified: Time.at(1515151515), enum: enumerable
|
63
|
-
expect(bucket.info('dir/file.json').metadata).to eq('
|
63
|
+
expect(bucket.info('dir/file.json').metadata).to eq('x-feedx-pusher-last-modified' => '1515151515000')
|
64
64
|
end
|
65
65
|
|
66
66
|
it 'should perform conditionally' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feedx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bfs
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.3.
|
19
|
+
version: 0.3.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.3.
|
26
|
+
version: 0.3.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.7.
|
152
|
+
rubygems_version: 2.7.6
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Exchange data between components via feeds
|