4013070e4f
Swap foundation-rails for fomantic-ui-sass across the gem's own layout/menu/alerts partials and all 11 generic scaffold resources (pages, news, faqs, quotes, images, directories, keywords, yml_files, contact_forms, newsletter_subscriptions, users). Foundation grid/button classes replaced with Fomantic ui.form/ui.button/ui.table conventions; legacy Foundation mixins in the custom component sass (panel, button, grid-row/grid-column) rewritten as plain CSS since they no longer exist once foundation_and_overrides.scss is gone. Also fixes a real bug found along the way: boolean_text used `.present?` on values, but SimplyCouch stores booleans as the strings "0"/"1" — and "0".present? is true in Ruby, so it always rendered "Yes" regardless of actual value. Now uses ActiveModel::Type::Boolean. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
32 lines
1.2 KiB
Ruby
32 lines
1.2 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
$:.push File.expand_path("../lib", __FILE__)
|
|
require 'cmtool/version'
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "cmtool"
|
|
s.version = Cmtool::VERSION
|
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
s.require_paths = ["lib"]
|
|
s.authors = ["Benjamin ter Kuile"]
|
|
s.date = "2014-07-14"
|
|
s.description = "A rails 3.2+ CMS as engine for a CouchDB backend"
|
|
s.email = ["bterkuile@gmail.com"]
|
|
s.files = `git ls-files`.split("\n")
|
|
s.homepage = "https://github.com/bterkuile/cmtool"
|
|
s.rubygems_version = "2.2.2"
|
|
s.summary = "A rails 3.2+ CMS as engine for a CouchDB backend"
|
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
|
|
s.add_runtime_dependency "email_validator", ">= 0"
|
|
# s.add_runtime_dependency "bourbon", ">= 0"
|
|
s.add_runtime_dependency "slim-rails", ">= 0"
|
|
# s.add_runtime_dependency "tinymce-rails", ">= 0"
|
|
s.add_runtime_dependency "jquery-rails", ">= 0"
|
|
s.add_runtime_dependency "fomantic-ui-sass", ">= 0"
|
|
s.add_runtime_dependency "ace-rails-ap", ">= 0"
|
|
s.add_runtime_dependency "font-awesome-rails", ">= 0"
|
|
s.add_runtime_dependency "pickadate-rails", ">= 0"
|
|
s.add_runtime_dependency 'momentjs-rails', '>= 0'
|
|
end
|