wcc-contentful 1.0.0.pre.rc3 → 1.0.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: b5cae24e96be56167418f05f625fdede6e0f4bfe0c9a87265b4098bf6906a6ca
4
- data.tar.gz: ddad1d967c0e181cd3ecd97ab571f0e05a5228e158deefb6edf81c653750e99e
3
+ metadata.gz: ad34af3480e2e993b8046826ef3ca65b6f28ccf28e57e19cca79061a17766877
4
+ data.tar.gz: e0e214bf19721287af20502260033f595dcf461d2b5d31fd943c838b3ced204e
5
5
  SHA512:
6
- metadata.gz: 7ff892d606377aafec3529eb45c1bac84ba7e2b3c877eacbccd09ec6ea5331d60db6afacaf7152e0716ea9da7ec8864e61a937f954873992428353bd7179e916
7
- data.tar.gz: 6c22be5cc52e788dfa5e5536b76b855508b27230c7c6120ecb10e23b6a7e4b190470ffc7ec2a5b81f0fac57874047130a85e15ab561cc90a691afb4e1116dcd7
6
+ metadata.gz: 1e67eacbb406c6269c0a43b6b7a1284836a357c9b9ff0ffe297ee188aeea6a2c96107b9a6fc127d2e622223f38797528e18e93485575068d7eae4a73a77f9375
7
+ data.tar.gz: c16f075caa26c9a9a0f0c22fe725eabf0b0c2900f4c58bac33fcb8ad42a10dee09ae257e2a91d71e06e878d1c7b8165dea28b1a5a791480f5c03e328f8635355
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/wcc-contentful.svg)](https://rubygems.org/gems/wcc-contentful)
2
- [![Build Status](https://travis-ci.org/watermarkchurch/wcc-contentful.svg?branch=master)](https://travis-ci.org/watermarkchurch/wcc-contentful)
2
+ [![Build Status](https://circleci.com/gh/watermarkchurch/wcc-contentful.svg?style=svg)](https://circleci.com/gh/watermarkchurch/wcc-contentful)
3
3
  [![Coverage Status](https://coveralls.io/repos/github/watermarkchurch/wcc-contentful/badge.svg?branch=master)](https://coveralls.io/github/watermarkchurch/wcc-contentful?branch=master)
4
4
 
5
5
  Full documentation: https://watermarkchurch.github.io/wcc-contentful/latest/wcc-contentful/
@@ -12,6 +12,19 @@ Table of Contents:
12
12
 
13
13
  1. [Why?](#why-did-you-rewrite-the-contentful-ruby-stack)
14
14
  2. [Installation](#installation)
15
+ 3. [Configuration](#configure)
16
+ 4. [Usage](#usage)
17
+ 1. [Model API](#wcccontentfulmodel-api)
18
+ 2. [Store API](#store-api)
19
+ 3. [Direct CDN client](#direct-cdn-api-simpleclient)
20
+ 4. [Accessing the APIs](#accessing-the-apis-within-application-code)
21
+ 5. [Architecture](#architecture)
22
+ 6. [Test Helpers](#test-helpers)
23
+ 7. [Advanced Configuration Example](#advanced-configuration-example)
24
+ 8. [Development](#development)
25
+ 9. [Contributing](#contributing)
26
+ 10. [License](#license)
27
+
15
28
 
16
29
  ## Why did you rewrite the Contentful ruby stack?
17
30
 
@@ -312,7 +325,7 @@ end
312
325
 
313
326
  ## Architecture
314
327
 
315
- ![wcc-contentful diagram](./doc/wcc-contentful.png)
328
+ ![wcc-contentful diagram](./doc-static/wcc-contentful.png)
316
329
 
317
330
  ## Test Helpers
318
331
 
@@ -454,12 +467,12 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
454
467
 
455
468
  ## Contributing
456
469
 
457
- Bug reports and pull requests are welcome on GitHub at https://github.com/watermarkchurch/wcc-contentful. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
470
+ Bug reports and pull requests are welcome on GitHub at https://github.com/watermarkchurch/wcc-contentful.
458
471
 
459
- ## License
472
+ The developers at Watermark Community Church have pledged to govern their interactions with each other, with their clients, and with the larger wcc-contentful user community in accordance with the "instruments of good works" from chapter 4 of The Rule of St. Benedict (hereafter: "The Rule"). This code of ethics has proven its mettle in thousands of diverse communities for over 1,500 years, and has served as a baseline for many civil law codes since the time of Charlemagne.
460
473
 
461
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
474
+ [See the full Code of Ethics](https://github.com/watermarkchurch/wcc-contentful/blob/master/CODE_OF_ETHICS.md)
462
475
 
463
- ## Code of Conduct
476
+ ## License
464
477
 
465
- Everyone interacting in the WCC::Contentful project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/watermarkchurch/wcc-contentful/blob/master/CODE_OF_CONDUCT.md).
478
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Binary file
@@ -2,6 +2,6 @@
2
2
 
3
3
  module WCC
4
4
  module Contentful
5
- VERSION = '1.0.0-rc3'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
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.rc3
4
+ version: 1.0.0
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-03-23 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -442,7 +442,7 @@ files:
442
442
  - bin/setup
443
443
  - config/initializers/mime_types.rb
444
444
  - config/routes.rb
445
- - doc
445
+ - doc-static/wcc-contentful.png
446
446
  - lib/tasks/download_schema.rake
447
447
  - lib/wcc/contentful.rb
448
448
  - lib/wcc/contentful/active_record_shim.rb
@@ -514,22 +514,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
514
514
  version: '2.3'
515
515
  required_rubygems_version: !ruby/object:Gem::Requirement
516
516
  requirements:
517
- - - ">"
517
+ - - ">="
518
518
  - !ruby/object:Gem::Version
519
- version: 1.3.1
519
+ version: '0'
520
520
  requirements: []
521
521
  rubyforge_project:
522
522
  rubygems_version: 2.7.6.2
523
523
  signing_key:
524
524
  specification_version: 4
525
525
  summary: '[![Gem Version](https://badge.fury.io/rb/wcc-contentful.svg)](https://rubygems.org/gems/wcc-contentful)
526
- [![Build Status](https://travis-ci.org/watermarkchurch/wcc-contentful.svg?branch=master)](https://travis-ci.org/watermarkchurch/wcc-contentful)
526
+ [![Build Status](https://circleci.com/gh/watermarkchurch/wcc-contentful.svg?style=svg)](https://circleci.com/gh/watermarkchurch/wcc-contentful)
527
527
  [![Coverage Status](https://coveralls.io/repos/github/watermarkchurch/wcc-contentful/badge.svg?branch=master)](https://coveralls.io/github/watermarkchurch/wcc-contentful?branch=master) Full
528
528
  documentation: https://watermarkchurch.github.io/wcc-contentful/latest/wcc-contentful/ #
529
529
  WCC::Contentful An alternative to Contentful''s [contentful.rb ruby client](https://github.com/contentful/contentful.rb/),
530
530
  [contentful_model](https://github.com/contentful/contentful_model), and [contentful_rails](https://github.com/contentful/contentful_rails)
531
531
  gems all in one. Table of Contents: 1. [Why?](#why-did-you-rewrite-the-contentful-ruby-stack)
532
- 2. [Installation](#installation) ## Why did you rewrite the Contentful ruby stack? We
532
+ 2. [Installation](#installation) 3. [Configuration](#configure) 4. [Usage](#usage)
533
+ 1. [Model API](#wcccontentfulmodel-api) 2. [Store API](#store-api) 3. [Direct CDN
534
+ client](#direct-cdn-api-simpleclient) 4. [Accessing the APIs](#accessing-the-apis-within-application-code)
535
+ 5. [Architecture](#architecture) 6. [Test Helpers](#test-helpers) 7. [Advanced Configuration
536
+ Example](#advanced-configuration-example) 8. [Development](#development) 9. [Contributing](#contributing)
537
+ 10. [License](#license) ## Why did you rewrite the Contentful ruby stack? We
533
538
  started working with Contentful almost 3 years ago. Since that time, Contentful''s
534
539
  ruby stack has improved, but there are still a number of pain points that we feel
535
540
  we have addressed better with our gem. These are: * [Low-level caching](#low-level-caching)
@@ -680,7 +685,7 @@ summary: '[![Gem Version](https://badge.fury.io/rb/wcc-contentful.svg)](https://
680
685
  gives access to the other configured services. You can also include the {WCC::Contentful::ServiceAccessors}
681
686
  concern to define these services as attributes in a class. ```ruby class MyJob
682
687
  < ApplicationJob include WCC::Contentful::ServiceAccessors def perform Page.find(...) store.find(...) client.entries(...)
683
- end end ``` ## Architecture ![wcc-contentful diagram](./doc/wcc-contentful.png) ##
688
+ end end ``` ## Architecture ![wcc-contentful diagram](./doc-static/wcc-contentful.png) ##
684
689
  Test Helpers To use the test helpers, include the following in your rails_helper.rb: ```ruby
685
690
  require ''wcc/contentful/rspec'' ``` This adds the following helpers to all your
686
691
  specs: ```ruby ## # Builds a in-memory instance of the Contentful model for the
@@ -726,11 +731,12 @@ summary: '[![Gem Version](https://badge.fury.io/rb/wcc-contentful.svg)](https://
726
731
  repo, run `bin/setup` to install dependencies. Then, run `bundle exec rspec` to
727
732
  run the tests. You can also run `bin/console` for an interactive prompt that will
728
733
  allow you to experiment. ## Contributing Bug reports and pull requests are welcome
729
- on GitHub at https://github.com/watermarkchurch/wcc-contentful. This project is
730
- intended to be a safe, welcoming space for collaboration, and contributors are expected
731
- to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of
732
- conduct. ## License The gem is available as open source under the terms of the
733
- [MIT License](http://opensource.org/licenses/MIT). ## Code of Conduct Everyone
734
- interacting in the WCC::Contentful project''s codebases, issue trackers, chat rooms
735
- and mailing lists is expected to follow the [code of conduct](https://github.com/watermarkchurch/wcc-contentful/blob/master/CODE_OF_CONDUCT.md).'
734
+ on GitHub at https://github.com/watermarkchurch/wcc-contentful. The developers
735
+ at Watermark Community Church have pledged to govern their interactions with each
736
+ other, with their clients, and with the larger wcc-contentful user community in
737
+ accordance with the "instruments of good works" from chapter 4 of The Rule of St.
738
+ Benedict (hereafter: "The Rule"). This code of ethics has proven its mettle in thousands
739
+ of diverse communities for over 1,500 years, and has served as a baseline for many
740
+ civil law codes since the time of Charlemagne. [See the full Code of Ethics](https://github.com/watermarkchurch/wcc-contentful/blob/master/CODE_OF_ETHICS.md) ##
741
+ License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).'
736
742
  test_files: []
data/doc DELETED
@@ -1 +0,0 @@
1
- ./../doc/wcc-contentful