├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── CLAUDE.md ├── Gemfile ├── README.md ├── Rakefile ├── app ├── controllers │ ├── .keep │ ├── concerns │ │ ├── .keep │ │ └── social_construct │ │ │ └── controller.rb │ └── social_construct │ │ └── previews_controller.rb ├── models │ └── social_construct │ │ └── base_card.rb └── views │ ├── .keep │ └── social_construct │ └── previews │ ├── index.html.erb │ └── show.html.erb ├── bin └── rails ├── config └── routes.rb ├── lib ├── generators │ └── social_construct │ │ └── install │ │ ├── install_generator.rb │ │ └── templates │ │ ├── application_social_card.rb │ │ ├── example_social_card.html.erb │ │ ├── example_social_card.rb │ │ ├── example_social_card_preview.rb │ │ ├── social_cards_layout.html.erb │ │ └── social_construct.rb ├── social_construct.rb └── social_construct │ ├── engine.rb │ └── version.rb ├── social_construct.gemspec └── test ├── controllers ├── .keep ├── concerns │ └── social_construct │ │ └── controller_test.rb └── social_construct │ └── previews_controller_test.rb ├── dummy ├── Rakefile ├── app │ ├── assets │ │ ├── fonts │ │ │ └── Recursive_VF_1.085--subset-GF_latin_basic.woff2 │ │ ├── images │ │ │ └── wavy_circles.png │ │ └── stylesheets │ │ │ └── application.css │ ├── controllers │ │ ├── application_controller.rb │ │ ├── concerns │ │ │ └── .keep │ │ └── home_controller.rb │ ├── helpers │ │ └── application_helper.rb │ ├── models │ │ ├── application_record.rb │ │ └── concerns │ │ │ └── .keep │ ├── social_cards │ │ ├── application_social_card.rb │ │ ├── basic_example_card.rb │ │ ├── everything_card.rb │ │ ├── image_example_card.rb │ │ ├── local_fonts_card.rb │ │ └── remote_fonts_card.rb │ └── views │ │ ├── home │ │ └── index.html.erb │ │ ├── layouts │ │ └── social_cards.html.erb │ │ └── social_cards │ │ ├── basic_example_card.html.erb │ │ ├── everything_card.html.erb │ │ ├── image_example_card.html.erb │ │ ├── local_fonts_card.html.erb │ │ └── remote_fonts_card.html.erb ├── bin │ ├── dev │ ├── rails │ ├── rake │ └── setup ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── cable.yml │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── content_security_policy.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ └── social_construct.rb │ ├── locales │ │ └── en.yml │ ├── puma.rb │ ├── routes.rb │ └── storage.yml ├── log │ └── .keep ├── public │ ├── 400.html │ ├── 404.html │ ├── 406-unsupported-browser.html │ ├── 422.html │ ├── 500.html │ ├── icon.png │ └── icon.svg └── test │ └── social_cards │ └── previews │ └── dummy_card_preview.rb ├── models ├── .keep └── social_construct │ └── base_card_test.rb ├── social_construct_test.rb └── test_helper.rb /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/Gemfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/Rakefile -------------------------------------------------------------------------------- /app/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/concerns/social_construct/controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/app/controllers/concerns/social_construct/controller.rb -------------------------------------------------------------------------------- /app/controllers/social_construct/previews_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/app/controllers/social_construct/previews_controller.rb -------------------------------------------------------------------------------- /app/models/social_construct/base_card.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/app/models/social_construct/base_card.rb -------------------------------------------------------------------------------- /app/views/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/views/social_construct/previews/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/app/views/social_construct/previews/index.html.erb -------------------------------------------------------------------------------- /app/views/social_construct/previews/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/app/views/social_construct/previews/show.html.erb -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/bin/rails -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/config/routes.rb -------------------------------------------------------------------------------- /lib/generators/social_construct/install/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/generators/social_construct/install/install_generator.rb -------------------------------------------------------------------------------- /lib/generators/social_construct/install/templates/application_social_card.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/generators/social_construct/install/templates/application_social_card.rb -------------------------------------------------------------------------------- /lib/generators/social_construct/install/templates/example_social_card.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/generators/social_construct/install/templates/example_social_card.html.erb -------------------------------------------------------------------------------- /lib/generators/social_construct/install/templates/example_social_card.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/generators/social_construct/install/templates/example_social_card.rb -------------------------------------------------------------------------------- /lib/generators/social_construct/install/templates/example_social_card_preview.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/generators/social_construct/install/templates/example_social_card_preview.rb -------------------------------------------------------------------------------- /lib/generators/social_construct/install/templates/social_cards_layout.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/generators/social_construct/install/templates/social_cards_layout.html.erb -------------------------------------------------------------------------------- /lib/generators/social_construct/install/templates/social_construct.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/generators/social_construct/install/templates/social_construct.rb -------------------------------------------------------------------------------- /lib/social_construct.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/social_construct.rb -------------------------------------------------------------------------------- /lib/social_construct/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/lib/social_construct/engine.rb -------------------------------------------------------------------------------- /lib/social_construct/version.rb: -------------------------------------------------------------------------------- 1 | module SocialConstruct 2 | VERSION = "0.3.0" 3 | end 4 | -------------------------------------------------------------------------------- /social_construct.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/social_construct.gemspec -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/controllers/concerns/social_construct/controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/controllers/concerns/social_construct/controller_test.rb -------------------------------------------------------------------------------- /test/controllers/social_construct/previews_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/controllers/social_construct/previews_controller_test.rb -------------------------------------------------------------------------------- /test/dummy/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/Rakefile -------------------------------------------------------------------------------- /test/dummy/app/assets/fonts/Recursive_VF_1.085--subset-GF_latin_basic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/assets/fonts/Recursive_VF_1.085--subset-GF_latin_basic.woff2 -------------------------------------------------------------------------------- /test/dummy/app/assets/images/wavy_circles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/assets/images/wavy_circles.png -------------------------------------------------------------------------------- /test/dummy/app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /test/dummy/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /test/dummy/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/app/controllers/home_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/controllers/home_controller.rb -------------------------------------------------------------------------------- /test/dummy/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /test/dummy/app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/models/application_record.rb -------------------------------------------------------------------------------- /test/dummy/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/app/social_cards/application_social_card.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/social_cards/application_social_card.rb -------------------------------------------------------------------------------- /test/dummy/app/social_cards/basic_example_card.rb: -------------------------------------------------------------------------------- 1 | class BasicExampleCard < ApplicationSocialCard 2 | end 3 | -------------------------------------------------------------------------------- /test/dummy/app/social_cards/everything_card.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/social_cards/everything_card.rb -------------------------------------------------------------------------------- /test/dummy/app/social_cards/image_example_card.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/social_cards/image_example_card.rb -------------------------------------------------------------------------------- /test/dummy/app/social_cards/local_fonts_card.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/social_cards/local_fonts_card.rb -------------------------------------------------------------------------------- /test/dummy/app/social_cards/remote_fonts_card.rb: -------------------------------------------------------------------------------- 1 | class RemoteFontsCard < ApplicationSocialCard 2 | end 3 | -------------------------------------------------------------------------------- /test/dummy/app/views/home/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/views/home/index.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/layouts/social_cards.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/views/layouts/social_cards.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/social_cards/basic_example_card.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/views/social_cards/basic_example_card.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/social_cards/everything_card.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/views/social_cards/everything_card.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/social_cards/image_example_card.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/views/social_cards/image_example_card.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/social_cards/local_fonts_card.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/views/social_cards/local_fonts_card.html.erb -------------------------------------------------------------------------------- /test/dummy/app/views/social_cards/remote_fonts_card.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/app/views/social_cards/remote_fonts_card.html.erb -------------------------------------------------------------------------------- /test/dummy/bin/dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/bin/dev -------------------------------------------------------------------------------- /test/dummy/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/bin/rails -------------------------------------------------------------------------------- /test/dummy/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/bin/rake -------------------------------------------------------------------------------- /test/dummy/bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/bin/setup -------------------------------------------------------------------------------- /test/dummy/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config.ru -------------------------------------------------------------------------------- /test/dummy/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/application.rb -------------------------------------------------------------------------------- /test/dummy/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/boot.rb -------------------------------------------------------------------------------- /test/dummy/config/cable.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/cable.yml -------------------------------------------------------------------------------- /test/dummy/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/database.yml -------------------------------------------------------------------------------- /test/dummy/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/environment.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/environments/development.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/environments/production.rb -------------------------------------------------------------------------------- /test/dummy/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/environments/test.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/initializers/assets.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/content_security_policy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/initializers/content_security_policy.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/initializers/inflections.rb -------------------------------------------------------------------------------- /test/dummy/config/initializers/social_construct.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/initializers/social_construct.rb -------------------------------------------------------------------------------- /test/dummy/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/locales/en.yml -------------------------------------------------------------------------------- /test/dummy/config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/puma.rb -------------------------------------------------------------------------------- /test/dummy/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/routes.rb -------------------------------------------------------------------------------- /test/dummy/config/storage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/config/storage.yml -------------------------------------------------------------------------------- /test/dummy/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dummy/public/400.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/public/400.html -------------------------------------------------------------------------------- /test/dummy/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/public/404.html -------------------------------------------------------------------------------- /test/dummy/public/406-unsupported-browser.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/public/406-unsupported-browser.html -------------------------------------------------------------------------------- /test/dummy/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/public/422.html -------------------------------------------------------------------------------- /test/dummy/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/public/500.html -------------------------------------------------------------------------------- /test/dummy/public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/public/icon.png -------------------------------------------------------------------------------- /test/dummy/public/icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/public/icon.svg -------------------------------------------------------------------------------- /test/dummy/test/social_cards/previews/dummy_card_preview.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/dummy/test/social_cards/previews/dummy_card_preview.rb -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/social_construct/base_card_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/models/social_construct/base_card_test.rb -------------------------------------------------------------------------------- /test/social_construct_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/social_construct_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikker/social_construct/HEAD/test/test_helper.rb --------------------------------------------------------------------------------