wcc-contentful 1.0.0.pre.rc1 → 1.0.0.pre.rc2

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: e8c289b7bbddc39150c9ab86fb781e4dcdd740153a6e39906f438caa11740077
4
- data.tar.gz: 36d446fb8abe8b7dbed82f68d36280d85528f4ba60a9af2707bbccbdb4a04794
3
+ metadata.gz: 641600f1bd3c583aad140a1505a02d3121cf6b0e4cac4a2484fc49d3c1134003
4
+ data.tar.gz: 233f01f125d9f30a4bc6ecd820f350a315c4a87d6813b5edf85750fe2179a97c
5
5
  SHA512:
6
- metadata.gz: a3a992e38c9688f7bc0834bf0629c5df5e6d54fdca044295a534d741ce3fc6c6e4017a9a48ba65c765af91c6ff9733ec5469ecb0aaa5a1302e371c6fd3325de1
7
- data.tar.gz: 90aa3d052268446d7d1bb15cea05048b643904026d8406ea274045db6a68b3c395b09e60178a13f028e3238a8a3606c3f63abc58a47ba5c8b822834b6a8c3064
6
+ metadata.gz: 699e37d8ca2948f4ddc8feb90a9850cbbc602e17fa3e7e62d99fe84944198d3b7ed8c253e823fa830717c5c491fa7e2d796bdc97923346a20012d8742b011414
7
+ data.tar.gz: cc5919e973428a78193e7821e9402a997deede747419f86810ba692a75f8493a35397e9c5c6a30d88d16302fd7d50d3228216b80d593b24564036ed0ffd4ffff
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ task :release do
4
+ raise StandardError, 'Please run rake release only from the root folder.'
5
+ end
data/doc ADDED
@@ -0,0 +1 @@
1
+ ./../doc/wcc-contentful
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
 
2
3
  Dir[File.join(File.dirname(__FILE__), '../../tasks/**/*.rake')]
3
4
  .each { |f| load f }
@@ -90,7 +90,7 @@ module WCC::Contentful
90
90
  all_events << event
91
91
  end
92
92
 
93
- @state['token'] = sync_resp.next_sync_token
93
+ @state = @state.merge('token' => sync_resp.next_sync_token)
94
94
  write_state
95
95
  end
96
96
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module WCC
4
4
  module Contentful
5
- VERSION = '1.0.0-rc1'
5
+ VERSION = '1.0.0-rc2'
6
6
  end
7
7
  end
@@ -4,6 +4,9 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'wcc/contentful/version'
6
6
 
7
+ doc_version = Gem::Version.new(WCC::Contentful::VERSION).release.to_s.sub(/\.\d+$/, '')
8
+
9
+ # rubocop:disable Metrics/LineLength
7
10
  Gem::Specification.new do |spec|
8
11
  spec.name = 'wcc-contentful'
9
12
  spec.version = WCC::Contentful::VERSION
@@ -15,6 +18,10 @@ Gem::Specification.new do |spec|
15
18
  spec.homepage = 'https://github.com/watermarkchurch/wcc-contentful/wcc-contentful'
16
19
  spec.license = 'MIT'
17
20
 
21
+ spec.metadata = {
22
+ 'documentation_uri' => "https://watermarkchurch.github.io/wcc-contentful/#{doc_version}/wcc-contentful"
23
+ }
24
+
18
25
  spec.required_ruby_version = '>= 2.3'
19
26
 
20
27
  spec.files =
@@ -63,3 +70,4 @@ Gem::Specification.new do |spec|
63
70
  spec.add_dependency 'wcc-base', '~> 0.3.1'
64
71
  spec.add_dependency 'wisper', '~> 2.0.0'
65
72
  end
73
+ # rubocop:enable Metrics/LineLength
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-contentful
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc1
4
+ version: 1.0.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-18 00:00:00.000000000 Z
11
+ date: 2021-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -432,6 +432,7 @@ files:
432
432
  - ".rspec"
433
433
  - Guardfile
434
434
  - README.md
435
+ - Rakefile
435
436
  - app/controllers/wcc/contentful/application_controller.rb
436
437
  - app/controllers/wcc/contentful/webhook_controller.rb
437
438
  - app/jobs/wcc/contentful/webhook_enable_job.rb
@@ -441,7 +442,7 @@ files:
441
442
  - bin/setup
442
443
  - config/initializers/mime_types.rb
443
444
  - config/routes.rb
444
- - doc/wcc-contentful.png
445
+ - doc
445
446
  - lib/tasks/download_schema.rake
446
447
  - lib/wcc/contentful.rb
447
448
  - lib/wcc/contentful/active_record_shim.rb
@@ -500,7 +501,8 @@ files:
500
501
  homepage: https://github.com/watermarkchurch/wcc-contentful/wcc-contentful
501
502
  licenses:
502
503
  - MIT
503
- metadata: {}
504
+ metadata:
505
+ documentation_uri: https://watermarkchurch.github.io/wcc-contentful/1.0/wcc-contentful
504
506
  post_install_message:
505
507
  rdoc_options: []
506
508
  require_paths:
Binary file