Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
39f2217
chore: Add desc to tasks so they display in task list
danielaboost Aug 12, 2025
881066a
feat: Setup initial webhook controller action
danielaboost Aug 12, 2025
65dae6c
feat: Add sync mode option to config
danielaboost Aug 13, 2025
52373bb
feat: Add sync mode option to config
danielaboost Aug 13, 2025
b0287c4
feat: Add controller to mount in app to use webhooks for sync
danielaboost Aug 13, 2025
71f367e
feat: SyncRunner object to encapsulate sync logic
danielaboost Aug 13, 2025
3915843
refactor: Removed unneeded config
danielaboost Aug 13, 2025
d9c75ae
feat: Add HTTP Auth to webhook functionality
danielaboost Aug 15, 2025
47a5e50
fix: Use communicative variable name
danielaboost Aug 15, 2025
e8ed990
fix: Remove duplicate method call
danielaboost Aug 15, 2025
890a79e
fix: Remove unused class
danielaboost Aug 15, 2025
cb76b0b
fix: Remove duplicate method calls
danielaboost Aug 15, 2025
a9833ba
test: Update configuration test to use new webhook options
danielaboost Aug 15, 2025
2f06640
fix: Rubocop
danielaboost Aug 15, 2025
0b4005a
fix: Remove accidentally committed file
danielaboost Aug 15, 2025
ae15496
refactor: use mongoid language
danielaboost Aug 15, 2025
b6f6368
refactor: Simplify the webhook functionality
danielaboost Aug 15, 2025
58f8397
feat: Try adding process diagram to ReadMe
danielaboost Aug 15, 2025
ce7991c
feat: Try adding process diagram to ReadMe
danielaboost Aug 15, 2025
208a856
feat: Update usage instructions
danielaboost Aug 15, 2025
b5c8c95
feat: Update usage instructions
danielaboost Aug 15, 2025
ed37b25
feat: Add new sync information to ReadMe
danielaboost Aug 15, 2025
3ddf3a6
fix: Readme tidy up
danielaboost Aug 15, 2025
eeb113b
feat: Add note about rate limits
danielaboost Aug 15, 2025
be12f63
feat: Add note about rate limits
danielaboost Aug 15, 2025
b248f12
chore: Make tips more usable
danielaboost Aug 18, 2025
dae61f1
chore: Update ToC
danielaboost Aug 18, 2025
69feb2a
chore: reorder readme contents
danielaboost Aug 18, 2025
c183c5b
chore: Reorder readme content to logical groups
danielaboost Aug 18, 2025
d24ede6
fix: Add missing heading to contents
danielaboost Aug 18, 2025
74e3dc3
tests: Add tests for the controller
danielaboost Aug 19, 2025
0496794
fix: Add class comments to fix issues
danielaboost Aug 19, 2025
22df295
chore: Adding rspec to the CI
danielaboost Aug 19, 2025
f1a1ede
fix: Remove duplicate step
danielaboost Aug 19, 2025
6e24589
chore: Remove test log from git commit
danielaboost Aug 19, 2025
06d4392
feat: Increment version
danielaboost Aug 19, 2025
8808030
feat: Bundle after version increment
danielaboost Aug 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Run rubocop
run: |
bundle exec rubocop

- name: Run tests
run: |
bundle exec rspec
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@

# rspec failure tracking
.rspec_status

/spec/internal/log/
17 changes: 10 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,23 @@
source 'https://rubygems.org'

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

# gem 'activemodel', '~> 7'
# gem 'activesupport', '~> 7'
# gem 'mongoid', '~> 8'

# Specify your gem's dependencies in consyncful.gemspec
gemspec

group :development do
gem 'bundler', '~> 2'
gem 'database_cleaner-mongoid'
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.0'
gem 'rubocop'
gem 'rubocop-rake'
gem 'rubocop-rspec'
end

group :development, :test do
gem 'combustion', '~> 1.3'
gem 'rspec', '~> 3.13'
gem 'rspec-rails', '~> 6.1'
end

group :test do
gem 'database_cleaner-mongoid', '~> 2.0'
end
108 changes: 105 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
consyncful (1.0.2)
consyncful (1.1.0)
contentful (>= 2.11.1, < 3.0.0)
hooks (>= 0.4.1)
mongoid (>= 7.0.2)
Expand All @@ -10,6 +10,23 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actionpack (7.2.2.1)
actionview (= 7.2.2.1)
activesupport (= 7.2.2.1)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actionview (7.2.2.1)
activesupport (= 7.2.2.1)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (7.2.2.1)
activesupport (= 7.2.2.1)
activesupport (7.2.2.1)
Expand All @@ -31,18 +48,27 @@ GEM
benchmark (0.4.0)
bigdecimal (3.1.9)
bson (5.0.2)
builder (3.3.0)
combustion (1.5.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
thor (>= 0.14.6)
concurrent-ruby (1.3.5)
connection_pool (2.5.3)
contentful (2.17.1)
http (> 0.8, < 6.0)
multi_json (~> 1)
crass (1.0.6)
database_cleaner-core (2.0.1)
database_cleaner-mongoid (2.0.1)
database_cleaner-core (~> 2.0.0)
mongoid
date (3.4.1)
diff-lcs (1.6.2)
domain_name (0.6.20240107)
drb (2.2.3)
erb (5.0.2)
erubi (1.13.1)
ffi (1.17.2)
ffi (1.17.2-aarch64-linux-gnu)
ffi (1.17.2-aarch64-linux-musl)
Expand Down Expand Up @@ -70,13 +96,22 @@ GEM
http-form_data (2.3.0)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
io-console (0.8.1)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.12.2)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
llhttp-ffi (0.5.1)
ffi-compiler (~> 1.0)
rake (~> 13.0)
logger (1.7.0)
loofah (2.24.1)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mini_portile2 (2.8.9)
minitest (5.25.5)
mongo (2.21.1)
base64
Expand All @@ -87,16 +122,69 @@ GEM
mongo (>= 2.18.0, < 3.0.0)
ruby2_keywords (~> 0.0.5)
multi_json (1.15.0)
nokogiri (1.18.9)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.18.9-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.9-aarch64-linux-musl)
racc (~> 1.4)
nokogiri (1.18.9-arm-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.9-arm-linux-musl)
racc (~> 1.4)
nokogiri (1.18.9-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.9-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.9-x86_64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.9-x86_64-linux-musl)
racc (~> 1.4)
parallel (1.27.0)
parser (3.3.8.0)
ast (~> 2.4.1)
racc
pp (0.6.2)
prettyprint
prettyprint (0.2.0)
prism (1.4.0)
psych (5.2.6)
date
stringio
public_suffix (6.0.2)
racc (1.8.1)
rack (3.1.16)
rack-session (2.1.1)
base64 (>= 0.1.0)
rack (>= 3.0.0)
rack-test (2.2.0)
rack (>= 1.3)
rackup (2.2.1)
rack (>= 3)
rails-dom-testing (2.3.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.2)
loofah (~> 2.21)
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
railties (7.2.2.1)
actionpack (= 7.2.2.1)
activesupport (= 7.2.2.1)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.2.1)
rdoc (6.14.2)
erb
psych (>= 4.0.0)
regexp_parser (2.10.0)
reline (0.6.2)
io-console (~> 0.5)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand All @@ -109,6 +197,14 @@ GEM
rspec-mocks (3.13.4)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-rails (6.1.5)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.13)
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.3)
rubocop (1.75.7)
json (~> 2.3)
Expand All @@ -133,12 +229,16 @@ GEM
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
securerandom (0.4.1)
stringio (3.1.7)
thor (1.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.0.15)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
useragent (0.16.11)
zeitwerk (2.7.3)

PLATFORMS
aarch64-linux-gnu
Expand All @@ -155,10 +255,12 @@ PLATFORMS

DEPENDENCIES
bundler (~> 2)
combustion (~> 1.3)
consyncful!
database_cleaner-mongoid
database_cleaner-mongoid (~> 2.0)
rake (~> 13.0)
rspec (~> 3.0)
rspec (~> 3.13)
rspec-rails (~> 6.1)
rubocop
rubocop-rake
rubocop-rspec
Expand Down
Loading