{"id":15046891,"url":"https://github.com/watermarkchurch/wcc-contentful","last_synced_at":"2025-07-27T05:33:11.380Z","repository":{"id":29469278,"uuid":"121658939","full_name":"watermarkchurch/wcc-contentful","owner":"watermarkchurch","description":"An alternative to Contentful's contentful.rb ruby client, contentful_model, and contentful_rails gems all in one.","archived":false,"fork":false,"pushed_at":"2025-02-19T19:13:46.000Z","size":4877,"stargazers_count":2,"open_issues_count":25,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-08T17:30:42.172Z","etag":null,"topics":["contentful","contentful-entries","contentful-management","headless-cms","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watermarkchurch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-15T17:28:57.000Z","updated_at":"2025-02-19T19:13:48.000Z","dependencies_parsed_at":"2022-07-04T10:53:40.830Z","dependency_job_id":"e464dc4f-6509-4574-9110-88bde3b4ac1b","html_url":"https://github.com/watermarkchurch/wcc-contentful","commit_stats":{"total_commits":1388,"total_committers":14,"mean_commits":99.14285714285714,"dds":0.2889048991354467,"last_synced_commit":"a1d235071e8a1f518795cd4ac8712ce75049b466"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/watermarkchurch/wcc-contentful","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watermarkchurch%2Fwcc-contentful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watermarkchurch%2Fwcc-contentful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watermarkchurch%2Fwcc-contentful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watermarkchurch%2Fwcc-contentful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watermarkchurch","download_url":"https://codeload.github.com/watermarkchurch/wcc-contentful/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watermarkchurch%2Fwcc-contentful/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267306772,"owners_count":24067035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contentful","contentful-entries","contentful-management","headless-cms","rails","ruby"],"created_at":"2024-09-24T20:53:42.743Z","updated_at":"2025-07-27T05:33:11.374Z","avatar_url":"https://github.com/watermarkchurch.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"The home of multiple gems that Watermark Community Church uses to integrate with\nContentful.\n\n[![Build Status](https://circleci.com/gh/watermarkchurch/wcc-contentful.svg?style=svg)](https://circleci.com/gh/watermarkchurch/wcc-contentful)\n[![Coverage Status](https://coveralls.io/repos/github/watermarkchurch/wcc-contentful/badge.svg?branch=master)](https://coveralls.io/github/watermarkchurch/wcc-contentful?branch=master)\n\n* [wcc-contentful](./wcc-contentful) [![Gem Version](https://badge.fury.io/rb/wcc-contentful.svg)](https://rubygems.org/gems/wcc-contentful)\n* [(DEPRECATED) wcc-contentful-middleman](https://watermarkchurch.github.io/wcc-contentful/1.6/wcc-contentful-middleman/) [![Gem Version](https://badge.fury.io/rb/wcc-contentful-middleman.svg)](https://rubygems.org/gems/wcc-contentful-middleman)\n* [(DEPRECATED) wcc-contentful-graphql](https://watermarkchurch.github.io/wcc-contentful/1.2/wcc-contentful-graphql/) [![Gem Version](https://badge.fury.io/rb/wcc-contentful-graphql.svg)](https://rubygems.org/gems/wcc-contentful-graphql)\n\n## Supported Rails versions\n\nPlease see the [most recent CircleCI build](https://app.circleci.com/pipelines/github/watermarkchurch/wcc-contentful?branch=master) for the most\nup-to-date list of supported framework environments.  At the time of this writing, \nthe gem officially supports the following:\n\n* Ruby versions:\n  * 3.1 - 3.4\n  * 2.7\n* Framework versions:\n  * Rails 8.0\n  * Rails 7.0\n  * Rails 6.1\n  * Rack 2 (w/o Rails)\n\nPull requests are welcome to enable supporting other frameworks!\n\nTo get started in testing a new Ruby version, use `rvm` or `rbenv` to choose your\nruby version.  Then, check out the appropriate Gemfile using the `bin/use` helper:\n\n```bash\n$ rbenv local 3.1.1\n$ gem install bundler\n$ bundle install\n$ bin/use gemfiles/rails_6.1_ruby_3.1.gemfile\n```\n\nNow each of the `wcc-` gems has a Gemfile based on that Appraisal gemfile.  `cd`\ninto the gem's directory and run `bundle install` to install the gems. \n\n### Adding a new Rails version\n\nTo get started testing a new framework, add the appropriate combination of gems to the `Appraisals` file\nand run `bundle exec appraisal generate` to generate the appropriate gemfile in the `gemfiles` directory:\n\n```diff\ndiff --git a/Appraisals b/Appraisals\nindex 041abea..917142f 100644\n--- a/Appraisals\n+++ b/Appraisals\n@@ -1,5 +1,9 @@\n # frozen_string_literal: true\n \n+appraise 'sinatra-2.0' do\n+  gem 'sinatra', '~\u003e 2.0.0'\n+end\n+\n appraise 'rails-6.1' do\n   gem 'rails', '~\u003e 6.1'\n   gem 'railties', '~\u003e 6.1'\n```\n\nThen you can use the `bin/use` helper to check out that set of gems:\n\n```bash\n$ bundle exec appraisal generate\n$ bin/use gemfiles/rails_6.1.gemfile\n```\n\nAnd build a helper that conditionally includes your framework specs based on whether\nthat gem is installed.  Example:\n\n```rb\n# spec/active_record_helper.rb\n\nrequire 'spec_helper'\n\nbegin\n  gem 'activerecord'\n  require 'active_record'\nrescue Gem::LoadError =\u003e e\n  # active_record is not loaded in this test run\n  warn \"WARNING: Cannot load active_record - some tests will be skipped\\n#{e}\"\nend\n\nunless defined?(ActiveRecord)\n  RSpec.configure do |c|\n    # skip active record based specs\n    c.before(:each, active_record: true) do\n      skip 'activerecord is not loaded'\n    end\n  end\nend\n\n```\n\nFinally, make sure you add it to the build matrix in `.circleci/config.yml`:\n\n```diff\ndiff --git a/.circleci/config.yml b/.circleci/config.yml\nindex 317cde6..f5c439f 100644\n--- a/.circleci/config.yml\n+++ b/.circleci/config.yml\n@@ -107,6 +107,10 @@ workflows:\n           name: test_rails-7.2_ruby-3.3\n           ruby: 3.3.5\n           gemfile: gemfiles/rails_7.2_ruby_3.3.gemfile\n+      - test:\n+          name: sinatra-2.0_ruby-3.3\n+          ruby: 3.3.5\n+          gemfile: gemfiles/sinatra_2.0_ruby_3.3.gemfile\n       - lint:\n           ruby: 3.3.5\n           gemfile: gemfiles/rails_7.2_ruby_3.3.gemfile\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n## Code of Ethics\n\nThe 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.\n\n[See the full Code of Ethics](./CODE_OF_ETHICS.md)\n\n\n## Deployment instructions:\n\n1) Bump the version number using the appropriate rake task:\n\n```\nrake bump:major\nrake bump:patch\nrake bump:minor\nrake bump:pre\n```\n\nNote: ensure that the versions of both gems are synchronized!  The release command\nwill run `rake check` and will fail if this is not the case.  The bump tasks should\nsynchronize automatically.\n\n2) Run `rake release` to commit, tag, and upload the gems.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatermarkchurch%2Fwcc-contentful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatermarkchurch%2Fwcc-contentful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatermarkchurch%2Fwcc-contentful/lists"}