auto
  B   ˆl–Ãa¾”êh¥2 ¸&®6â˜´o�þ\dK7) ä�n1ˆ þÀƒo9¿_‹I|¥�+ýÿ¹ä³ÄÃ 2    //
// detail/std_static_mutex.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//

#ifndef BOOST_ASIO_DETAIL_STD_STATIC_MUTEX_HPP
#define BOOST_ASIO_DETAIL_STD_STATIC_MUTEX_HPP

#if defined(_MSC_VER) && (_MSC_VER >= 1200)
# pragma once
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)

#include <boost/asio/detail/config.hpp>

#if defined(BOOST_ASIO_HAS_STD_MUTEX_AND_CONDVAR)

#include <mutex>
#include <boost/asio/detail/noncopyable.hpp>
#include <boost/asio/detail/scoped_lock.hpp>

#include <boost/asio/detail/push_options.hpp>

namespace boost {
namespace asio {
namespace detail {

class std_event;

class std_static_mutex
  : private noncopyable
{
public:
  typedef boost::asio::detail::scoped_lock<std_static_mutex> scoped_lock;

  // Constructor.
  std_static_mutex(int)
  {
  }

  // Destructor.
  ~std_static_mutex()
  {
  }

  // Initialise the mutex.
  void init()
  {
    // Nothing to do.
  }

  // Lock the mutex.
  void lock()
  {
    mutex_.lock();
  }

  // Unlock the mutex.
  void unlock()
  {
    mutex_.unlock();
  }

private:
  friend class std_event;
  std::mutex mutex_;
};

#define BOOST_ASIO_STD_STATIC_MUTEX_INIT 0

} // namespace detail
} // namespace asio
} // namespace boost

#include <boost/asio/detail/pop_options.hpp>

#endif // defined(BOOST_ASIO_HAS_STD_MUTEX_AND_CONDVAR)

#endif // BOOST_ASIO_DETAIL_STD_STATIC_MUTEX_HPP
  5   ˆl–Ðz¾””†Ù”%õÁãO©‹Fÿ�þY,k6W$yàÈËÂhÏÂƒ ÏÁÅÄ ë    #!/usr/bin/env sh

##--------------------------------------------------------------
##
## msmtp-queue : wrapper script for msmtpq
##               to expose the management functions
##               for the msmtp queue
##  Copyright (C) 2011 Chris Gianniotis
##
##  This program is free software: you can redistribute it and/or modify
##  it under the terms of the GNU General Public License as published by
##  the Free Software Foundation, either version 3 of the License, or, at
##  your option, any later version.
##
##--------------------------------------------------------------

## msmtp-queue
## is only a wrapper
## it invokes the queue management functions of msmtpq
## by calling it as msmtpq --q-mgmt
##
## all configuration and documentation is in the msmtpq script

## note that for 'special circumstances'
##   (e.g. embedded systems, etc.)
## where the msmtpq script itself is not on the path
## change the below line to be
##   exec /path/to/msmtpq --q-mgmt

exec msmtpq --q-mgmt "$1"
  D   	ˆl–Ðz¾”ªC]Šq@=q¦®41hß�þ]#k8Ø�@�FãßÏÃƒï?Â_�uÐb&=LyZËcõÇÆ Å    	# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

require 'rails_helper'

RSpec.describe 'Overview with custom attributes', authenticated_as: :authenticate, db_strategy: :reset, type: :system do
  let(:attribute) { create(:object_manager_attribute_boolean) }
  let(:agent)     { create(:agent, groups: [Group.find_by(name: 'Users')]) }
  let(:overview)  { nil }
  let(:ticket)    { nil }

  def authenticate
    agent
    attribute
    ObjectManager::Attribute.migration_execute
    overview
    ticket

    true
  end

  before do
    visit "ticket/view/#{overview.link}"
  end

  context 'when the custom attribute used in a view in an overview' do
    let(:overview) do
      create(:overview,
             view: { s:                 ['title', 'number', attribute.name],
                     view_mode_default: 's' })
    end

    it 'shows the custom attribute display description' do
      within :active_content do
        expect(page).to have_text attribute.display.to_s.upcase
      end
    end
  end

  context 'when the custom attribute is used as condition in an overview' do
    let(:overview) do
      create(:overview,
             condition: { "ticket.#{attribute.name}" => { operator: 'is', value: true } },
          