wcc-contentful 1.0.3 → 1.0.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d87746f0de0949ba080104ebe87ec4c00a11cf9f
4
- data.tar.gz: 7ebd866d92089e9d670f963e7a320c93b05eb5b7
2
+ SHA256:
3
+ metadata.gz: 6ee244bf6dd08b9bdb26e9a4fd75e3b620b5204816e5e308bb645a53fd51c71e
4
+ data.tar.gz: df8e72ec7afa5ae987d85ffa19bc8d9841bc69016c0af7c12ca37700d3348674
5
5
  SHA512:
6
- metadata.gz: 90f4e7c8acc24218e16f0933571f40c9502bc99fbe05cdcbde10a4b2fc7346b148e9cd532106168428612cc2d480a6aa8e80eb2e8bac08533d6312140dbd0010
7
- data.tar.gz: 75a1de1837135f2cc37181c91df5739bb7d3a8f19f5566edaac2de3d39ff09941d7cf347a1fa6d897b248e8784238281ff0958b41cd95d1a002294488785a488
6
+ metadata.gz: bc0d104dbbd9106e806f3eca34272888598b34f45e9b0e4b2f28ebd96d1771803cfdf02a04b59655ff8ab1d7f41043fc5fe11bea7cab6de14600e0180d3a8d31
7
+ data.tar.gz: 15d915db83f38cbb08262e5f1c7c5ee3278922dfa4d57c75d966a85fbc04fed5288c5cb0ea066e9d51cf271c77057c1d90cc4838ebef9eecb37e02190f200b3a
@@ -2,6 +2,6 @@
2
2
 
3
3
  module WCC
4
4
  module Contentful
5
- VERSION = '1.0.3'
5
+ VERSION = '1.0.7'
6
6
  end
7
7
  end
@@ -24,10 +24,8 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = '>= 2.3'
26
26
 
27
- spec.files =
28
- `git ls-files -z`.split("\x0").reject do |f|
29
- f.match(%r{^(test|spec|features|Guardfile)/})
30
- end
27
+ spec.files = Dir['app/**/*', 'config/**/*', 'lib/**/*'] +
28
+ %w[Rakefile README.md wcc-contentful.gemspec]
31
29
 
32
30
  spec.require_paths = ['lib']
33
31
 
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.3
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Watermark Dev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-17 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -429,20 +429,13 @@ executables: []
429
429
  extensions: []
430
430
  extra_rdoc_files: []
431
431
  files:
432
- - ".rspec"
433
- - Guardfile
434
432
  - README.md
435
433
  - Rakefile
436
434
  - app/controllers/wcc/contentful/application_controller.rb
437
435
  - app/controllers/wcc/contentful/webhook_controller.rb
438
436
  - app/jobs/wcc/contentful/webhook_enable_job.rb
439
- - bin/console
440
- - bin/rails
441
- - bin/rspec
442
- - bin/setup
443
437
  - config/initializers/mime_types.rb
444
438
  - config/routes.rb
445
- - doc-static/wcc-contentful.png
446
439
  - lib/tasks/download_schema.rake
447
440
  - lib/wcc/contentful.rb
448
441
  - lib/wcc/contentful/active_record_shim.rb
@@ -503,7 +496,7 @@ licenses:
503
496
  - MIT
504
497
  metadata:
505
498
  documentation_uri: https://watermarkchurch.github.io/wcc-contentful/1.0/wcc-contentful
506
- post_install_message:
499
+ post_install_message:
507
500
  rdoc_options: []
508
501
  require_paths:
509
502
  - lib
@@ -518,9 +511,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
518
511
  - !ruby/object:Gem::Version
519
512
  version: '0'
520
513
  requirements: []
521
- rubyforge_project:
522
- rubygems_version: 2.6.11
523
- signing_key:
514
+ rubyforge_project:
515
+ rubygems_version: 2.7.6.2
516
+ signing_key:
524
517
  specification_version: 4
525
518
  summary: '[![Gem Version](https://badge.fury.io/rb/wcc-contentful.svg)](https://rubygems.org/gems/wcc-contentful)
526
519
  [![Build Status](https://circleci.com/gh/watermarkchurch/wcc-contentful.svg?style=svg)](https://circleci.com/gh/watermarkchurch/wcc-contentful)
data/.rspec DELETED
@@ -1,4 +0,0 @@
1
- --require spec_helper
2
- --format documentation
3
- --color
4
- --order rand
data/Guardfile DELETED
@@ -1,101 +0,0 @@
1
- # A guardfile for making Danger Plugins
2
- # For more info see https://github.com/guard/guard#readme
3
-
4
- # To run, use `bundle exec guard`.
5
-
6
- def watch_async(regexp)
7
- raise ArgumentError, "No block given" unless block_given?
8
- match_queue = Queue.new
9
-
10
- watch(regexp) do |match|
11
- # Producer - add matches to the match queue
12
- match_queue << match
13
- nil
14
- end
15
-
16
- # Consumer - process matches as a batch
17
- Thread.new do
18
- loop do
19
- matches = []
20
- matches << match_queue.pop
21
-
22
- loop do
23
- begin
24
- matches << match_queue.pop(true)
25
- rescue ThreadError
26
- break
27
- end
28
- end
29
-
30
- begin
31
- yield matches if matches.length > 0
32
- rescue StandardError => ex
33
- STDERR.puts "Error! #{ex}"
34
- end
35
- end
36
- end
37
- end
38
-
39
- group :red_green_refactor, halt_on_fail: true do
40
- guard :rspec, cmd: 'bundle exec rspec' do
41
- require 'guard/rspec/dsl'
42
- dsl = Guard::RSpec::Dsl.new(self)
43
-
44
- # RSpec files
45
- rspec = dsl.rspec
46
- watch(rspec.spec_helper) { rspec.spec_dir }
47
- # watch(rspec.spec_support) { rspec.spec_dir }
48
- watch(rspec.spec_files)
49
-
50
- # Ruby files
51
- ruby = dsl.ruby
52
- watch(%r{lib/wcc/(.+)\.rb$}) { |m| rspec.spec.call("wcc/#{m[1]}") }
53
- watch(%r{lib/generators/(.+)\.rb$}) { |m| rspec.spec.call("generators/#{m[1]}") }
54
-
55
- # Rails files
56
- rails = dsl.rails(view_extensions: %w[erb haml slim])
57
- dsl.watch_spec_files_for(rails.app_files)
58
- dsl.watch_spec_files_for(rails.views)
59
-
60
- watch(rails.controllers) do |m|
61
- [
62
- rspec.spec.call("routing/#{m[1]}_routing"),
63
- rspec.spec.call("controllers/#{m[1]}_controller"),
64
- rspec.spec.call("acceptance/#{m[1]}")
65
- ]
66
- end
67
-
68
- # Rails config changes
69
- watch(rails.spec_helper) { rspec.spec_dir }
70
- watch(rails.routes) { "#{rspec.spec_dir}/routing" }
71
- watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
72
-
73
- # Capybara features specs
74
- watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
75
- watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
76
- end
77
-
78
- guard :rubocop, cli: ['--display-cop-names'] do
79
- watch(%r{.+\.rb$})
80
- watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
81
- end
82
-
83
- guard :shell, all_on_start: false do
84
- watch_async(%r{app/views/(.+\.html.*\.erb)}) { |matches|
85
-
86
- matches = matches.map { |m| File.absolute_path(m[0]) }
87
- Dir.chdir('..') {
88
- system("bundle exec erblint #{matches.join(' ')}")
89
- }
90
- }
91
- end
92
- end
93
-
94
- group :autofix do
95
- guard :rubocop, all_on_start: false, cli: ['--auto-correct', '--display-cop-names'] do
96
- watch(%r{.+\.rb$})
97
- watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
98
- end
99
- end
100
-
101
- scope group: :red_green_refactor
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'wcc/contentful'
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require 'irb'
15
- IRB.start(__FILE__)
data/bin/rails DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- # This command will automatically be run when you run "rails" with Rails gems
5
- # installed from the root of your application.
6
-
7
- ENGINE_ROOT = File.expand_path('../..', __FILE__)
8
- ENGINE_PATH = File.expand_path('../../lib/wcc/contentful/engine', __FILE__)
9
- APP_PATH = File.expand_path('../../spec/dummy/config/application', __FILE__)
10
-
11
- # Set up gems listed in the Gemfile.
12
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
13
- require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
14
-
15
- require 'rails/all'
16
- require 'rails/engine/commands'
data/bin/rspec DELETED
@@ -1,3 +0,0 @@
1
- #!/bin/sh
2
-
3
- bundle exec rspec $*
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
Binary file