wcc-contentful-graphql 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: 8b4fd9252bf8841c6ae4727fa2b08df9a8847236
4
- data.tar.gz: ddc3e190f028982bd84215967e89eaa47224b174
2
+ SHA256:
3
+ metadata.gz: 1989847084c6af8597ed028bd2968dcaacb2f8ec467664a91f5015b471113966
4
+ data.tar.gz: 750e45ee20aafa2f524a60fbd6a967e328ed86bbbbe1d0be38486d8fa61bb00b
5
5
  SHA512:
6
- metadata.gz: 10b1f4987e0b4fc154f34312f9163c97ea5321bab81d7eeafbc7dcdf6940292f01b825f4c68828521bb0f8b2ee776011f9ffc90cf289fe4487be782e8bb64b9a
7
- data.tar.gz: b78a9dbacdc2b2f3b84076427211fe0b03397e0acfed03989755da2360119c062209d78b3101975fc7482aeff813401525a632d8633e30fc83587e1b59f52a21
6
+ metadata.gz: da726130cf55c3ad348359dedad2f82545a2800cad2bb4c558cbf23d87446e7fb74299e0f7e7d3f1f5549e755d892637e68e015a7c6661f0528978b7e4648c31
7
+ data.tar.gz: 28847ef036de56d400d5d7134a68a3afe61b0ddccec1aa50d6614c02653e9e5d901fc307bf657ac1c8bda3101fda4819a708ceec15c2b17811fd3f0688e1eca7
@@ -3,7 +3,7 @@
3
3
  module WCC
4
4
  module Contentful
5
5
  module Graphql
6
- VERSION = '1.0.3'
6
+ VERSION = '1.0.7'
7
7
  end
8
8
  end
9
9
  end
@@ -24,10 +24,7 @@ Gem::Specification.new do |spec|
24
24
  'documentation_uri' => "https://watermarkchurch.github.io/wcc-contentful/#{doc_version}/wcc-contentful-graphql"
25
25
  }
26
26
 
27
- spec.files =
28
- `git ls-files -z`.split("\x0").reject do |f|
29
- f.match(%r{^(test|spec|features)/})
30
- end
27
+ spec.files = Dir['lib/**/*'] + %w[Rakefile README.md wcc-contentful-graphql.gemspec]
31
28
 
32
29
  spec.require_paths = ['lib']
33
30
 
@@ -54,7 +51,7 @@ Gem::Specification.new do |spec|
54
51
  spec.add_development_dependency 'sqlite3', '~> 1.3.6'
55
52
  spec.add_development_dependency 'timecop', '~> 0.9.1'
56
53
 
57
- spec.add_dependency 'graphql', '~> 1.7'
54
+ spec.add_dependency 'graphql', '~> 1.7', '< 1.12'
58
55
  spec.add_dependency 'wcc-contentful', "~> #{WCC::Contentful::Graphql::VERSION}"
59
56
  end
60
57
  # rubocop:enable Metrics/LineLength
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wcc-contentful-graphql
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: coveralls
@@ -241,6 +241,9 @@ dependencies:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
243
  version: '1.7'
244
+ - - "<"
245
+ - !ruby/object:Gem::Version
246
+ version: '1.12'
244
247
  type: :runtime
245
248
  prerelease: false
246
249
  version_requirements: !ruby/object:Gem::Requirement
@@ -248,20 +251,23 @@ dependencies:
248
251
  - - "~>"
249
252
  - !ruby/object:Gem::Version
250
253
  version: '1.7'
254
+ - - "<"
255
+ - !ruby/object:Gem::Version
256
+ version: '1.12'
251
257
  - !ruby/object:Gem::Dependency
252
258
  name: wcc-contentful
253
259
  requirement: !ruby/object:Gem::Requirement
254
260
  requirements:
255
261
  - - "~>"
256
262
  - !ruby/object:Gem::Version
257
- version: 1.0.3
263
+ version: 1.0.7
258
264
  type: :runtime
259
265
  prerelease: false
260
266
  version_requirements: !ruby/object:Gem::Requirement
261
267
  requirements:
262
268
  - - "~>"
263
269
  - !ruby/object:Gem::Version
264
- version: 1.0.3
270
+ version: 1.0.7
265
271
  description: GraphQL interface over WCC::Contentful store
266
272
  email:
267
273
  - dev@watermark.org
@@ -269,11 +275,8 @@ executables: []
269
275
  extensions: []
270
276
  extra_rdoc_files: []
271
277
  files:
272
- - ".rspec"
273
- - Guardfile
274
278
  - README.md
275
279
  - Rakefile
276
- - doc
277
280
  - lib/wcc/contentful/ext/services.rb
278
281
  - lib/wcc/contentful/graphql.rb
279
282
  - lib/wcc/contentful/graphql/builder.rb
@@ -289,7 +292,7 @@ licenses:
289
292
  - MIT
290
293
  metadata:
291
294
  documentation_uri: https://watermarkchurch.github.io/wcc-contentful/1.0/wcc-contentful-graphql
292
- post_install_message:
295
+ post_install_message:
293
296
  rdoc_options: []
294
297
  require_paths:
295
298
  - lib
@@ -304,9 +307,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
304
307
  - !ruby/object:Gem::Version
305
308
  version: '0'
306
309
  requirements: []
307
- rubyforge_project:
308
- rubygems_version: 2.6.11
309
- signing_key:
310
+ rubyforge_project:
311
+ rubygems_version: 2.7.6.2
312
+ signing_key:
310
313
  specification_version: 4
311
314
  summary: '[![Gem Version](https://badge.fury.io/rb/wcc-contentful-graphql.svg)](https://rubygems.org/gems/wcc-contentful-graphql)
312
315
  [![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/doc DELETED
@@ -1 +0,0 @@
1
- ./../doc/wcc-contentful-graphql