consyncful 0.7.3 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39ad7cde060eb4740f59d3d630116456e4ca766a288e69589da90d16d501688b
4
- data.tar.gz: e1498ad860cae54c4a7779979d0ec501dec1df99d3e1f1b8942c710c2a014520
3
+ metadata.gz: 0ba8337492a23b2e64415655bbf40d173a242cab785100a8f63c1aaa9c9c66d3
4
+ data.tar.gz: aa802f57a1d04f013440bda7b81d9780226942d779f8031e51c60c4dcc822be2
5
5
  SHA512:
6
- metadata.gz: 447015c1e208ef8f8d70b4e6d5f0c006fbbc762bc88b90be3bc73ab39c10eb94e6ce0babd86cee7fc509e3664edc14ebb796c443536f58018a1a2358120c913f
7
- data.tar.gz: 8f4a2561961ebe86546b3c3b9760107c3b90ddab8958a872940323f889928a89219315c6e41ced013a33374b352b66b3c0d275539c442549e77f6206ea3bb3a5
6
+ metadata.gz: 0cdcba4664eb12afb0b1a4ca1d6a8a302605d9334ec2342aa5f699d3e71926815e271f701f32fa7f2c3cc73f085fecbd4c4261dedf3b0300cd0641b195dceb47
7
+ data.tar.gz: 7cb9d7289b6524c2e2ff95fe547fd2cbf6614601e2177aff275ce21ab9b467afdf039f4cfff566c2095bc3fce44b15020b7d0beaa7556b6c1312b384ac64833b
data/.rubocop.yml CHANGED
@@ -2,4 +2,8 @@ inherit_from: .rubocop_todo.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 2.7
5
- NewCops: enable
5
+ NewCops: enable
6
+
7
+ Metrics/BlockLength:
8
+ Exclude:
9
+ - 'spec/**/*'
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- consyncful (0.7.3)
4
+ consyncful (0.9.0)
5
5
  contentful (>= 2.11.1, < 3.0.0)
6
6
  hooks (>= 0.4.1)
7
- mongoid (>= 7.0.2, < 8.0.0)
7
+ mongoid (>= 7.0.2, < 9.0.0)
8
8
  rainbow
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activemodel (7.0.3.1)
14
- activesupport (= 7.0.3.1)
15
- activesupport (7.0.3.1)
13
+ activemodel (7.0.4.2)
14
+ activesupport (= 7.0.4.2)
15
+ activesupport (7.0.4.2)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -21,7 +21,7 @@ GEM
21
21
  public_suffix (>= 2.0.2, < 6.0)
22
22
  ast (2.4.2)
23
23
  bson (4.15.0)
24
- concurrent-ruby (1.1.10)
24
+ concurrent-ruby (1.2.0)
25
25
  contentful (2.16.3)
26
26
  http (> 0.8, < 5.0)
27
27
  multi_json (~> 1)
@@ -47,18 +47,18 @@ GEM
47
47
  ffi-compiler (>= 1.0, < 2.0)
48
48
  i18n (1.12.0)
49
49
  concurrent-ruby (~> 1.0)
50
- minitest (5.16.3)
51
- mongo (2.18.1)
50
+ minitest (5.17.0)
51
+ mongo (2.18.2)
52
52
  bson (>= 4.14.1, < 5.0.0)
53
- mongoid (7.5.1)
53
+ mongoid (8.0.3)
54
54
  activemodel (>= 5.1, < 7.1, != 7.0.0)
55
- mongo (>= 2.10.5, < 3.0.0)
55
+ mongo (>= 2.18.0, < 3.0.0)
56
56
  ruby2_keywords (~> 0.0.5)
57
57
  multi_json (1.15.0)
58
58
  parallel (1.22.1)
59
59
  parser (3.1.2.0)
60
60
  ast (~> 2.4.1)
61
- public_suffix (5.0.0)
61
+ public_suffix (5.0.1)
62
62
  rainbow (3.1.1)
63
63
  rake (13.0.1)
64
64
  regexp_parser (2.3.1)
@@ -93,7 +93,7 @@ GEM
93
93
  rubocop (~> 1.19)
94
94
  ruby-progressbar (1.11.0)
95
95
  ruby2_keywords (0.0.5)
96
- tzinfo (2.0.5)
96
+ tzinfo (2.0.6)
97
97
  concurrent-ruby (~> 1.0)
98
98
  uber (0.0.15)
99
99
  unf (0.1.4)
data/consyncful.gemspec CHANGED
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
41
41
 
42
42
  spec.add_dependency 'contentful', ['>=2.11.1', '<3.0.0']
43
43
  spec.add_dependency 'hooks', '>=0.4.1'
44
- spec.add_dependency 'mongoid', ['>=7.0.2', '<8.0.0']
44
+ spec.add_dependency 'mongoid', ['>=7.0.2', '<9.0.0']
45
45
  spec.add_dependency 'rainbow'
46
46
  spec.metadata['rubygems_mfa_required'] = 'true'
47
47
  end
@@ -55,6 +55,7 @@ module Consyncful
55
55
  updated_at: @item.updated_at,
56
56
  revision: @item.revision,
57
57
  contentful_type: type,
58
+ contentful_tags: @item._metadata[:tags].map(&:id),
58
59
  synced_at: Time.current
59
60
  }
60
61
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Consyncful
4
- VERSION = '0.7.3'
4
+ VERSION = '0.9.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consyncful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Anastasiadis-Gray
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-14 00:00:00.000000000 Z
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -151,7 +151,7 @@ dependencies:
151
151
  version: 7.0.2
152
152
  - - "<"
153
153
  - !ruby/object:Gem::Version
154
- version: 8.0.0
154
+ version: 9.0.0
155
155
  type: :runtime
156
156
  prerelease: false
157
157
  version_requirements: !ruby/object:Gem::Requirement
@@ -161,7 +161,7 @@ dependencies:
161
161
  version: 7.0.2
162
162
  - - "<"
163
163
  - !ruby/object:Gem::Version
164
- version: 8.0.0
164
+ version: 9.0.0
165
165
  - !ruby/object:Gem::Dependency
166
166
  name: rainbow
167
167
  requirement: !ruby/object:Gem::Requirement